From 7e1f6bbe9132378865d946cf75b6deb228279881 Mon Sep 17 00:00:00 2001 From: Vernon Keenan Date: Sun, 4 Sep 2022 17:12:23 -0700 Subject: [PATCH] Remove client --- client/auth/.babelrc | 33 - client/auth/.gitignore | 33 - client/auth/.openapi-generator-ignore | 23 - client/auth/.openapi-generator/FILES | 34 - client/auth/.openapi-generator/VERSION | 1 - client/auth/.travis.yml | 5 - client/auth/README.md | 155 ---- client/auth/docs/Address.md | 15 - client/auth/docs/Error.md | 11 - client/auth/docs/ResponseMeta.md | 19 - client/auth/docs/TenantUser.md | 24 - client/auth/docs/User.md | 66 -- client/auth/docs/UserApi.md | 62 -- client/auth/docs/UserResponse.md | 10 - client/auth/docs/UserRole.md | 21 - client/auth/git_push.sh | 57 -- client/auth/mocha.opts | 1 - client/auth/package.json | 46 - client/auth/src/ApiClient.js | 692 -------------- client/auth/src/api/UserApi.js | 80 -- client/auth/src/index.js | 111 --- client/auth/src/model/Address.js | 126 --- client/auth/src/model/Error.js | 87 -- client/auth/src/model/ResponseMeta.js | 162 ---- client/auth/src/model/TenantUser.js | 208 ----- client/auth/src/model/User.js | 584 ------------ client/auth/src/model/UserResponse.js | 82 -- client/auth/src/model/UserRole.js | 181 ---- client/auth/test/api/UserApi.spec.js | 63 -- client/auth/test/model/Address.spec.js | 101 --- client/auth/test/model/Error.spec.js | 77 -- client/auth/test/model/ResponseMeta.spec.js | 125 --- client/auth/test/model/TenantUser.spec.js | 155 ---- client/auth/test/model/User.spec.js | 407 --------- client/auth/test/model/UserResponse.spec.js | 71 -- client/auth/test/model/UserRole.spec.js | 137 --- client/board/.babelrc | 33 - client/board/.gitignore | 33 - client/board/.openapi-generator-ignore | 23 - client/board/.openapi-generator/FILES | 76 -- client/board/.openapi-generator/VERSION | 1 - client/board/.travis.yml | 5 - client/board/README.md | 165 ---- client/board/docs/Account.md | 95 -- client/board/docs/Address.md | 15 - client/board/docs/Contact.md | 53 -- client/board/docs/CorsApi.md | 218 ----- client/board/docs/Database.md | 21 - client/board/docs/Developer.md | 11 - client/board/docs/DevelopersApi.md | 60 -- client/board/docs/Error.md | 11 - client/board/docs/IQ.md | 14 - client/board/docs/IqApi.md | 60 -- client/board/docs/Lead.md | 31 - client/board/docs/LeadsApi.md | 112 --- client/board/docs/PaymentMethod.md | 34 - client/board/docs/Role.md | 17 - client/board/docs/RuleExecution.md | 12 - client/board/docs/Tenant.md | 22 - client/board/docs/TenantUser.md | 24 - client/board/docs/User.md | 66 -- client/board/docs/UserAuth.md | 15 - client/board/docs/UserAuthApi.md | 60 -- client/board/docs/UserRole.md | 21 - client/board/docs/UsersApi.md | 60 -- client/board/git_push.sh | 57 -- client/board/mocha.opts | 1 - client/board/package.json | 46 - client/board/src/ApiClient.js | 692 -------------- client/board/src/api/CorsApi.js | 212 ----- client/board/src/api/DevelopersApi.js | 82 -- client/board/src/api/IqApi.js | 82 -- client/board/src/api/LeadsApi.js | 124 --- client/board/src/api/UserAuthApi.js | 82 -- client/board/src/api/UsersApi.js | 81 -- client/board/src/index.js | 209 ----- client/board/src/model/Account.js | 843 ------------------ client/board/src/model/Address.js | 126 --- client/board/src/model/Contact.js | 467 ---------- client/board/src/model/Database.js | 181 ---- client/board/src/model/Developer.js | 90 -- client/board/src/model/Error.js | 87 -- client/board/src/model/IQ.js | 117 --- client/board/src/model/Lead.js | 270 ------ client/board/src/model/PaymentMethod.js | 298 ------- client/board/src/model/Role.js | 145 --- client/board/src/model/RuleExecution.js | 99 -- client/board/src/model/Tenant.js | 190 ---- client/board/src/model/TenantUser.js | 208 ----- client/board/src/model/User.js | 584 ------------ client/board/src/model/UserAuth.js | 126 --- client/board/src/model/UserRole.js | 181 ---- client/board/test/api/CorsApi.spec.js | 103 --- client/board/test/api/DevelopersApi.spec.js | 63 -- client/board/test/api/IqApi.spec.js | 63 -- client/board/test/api/LeadsApi.spec.js | 73 -- client/board/test/api/UserAuthApi.spec.js | 63 -- client/board/test/api/UsersApi.spec.js | 63 -- client/board/test/model/Account.spec.js | 581 ------------ client/board/test/model/Address.spec.js | 101 --- client/board/test/model/Contact.spec.js | 329 ------- client/board/test/model/Database.spec.js | 137 --- client/board/test/model/Developer.spec.js | 77 -- client/board/test/model/Error.spec.js | 77 -- client/board/test/model/IQ.spec.js | 95 -- client/board/test/model/Lead.spec.js | 197 ---- client/board/test/model/PaymentMethod.spec.js | 215 ----- client/board/test/model/Role.spec.js | 113 --- client/board/test/model/RuleExecution.spec.js | 83 -- client/board/test/model/Tenant.spec.js | 143 --- client/board/test/model/TenantUser.spec.js | 155 ---- client/board/test/model/User.spec.js | 407 --------- client/board/test/model/UserAuth.spec.js | 101 --- client/board/test/model/UserRole.spec.js | 137 --- client/crm/.babelrc | 33 - client/crm/.gitignore | 33 - client/crm/.openapi-generator-ignore | 23 - client/crm/.openapi-generator/FILES | 100 --- client/crm/.openapi-generator/VERSION | 1 - client/crm/.travis.yml | 5 - client/crm/README.md | 206 ----- client/crm/docs/Account.md | 57 -- client/crm/docs/AccountRequest.md | 9 - client/crm/docs/AccountResponse.md | 10 - client/crm/docs/AccountsApi.md | 290 ------ client/crm/docs/Address.md | 15 - client/crm/docs/Asset.md | 55 -- client/crm/docs/AssetRequest.md | 9 - client/crm/docs/AssetResponse.md | 10 - client/crm/docs/AssetsApi.md | 282 ------ client/crm/docs/Contact.md | 53 -- client/crm/docs/ContactRequest.md | 9 - client/crm/docs/ContactResponse.md | 10 - client/crm/docs/ContactsApi.md | 290 ------ client/crm/docs/Contract.md | 38 - client/crm/docs/ContractRequest.md | 9 - client/crm/docs/ContractResponse.md | 10 - client/crm/docs/ContractsApi.md | 282 ------ client/crm/docs/CorsApi.md | 428 --------- client/crm/docs/DeleteResponse.md | 10 - client/crm/docs/Error.md | 11 - client/crm/docs/InvalidError.md | 12 - client/crm/docs/InvalidErrorAllOf.md | 9 - client/crm/docs/Lead.md | 36 - client/crm/docs/LeadRequest.md | 9 - client/crm/docs/LeadResponse.md | 10 - client/crm/docs/LeadsApi.md | 286 ------ client/crm/docs/Message.md | 11 - client/crm/docs/Pagination.md | 12 - client/crm/docs/RequestMeta.md | 9 - client/crm/docs/ResponseMeta.md | 20 - client/crm/git_push.sh | 57 -- client/crm/mocha.opts | 1 - client/crm/package.json | 46 - client/crm/src/ApiClient.js | 692 -------------- client/crm/src/api/AccountsApi.js | 265 ------ client/crm/src/api/AssetsApi.js | 257 ------ client/crm/src/api/ContactsApi.js | 265 ------ client/crm/src/api/ContractsApi.js | 257 ------ client/crm/src/api/CorsApi.js | 387 -------- client/crm/src/api/LeadsApi.js | 261 ------ client/crm/src/index.js | 265 ------ client/crm/src/model/Account.js | 503 ----------- client/crm/src/model/AccountRequest.js | 73 -- client/crm/src/model/AccountResponse.js | 82 -- client/crm/src/model/Address.js | 126 --- client/crm/src/model/Asset.js | 486 ---------- client/crm/src/model/AssetRequest.js | 73 -- client/crm/src/model/AssetResponse.js | 82 -- client/crm/src/model/Contact.js | 467 ---------- client/crm/src/model/ContactRequest.js | 72 -- client/crm/src/model/ContactResponse.js | 81 -- client/crm/src/model/Contract.js | 332 ------- client/crm/src/model/ContractRequest.js | 72 -- client/crm/src/model/ContractResponse.js | 81 -- client/crm/src/model/DeleteResponse.js | 81 -- client/crm/src/model/Error.js | 87 -- client/crm/src/model/InvalidError.js | 119 --- client/crm/src/model/InvalidErrorAllOf.js | 71 -- client/crm/src/model/Lead.js | 315 ------- client/crm/src/model/LeadRequest.js | 72 -- client/crm/src/model/LeadResponse.js | 81 -- client/crm/src/model/Message.js | 87 -- client/crm/src/model/Pagination.js | 95 -- client/crm/src/model/RequestMeta.js | 74 -- client/crm/src/model/ResponseMeta.js | 171 ---- client/crm/test/api/AccountsApi.spec.js | 103 --- client/crm/test/api/AssetsApi.spec.js | 103 --- client/crm/test/api/ContactsApi.spec.js | 103 --- client/crm/test/api/ContractsApi.spec.js | 103 --- client/crm/test/api/CorsApi.spec.js | 153 ---- client/crm/test/api/LeadsApi.spec.js | 103 --- client/crm/test/model/Account.spec.js | 353 -------- client/crm/test/model/AccountRequest.spec.js | 65 -- client/crm/test/model/AccountResponse.spec.js | 71 -- client/crm/test/model/Address.spec.js | 101 --- client/crm/test/model/Asset.spec.js | 341 ------- client/crm/test/model/AssetRequest.spec.js | 65 -- client/crm/test/model/AssetResponse.spec.js | 71 -- client/crm/test/model/Contact.spec.js | 329 ------- client/crm/test/model/ContactRequest.spec.js | 65 -- client/crm/test/model/ContactResponse.spec.js | 71 -- client/crm/test/model/Contract.spec.js | 239 ----- client/crm/test/model/ContractRequest.spec.js | 65 -- .../crm/test/model/ContractResponse.spec.js | 71 -- client/crm/test/model/DeleteResponse.spec.js | 71 -- client/crm/test/model/Error.spec.js | 77 -- client/crm/test/model/InvalidError.spec.js | 83 -- .../crm/test/model/InvalidErrorAllOf.spec.js | 65 -- client/crm/test/model/Lead.spec.js | 227 ----- client/crm/test/model/LeadRequest.spec.js | 65 -- client/crm/test/model/LeadResponse.spec.js | 71 -- client/crm/test/model/Message.spec.js | 77 -- client/crm/test/model/Pagination.spec.js | 83 -- client/crm/test/model/RequestMeta.spec.js | 65 -- client/crm/test/model/ResponseMeta.spec.js | 131 --- client/devops/.babelrc | 33 - client/devops/.gitignore | 33 - client/devops/.openapi-generator-ignore | 23 - client/devops/.openapi-generator/FILES | 109 --- client/devops/.openapi-generator/VERSION | 1 - client/devops/.travis.yml | 5 - client/devops/README.md | 206 ----- client/devops/docs/Address.md | 15 - client/devops/docs/Cluster.md | 25 - client/devops/docs/ClusterApi.md | 272 ------ client/devops/docs/ClusterRequest.md | 9 - client/devops/docs/ClusterResponse.md | 10 - client/devops/docs/CorsApi.md | 428 --------- client/devops/docs/Database.md | 20 - client/devops/docs/DatabaseApi.md | 272 ------ client/devops/docs/DatabaseRequest.md | 9 - client/devops/docs/DatabaseResponse.md | 10 - client/devops/docs/DeleteResponse.md | 10 - client/devops/docs/Error.md | 11 - client/devops/docs/Message.md | 11 - client/devops/docs/Pagination.md | 12 - client/devops/docs/RequestMeta.md | 9 - client/devops/docs/ResponseMeta.md | 20 - client/devops/docs/Role.md | 17 - client/devops/docs/RoleRequest.md | 9 - client/devops/docs/RoleResponse.md | 10 - client/devops/docs/Template.md | 24 - client/devops/docs/TemplateApi.md | 224 ----- client/devops/docs/TemplateRequest.md | 9 - client/devops/docs/TemplateResponse.md | 10 - client/devops/docs/Tenant.md | 22 - client/devops/docs/TenantApi.md | 274 ------ client/devops/docs/TenantRequest.md | 9 - client/devops/docs/TenantResponse.md | 10 - client/devops/docs/TenantUser.md | 24 - client/devops/docs/User.md | 66 -- client/devops/docs/UserApi.md | 280 ------ client/devops/docs/UserRequest.md | 9 - client/devops/docs/UserResponse.md | 10 - client/devops/docs/UserRole.md | 21 - client/devops/git_push.sh | 57 -- client/devops/mocha.opts | 1 - client/devops/package.json | 46 - client/devops/src/ApiClient.js | 692 -------------- client/devops/src/api/ClusterApi.js | 252 ------ client/devops/src/api/CorsApi.js | 387 -------- client/devops/src/api/DatabaseApi.js | 252 ------ client/devops/src/api/TemplateApi.js | 214 ----- client/devops/src/api/TenantApi.js | 254 ------ client/devops/src/api/UserApi.js | 260 ------ client/devops/src/index.js | 286 ------ client/devops/src/model/Address.js | 126 --- client/devops/src/model/Cluster.js | 216 ----- client/devops/src/model/ClusterRequest.js | 72 -- client/devops/src/model/ClusterResponse.js | 82 -- client/devops/src/model/Database.js | 172 ---- client/devops/src/model/DatabaseRequest.js | 73 -- client/devops/src/model/DatabaseResponse.js | 82 -- client/devops/src/model/DeleteResponse.js | 81 -- client/devops/src/model/Error.js | 87 -- client/devops/src/model/Message.js | 87 -- client/devops/src/model/Pagination.js | 95 -- client/devops/src/model/RequestMeta.js | 74 -- client/devops/src/model/ResponseMeta.js | 171 ---- client/devops/src/model/Role.js | 145 --- client/devops/src/model/RoleRequest.js | 73 -- client/devops/src/model/RoleResponse.js | 82 -- client/devops/src/model/Template.js | 203 ----- client/devops/src/model/TemplateRequest.js | 73 -- client/devops/src/model/TemplateResponse.js | 82 -- client/devops/src/model/Tenant.js | 190 ---- client/devops/src/model/TenantRequest.js | 73 -- client/devops/src/model/TenantResponse.js | 82 -- client/devops/src/model/TenantUser.js | 208 ----- client/devops/src/model/User.js | 584 ------------ client/devops/src/model/UserRequest.js | 72 -- client/devops/src/model/UserResponse.js | 82 -- client/devops/src/model/UserRole.js | 181 ---- client/devops/test/api/ClusterApi.spec.js | 103 --- client/devops/test/api/CorsApi.spec.js | 153 ---- client/devops/test/api/DatabaseApi.spec.js | 103 --- client/devops/test/api/TemplateApi.spec.js | 93 -- client/devops/test/api/TenantApi.spec.js | 103 --- client/devops/test/api/UserApi.spec.js | 103 --- client/devops/test/model/Address.spec.js | 101 --- client/devops/test/model/Cluster.spec.js | 161 ---- .../devops/test/model/ClusterRequest.spec.js | 65 -- .../devops/test/model/ClusterResponse.spec.js | 71 -- client/devops/test/model/Database.spec.js | 131 --- .../devops/test/model/DatabaseRequest.spec.js | 65 -- .../test/model/DatabaseResponse.spec.js | 71 -- .../devops/test/model/DeleteResponse.spec.js | 71 -- client/devops/test/model/Error.spec.js | 77 -- client/devops/test/model/Message.spec.js | 77 -- client/devops/test/model/Pagination.spec.js | 83 -- client/devops/test/model/RequestMeta.spec.js | 65 -- client/devops/test/model/ResponseMeta.spec.js | 131 --- client/devops/test/model/Role.spec.js | 113 --- client/devops/test/model/RoleRequest.spec.js | 65 -- client/devops/test/model/RoleResponse.spec.js | 71 -- client/devops/test/model/Template.spec.js | 155 ---- .../devops/test/model/TemplateRequest.spec.js | 65 -- .../test/model/TemplateResponse.spec.js | 71 -- client/devops/test/model/Tenant.spec.js | 143 --- .../devops/test/model/TenantRequest.spec.js | 65 -- .../devops/test/model/TenantResponse.spec.js | 71 -- client/devops/test/model/TenantUser.spec.js | 155 ---- client/devops/test/model/User.spec.js | 407 --------- client/devops/test/model/UserRequest.spec.js | 65 -- client/devops/test/model/UserResponse.spec.js | 71 -- client/devops/test/model/UserRole.spec.js | 137 --- client/research/.babelrc | 33 - client/research/.gitignore | 33 - client/research/.openapi-generator-ignore | 23 - client/research/.openapi-generator/FILES | 73 -- client/research/.openapi-generator/VERSION | 1 - client/research/.travis.yml | 5 - client/research/README.md | 166 ---- client/research/docs/Address.md | 15 - client/research/docs/CompanyProduct.md | 18 - client/research/docs/CorsApi.md | 176 ---- client/research/docs/DeleteResponse.md | 10 - client/research/docs/Error.md | 11 - client/research/docs/Factor.md | 18 - client/research/docs/Industry.md | 22 - client/research/docs/IndustryApi.md | 168 ---- client/research/docs/IndustryRequest.md | 9 - client/research/docs/IndustryResponse.md | 10 - client/research/docs/InvalidError.md | 12 - client/research/docs/InvalidErrorAllOf.md | 9 - client/research/docs/Message.md | 11 - client/research/docs/Observation.md | 19 - client/research/docs/Pagination.md | 12 - client/research/docs/RequestMeta.md | 9 - client/research/docs/ResponseMeta.md | 20 - client/research/docs/Topic.md | 18 - client/research/docs/TopicApi.md | 168 ---- client/research/docs/TopicRequest.md | 9 - client/research/docs/TopicResponse.md | 10 - client/research/git_push.sh | 57 -- client/research/mocha.opts | 1 - client/research/package.json | 46 - client/research/src/ApiClient.js | 692 -------------- client/research/src/api/CorsApi.js | 177 ---- client/research/src/api/IndustryApi.js | 165 ---- client/research/src/api/TopicApi.js | 165 ---- client/research/src/index.js | 202 ----- client/research/src/model/Address.js | 126 --- client/research/src/model/CompanyProduct.js | 154 ---- client/research/src/model/DeleteResponse.js | 81 -- client/research/src/model/Error.js | 87 -- client/research/src/model/Factor.js | 155 ---- client/research/src/model/Industry.js | 191 ---- client/research/src/model/IndustryRequest.js | 73 -- client/research/src/model/IndustryResponse.js | 82 -- client/research/src/model/InvalidError.js | 119 --- .../research/src/model/InvalidErrorAllOf.js | 71 -- client/research/src/model/Message.js | 87 -- client/research/src/model/Observation.js | 163 ---- client/research/src/model/Pagination.js | 95 -- client/research/src/model/RequestMeta.js | 74 -- client/research/src/model/ResponseMeta.js | 171 ---- client/research/src/model/Topic.js | 155 ---- client/research/src/model/TopicRequest.js | 73 -- client/research/src/model/TopicResponse.js | 82 -- client/research/test/api/CorsApi.spec.js | 93 -- client/research/test/api/IndustryApi.spec.js | 83 -- client/research/test/api/TopicApi.spec.js | 83 -- client/research/test/model/Address.spec.js | 101 --- .../test/model/CompanyProduct.spec.js | 119 --- .../test/model/DeleteResponse.spec.js | 71 -- client/research/test/model/Error.spec.js | 77 -- client/research/test/model/Factor.spec.js | 119 --- client/research/test/model/Industry.spec.js | 143 --- .../test/model/IndustryRequest.spec.js | 65 -- .../test/model/IndustryResponse.spec.js | 71 -- .../research/test/model/InvalidError.spec.js | 83 -- .../test/model/InvalidErrorAllOf.spec.js | 65 -- client/research/test/model/Message.spec.js | 77 -- .../research/test/model/Observation.spec.js | 125 --- client/research/test/model/Pagination.spec.js | 83 -- .../research/test/model/RequestMeta.spec.js | 65 -- .../research/test/model/ResponseMeta.spec.js | 131 --- client/research/test/model/Topic.spec.js | 119 --- .../research/test/model/TopicRequest.spec.js | 65 -- .../research/test/model/TopicResponse.spec.js | 71 -- client/sf-gate/.babelrc | 33 - client/sf-gate/.gitignore | 33 - client/sf-gate/.openapi-generator-ignore | 23 - client/sf-gate/.openapi-generator/FILES | 196 ---- client/sf-gate/.openapi-generator/VERSION | 1 - client/sf-gate/.travis.yml | 5 - client/sf-gate/README.md | 223 ----- client/sf-gate/docs/Account.md | 57 -- client/sf-gate/docs/AccountRequest.md | 10 - client/sf-gate/docs/AccountResponse.md | 10 - client/sf-gate/docs/AccountsApi.md | 230 ----- client/sf-gate/docs/Address.md | 15 - client/sf-gate/docs/Asset.md | 55 -- client/sf-gate/docs/AssetRequest.md | 9 - client/sf-gate/docs/AssetResponse.md | 10 - client/sf-gate/docs/AssetsApi.md | 120 --- client/sf-gate/docs/Cluster.md | 25 - client/sf-gate/docs/ClusterRequest.md | 10 - client/sf-gate/docs/ClusterResponse.md | 10 - client/sf-gate/docs/ClustersApi.md | 170 ---- client/sf-gate/docs/CompanyProduct.md | 18 - client/sf-gate/docs/CompanyProductRequest.md | 10 - client/sf-gate/docs/CompanyProductResponse.md | 10 - client/sf-gate/docs/CompanyProductsApi.md | 120 --- client/sf-gate/docs/Contact.md | 45 - client/sf-gate/docs/ContactRequest.md | 10 - client/sf-gate/docs/ContactResponse.md | 10 - client/sf-gate/docs/ContactsApi.md | 126 --- client/sf-gate/docs/Contract.md | 38 - client/sf-gate/docs/ContractRequest.md | 9 - client/sf-gate/docs/ContractResponse.md | 10 - client/sf-gate/docs/ContractsApi.md | 120 --- client/sf-gate/docs/Database.md | 21 - client/sf-gate/docs/DatabaseRequest.md | 10 - client/sf-gate/docs/DatabaseResponse.md | 10 - client/sf-gate/docs/DatabasesApi.md | 170 ---- client/sf-gate/docs/DeleteResponse.md | 10 - client/sf-gate/docs/Error.md | 11 - client/sf-gate/docs/IndustriesApi.md | 120 --- client/sf-gate/docs/Industry.md | 20 - client/sf-gate/docs/IndustryProduct.md | 16 - client/sf-gate/docs/IndustryProductRequest.md | 9 - .../sf-gate/docs/IndustryProductResponse.md | 10 - client/sf-gate/docs/IndustryProductsApi.md | 60 -- client/sf-gate/docs/IndustryRequest.md | 9 - client/sf-gate/docs/IndustryResponse.md | 10 - client/sf-gate/docs/IndustryproductsApi.md | 68 -- client/sf-gate/docs/InvalidError.md | 12 - client/sf-gate/docs/InvalidErrorAllOf.md | 9 - client/sf-gate/docs/Message.md | 11 - client/sf-gate/docs/Pagination.md | 12 - client/sf-gate/docs/RequestMeta.md | 9 - client/sf-gate/docs/ResponseMeta.md | 20 - client/sf-gate/docs/Role.md | 17 - client/sf-gate/docs/RoleRequest.md | 10 - client/sf-gate/docs/RoleResponse.md | 10 - client/sf-gate/docs/RolesApi.md | 66 -- client/sf-gate/docs/Template.md | 24 - client/sf-gate/docs/TemplateResponse.md | 10 - client/sf-gate/docs/TemplatesApi.md | 66 -- client/sf-gate/docs/Tenant.md | 22 - client/sf-gate/docs/TenantRequest.md | 10 - client/sf-gate/docs/TenantResponse.md | 10 - client/sf-gate/docs/TenantUser.md | 11 - client/sf-gate/docs/TenantsApi.md | 164 ---- client/sf-gate/docs/User.md | 66 -- client/sf-gate/docs/UserResponse.md | 10 - client/sf-gate/docs/UserRole.md | 13 - client/sf-gate/docs/UsersApi.md | 70 -- client/sf-gate/git_push.sh | 57 -- client/sf-gate/mocha.opts | 1 - client/sf-gate/package.json | 46 - client/sf-gate/src/ApiClient.js | 692 -------------- client/sf-gate/src/api/AccountsApi.js | 217 ----- client/sf-gate/src/api/AssetsApi.js | 129 --- client/sf-gate/src/api/ClustersApi.js | 169 ---- client/sf-gate/src/api/CompanyProductsApi.js | 129 --- client/sf-gate/src/api/ContactsApi.js | 135 --- client/sf-gate/src/api/ContractsApi.js | 129 --- client/sf-gate/src/api/DatabasesApi.js | 169 ---- client/sf-gate/src/api/IndustriesApi.js | 129 --- client/sf-gate/src/api/IndustryProductsApi.js | 82 -- client/sf-gate/src/api/IndustryproductsApi.js | 86 -- client/sf-gate/src/api/RolesApi.js | 84 -- client/sf-gate/src/api/TemplatesApi.js | 84 -- client/sf-gate/src/api/TenantsApi.js | 169 ---- client/sf-gate/src/api/UsersApi.js | 88 -- client/sf-gate/src/index.js | 489 ---------- client/sf-gate/src/model/Account.js | 484 ---------- client/sf-gate/src/model/AccountRequest.js | 81 -- client/sf-gate/src/model/AccountResponse.js | 82 -- client/sf-gate/src/model/Address.js | 130 --- client/sf-gate/src/model/Asset.js | 486 ---------- client/sf-gate/src/model/AssetRequest.js | 73 -- client/sf-gate/src/model/AssetResponse.js | 82 -- client/sf-gate/src/model/Cluster.js | 216 ----- client/sf-gate/src/model/ClusterRequest.js | 85 -- client/sf-gate/src/model/ClusterResponse.js | 82 -- client/sf-gate/src/model/CompanyProduct.js | 154 ---- .../src/model/CompanyProductRequest.js | 85 -- .../src/model/CompanyProductResponse.js | 81 -- client/sf-gate/src/model/Contact.js | 393 -------- client/sf-gate/src/model/ContactRequest.js | 85 -- client/sf-gate/src/model/ContactResponse.js | 81 -- client/sf-gate/src/model/Contract.js | 332 ------- client/sf-gate/src/model/ContractRequest.js | 72 -- client/sf-gate/src/model/ContractResponse.js | 81 -- client/sf-gate/src/model/Database.js | 181 ---- client/sf-gate/src/model/DatabaseRequest.js | 82 -- client/sf-gate/src/model/DatabaseResponse.js | 82 -- client/sf-gate/src/model/DeleteResponse.js | 81 -- client/sf-gate/src/model/Error.js | 87 -- client/sf-gate/src/model/Industry.js | 172 ---- client/sf-gate/src/model/IndustryProduct.js | 133 --- .../src/model/IndustryProductRequest.js | 73 -- .../src/model/IndustryProductResponse.js | 82 -- client/sf-gate/src/model/IndustryRequest.js | 73 -- client/sf-gate/src/model/IndustryResponse.js | 82 -- client/sf-gate/src/model/InvalidError.js | 119 --- client/sf-gate/src/model/InvalidErrorAllOf.js | 71 -- client/sf-gate/src/model/Message.js | 87 -- client/sf-gate/src/model/Pagination.js | 95 -- client/sf-gate/src/model/RequestMeta.js | 74 -- client/sf-gate/src/model/ResponseMeta.js | 171 ---- client/sf-gate/src/model/Role.js | 145 --- client/sf-gate/src/model/RoleRequest.js | 82 -- client/sf-gate/src/model/RoleResponse.js | 82 -- client/sf-gate/src/model/Template.js | 203 ----- client/sf-gate/src/model/TemplateResponse.js | 81 -- client/sf-gate/src/model/Tenant.js | 190 ---- client/sf-gate/src/model/TenantRequest.js | 82 -- client/sf-gate/src/model/TenantResponse.js | 82 -- client/sf-gate/src/model/TenantUser.js | 91 -- client/sf-gate/src/model/User.js | 583 ------------ client/sf-gate/src/model/UserResponse.js | 82 -- client/sf-gate/src/model/UserRole.js | 109 --- client/sf-gate/test/api/AccountsApi.spec.js | 93 -- client/sf-gate/test/api/AssetsApi.spec.js | 73 -- client/sf-gate/test/api/ClustersApi.spec.js | 83 -- .../test/api/CompanyProductsApi.spec.js | 73 -- client/sf-gate/test/api/ContactsApi.spec.js | 73 -- client/sf-gate/test/api/ContractsApi.spec.js | 73 -- client/sf-gate/test/api/DatabasesApi.spec.js | 83 -- client/sf-gate/test/api/IndustriesApi.spec.js | 73 -- .../test/api/IndustryProductsApi.spec.js | 63 -- .../test/api/IndustryproductsApi.spec.js | 63 -- client/sf-gate/test/api/RolesApi.spec.js | 63 -- client/sf-gate/test/api/TemplatesApi.spec.js | 63 -- client/sf-gate/test/api/TenantsApi.spec.js | 83 -- client/sf-gate/test/api/UsersApi.spec.js | 63 -- client/sf-gate/test/model/Account.spec.js | 353 -------- .../sf-gate/test/model/AccountRequest.spec.js | 71 -- .../test/model/AccountResponse.spec.js | 71 -- client/sf-gate/test/model/Address.spec.js | 101 --- client/sf-gate/test/model/Asset.spec.js | 341 ------- .../sf-gate/test/model/AssetRequest.spec.js | 65 -- .../sf-gate/test/model/AssetResponse.spec.js | 71 -- client/sf-gate/test/model/Cluster.spec.js | 161 ---- .../sf-gate/test/model/ClusterRequest.spec.js | 71 -- .../test/model/ClusterResponse.spec.js | 71 -- .../sf-gate/test/model/CompanyProduct.spec.js | 119 --- .../test/model/CompanyProductRequest.spec.js | 71 -- .../test/model/CompanyProductResponse.spec.js | 71 -- client/sf-gate/test/model/Contact.spec.js | 281 ------ .../sf-gate/test/model/ContactRequest.spec.js | 71 -- .../test/model/ContactResponse.spec.js | 71 -- client/sf-gate/test/model/Contract.spec.js | 239 ----- .../test/model/ContractRequest.spec.js | 65 -- .../test/model/ContractResponse.spec.js | 71 -- client/sf-gate/test/model/Database.spec.js | 137 --- .../test/model/DatabaseRequest.spec.js | 71 -- .../test/model/DatabaseResponse.spec.js | 71 -- .../sf-gate/test/model/DeleteResponse.spec.js | 71 -- client/sf-gate/test/model/Error.spec.js | 77 -- client/sf-gate/test/model/Industry.spec.js | 131 --- .../test/model/IndustryProduct.spec.js | 107 --- .../test/model/IndustryProductRequest.spec.js | 65 -- .../model/IndustryProductResponse.spec.js | 71 -- .../test/model/IndustryRequest.spec.js | 65 -- .../test/model/IndustryResponse.spec.js | 71 -- .../sf-gate/test/model/InvalidError.spec.js | 83 -- .../test/model/InvalidErrorAllOf.spec.js | 65 -- client/sf-gate/test/model/Message.spec.js | 77 -- client/sf-gate/test/model/Pagination.spec.js | 83 -- client/sf-gate/test/model/RequestMeta.spec.js | 65 -- .../sf-gate/test/model/ResponseMeta.spec.js | 131 --- client/sf-gate/test/model/Role.spec.js | 113 --- client/sf-gate/test/model/RoleRequest.spec.js | 71 -- .../sf-gate/test/model/RoleResponse.spec.js | 71 -- client/sf-gate/test/model/Template.spec.js | 155 ---- .../test/model/TemplateResponse.spec.js | 71 -- client/sf-gate/test/model/Tenant.spec.js | 143 --- .../sf-gate/test/model/TenantRequest.spec.js | 71 -- .../sf-gate/test/model/TenantResponse.spec.js | 71 -- client/sf-gate/test/model/TenantUser.spec.js | 77 -- client/sf-gate/test/model/User.spec.js | 407 --------- .../sf-gate/test/model/UserResponse.spec.js | 71 -- client/sf-gate/test/model/UserRole.spec.js | 89 -- client/stash/.babelrc | 33 - client/stash/.gitignore | 33 - client/stash/.openapi-generator-ignore | 23 - client/stash/.openapi-generator/FILES | 34 - client/stash/.openapi-generator/VERSION | 1 - client/stash/.travis.yml | 5 - client/stash/README.md | 153 ---- client/stash/docs/Document.md | 14 - client/stash/docs/DocumentResponse.md | 10 - client/stash/docs/Error.md | 11 - client/stash/docs/NewPDF.md | 17 - client/stash/docs/PDFRequest.md | 10 - client/stash/docs/RequestMeta.md | 9 - client/stash/docs/ResponseMeta.md | 19 - client/stash/docs/StashPdfApi.md | 60 -- client/stash/git_push.sh | 57 -- client/stash/mocha.opts | 1 - client/stash/package.json | 46 - client/stash/src/ApiClient.js | 692 -------------- client/stash/src/api/StashPdfApi.js | 82 -- client/stash/src/index.js | 111 --- client/stash/src/model/Document.js | 111 --- client/stash/src/model/DocumentResponse.js | 82 -- client/stash/src/model/Error.js | 87 -- client/stash/src/model/NewPDF.js | 144 --- client/stash/src/model/PDFRequest.js | 81 -- client/stash/src/model/RequestMeta.js | 74 -- client/stash/src/model/ResponseMeta.js | 162 ---- client/stash/test/api/StashPdfApi.spec.js | 63 -- client/stash/test/model/Document.spec.js | 95 -- .../stash/test/model/DocumentResponse.spec.js | 71 -- client/stash/test/model/Error.spec.js | 77 -- client/stash/test/model/NewPDF.spec.js | 113 --- client/stash/test/model/PDFRequest.spec.js | 71 -- client/stash/test/model/RequestMeta.spec.js | 65 -- client/stash/test/model/ResponseMeta.spec.js | 125 --- 636 files changed, 68102 deletions(-) delete mode 100644 client/auth/.babelrc delete mode 100644 client/auth/.gitignore delete mode 100644 client/auth/.openapi-generator-ignore delete mode 100644 client/auth/.openapi-generator/FILES delete mode 100644 client/auth/.openapi-generator/VERSION delete mode 100644 client/auth/.travis.yml delete mode 100644 client/auth/README.md delete mode 100644 client/auth/docs/Address.md delete mode 100644 client/auth/docs/Error.md delete mode 100644 client/auth/docs/ResponseMeta.md delete mode 100644 client/auth/docs/TenantUser.md delete mode 100644 client/auth/docs/User.md delete mode 100644 client/auth/docs/UserApi.md delete mode 100644 client/auth/docs/UserResponse.md delete mode 100644 client/auth/docs/UserRole.md delete mode 100644 client/auth/git_push.sh delete mode 100644 client/auth/mocha.opts delete mode 100644 client/auth/package.json delete mode 100644 client/auth/src/ApiClient.js delete mode 100644 client/auth/src/api/UserApi.js delete mode 100644 client/auth/src/index.js delete mode 100644 client/auth/src/model/Address.js delete mode 100644 client/auth/src/model/Error.js delete mode 100644 client/auth/src/model/ResponseMeta.js delete mode 100644 client/auth/src/model/TenantUser.js delete mode 100644 client/auth/src/model/User.js delete mode 100644 client/auth/src/model/UserResponse.js delete mode 100644 client/auth/src/model/UserRole.js delete mode 100644 client/auth/test/api/UserApi.spec.js delete mode 100644 client/auth/test/model/Address.spec.js delete mode 100644 client/auth/test/model/Error.spec.js delete mode 100644 client/auth/test/model/ResponseMeta.spec.js delete mode 100644 client/auth/test/model/TenantUser.spec.js delete mode 100644 client/auth/test/model/User.spec.js delete mode 100644 client/auth/test/model/UserResponse.spec.js delete mode 100644 client/auth/test/model/UserRole.spec.js delete mode 100644 client/board/.babelrc delete mode 100644 client/board/.gitignore delete mode 100644 client/board/.openapi-generator-ignore delete mode 100644 client/board/.openapi-generator/FILES delete mode 100644 client/board/.openapi-generator/VERSION delete mode 100644 client/board/.travis.yml delete mode 100644 client/board/README.md delete mode 100644 client/board/docs/Account.md delete mode 100644 client/board/docs/Address.md delete mode 100644 client/board/docs/Contact.md delete mode 100644 client/board/docs/CorsApi.md delete mode 100644 client/board/docs/Database.md delete mode 100644 client/board/docs/Developer.md delete mode 100644 client/board/docs/DevelopersApi.md delete mode 100644 client/board/docs/Error.md delete mode 100644 client/board/docs/IQ.md delete mode 100644 client/board/docs/IqApi.md delete mode 100644 client/board/docs/Lead.md delete mode 100644 client/board/docs/LeadsApi.md delete mode 100644 client/board/docs/PaymentMethod.md delete mode 100644 client/board/docs/Role.md delete mode 100644 client/board/docs/RuleExecution.md delete mode 100644 client/board/docs/Tenant.md delete mode 100644 client/board/docs/TenantUser.md delete mode 100644 client/board/docs/User.md delete mode 100644 client/board/docs/UserAuth.md delete mode 100644 client/board/docs/UserAuthApi.md delete mode 100644 client/board/docs/UserRole.md delete mode 100644 client/board/docs/UsersApi.md delete mode 100644 client/board/git_push.sh delete mode 100644 client/board/mocha.opts delete mode 100644 client/board/package.json delete mode 100644 client/board/src/ApiClient.js delete mode 100644 client/board/src/api/CorsApi.js delete mode 100644 client/board/src/api/DevelopersApi.js delete mode 100644 client/board/src/api/IqApi.js delete mode 100644 client/board/src/api/LeadsApi.js delete mode 100644 client/board/src/api/UserAuthApi.js delete mode 100644 client/board/src/api/UsersApi.js delete mode 100644 client/board/src/index.js delete mode 100644 client/board/src/model/Account.js delete mode 100644 client/board/src/model/Address.js delete mode 100644 client/board/src/model/Contact.js delete mode 100644 client/board/src/model/Database.js delete mode 100644 client/board/src/model/Developer.js delete mode 100644 client/board/src/model/Error.js delete mode 100644 client/board/src/model/IQ.js delete mode 100644 client/board/src/model/Lead.js delete mode 100644 client/board/src/model/PaymentMethod.js delete mode 100644 client/board/src/model/Role.js delete mode 100644 client/board/src/model/RuleExecution.js delete mode 100644 client/board/src/model/Tenant.js delete mode 100644 client/board/src/model/TenantUser.js delete mode 100644 client/board/src/model/User.js delete mode 100644 client/board/src/model/UserAuth.js delete mode 100644 client/board/src/model/UserRole.js delete mode 100644 client/board/test/api/CorsApi.spec.js delete mode 100644 client/board/test/api/DevelopersApi.spec.js delete mode 100644 client/board/test/api/IqApi.spec.js delete mode 100644 client/board/test/api/LeadsApi.spec.js delete mode 100644 client/board/test/api/UserAuthApi.spec.js delete mode 100644 client/board/test/api/UsersApi.spec.js delete mode 100644 client/board/test/model/Account.spec.js delete mode 100644 client/board/test/model/Address.spec.js delete mode 100644 client/board/test/model/Contact.spec.js delete mode 100644 client/board/test/model/Database.spec.js delete mode 100644 client/board/test/model/Developer.spec.js delete mode 100644 client/board/test/model/Error.spec.js delete mode 100644 client/board/test/model/IQ.spec.js delete mode 100644 client/board/test/model/Lead.spec.js delete mode 100644 client/board/test/model/PaymentMethod.spec.js delete mode 100644 client/board/test/model/Role.spec.js delete mode 100644 client/board/test/model/RuleExecution.spec.js delete mode 100644 client/board/test/model/Tenant.spec.js delete mode 100644 client/board/test/model/TenantUser.spec.js delete mode 100644 client/board/test/model/User.spec.js delete mode 100644 client/board/test/model/UserAuth.spec.js delete mode 100644 client/board/test/model/UserRole.spec.js delete mode 100644 client/crm/.babelrc delete mode 100644 client/crm/.gitignore delete mode 100644 client/crm/.openapi-generator-ignore delete mode 100644 client/crm/.openapi-generator/FILES delete mode 100644 client/crm/.openapi-generator/VERSION delete mode 100644 client/crm/.travis.yml delete mode 100644 client/crm/README.md delete mode 100644 client/crm/docs/Account.md delete mode 100644 client/crm/docs/AccountRequest.md delete mode 100644 client/crm/docs/AccountResponse.md delete mode 100644 client/crm/docs/AccountsApi.md delete mode 100644 client/crm/docs/Address.md delete mode 100644 client/crm/docs/Asset.md delete mode 100644 client/crm/docs/AssetRequest.md delete mode 100644 client/crm/docs/AssetResponse.md delete mode 100644 client/crm/docs/AssetsApi.md delete mode 100644 client/crm/docs/Contact.md delete mode 100644 client/crm/docs/ContactRequest.md delete mode 100644 client/crm/docs/ContactResponse.md delete mode 100644 client/crm/docs/ContactsApi.md delete mode 100644 client/crm/docs/Contract.md delete mode 100644 client/crm/docs/ContractRequest.md delete mode 100644 client/crm/docs/ContractResponse.md delete mode 100644 client/crm/docs/ContractsApi.md delete mode 100644 client/crm/docs/CorsApi.md delete mode 100644 client/crm/docs/DeleteResponse.md delete mode 100644 client/crm/docs/Error.md delete mode 100644 client/crm/docs/InvalidError.md delete mode 100644 client/crm/docs/InvalidErrorAllOf.md delete mode 100644 client/crm/docs/Lead.md delete mode 100644 client/crm/docs/LeadRequest.md delete mode 100644 client/crm/docs/LeadResponse.md delete mode 100644 client/crm/docs/LeadsApi.md delete mode 100644 client/crm/docs/Message.md delete mode 100644 client/crm/docs/Pagination.md delete mode 100644 client/crm/docs/RequestMeta.md delete mode 100644 client/crm/docs/ResponseMeta.md delete mode 100644 client/crm/git_push.sh delete mode 100644 client/crm/mocha.opts delete mode 100644 client/crm/package.json delete mode 100644 client/crm/src/ApiClient.js delete mode 100644 client/crm/src/api/AccountsApi.js delete mode 100644 client/crm/src/api/AssetsApi.js delete mode 100644 client/crm/src/api/ContactsApi.js delete mode 100644 client/crm/src/api/ContractsApi.js delete mode 100644 client/crm/src/api/CorsApi.js delete mode 100644 client/crm/src/api/LeadsApi.js delete mode 100644 client/crm/src/index.js delete mode 100644 client/crm/src/model/Account.js delete mode 100644 client/crm/src/model/AccountRequest.js delete mode 100644 client/crm/src/model/AccountResponse.js delete mode 100644 client/crm/src/model/Address.js delete mode 100644 client/crm/src/model/Asset.js delete mode 100644 client/crm/src/model/AssetRequest.js delete mode 100644 client/crm/src/model/AssetResponse.js delete mode 100644 client/crm/src/model/Contact.js delete mode 100644 client/crm/src/model/ContactRequest.js delete mode 100644 client/crm/src/model/ContactResponse.js delete mode 100644 client/crm/src/model/Contract.js delete mode 100644 client/crm/src/model/ContractRequest.js delete mode 100644 client/crm/src/model/ContractResponse.js delete mode 100644 client/crm/src/model/DeleteResponse.js delete mode 100644 client/crm/src/model/Error.js delete mode 100644 client/crm/src/model/InvalidError.js delete mode 100644 client/crm/src/model/InvalidErrorAllOf.js delete mode 100644 client/crm/src/model/Lead.js delete mode 100644 client/crm/src/model/LeadRequest.js delete mode 100644 client/crm/src/model/LeadResponse.js delete mode 100644 client/crm/src/model/Message.js delete mode 100644 client/crm/src/model/Pagination.js delete mode 100644 client/crm/src/model/RequestMeta.js delete mode 100644 client/crm/src/model/ResponseMeta.js delete mode 100644 client/crm/test/api/AccountsApi.spec.js delete mode 100644 client/crm/test/api/AssetsApi.spec.js delete mode 100644 client/crm/test/api/ContactsApi.spec.js delete mode 100644 client/crm/test/api/ContractsApi.spec.js delete mode 100644 client/crm/test/api/CorsApi.spec.js delete mode 100644 client/crm/test/api/LeadsApi.spec.js delete mode 100644 client/crm/test/model/Account.spec.js delete mode 100644 client/crm/test/model/AccountRequest.spec.js delete mode 100644 client/crm/test/model/AccountResponse.spec.js delete mode 100644 client/crm/test/model/Address.spec.js delete mode 100644 client/crm/test/model/Asset.spec.js delete mode 100644 client/crm/test/model/AssetRequest.spec.js delete mode 100644 client/crm/test/model/AssetResponse.spec.js delete mode 100644 client/crm/test/model/Contact.spec.js delete mode 100644 client/crm/test/model/ContactRequest.spec.js delete mode 100644 client/crm/test/model/ContactResponse.spec.js delete mode 100644 client/crm/test/model/Contract.spec.js delete mode 100644 client/crm/test/model/ContractRequest.spec.js delete mode 100644 client/crm/test/model/ContractResponse.spec.js delete mode 100644 client/crm/test/model/DeleteResponse.spec.js delete mode 100644 client/crm/test/model/Error.spec.js delete mode 100644 client/crm/test/model/InvalidError.spec.js delete mode 100644 client/crm/test/model/InvalidErrorAllOf.spec.js delete mode 100644 client/crm/test/model/Lead.spec.js delete mode 100644 client/crm/test/model/LeadRequest.spec.js delete mode 100644 client/crm/test/model/LeadResponse.spec.js delete mode 100644 client/crm/test/model/Message.spec.js delete mode 100644 client/crm/test/model/Pagination.spec.js delete mode 100644 client/crm/test/model/RequestMeta.spec.js delete mode 100644 client/crm/test/model/ResponseMeta.spec.js delete mode 100644 client/devops/.babelrc delete mode 100644 client/devops/.gitignore delete mode 100644 client/devops/.openapi-generator-ignore delete mode 100644 client/devops/.openapi-generator/FILES delete mode 100644 client/devops/.openapi-generator/VERSION delete mode 100644 client/devops/.travis.yml delete mode 100644 client/devops/README.md delete mode 100644 client/devops/docs/Address.md delete mode 100644 client/devops/docs/Cluster.md delete mode 100644 client/devops/docs/ClusterApi.md delete mode 100644 client/devops/docs/ClusterRequest.md delete mode 100644 client/devops/docs/ClusterResponse.md delete mode 100644 client/devops/docs/CorsApi.md delete mode 100644 client/devops/docs/Database.md delete mode 100644 client/devops/docs/DatabaseApi.md delete mode 100644 client/devops/docs/DatabaseRequest.md delete mode 100644 client/devops/docs/DatabaseResponse.md delete mode 100644 client/devops/docs/DeleteResponse.md delete mode 100644 client/devops/docs/Error.md delete mode 100644 client/devops/docs/Message.md delete mode 100644 client/devops/docs/Pagination.md delete mode 100644 client/devops/docs/RequestMeta.md delete mode 100644 client/devops/docs/ResponseMeta.md delete mode 100644 client/devops/docs/Role.md delete mode 100644 client/devops/docs/RoleRequest.md delete mode 100644 client/devops/docs/RoleResponse.md delete mode 100644 client/devops/docs/Template.md delete mode 100644 client/devops/docs/TemplateApi.md delete mode 100644 client/devops/docs/TemplateRequest.md delete mode 100644 client/devops/docs/TemplateResponse.md delete mode 100644 client/devops/docs/Tenant.md delete mode 100644 client/devops/docs/TenantApi.md delete mode 100644 client/devops/docs/TenantRequest.md delete mode 100644 client/devops/docs/TenantResponse.md delete mode 100644 client/devops/docs/TenantUser.md delete mode 100644 client/devops/docs/User.md delete mode 100644 client/devops/docs/UserApi.md delete mode 100644 client/devops/docs/UserRequest.md delete mode 100644 client/devops/docs/UserResponse.md delete mode 100644 client/devops/docs/UserRole.md delete mode 100644 client/devops/git_push.sh delete mode 100644 client/devops/mocha.opts delete mode 100644 client/devops/package.json delete mode 100644 client/devops/src/ApiClient.js delete mode 100644 client/devops/src/api/ClusterApi.js delete mode 100644 client/devops/src/api/CorsApi.js delete mode 100644 client/devops/src/api/DatabaseApi.js delete mode 100644 client/devops/src/api/TemplateApi.js delete mode 100644 client/devops/src/api/TenantApi.js delete mode 100644 client/devops/src/api/UserApi.js delete mode 100644 client/devops/src/index.js delete mode 100644 client/devops/src/model/Address.js delete mode 100644 client/devops/src/model/Cluster.js delete mode 100644 client/devops/src/model/ClusterRequest.js delete mode 100644 client/devops/src/model/ClusterResponse.js delete mode 100644 client/devops/src/model/Database.js delete mode 100644 client/devops/src/model/DatabaseRequest.js delete mode 100644 client/devops/src/model/DatabaseResponse.js delete mode 100644 client/devops/src/model/DeleteResponse.js delete mode 100644 client/devops/src/model/Error.js delete mode 100644 client/devops/src/model/Message.js delete mode 100644 client/devops/src/model/Pagination.js delete mode 100644 client/devops/src/model/RequestMeta.js delete mode 100644 client/devops/src/model/ResponseMeta.js delete mode 100644 client/devops/src/model/Role.js delete mode 100644 client/devops/src/model/RoleRequest.js delete mode 100644 client/devops/src/model/RoleResponse.js delete mode 100644 client/devops/src/model/Template.js delete mode 100644 client/devops/src/model/TemplateRequest.js delete mode 100644 client/devops/src/model/TemplateResponse.js delete mode 100644 client/devops/src/model/Tenant.js delete mode 100644 client/devops/src/model/TenantRequest.js delete mode 100644 client/devops/src/model/TenantResponse.js delete mode 100644 client/devops/src/model/TenantUser.js delete mode 100644 client/devops/src/model/User.js delete mode 100644 client/devops/src/model/UserRequest.js delete mode 100644 client/devops/src/model/UserResponse.js delete mode 100644 client/devops/src/model/UserRole.js delete mode 100644 client/devops/test/api/ClusterApi.spec.js delete mode 100644 client/devops/test/api/CorsApi.spec.js delete mode 100644 client/devops/test/api/DatabaseApi.spec.js delete mode 100644 client/devops/test/api/TemplateApi.spec.js delete mode 100644 client/devops/test/api/TenantApi.spec.js delete mode 100644 client/devops/test/api/UserApi.spec.js delete mode 100644 client/devops/test/model/Address.spec.js delete mode 100644 client/devops/test/model/Cluster.spec.js delete mode 100644 client/devops/test/model/ClusterRequest.spec.js delete mode 100644 client/devops/test/model/ClusterResponse.spec.js delete mode 100644 client/devops/test/model/Database.spec.js delete mode 100644 client/devops/test/model/DatabaseRequest.spec.js delete mode 100644 client/devops/test/model/DatabaseResponse.spec.js delete mode 100644 client/devops/test/model/DeleteResponse.spec.js delete mode 100644 client/devops/test/model/Error.spec.js delete mode 100644 client/devops/test/model/Message.spec.js delete mode 100644 client/devops/test/model/Pagination.spec.js delete mode 100644 client/devops/test/model/RequestMeta.spec.js delete mode 100644 client/devops/test/model/ResponseMeta.spec.js delete mode 100644 client/devops/test/model/Role.spec.js delete mode 100644 client/devops/test/model/RoleRequest.spec.js delete mode 100644 client/devops/test/model/RoleResponse.spec.js delete mode 100644 client/devops/test/model/Template.spec.js delete mode 100644 client/devops/test/model/TemplateRequest.spec.js delete mode 100644 client/devops/test/model/TemplateResponse.spec.js delete mode 100644 client/devops/test/model/Tenant.spec.js delete mode 100644 client/devops/test/model/TenantRequest.spec.js delete mode 100644 client/devops/test/model/TenantResponse.spec.js delete mode 100644 client/devops/test/model/TenantUser.spec.js delete mode 100644 client/devops/test/model/User.spec.js delete mode 100644 client/devops/test/model/UserRequest.spec.js delete mode 100644 client/devops/test/model/UserResponse.spec.js delete mode 100644 client/devops/test/model/UserRole.spec.js delete mode 100644 client/research/.babelrc delete mode 100644 client/research/.gitignore delete mode 100644 client/research/.openapi-generator-ignore delete mode 100644 client/research/.openapi-generator/FILES delete mode 100644 client/research/.openapi-generator/VERSION delete mode 100644 client/research/.travis.yml delete mode 100644 client/research/README.md delete mode 100644 client/research/docs/Address.md delete mode 100644 client/research/docs/CompanyProduct.md delete mode 100644 client/research/docs/CorsApi.md delete mode 100644 client/research/docs/DeleteResponse.md delete mode 100644 client/research/docs/Error.md delete mode 100644 client/research/docs/Factor.md delete mode 100644 client/research/docs/Industry.md delete mode 100644 client/research/docs/IndustryApi.md delete mode 100644 client/research/docs/IndustryRequest.md delete mode 100644 client/research/docs/IndustryResponse.md delete mode 100644 client/research/docs/InvalidError.md delete mode 100644 client/research/docs/InvalidErrorAllOf.md delete mode 100644 client/research/docs/Message.md delete mode 100644 client/research/docs/Observation.md delete mode 100644 client/research/docs/Pagination.md delete mode 100644 client/research/docs/RequestMeta.md delete mode 100644 client/research/docs/ResponseMeta.md delete mode 100644 client/research/docs/Topic.md delete mode 100644 client/research/docs/TopicApi.md delete mode 100644 client/research/docs/TopicRequest.md delete mode 100644 client/research/docs/TopicResponse.md delete mode 100644 client/research/git_push.sh delete mode 100644 client/research/mocha.opts delete mode 100644 client/research/package.json delete mode 100644 client/research/src/ApiClient.js delete mode 100644 client/research/src/api/CorsApi.js delete mode 100644 client/research/src/api/IndustryApi.js delete mode 100644 client/research/src/api/TopicApi.js delete mode 100644 client/research/src/index.js delete mode 100644 client/research/src/model/Address.js delete mode 100644 client/research/src/model/CompanyProduct.js delete mode 100644 client/research/src/model/DeleteResponse.js delete mode 100644 client/research/src/model/Error.js delete mode 100644 client/research/src/model/Factor.js delete mode 100644 client/research/src/model/Industry.js delete mode 100644 client/research/src/model/IndustryRequest.js delete mode 100644 client/research/src/model/IndustryResponse.js delete mode 100644 client/research/src/model/InvalidError.js delete mode 100644 client/research/src/model/InvalidErrorAllOf.js delete mode 100644 client/research/src/model/Message.js delete mode 100644 client/research/src/model/Observation.js delete mode 100644 client/research/src/model/Pagination.js delete mode 100644 client/research/src/model/RequestMeta.js delete mode 100644 client/research/src/model/ResponseMeta.js delete mode 100644 client/research/src/model/Topic.js delete mode 100644 client/research/src/model/TopicRequest.js delete mode 100644 client/research/src/model/TopicResponse.js delete mode 100644 client/research/test/api/CorsApi.spec.js delete mode 100644 client/research/test/api/IndustryApi.spec.js delete mode 100644 client/research/test/api/TopicApi.spec.js delete mode 100644 client/research/test/model/Address.spec.js delete mode 100644 client/research/test/model/CompanyProduct.spec.js delete mode 100644 client/research/test/model/DeleteResponse.spec.js delete mode 100644 client/research/test/model/Error.spec.js delete mode 100644 client/research/test/model/Factor.spec.js delete mode 100644 client/research/test/model/Industry.spec.js delete mode 100644 client/research/test/model/IndustryRequest.spec.js delete mode 100644 client/research/test/model/IndustryResponse.spec.js delete mode 100644 client/research/test/model/InvalidError.spec.js delete mode 100644 client/research/test/model/InvalidErrorAllOf.spec.js delete mode 100644 client/research/test/model/Message.spec.js delete mode 100644 client/research/test/model/Observation.spec.js delete mode 100644 client/research/test/model/Pagination.spec.js delete mode 100644 client/research/test/model/RequestMeta.spec.js delete mode 100644 client/research/test/model/ResponseMeta.spec.js delete mode 100644 client/research/test/model/Topic.spec.js delete mode 100644 client/research/test/model/TopicRequest.spec.js delete mode 100644 client/research/test/model/TopicResponse.spec.js delete mode 100644 client/sf-gate/.babelrc delete mode 100644 client/sf-gate/.gitignore delete mode 100644 client/sf-gate/.openapi-generator-ignore delete mode 100644 client/sf-gate/.openapi-generator/FILES delete mode 100644 client/sf-gate/.openapi-generator/VERSION delete mode 100644 client/sf-gate/.travis.yml delete mode 100644 client/sf-gate/README.md delete mode 100644 client/sf-gate/docs/Account.md delete mode 100644 client/sf-gate/docs/AccountRequest.md delete mode 100644 client/sf-gate/docs/AccountResponse.md delete mode 100644 client/sf-gate/docs/AccountsApi.md delete mode 100644 client/sf-gate/docs/Address.md delete mode 100644 client/sf-gate/docs/Asset.md delete mode 100644 client/sf-gate/docs/AssetRequest.md delete mode 100644 client/sf-gate/docs/AssetResponse.md delete mode 100644 client/sf-gate/docs/AssetsApi.md delete mode 100644 client/sf-gate/docs/Cluster.md delete mode 100644 client/sf-gate/docs/ClusterRequest.md delete mode 100644 client/sf-gate/docs/ClusterResponse.md delete mode 100644 client/sf-gate/docs/ClustersApi.md delete mode 100644 client/sf-gate/docs/CompanyProduct.md delete mode 100644 client/sf-gate/docs/CompanyProductRequest.md delete mode 100644 client/sf-gate/docs/CompanyProductResponse.md delete mode 100644 client/sf-gate/docs/CompanyProductsApi.md delete mode 100644 client/sf-gate/docs/Contact.md delete mode 100644 client/sf-gate/docs/ContactRequest.md delete mode 100644 client/sf-gate/docs/ContactResponse.md delete mode 100644 client/sf-gate/docs/ContactsApi.md delete mode 100644 client/sf-gate/docs/Contract.md delete mode 100644 client/sf-gate/docs/ContractRequest.md delete mode 100644 client/sf-gate/docs/ContractResponse.md delete mode 100644 client/sf-gate/docs/ContractsApi.md delete mode 100644 client/sf-gate/docs/Database.md delete mode 100644 client/sf-gate/docs/DatabaseRequest.md delete mode 100644 client/sf-gate/docs/DatabaseResponse.md delete mode 100644 client/sf-gate/docs/DatabasesApi.md delete mode 100644 client/sf-gate/docs/DeleteResponse.md delete mode 100644 client/sf-gate/docs/Error.md delete mode 100644 client/sf-gate/docs/IndustriesApi.md delete mode 100644 client/sf-gate/docs/Industry.md delete mode 100644 client/sf-gate/docs/IndustryProduct.md delete mode 100644 client/sf-gate/docs/IndustryProductRequest.md delete mode 100644 client/sf-gate/docs/IndustryProductResponse.md delete mode 100644 client/sf-gate/docs/IndustryProductsApi.md delete mode 100644 client/sf-gate/docs/IndustryRequest.md delete mode 100644 client/sf-gate/docs/IndustryResponse.md delete mode 100644 client/sf-gate/docs/IndustryproductsApi.md delete mode 100644 client/sf-gate/docs/InvalidError.md delete mode 100644 client/sf-gate/docs/InvalidErrorAllOf.md delete mode 100644 client/sf-gate/docs/Message.md delete mode 100644 client/sf-gate/docs/Pagination.md delete mode 100644 client/sf-gate/docs/RequestMeta.md delete mode 100644 client/sf-gate/docs/ResponseMeta.md delete mode 100644 client/sf-gate/docs/Role.md delete mode 100644 client/sf-gate/docs/RoleRequest.md delete mode 100644 client/sf-gate/docs/RoleResponse.md delete mode 100644 client/sf-gate/docs/RolesApi.md delete mode 100644 client/sf-gate/docs/Template.md delete mode 100644 client/sf-gate/docs/TemplateResponse.md delete mode 100644 client/sf-gate/docs/TemplatesApi.md delete mode 100644 client/sf-gate/docs/Tenant.md delete mode 100644 client/sf-gate/docs/TenantRequest.md delete mode 100644 client/sf-gate/docs/TenantResponse.md delete mode 100644 client/sf-gate/docs/TenantUser.md delete mode 100644 client/sf-gate/docs/TenantsApi.md delete mode 100644 client/sf-gate/docs/User.md delete mode 100644 client/sf-gate/docs/UserResponse.md delete mode 100644 client/sf-gate/docs/UserRole.md delete mode 100644 client/sf-gate/docs/UsersApi.md delete mode 100644 client/sf-gate/git_push.sh delete mode 100644 client/sf-gate/mocha.opts delete mode 100644 client/sf-gate/package.json delete mode 100644 client/sf-gate/src/ApiClient.js delete mode 100644 client/sf-gate/src/api/AccountsApi.js delete mode 100644 client/sf-gate/src/api/AssetsApi.js delete mode 100644 client/sf-gate/src/api/ClustersApi.js delete mode 100644 client/sf-gate/src/api/CompanyProductsApi.js delete mode 100644 client/sf-gate/src/api/ContactsApi.js delete mode 100644 client/sf-gate/src/api/ContractsApi.js delete mode 100644 client/sf-gate/src/api/DatabasesApi.js delete mode 100644 client/sf-gate/src/api/IndustriesApi.js delete mode 100644 client/sf-gate/src/api/IndustryProductsApi.js delete mode 100644 client/sf-gate/src/api/IndustryproductsApi.js delete mode 100644 client/sf-gate/src/api/RolesApi.js delete mode 100644 client/sf-gate/src/api/TemplatesApi.js delete mode 100644 client/sf-gate/src/api/TenantsApi.js delete mode 100644 client/sf-gate/src/api/UsersApi.js delete mode 100644 client/sf-gate/src/index.js delete mode 100644 client/sf-gate/src/model/Account.js delete mode 100644 client/sf-gate/src/model/AccountRequest.js delete mode 100644 client/sf-gate/src/model/AccountResponse.js delete mode 100644 client/sf-gate/src/model/Address.js delete mode 100644 client/sf-gate/src/model/Asset.js delete mode 100644 client/sf-gate/src/model/AssetRequest.js delete mode 100644 client/sf-gate/src/model/AssetResponse.js delete mode 100644 client/sf-gate/src/model/Cluster.js delete mode 100644 client/sf-gate/src/model/ClusterRequest.js delete mode 100644 client/sf-gate/src/model/ClusterResponse.js delete mode 100644 client/sf-gate/src/model/CompanyProduct.js delete mode 100644 client/sf-gate/src/model/CompanyProductRequest.js delete mode 100644 client/sf-gate/src/model/CompanyProductResponse.js delete mode 100644 client/sf-gate/src/model/Contact.js delete mode 100644 client/sf-gate/src/model/ContactRequest.js delete mode 100644 client/sf-gate/src/model/ContactResponse.js delete mode 100644 client/sf-gate/src/model/Contract.js delete mode 100644 client/sf-gate/src/model/ContractRequest.js delete mode 100644 client/sf-gate/src/model/ContractResponse.js delete mode 100644 client/sf-gate/src/model/Database.js delete mode 100644 client/sf-gate/src/model/DatabaseRequest.js delete mode 100644 client/sf-gate/src/model/DatabaseResponse.js delete mode 100644 client/sf-gate/src/model/DeleteResponse.js delete mode 100644 client/sf-gate/src/model/Error.js delete mode 100644 client/sf-gate/src/model/Industry.js delete mode 100644 client/sf-gate/src/model/IndustryProduct.js delete mode 100644 client/sf-gate/src/model/IndustryProductRequest.js delete mode 100644 client/sf-gate/src/model/IndustryProductResponse.js delete mode 100644 client/sf-gate/src/model/IndustryRequest.js delete mode 100644 client/sf-gate/src/model/IndustryResponse.js delete mode 100644 client/sf-gate/src/model/InvalidError.js delete mode 100644 client/sf-gate/src/model/InvalidErrorAllOf.js delete mode 100644 client/sf-gate/src/model/Message.js delete mode 100644 client/sf-gate/src/model/Pagination.js delete mode 100644 client/sf-gate/src/model/RequestMeta.js delete mode 100644 client/sf-gate/src/model/ResponseMeta.js delete mode 100644 client/sf-gate/src/model/Role.js delete mode 100644 client/sf-gate/src/model/RoleRequest.js delete mode 100644 client/sf-gate/src/model/RoleResponse.js delete mode 100644 client/sf-gate/src/model/Template.js delete mode 100644 client/sf-gate/src/model/TemplateResponse.js delete mode 100644 client/sf-gate/src/model/Tenant.js delete mode 100644 client/sf-gate/src/model/TenantRequest.js delete mode 100644 client/sf-gate/src/model/TenantResponse.js delete mode 100644 client/sf-gate/src/model/TenantUser.js delete mode 100644 client/sf-gate/src/model/User.js delete mode 100644 client/sf-gate/src/model/UserResponse.js delete mode 100644 client/sf-gate/src/model/UserRole.js delete mode 100644 client/sf-gate/test/api/AccountsApi.spec.js delete mode 100644 client/sf-gate/test/api/AssetsApi.spec.js delete mode 100644 client/sf-gate/test/api/ClustersApi.spec.js delete mode 100644 client/sf-gate/test/api/CompanyProductsApi.spec.js delete mode 100644 client/sf-gate/test/api/ContactsApi.spec.js delete mode 100644 client/sf-gate/test/api/ContractsApi.spec.js delete mode 100644 client/sf-gate/test/api/DatabasesApi.spec.js delete mode 100644 client/sf-gate/test/api/IndustriesApi.spec.js delete mode 100644 client/sf-gate/test/api/IndustryProductsApi.spec.js delete mode 100644 client/sf-gate/test/api/IndustryproductsApi.spec.js delete mode 100644 client/sf-gate/test/api/RolesApi.spec.js delete mode 100644 client/sf-gate/test/api/TemplatesApi.spec.js delete mode 100644 client/sf-gate/test/api/TenantsApi.spec.js delete mode 100644 client/sf-gate/test/api/UsersApi.spec.js delete mode 100644 client/sf-gate/test/model/Account.spec.js delete mode 100644 client/sf-gate/test/model/AccountRequest.spec.js delete mode 100644 client/sf-gate/test/model/AccountResponse.spec.js delete mode 100644 client/sf-gate/test/model/Address.spec.js delete mode 100644 client/sf-gate/test/model/Asset.spec.js delete mode 100644 client/sf-gate/test/model/AssetRequest.spec.js delete mode 100644 client/sf-gate/test/model/AssetResponse.spec.js delete mode 100644 client/sf-gate/test/model/Cluster.spec.js delete mode 100644 client/sf-gate/test/model/ClusterRequest.spec.js delete mode 100644 client/sf-gate/test/model/ClusterResponse.spec.js delete mode 100644 client/sf-gate/test/model/CompanyProduct.spec.js delete mode 100644 client/sf-gate/test/model/CompanyProductRequest.spec.js delete mode 100644 client/sf-gate/test/model/CompanyProductResponse.spec.js delete mode 100644 client/sf-gate/test/model/Contact.spec.js delete mode 100644 client/sf-gate/test/model/ContactRequest.spec.js delete mode 100644 client/sf-gate/test/model/ContactResponse.spec.js delete mode 100644 client/sf-gate/test/model/Contract.spec.js delete mode 100644 client/sf-gate/test/model/ContractRequest.spec.js delete mode 100644 client/sf-gate/test/model/ContractResponse.spec.js delete mode 100644 client/sf-gate/test/model/Database.spec.js delete mode 100644 client/sf-gate/test/model/DatabaseRequest.spec.js delete mode 100644 client/sf-gate/test/model/DatabaseResponse.spec.js delete mode 100644 client/sf-gate/test/model/DeleteResponse.spec.js delete mode 100644 client/sf-gate/test/model/Error.spec.js delete mode 100644 client/sf-gate/test/model/Industry.spec.js delete mode 100644 client/sf-gate/test/model/IndustryProduct.spec.js delete mode 100644 client/sf-gate/test/model/IndustryProductRequest.spec.js delete mode 100644 client/sf-gate/test/model/IndustryProductResponse.spec.js delete mode 100644 client/sf-gate/test/model/IndustryRequest.spec.js delete mode 100644 client/sf-gate/test/model/IndustryResponse.spec.js delete mode 100644 client/sf-gate/test/model/InvalidError.spec.js delete mode 100644 client/sf-gate/test/model/InvalidErrorAllOf.spec.js delete mode 100644 client/sf-gate/test/model/Message.spec.js delete mode 100644 client/sf-gate/test/model/Pagination.spec.js delete mode 100644 client/sf-gate/test/model/RequestMeta.spec.js delete mode 100644 client/sf-gate/test/model/ResponseMeta.spec.js delete mode 100644 client/sf-gate/test/model/Role.spec.js delete mode 100644 client/sf-gate/test/model/RoleRequest.spec.js delete mode 100644 client/sf-gate/test/model/RoleResponse.spec.js delete mode 100644 client/sf-gate/test/model/Template.spec.js delete mode 100644 client/sf-gate/test/model/TemplateResponse.spec.js delete mode 100644 client/sf-gate/test/model/Tenant.spec.js delete mode 100644 client/sf-gate/test/model/TenantRequest.spec.js delete mode 100644 client/sf-gate/test/model/TenantResponse.spec.js delete mode 100644 client/sf-gate/test/model/TenantUser.spec.js delete mode 100644 client/sf-gate/test/model/User.spec.js delete mode 100644 client/sf-gate/test/model/UserResponse.spec.js delete mode 100644 client/sf-gate/test/model/UserRole.spec.js delete mode 100644 client/stash/.babelrc delete mode 100644 client/stash/.gitignore delete mode 100644 client/stash/.openapi-generator-ignore delete mode 100644 client/stash/.openapi-generator/FILES delete mode 100644 client/stash/.openapi-generator/VERSION delete mode 100644 client/stash/.travis.yml delete mode 100644 client/stash/README.md delete mode 100644 client/stash/docs/Document.md delete mode 100644 client/stash/docs/DocumentResponse.md delete mode 100644 client/stash/docs/Error.md delete mode 100644 client/stash/docs/NewPDF.md delete mode 100644 client/stash/docs/PDFRequest.md delete mode 100644 client/stash/docs/RequestMeta.md delete mode 100644 client/stash/docs/ResponseMeta.md delete mode 100644 client/stash/docs/StashPdfApi.md delete mode 100644 client/stash/git_push.sh delete mode 100644 client/stash/mocha.opts delete mode 100644 client/stash/package.json delete mode 100644 client/stash/src/ApiClient.js delete mode 100644 client/stash/src/api/StashPdfApi.js delete mode 100644 client/stash/src/index.js delete mode 100644 client/stash/src/model/Document.js delete mode 100644 client/stash/src/model/DocumentResponse.js delete mode 100644 client/stash/src/model/Error.js delete mode 100644 client/stash/src/model/NewPDF.js delete mode 100644 client/stash/src/model/PDFRequest.js delete mode 100644 client/stash/src/model/RequestMeta.js delete mode 100644 client/stash/src/model/ResponseMeta.js delete mode 100644 client/stash/test/api/StashPdfApi.spec.js delete mode 100644 client/stash/test/model/Document.spec.js delete mode 100644 client/stash/test/model/DocumentResponse.spec.js delete mode 100644 client/stash/test/model/Error.spec.js delete mode 100644 client/stash/test/model/NewPDF.spec.js delete mode 100644 client/stash/test/model/PDFRequest.spec.js delete mode 100644 client/stash/test/model/RequestMeta.spec.js delete mode 100644 client/stash/test/model/ResponseMeta.spec.js diff --git a/client/auth/.babelrc b/client/auth/.babelrc deleted file mode 100644 index c73df9d..0000000 --- a/client/auth/.babelrc +++ /dev/null @@ -1,33 +0,0 @@ -{ - "presets": [ - "@babel/preset-env" - ], - "plugins": [ - "@babel/plugin-syntax-dynamic-import", - "@babel/plugin-syntax-import-meta", - "@babel/plugin-proposal-class-properties", - "@babel/plugin-proposal-json-strings", - [ - "@babel/plugin-proposal-decorators", - { - "legacy": true - } - ], - "@babel/plugin-proposal-function-sent", - "@babel/plugin-proposal-export-namespace-from", - "@babel/plugin-proposal-numeric-separator", - "@babel/plugin-proposal-throw-expressions", - "@babel/plugin-proposal-export-default-from", - "@babel/plugin-proposal-logical-assignment-operators", - "@babel/plugin-proposal-optional-chaining", - [ - "@babel/plugin-proposal-pipeline-operator", - { - "proposal": "minimal" - } - ], - "@babel/plugin-proposal-nullish-coalescing-operator", - "@babel/plugin-proposal-do-expressions", - "@babel/plugin-proposal-function-bind" - ] -} diff --git a/client/auth/.gitignore b/client/auth/.gitignore deleted file mode 100644 index e920c16..0000000 --- a/client/auth/.gitignore +++ /dev/null @@ -1,33 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* - -# Runtime data -pids -*.pid -*.seed - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage - -# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# node-waf configuration -.lock-wscript - -# Compiled binary addons (http://nodejs.org/api/addons.html) -build/Release - -# Dependency directory -node_modules - -# Optional npm cache directory -.npm - -# Optional REPL history -.node_repl_history diff --git a/client/auth/.openapi-generator-ignore b/client/auth/.openapi-generator-ignore deleted file mode 100644 index 7484ee5..0000000 --- a/client/auth/.openapi-generator-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# OpenAPI Generator Ignore -# Generated by openapi-generator https://github.com/openapitools/openapi-generator - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/client/auth/.openapi-generator/FILES b/client/auth/.openapi-generator/FILES deleted file mode 100644 index ee72094..0000000 --- a/client/auth/.openapi-generator/FILES +++ /dev/null @@ -1,34 +0,0 @@ -.babelrc -.gitignore -.openapi-generator-ignore -.travis.yml -README.md -docs/Address.md -docs/Error.md -docs/ResponseMeta.md -docs/TenantUser.md -docs/User.md -docs/UserApi.md -docs/UserResponse.md -docs/UserRole.md -git_push.sh -mocha.opts -package.json -src/ApiClient.js -src/api/UserApi.js -src/index.js -src/model/Address.js -src/model/Error.js -src/model/ResponseMeta.js -src/model/TenantUser.js -src/model/User.js -src/model/UserResponse.js -src/model/UserRole.js -test/api/UserApi.spec.js -test/model/Address.spec.js -test/model/Error.spec.js -test/model/ResponseMeta.spec.js -test/model/TenantUser.spec.js -test/model/User.spec.js -test/model/UserResponse.spec.js -test/model/UserRole.spec.js diff --git a/client/auth/.openapi-generator/VERSION b/client/auth/.openapi-generator/VERSION deleted file mode 100644 index 6d54bbd..0000000 --- a/client/auth/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -6.0.1 \ No newline at end of file diff --git a/client/auth/.travis.yml b/client/auth/.travis.yml deleted file mode 100644 index 0968f7a..0000000 --- a/client/auth/.travis.yml +++ /dev/null @@ -1,5 +0,0 @@ -language: node_js -cache: npm -node_js: - - "6" - - "6.1" diff --git a/client/auth/README.md b/client/auth/README.md deleted file mode 100644 index 8c758a4..0000000 --- a/client/auth/README.md +++ /dev/null @@ -1,155 +0,0 @@ -# auth - -Auth - JavaScript client for auth -Authentication Microservice -This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - -- API version: 0.0.2 -- Package version: 0.0.2 -- 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 auth --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 auth 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/GIT_USER_ID/GIT_REPO_ID -then install it via: - -```shell - npm install GIT_USER_ID/GIT_REPO_ID --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 Auth = require('auth'); - -var defaultClient = Auth.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -var ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = "YOUR API KEY" -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix['X-API-Key'] = "Token" - -var api = new Auth.UserApi() -var opts = { - 'apikey': "apikey_example" // {String} Service account or developer API key -}; -var callback = function(error, data, response) { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}; -api.getUsers(opts, callback); - -``` - -## Documentation for API Endpoints - -All URIs are relative to *http://auth.vernonkeenan.com:8080/v1* - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*Auth.UserApi* | [**getUsers**](docs/UserApi.md#getUsers) | **GET** /users | Check API Key - - -## Documentation for Models - - - [Auth.Address](docs/Address.md) - - [Auth.Error](docs/Error.md) - - [Auth.ResponseMeta](docs/ResponseMeta.md) - - [Auth.TenantUser](docs/TenantUser.md) - - [Auth.User](docs/User.md) - - [Auth.UserResponse](docs/UserResponse.md) - - [Auth.UserRole](docs/UserRole.md) - - -## Documentation for Authorization - - - -### ApiKeyAuth - - -- **Type**: API key -- **API key parameter name**: X-API-Key -- **Location**: HTTP header - diff --git a/client/auth/docs/Address.md b/client/auth/docs/Address.md deleted file mode 100644 index 0c672bd..0000000 --- a/client/auth/docs/Address.md +++ /dev/null @@ -1,15 +0,0 @@ -# Auth.Address - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**city** | **String** | City | [optional] -**country** | **String** | Country full name | [optional] -**countryCode** | **String** | Country Code | [optional] -**postalCode** | **String** | Postal Code | [optional] -**state** | **String** | State full name | [optional] -**stateCode** | **String** | State Code | [optional] -**street** | **String** | Street number and name | [optional] - - diff --git a/client/auth/docs/Error.md b/client/auth/docs/Error.md deleted file mode 100644 index df9297d..0000000 --- a/client/auth/docs/Error.md +++ /dev/null @@ -1,11 +0,0 @@ -# Auth.Error - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **Number** | | [optional] -**fields** | **String** | | [optional] -**message** | **String** | | [optional] - - diff --git a/client/auth/docs/ResponseMeta.md b/client/auth/docs/ResponseMeta.md deleted file mode 100644 index 3f0631a..0000000 --- a/client/auth/docs/ResponseMeta.md +++ /dev/null @@ -1,19 +0,0 @@ -# Auth.ResponseMeta - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**contact** | **String** | Microservice Contact Info | [optional] -**copyright** | **String** | Copyright Info | [optional] -**license** | **String** | License Information and Restrictions | [optional] -**operationID** | **String** | Operation ID | [optional] -**requestIP** | **String** | Request IP Address | [optional] -**requestType** | **String** | Request Type | [optional] -**requestURL** | **String** | Request URL | [optional] -**serverInfo** | **String** | Data Server Info | [optional] -**serverResponseTime** | **String** | Data Server Response Time (ms) | [optional] -**serverTimestamp** | **String** | Backend Server Timestamp | [optional] -**taxnexusAccount** | **String** | Taxnexus Account Number used for recording transactions | [optional] - - diff --git a/client/auth/docs/TenantUser.md b/client/auth/docs/TenantUser.md deleted file mode 100644 index d91a322..0000000 --- a/client/auth/docs/TenantUser.md +++ /dev/null @@ -1,24 +0,0 @@ -# Auth.TenantUser - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**accessLevel** | **String** | The makeTenantUser access level for this User | [optional] -**auth0UserID** | **String** | Auth0 User ID | [optional] -**accountID** | **String** | Account ID | [optional] -**contactID** | **String** | Contact ID | [optional] -**companyName** | **String** | Account Name | [optional] -**taxnexusAccount** | **String** | Taxnexus Account | [optional] -**tenantActive** | **Boolean** | Tenant active? | [optional] -**tenantID** | **String** | The Tenant ID | [optional] -**tenantName** | **String** | Tenant Name | [optional] -**tenantStatus** | **String** | Tenant Status | [optional] -**tenantType** | **String** | Tenant type | [optional] -**tenantVersion** | **String** | Tenant Version | [optional] -**username** | **String** | Username | [optional] -**userEmail** | **String** | User Email Address | [optional] -**userFullName** | **String** | User Full Name | [optional] -**userID** | **String** | The User ID | [optional] - - diff --git a/client/auth/docs/User.md b/client/auth/docs/User.md deleted file mode 100644 index 8c18d46..0000000 --- a/client/auth/docs/User.md +++ /dev/null @@ -1,66 +0,0 @@ -# Auth.User - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**aboutMe** | **String** | About Me | [optional] -**accountID** | **String** | Account ID | [optional] -**address** | [**Address**](Address.md) | | [optional] -**alias** | **String** | Alias | [optional] -**aPIKey** | **String** | API Key | [optional] -**auth0UserID** | **String** | Auth0 User Id | [optional] -**communityNickname** | **String** | Nickname | [optional] -**companyName** | **String** | Company Name | [optional] -**contactID** | **String** | Contact | [optional] -**createdByID** | **String** | Created User ID | [optional] -**createdDate** | **String** | Date Created | [optional] -**delegatedApproverID** | **String** | Delegated Approver | [optional] -**department** | **String** | Department | [optional] -**division** | **String** | Division | [optional] -**email** | **String** | Email address | [optional] -**employeeNumber** | **String** | Employee Number | [optional] -**endOfDay** | **String** | Time day ends | [optional] -**environment** | **String** | Environment | [optional] -**extension** | **String** | Extension | [optional] -**fabricAPIKey** | **String** | Fabric API Key | [optional] -**fax** | **String** | Fax | [optional] -**firstName** | **String** | The first name | [optional] -**forecastEnabled** | **Boolean** | Allow Forecasting | [optional] -**fullPhotoURL** | **String** | Full Photo URL | [optional] -**ID** | **String** | Taxnexus ID | [optional] -**isActive** | **Boolean** | Active | [optional] -**isPortalEnabled** | **Boolean** | Is the user enabled for Communities? | [optional] -**isProphilePhotoActive** | **Boolean** | Has Profile Photo | [optional] -**isSystemControlled** | **Boolean** | | [optional] -**lastModifiedByID** | **String** | Last Modified User ID | [optional] -**lastModifiedDate** | **String** | Last Modified Date | [optional] -**lastLogin** | **String** | Last login time | [optional] -**lastIP** | **String** | IP address of last login | [optional] -**loginCount** | **Number** | Number of times user has logged in | [optional] -**lastName** | **String** | The Last Name | [optional] -**managerID** | **String** | Manager | [optional] -**mobilePhone** | **String** | Mobile | [optional] -**name** | **String** | Name | [optional] -**outOfOfficeMessage** | **String** | Out of office message | [optional] -**phone** | **String** | Phone | [optional] -**portalRole** | **String** | Portal Role Level | [optional] -**profileID** | **String** | Profile | [optional] -**receivesAdminInfoEmails** | **Boolean** | Admin Info Emails | [optional] -**receivesAdminEmails** | **Boolean** | Info Emails | [optional] -**senderEmail** | **String** | Email Sender Address | [optional] -**senderName** | **String** | Email Sender Name | [optional] -**signature** | **String** | Email Signature | [optional] -**smallPhotoURL** | **String** | Small Photo URL | [optional] -**startOfDay** | **String** | The time day starts | [optional] -**taxnexusAccount** | **String** | Taxnexus Account | [optional] -**tenantID** | **String** | Tenant ID associated with this user | [optional] -**timeZone** | **String** | Time Zone | [optional] -**title** | **String** | Title | [optional] -**username** | **String** | Username | [optional] -**userRoleID** | **String** | Role | [optional] -**userType** | **String** | User Type | [optional] -**userRoles** | [**[UserRole]**](UserRole.md) | | [optional] -**tenantUsers** | [**[TenantUser]**](TenantUser.md) | | [optional] - - diff --git a/client/auth/docs/UserApi.md b/client/auth/docs/UserApi.md deleted file mode 100644 index aa9e711..0000000 --- a/client/auth/docs/UserApi.md +++ /dev/null @@ -1,62 +0,0 @@ -# Auth.UserApi - -All URIs are relative to *http://auth.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getUsers**](UserApi.md#getUsers) | **GET** /users | Check API Key - - - -## getUsers - -> UserResponse getUsers(opts) - -Check API Key - -Checks for a valid API key, and returns full user record - -### Example - -```javascript -import Auth from 'auth'; -let defaultClient = Auth.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Auth.UserApi(); -let opts = { - 'apikey': "apikey_example" // String | Service account or developer API key -}; -apiInstance.getUsers(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **apikey** | **String**| Service account or developer API key | [optional] - -### Return type - -[**UserResponse**](UserResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - diff --git a/client/auth/docs/UserResponse.md b/client/auth/docs/UserResponse.md deleted file mode 100644 index e41efd3..0000000 --- a/client/auth/docs/UserResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# Auth.UserResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[User]**](User.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/auth/docs/UserRole.md b/client/auth/docs/UserRole.md deleted file mode 100644 index a7b53c7..0000000 --- a/client/auth/docs/UserRole.md +++ /dev/null @@ -1,21 +0,0 @@ -# Auth.UserRole - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**accountID** | **String** | Account Id | [optional] -**auth0RoleID** | **String** | Linked role ID | [optional] -**auth0UserID** | **String** | Auth0 User ID | [optional] -**companyName** | **String** | Company Name | [optional] -**contactID** | **String** | Contact ID | [optional] -**roleDescription** | **String** | Role description | [optional] -**roleID** | **String** | The Role ID | [optional] -**roleName** | **String** | Role Name | [optional] -**taxnexusAccount** | **String** | Taxnexus Account Number | [optional] -**userEmail** | **String** | User Email Address | [optional] -**userFullName** | **String** | User Full Name | [optional] -**userID** | **String** | The User ID | [optional] -**username** | **String** | Username | [optional] - - diff --git a/client/auth/git_push.sh b/client/auth/git_push.sh deleted file mode 100644 index f53a75d..0000000 --- a/client/auth/git_push.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh -# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ -# -# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com" - -git_user_id=$1 -git_repo_id=$2 -release_note=$3 -git_host=$4 - -if [ "$git_host" = "" ]; then - git_host="github.com" - echo "[INFO] No command line input provided. Set \$git_host to $git_host" -fi - -if [ "$git_user_id" = "" ]; then - git_user_id="GIT_USER_ID" - echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" -fi - -if [ "$git_repo_id" = "" ]; then - git_repo_id="GIT_REPO_ID" - echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" -fi - -if [ "$release_note" = "" ]; then - release_note="Minor update" - echo "[INFO] No command line input provided. Set \$release_note to $release_note" -fi - -# Initialize the local directory as a Git repository -git init - -# Adds the files in the local repository and stages them for commit. -git add . - -# Commits the tracked changes and prepares them to be pushed to a remote repository. -git commit -m "$release_note" - -# Sets the new remote -git_remote=$(git remote) -if [ "$git_remote" = "" ]; then # git remote not defined - - if [ "$GIT_TOKEN" = "" ]; then - echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." - git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git - else - git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git - fi - -fi - -git pull origin master - -# Pushes (Forces) the changes in the local repository up to the remote repository -echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git" -git push origin master 2>&1 | grep -v 'To https' diff --git a/client/auth/mocha.opts b/client/auth/mocha.opts deleted file mode 100644 index 9070118..0000000 --- a/client/auth/mocha.opts +++ /dev/null @@ -1 +0,0 @@ ---timeout 10000 diff --git a/client/auth/package.json b/client/auth/package.json deleted file mode 100644 index 0486ba7..0000000 --- a/client/auth/package.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "auth", - "version": "0.0.2", - "description": "Authentication_Microservice", - "license": "Proprietary - Copyright (c) 2018-2021 by Taxnexus, Inc.", - "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/client/auth/src/ApiClient.js b/client/auth/src/ApiClient.js deleted file mode 100644 index 636d5ac..0000000 --- a/client/auth/src/ApiClient.js +++ /dev/null @@ -1,692 +0,0 @@ -/** - * auth - * Authentication Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * 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 0.0.2 -*/ - -/** -* 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 { - /** - * The base URL against which to resolve every API call's (relative) path. - * Overrides the default value set in spec file if present - * @param {String} basePath - */ - constructor(basePath = 'http://auth.vernonkeenan.com:8080/v1') { - /** - * The base URL against which to resolve every API call's (relative) path. - * @type {String} - * @default http://auth.vernonkeenan.com:8080/v1 - */ - this.basePath = basePath.replace(/\/+$/, ''); - - /** - * The authentication methods to be included for all API calls. - * @type {Array.} - */ - this.authentications = { - 'ApiKeyAuth': {type: 'apiKey', 'in': 'header', name: 'X-API-Key'} - } - - /** - * The default HTTP headers to be included for all API calls. - * @type {Array.} - * @default {} - */ - this.defaultHeaders = { - 'User-Agent': 'OpenAPI-Generator/0.0.2/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('text'); - } - - // 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': "http://auth.vernonkeenan.com:8080/v1", - '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/client/auth/src/api/UserApi.js b/client/auth/src/api/UserApi.js deleted file mode 100644 index 1924668..0000000 --- a/client/auth/src/api/UserApi.js +++ /dev/null @@ -1,80 +0,0 @@ -/** - * auth - * Authentication Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Error from '../model/Error'; -import UserResponse from '../model/UserResponse'; - -/** -* User service. -* @module api/UserApi -* @version 0.0.2 -*/ -export default class UserApi { - - /** - * Constructs a new UserApi. - * @alias module:api/UserApi - * @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 getUsers operation. - * @callback module:api/UserApi~getUsersCallback - * @param {String} error Error message, if any. - * @param {module:model/UserResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Check API Key - * Checks for a valid API key, and returns full user record - * @param {Object} opts Optional parameters - * @param {String} opts.apikey Service account or developer API key - * @param {module:api/UserApi~getUsersCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/UserResponse} - */ - getUsers(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'apikey': opts['apikey'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = UserResponse; - return this.apiClient.callApi( - '/users', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/auth/src/index.js b/client/auth/src/index.js deleted file mode 100644 index 6a7d500..0000000 --- a/client/auth/src/index.js +++ /dev/null @@ -1,111 +0,0 @@ -/** - * auth - * Authentication Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Address from './model/Address'; -import Error from './model/Error'; -import ResponseMeta from './model/ResponseMeta'; -import TenantUser from './model/TenantUser'; -import User from './model/User'; -import UserResponse from './model/UserResponse'; -import UserRole from './model/UserRole'; -import UserApi from './api/UserApi'; - - -/** -* Authentication_Microservice.
-* 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 Auth = require('index'); // See note below*.
-* var xxxSvc = new Auth.XxxApi(); // Allocate the API class we're going to use.
-* var yyyModel = new Auth.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 Auth.XxxApi(); // Allocate the API class we're going to use.
-* var yyy = new Auth.Yyy(); // Construct a model instance.
-* yyyModel.someProperty = 'someValue';
-* ...
-* var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
-* ...
-* 
-*

-* @module index -* @version 0.0.2 -*/ -export { - /** - * The ApiClient constructor. - * @property {module:ApiClient} - */ - ApiClient, - - /** - * The Address model constructor. - * @property {module:model/Address} - */ - Address, - - /** - * The Error model constructor. - * @property {module:model/Error} - */ - Error, - - /** - * The ResponseMeta model constructor. - * @property {module:model/ResponseMeta} - */ - ResponseMeta, - - /** - * The TenantUser model constructor. - * @property {module:model/TenantUser} - */ - TenantUser, - - /** - * The User model constructor. - * @property {module:model/User} - */ - User, - - /** - * The UserResponse model constructor. - * @property {module:model/UserResponse} - */ - UserResponse, - - /** - * The UserRole model constructor. - * @property {module:model/UserRole} - */ - UserRole, - - /** - * The UserApi service constructor. - * @property {module:api/UserApi} - */ - UserApi -}; diff --git a/client/auth/src/model/Address.js b/client/auth/src/model/Address.js deleted file mode 100644 index 58c6092..0000000 --- a/client/auth/src/model/Address.js +++ /dev/null @@ -1,126 +0,0 @@ -/** - * auth - * Authentication Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Address model module. - * @module model/Address - * @version 0.0.2 - */ -class Address { - /** - * Constructs a new Address. - * @alias module:model/Address - */ - constructor() { - - Address.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 Address 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/Address} obj Optional instance to populate. - * @return {module:model/Address} The populated Address instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Address(); - - if (data.hasOwnProperty('City')) { - obj['City'] = ApiClient.convertToType(data['City'], 'String'); - } - if (data.hasOwnProperty('Country')) { - obj['Country'] = ApiClient.convertToType(data['Country'], 'String'); - } - if (data.hasOwnProperty('CountryCode')) { - obj['CountryCode'] = ApiClient.convertToType(data['CountryCode'], 'String'); - } - if (data.hasOwnProperty('PostalCode')) { - obj['PostalCode'] = ApiClient.convertToType(data['PostalCode'], 'String'); - } - if (data.hasOwnProperty('State')) { - obj['State'] = ApiClient.convertToType(data['State'], 'String'); - } - if (data.hasOwnProperty('StateCode')) { - obj['StateCode'] = ApiClient.convertToType(data['StateCode'], 'String'); - } - if (data.hasOwnProperty('Street')) { - obj['Street'] = ApiClient.convertToType(data['Street'], 'String'); - } - } - return obj; - } - - -} - -/** - * City - * @member {String} City - */ -Address.prototype['City'] = undefined; - -/** - * Country full name - * @member {String} Country - */ -Address.prototype['Country'] = undefined; - -/** - * Country Code - * @member {String} CountryCode - */ -Address.prototype['CountryCode'] = undefined; - -/** - * Postal Code - * @member {String} PostalCode - */ -Address.prototype['PostalCode'] = undefined; - -/** - * State full name - * @member {String} State - */ -Address.prototype['State'] = undefined; - -/** - * State Code - * @member {String} StateCode - */ -Address.prototype['StateCode'] = undefined; - -/** - * Street number and name - * @member {String} Street - */ -Address.prototype['Street'] = undefined; - - - - - - -export default Address; - diff --git a/client/auth/src/model/Error.js b/client/auth/src/model/Error.js deleted file mode 100644 index 348d23a..0000000 --- a/client/auth/src/model/Error.js +++ /dev/null @@ -1,87 +0,0 @@ -/** - * auth - * Authentication Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Error model module. - * @module model/Error - * @version 0.0.2 - */ -class Error { - /** - * Constructs a new Error. - * @alias module:model/Error - */ - constructor() { - - Error.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 Error 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/Error} obj Optional instance to populate. - * @return {module:model/Error} The populated Error instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Error(); - - if (data.hasOwnProperty('Code')) { - obj['Code'] = ApiClient.convertToType(data['Code'], 'Number'); - } - if (data.hasOwnProperty('Fields')) { - obj['Fields'] = ApiClient.convertToType(data['Fields'], 'String'); - } - if (data.hasOwnProperty('Message')) { - obj['Message'] = ApiClient.convertToType(data['Message'], 'String'); - } - } - return obj; - } - - -} - -/** - * @member {Number} Code - */ -Error.prototype['Code'] = undefined; - -/** - * @member {String} Fields - */ -Error.prototype['Fields'] = undefined; - -/** - * @member {String} Message - */ -Error.prototype['Message'] = undefined; - - - - - - -export default Error; - diff --git a/client/auth/src/model/ResponseMeta.js b/client/auth/src/model/ResponseMeta.js deleted file mode 100644 index 821a91b..0000000 --- a/client/auth/src/model/ResponseMeta.js +++ /dev/null @@ -1,162 +0,0 @@ -/** - * auth - * Authentication Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 ResponseMeta model module. - * @module model/ResponseMeta - * @version 0.0.2 - */ -class ResponseMeta { - /** - * Constructs a new ResponseMeta. - * @alias module:model/ResponseMeta - */ - constructor() { - - ResponseMeta.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 ResponseMeta 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/ResponseMeta} obj Optional instance to populate. - * @return {module:model/ResponseMeta} The populated ResponseMeta instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new ResponseMeta(); - - if (data.hasOwnProperty('Contact')) { - obj['Contact'] = ApiClient.convertToType(data['Contact'], 'String'); - } - if (data.hasOwnProperty('Copyright')) { - obj['Copyright'] = ApiClient.convertToType(data['Copyright'], 'String'); - } - if (data.hasOwnProperty('License')) { - obj['License'] = ApiClient.convertToType(data['License'], 'String'); - } - if (data.hasOwnProperty('OperationID')) { - obj['OperationID'] = ApiClient.convertToType(data['OperationID'], 'String'); - } - if (data.hasOwnProperty('RequestIP')) { - obj['RequestIP'] = ApiClient.convertToType(data['RequestIP'], 'String'); - } - if (data.hasOwnProperty('RequestType')) { - obj['RequestType'] = ApiClient.convertToType(data['RequestType'], 'String'); - } - if (data.hasOwnProperty('RequestURL')) { - obj['RequestURL'] = ApiClient.convertToType(data['RequestURL'], 'String'); - } - if (data.hasOwnProperty('ServerInfo')) { - obj['ServerInfo'] = ApiClient.convertToType(data['ServerInfo'], 'String'); - } - if (data.hasOwnProperty('ServerResponseTime')) { - obj['ServerResponseTime'] = ApiClient.convertToType(data['ServerResponseTime'], 'String'); - } - if (data.hasOwnProperty('ServerTimestamp')) { - obj['ServerTimestamp'] = ApiClient.convertToType(data['ServerTimestamp'], 'String'); - } - if (data.hasOwnProperty('TaxnexusAccount')) { - obj['TaxnexusAccount'] = ApiClient.convertToType(data['TaxnexusAccount'], 'String'); - } - } - return obj; - } - - -} - -/** - * Microservice Contact Info - * @member {String} Contact - */ -ResponseMeta.prototype['Contact'] = undefined; - -/** - * Copyright Info - * @member {String} Copyright - */ -ResponseMeta.prototype['Copyright'] = undefined; - -/** - * License Information and Restrictions - * @member {String} License - */ -ResponseMeta.prototype['License'] = undefined; - -/** - * Operation ID - * @member {String} OperationID - */ -ResponseMeta.prototype['OperationID'] = undefined; - -/** - * Request IP Address - * @member {String} RequestIP - */ -ResponseMeta.prototype['RequestIP'] = undefined; - -/** - * Request Type - * @member {String} RequestType - */ -ResponseMeta.prototype['RequestType'] = undefined; - -/** - * Request URL - * @member {String} RequestURL - */ -ResponseMeta.prototype['RequestURL'] = undefined; - -/** - * Data Server Info - * @member {String} ServerInfo - */ -ResponseMeta.prototype['ServerInfo'] = undefined; - -/** - * Data Server Response Time (ms) - * @member {String} ServerResponseTime - */ -ResponseMeta.prototype['ServerResponseTime'] = undefined; - -/** - * Backend Server Timestamp - * @member {String} ServerTimestamp - */ -ResponseMeta.prototype['ServerTimestamp'] = undefined; - -/** - * Taxnexus Account Number used for recording transactions - * @member {String} TaxnexusAccount - */ -ResponseMeta.prototype['TaxnexusAccount'] = undefined; - - - - - - -export default ResponseMeta; - diff --git a/client/auth/src/model/TenantUser.js b/client/auth/src/model/TenantUser.js deleted file mode 100644 index 2e2a7d4..0000000 --- a/client/auth/src/model/TenantUser.js +++ /dev/null @@ -1,208 +0,0 @@ -/** - * auth - * Authentication Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 TenantUser model module. - * @module model/TenantUser - * @version 0.0.2 - */ -class TenantUser { - /** - * Constructs a new TenantUser. - * Relationship object that connects users to a tenant - * @alias module:model/TenantUser - */ - constructor() { - - TenantUser.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 TenantUser 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/TenantUser} obj Optional instance to populate. - * @return {module:model/TenantUser} The populated TenantUser instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new TenantUser(); - - if (data.hasOwnProperty('AccessLevel')) { - obj['AccessLevel'] = ApiClient.convertToType(data['AccessLevel'], 'String'); - } - if (data.hasOwnProperty('Auth0UserID')) { - obj['Auth0UserID'] = ApiClient.convertToType(data['Auth0UserID'], 'String'); - } - if (data.hasOwnProperty('AccountID')) { - obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String'); - } - if (data.hasOwnProperty('ContactID')) { - obj['ContactID'] = ApiClient.convertToType(data['ContactID'], 'String'); - } - if (data.hasOwnProperty('CompanyName')) { - obj['CompanyName'] = ApiClient.convertToType(data['CompanyName'], 'String'); - } - if (data.hasOwnProperty('TaxnexusAccount')) { - obj['TaxnexusAccount'] = ApiClient.convertToType(data['TaxnexusAccount'], 'String'); - } - if (data.hasOwnProperty('TenantActive')) { - obj['TenantActive'] = ApiClient.convertToType(data['TenantActive'], 'Boolean'); - } - if (data.hasOwnProperty('TenantID')) { - obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String'); - } - if (data.hasOwnProperty('TenantName')) { - obj['TenantName'] = ApiClient.convertToType(data['TenantName'], 'String'); - } - if (data.hasOwnProperty('TenantStatus')) { - obj['TenantStatus'] = ApiClient.convertToType(data['TenantStatus'], 'String'); - } - if (data.hasOwnProperty('TenantType')) { - obj['TenantType'] = ApiClient.convertToType(data['TenantType'], 'String'); - } - if (data.hasOwnProperty('TenantVersion')) { - obj['TenantVersion'] = ApiClient.convertToType(data['TenantVersion'], 'String'); - } - if (data.hasOwnProperty('Username')) { - obj['Username'] = ApiClient.convertToType(data['Username'], 'String'); - } - if (data.hasOwnProperty('UserEmail')) { - obj['UserEmail'] = ApiClient.convertToType(data['UserEmail'], 'String'); - } - if (data.hasOwnProperty('UserFullName')) { - obj['UserFullName'] = ApiClient.convertToType(data['UserFullName'], 'String'); - } - if (data.hasOwnProperty('UserID')) { - obj['UserID'] = ApiClient.convertToType(data['UserID'], 'String'); - } - } - return obj; - } - - -} - -/** - * The makeTenantUser access level for this User - * @member {String} AccessLevel - */ -TenantUser.prototype['AccessLevel'] = undefined; - -/** - * Auth0 User ID - * @member {String} Auth0UserID - */ -TenantUser.prototype['Auth0UserID'] = undefined; - -/** - * Account ID - * @member {String} AccountID - */ -TenantUser.prototype['AccountID'] = undefined; - -/** - * Contact ID - * @member {String} ContactID - */ -TenantUser.prototype['ContactID'] = undefined; - -/** - * Account Name - * @member {String} CompanyName - */ -TenantUser.prototype['CompanyName'] = undefined; - -/** - * Taxnexus Account - * @member {String} TaxnexusAccount - */ -TenantUser.prototype['TaxnexusAccount'] = undefined; - -/** - * Tenant active? - * @member {Boolean} TenantActive - */ -TenantUser.prototype['TenantActive'] = undefined; - -/** - * The Tenant ID - * @member {String} TenantID - */ -TenantUser.prototype['TenantID'] = undefined; - -/** - * Tenant Name - * @member {String} TenantName - */ -TenantUser.prototype['TenantName'] = undefined; - -/** - * Tenant Status - * @member {String} TenantStatus - */ -TenantUser.prototype['TenantStatus'] = undefined; - -/** - * Tenant type - * @member {String} TenantType - */ -TenantUser.prototype['TenantType'] = undefined; - -/** - * Tenant Version - * @member {String} TenantVersion - */ -TenantUser.prototype['TenantVersion'] = undefined; - -/** - * Username - * @member {String} Username - */ -TenantUser.prototype['Username'] = undefined; - -/** - * User Email Address - * @member {String} UserEmail - */ -TenantUser.prototype['UserEmail'] = undefined; - -/** - * User Full Name - * @member {String} UserFullName - */ -TenantUser.prototype['UserFullName'] = undefined; - -/** - * The User ID - * @member {String} UserID - */ -TenantUser.prototype['UserID'] = undefined; - - - - - - -export default TenantUser; - diff --git a/client/auth/src/model/User.js b/client/auth/src/model/User.js deleted file mode 100644 index aad9871..0000000 --- a/client/auth/src/model/User.js +++ /dev/null @@ -1,584 +0,0 @@ -/** - * auth - * Authentication Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Address from './Address'; -import TenantUser from './TenantUser'; -import UserRole from './UserRole'; - -/** - * The User model module. - * @module model/User - * @version 0.0.2 - */ -class User { - /** - * Constructs a new User. - * @alias module:model/User - */ - constructor() { - - User.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 User 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/User} obj Optional instance to populate. - * @return {module:model/User} The populated User instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new User(); - - if (data.hasOwnProperty('AboutMe')) { - obj['AboutMe'] = ApiClient.convertToType(data['AboutMe'], 'String'); - } - if (data.hasOwnProperty('AccountID')) { - obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String'); - } - if (data.hasOwnProperty('Address')) { - obj['Address'] = Address.constructFromObject(data['Address']); - } - if (data.hasOwnProperty('Alias')) { - obj['Alias'] = ApiClient.convertToType(data['Alias'], 'String'); - } - if (data.hasOwnProperty('APIKey')) { - obj['APIKey'] = ApiClient.convertToType(data['APIKey'], 'String'); - } - if (data.hasOwnProperty('Auth0UserID')) { - obj['Auth0UserID'] = ApiClient.convertToType(data['Auth0UserID'], 'String'); - } - if (data.hasOwnProperty('CommunityNickname')) { - obj['CommunityNickname'] = ApiClient.convertToType(data['CommunityNickname'], 'String'); - } - if (data.hasOwnProperty('CompanyName')) { - obj['CompanyName'] = ApiClient.convertToType(data['CompanyName'], 'String'); - } - if (data.hasOwnProperty('ContactID')) { - obj['ContactID'] = ApiClient.convertToType(data['ContactID'], 'String'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('DelegatedApproverID')) { - obj['DelegatedApproverID'] = ApiClient.convertToType(data['DelegatedApproverID'], 'String'); - } - if (data.hasOwnProperty('Department')) { - obj['Department'] = ApiClient.convertToType(data['Department'], 'String'); - } - if (data.hasOwnProperty('Division')) { - obj['Division'] = ApiClient.convertToType(data['Division'], 'String'); - } - if (data.hasOwnProperty('Email')) { - obj['Email'] = ApiClient.convertToType(data['Email'], 'String'); - } - if (data.hasOwnProperty('EmployeeNumber')) { - obj['EmployeeNumber'] = ApiClient.convertToType(data['EmployeeNumber'], 'String'); - } - if (data.hasOwnProperty('EndOfDay')) { - obj['EndOfDay'] = ApiClient.convertToType(data['EndOfDay'], 'String'); - } - if (data.hasOwnProperty('Environment')) { - obj['Environment'] = ApiClient.convertToType(data['Environment'], 'String'); - } - if (data.hasOwnProperty('Extension')) { - obj['Extension'] = ApiClient.convertToType(data['Extension'], 'String'); - } - if (data.hasOwnProperty('FabricAPIKey')) { - obj['FabricAPIKey'] = ApiClient.convertToType(data['FabricAPIKey'], 'String'); - } - if (data.hasOwnProperty('Fax')) { - obj['Fax'] = ApiClient.convertToType(data['Fax'], 'String'); - } - if (data.hasOwnProperty('FirstName')) { - obj['FirstName'] = ApiClient.convertToType(data['FirstName'], 'String'); - } - if (data.hasOwnProperty('ForecastEnabled')) { - obj['ForecastEnabled'] = ApiClient.convertToType(data['ForecastEnabled'], 'Boolean'); - } - if (data.hasOwnProperty('FullPhotoURL')) { - obj['FullPhotoURL'] = ApiClient.convertToType(data['FullPhotoURL'], 'String'); - } - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('IsActive')) { - obj['IsActive'] = ApiClient.convertToType(data['IsActive'], 'Boolean'); - } - if (data.hasOwnProperty('IsPortalEnabled')) { - obj['IsPortalEnabled'] = ApiClient.convertToType(data['IsPortalEnabled'], 'Boolean'); - } - if (data.hasOwnProperty('IsProphilePhotoActive')) { - obj['IsProphilePhotoActive'] = ApiClient.convertToType(data['IsProphilePhotoActive'], 'Boolean'); - } - if (data.hasOwnProperty('IsSystemControlled')) { - obj['IsSystemControlled'] = ApiClient.convertToType(data['IsSystemControlled'], 'Boolean'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('LastLogin')) { - obj['LastLogin'] = ApiClient.convertToType(data['LastLogin'], 'String'); - } - if (data.hasOwnProperty('LastIP')) { - obj['LastIP'] = ApiClient.convertToType(data['LastIP'], 'String'); - } - if (data.hasOwnProperty('LoginCount')) { - obj['LoginCount'] = ApiClient.convertToType(data['LoginCount'], 'Number'); - } - if (data.hasOwnProperty('LastName')) { - obj['LastName'] = ApiClient.convertToType(data['LastName'], 'String'); - } - if (data.hasOwnProperty('ManagerID')) { - obj['ManagerID'] = ApiClient.convertToType(data['ManagerID'], 'String'); - } - if (data.hasOwnProperty('MobilePhone')) { - obj['MobilePhone'] = ApiClient.convertToType(data['MobilePhone'], 'String'); - } - if (data.hasOwnProperty('Name')) { - obj['Name'] = ApiClient.convertToType(data['Name'], 'String'); - } - if (data.hasOwnProperty('OutOfOfficeMessage')) { - obj['OutOfOfficeMessage'] = ApiClient.convertToType(data['OutOfOfficeMessage'], 'String'); - } - if (data.hasOwnProperty('Phone')) { - obj['Phone'] = ApiClient.convertToType(data['Phone'], 'String'); - } - if (data.hasOwnProperty('PortalRole')) { - obj['PortalRole'] = ApiClient.convertToType(data['PortalRole'], 'String'); - } - if (data.hasOwnProperty('ProfileID')) { - obj['ProfileID'] = ApiClient.convertToType(data['ProfileID'], 'String'); - } - if (data.hasOwnProperty('ReceivesAdminInfoEmails')) { - obj['ReceivesAdminInfoEmails'] = ApiClient.convertToType(data['ReceivesAdminInfoEmails'], 'Boolean'); - } - if (data.hasOwnProperty('ReceivesAdminEmails')) { - obj['ReceivesAdminEmails'] = ApiClient.convertToType(data['ReceivesAdminEmails'], 'Boolean'); - } - if (data.hasOwnProperty('SenderEmail')) { - obj['SenderEmail'] = ApiClient.convertToType(data['SenderEmail'], 'String'); - } - if (data.hasOwnProperty('SenderName')) { - obj['SenderName'] = ApiClient.convertToType(data['SenderName'], 'String'); - } - if (data.hasOwnProperty('Signature')) { - obj['Signature'] = ApiClient.convertToType(data['Signature'], 'String'); - } - if (data.hasOwnProperty('SmallPhotoURL')) { - obj['SmallPhotoURL'] = ApiClient.convertToType(data['SmallPhotoURL'], 'String'); - } - if (data.hasOwnProperty('StartOfDay')) { - obj['StartOfDay'] = ApiClient.convertToType(data['StartOfDay'], 'String'); - } - if (data.hasOwnProperty('TaxnexusAccount')) { - obj['TaxnexusAccount'] = ApiClient.convertToType(data['TaxnexusAccount'], 'String'); - } - if (data.hasOwnProperty('TenantID')) { - obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String'); - } - if (data.hasOwnProperty('TimeZone')) { - obj['TimeZone'] = ApiClient.convertToType(data['TimeZone'], 'String'); - } - if (data.hasOwnProperty('Title')) { - obj['Title'] = ApiClient.convertToType(data['Title'], 'String'); - } - if (data.hasOwnProperty('Username')) { - obj['Username'] = ApiClient.convertToType(data['Username'], 'String'); - } - if (data.hasOwnProperty('UserRoleID')) { - obj['UserRoleID'] = ApiClient.convertToType(data['UserRoleID'], 'String'); - } - if (data.hasOwnProperty('UserType')) { - obj['UserType'] = ApiClient.convertToType(data['UserType'], 'String'); - } - if (data.hasOwnProperty('UserRoles')) { - obj['UserRoles'] = ApiClient.convertToType(data['UserRoles'], [UserRole]); - } - if (data.hasOwnProperty('TenantUsers')) { - obj['TenantUsers'] = ApiClient.convertToType(data['TenantUsers'], [TenantUser]); - } - } - return obj; - } - - -} - -/** - * About Me - * @member {String} AboutMe - */ -User.prototype['AboutMe'] = undefined; - -/** - * Account ID - * @member {String} AccountID - */ -User.prototype['AccountID'] = undefined; - -/** - * @member {module:model/Address} Address - */ -User.prototype['Address'] = undefined; - -/** - * Alias - * @member {String} Alias - */ -User.prototype['Alias'] = undefined; - -/** - * API Key - * @member {String} APIKey - */ -User.prototype['APIKey'] = undefined; - -/** - * Auth0 User Id - * @member {String} Auth0UserID - */ -User.prototype['Auth0UserID'] = undefined; - -/** - * Nickname - * @member {String} CommunityNickname - */ -User.prototype['CommunityNickname'] = undefined; - -/** - * Company Name - * @member {String} CompanyName - */ -User.prototype['CompanyName'] = undefined; - -/** - * Contact - * @member {String} ContactID - */ -User.prototype['ContactID'] = undefined; - -/** - * Created User ID - * @member {String} CreatedByID - */ -User.prototype['CreatedByID'] = undefined; - -/** - * Date Created - * @member {String} CreatedDate - */ -User.prototype['CreatedDate'] = undefined; - -/** - * Delegated Approver - * @member {String} DelegatedApproverID - */ -User.prototype['DelegatedApproverID'] = undefined; - -/** - * Department - * @member {String} Department - */ -User.prototype['Department'] = undefined; - -/** - * Division - * @member {String} Division - */ -User.prototype['Division'] = undefined; - -/** - * Email address - * @member {String} Email - */ -User.prototype['Email'] = undefined; - -/** - * Employee Number - * @member {String} EmployeeNumber - */ -User.prototype['EmployeeNumber'] = undefined; - -/** - * Time day ends - * @member {String} EndOfDay - */ -User.prototype['EndOfDay'] = undefined; - -/** - * Environment - * @member {String} Environment - */ -User.prototype['Environment'] = undefined; - -/** - * Extension - * @member {String} Extension - */ -User.prototype['Extension'] = undefined; - -/** - * Fabric API Key - * @member {String} FabricAPIKey - */ -User.prototype['FabricAPIKey'] = undefined; - -/** - * Fax - * @member {String} Fax - */ -User.prototype['Fax'] = undefined; - -/** - * The first name - * @member {String} FirstName - */ -User.prototype['FirstName'] = undefined; - -/** - * Allow Forecasting - * @member {Boolean} ForecastEnabled - */ -User.prototype['ForecastEnabled'] = undefined; - -/** - * Full Photo URL - * @member {String} FullPhotoURL - */ -User.prototype['FullPhotoURL'] = undefined; - -/** - * Taxnexus ID - * @member {String} ID - */ -User.prototype['ID'] = undefined; - -/** - * Active - * @member {Boolean} IsActive - */ -User.prototype['IsActive'] = undefined; - -/** - * Is the user enabled for Communities? - * @member {Boolean} IsPortalEnabled - */ -User.prototype['IsPortalEnabled'] = undefined; - -/** - * Has Profile Photo - * @member {Boolean} IsProphilePhotoActive - */ -User.prototype['IsProphilePhotoActive'] = undefined; - -/** - * @member {Boolean} IsSystemControlled - */ -User.prototype['IsSystemControlled'] = undefined; - -/** - * Last Modified User ID - * @member {String} LastModifiedByID - */ -User.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modified Date - * @member {String} LastModifiedDate - */ -User.prototype['LastModifiedDate'] = undefined; - -/** - * Last login time - * @member {String} LastLogin - */ -User.prototype['LastLogin'] = undefined; - -/** - * IP address of last login - * @member {String} LastIP - */ -User.prototype['LastIP'] = undefined; - -/** - * Number of times user has logged in - * @member {Number} LoginCount - */ -User.prototype['LoginCount'] = undefined; - -/** - * The Last Name - * @member {String} LastName - */ -User.prototype['LastName'] = undefined; - -/** - * Manager - * @member {String} ManagerID - */ -User.prototype['ManagerID'] = undefined; - -/** - * Mobile - * @member {String} MobilePhone - */ -User.prototype['MobilePhone'] = undefined; - -/** - * Name - * @member {String} Name - */ -User.prototype['Name'] = undefined; - -/** - * Out of office message - * @member {String} OutOfOfficeMessage - */ -User.prototype['OutOfOfficeMessage'] = undefined; - -/** - * Phone - * @member {String} Phone - */ -User.prototype['Phone'] = undefined; - -/** - * Portal Role Level - * @member {String} PortalRole - */ -User.prototype['PortalRole'] = undefined; - -/** - * Profile - * @member {String} ProfileID - */ -User.prototype['ProfileID'] = undefined; - -/** - * Admin Info Emails - * @member {Boolean} ReceivesAdminInfoEmails - */ -User.prototype['ReceivesAdminInfoEmails'] = undefined; - -/** - * Info Emails - * @member {Boolean} ReceivesAdminEmails - */ -User.prototype['ReceivesAdminEmails'] = undefined; - -/** - * Email Sender Address - * @member {String} SenderEmail - */ -User.prototype['SenderEmail'] = undefined; - -/** - * Email Sender Name - * @member {String} SenderName - */ -User.prototype['SenderName'] = undefined; - -/** - * Email Signature - * @member {String} Signature - */ -User.prototype['Signature'] = undefined; - -/** - * Small Photo URL - * @member {String} SmallPhotoURL - */ -User.prototype['SmallPhotoURL'] = undefined; - -/** - * The time day starts - * @member {String} StartOfDay - */ -User.prototype['StartOfDay'] = undefined; - -/** - * Taxnexus Account - * @member {String} TaxnexusAccount - */ -User.prototype['TaxnexusAccount'] = undefined; - -/** - * Tenant ID associated with this user - * @member {String} TenantID - */ -User.prototype['TenantID'] = undefined; - -/** - * Time Zone - * @member {String} TimeZone - */ -User.prototype['TimeZone'] = undefined; - -/** - * Title - * @member {String} Title - */ -User.prototype['Title'] = undefined; - -/** - * Username - * @member {String} Username - */ -User.prototype['Username'] = undefined; - -/** - * Role - * @member {String} UserRoleID - */ -User.prototype['UserRoleID'] = undefined; - -/** - * User Type - * @member {String} UserType - */ -User.prototype['UserType'] = undefined; - -/** - * @member {Array.} UserRoles - */ -User.prototype['UserRoles'] = undefined; - -/** - * @member {Array.} TenantUsers - */ -User.prototype['TenantUsers'] = undefined; - - - - - - -export default User; - diff --git a/client/auth/src/model/UserResponse.js b/client/auth/src/model/UserResponse.js deleted file mode 100644 index f49960a..0000000 --- a/client/auth/src/model/UserResponse.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * auth - * Authentication Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 ResponseMeta from './ResponseMeta'; -import User from './User'; - -/** - * The UserResponse model module. - * @module model/UserResponse - * @version 0.0.2 - */ -class UserResponse { - /** - * Constructs a new UserResponse. - * An array Taxnexus user objects - * @alias module:model/UserResponse - */ - constructor() { - - UserResponse.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 UserResponse 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/UserResponse} obj Optional instance to populate. - * @return {module:model/UserResponse} The populated UserResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new UserResponse(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [User]); - } - if (data.hasOwnProperty('Meta')) { - obj['Meta'] = ResponseMeta.constructFromObject(data['Meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -UserResponse.prototype['Data'] = undefined; - -/** - * @member {module:model/ResponseMeta} Meta - */ -UserResponse.prototype['Meta'] = undefined; - - - - - - -export default UserResponse; - diff --git a/client/auth/src/model/UserRole.js b/client/auth/src/model/UserRole.js deleted file mode 100644 index a1bb6b4..0000000 --- a/client/auth/src/model/UserRole.js +++ /dev/null @@ -1,181 +0,0 @@ -/** - * auth - * Authentication Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 UserRole model module. - * @module model/UserRole - * @version 0.0.2 - */ -class UserRole { - /** - * Constructs a new UserRole. - * Relationship object that connects user to a role - * @alias module:model/UserRole - */ - constructor() { - - UserRole.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 UserRole 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/UserRole} obj Optional instance to populate. - * @return {module:model/UserRole} The populated UserRole instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new UserRole(); - - if (data.hasOwnProperty('AccountID')) { - obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String'); - } - if (data.hasOwnProperty('Auth0RoleID')) { - obj['Auth0RoleID'] = ApiClient.convertToType(data['Auth0RoleID'], 'String'); - } - if (data.hasOwnProperty('Auth0UserID')) { - obj['Auth0UserID'] = ApiClient.convertToType(data['Auth0UserID'], 'String'); - } - if (data.hasOwnProperty('CompanyName')) { - obj['CompanyName'] = ApiClient.convertToType(data['CompanyName'], 'String'); - } - if (data.hasOwnProperty('ContactID')) { - obj['ContactID'] = ApiClient.convertToType(data['ContactID'], 'String'); - } - if (data.hasOwnProperty('RoleDescription')) { - obj['RoleDescription'] = ApiClient.convertToType(data['RoleDescription'], 'String'); - } - if (data.hasOwnProperty('RoleID')) { - obj['RoleID'] = ApiClient.convertToType(data['RoleID'], 'String'); - } - if (data.hasOwnProperty('RoleName')) { - obj['RoleName'] = ApiClient.convertToType(data['RoleName'], 'String'); - } - if (data.hasOwnProperty('TaxnexusAccount')) { - obj['TaxnexusAccount'] = ApiClient.convertToType(data['TaxnexusAccount'], 'String'); - } - if (data.hasOwnProperty('UserEmail')) { - obj['UserEmail'] = ApiClient.convertToType(data['UserEmail'], 'String'); - } - if (data.hasOwnProperty('UserFullName')) { - obj['UserFullName'] = ApiClient.convertToType(data['UserFullName'], 'String'); - } - if (data.hasOwnProperty('UserID')) { - obj['UserID'] = ApiClient.convertToType(data['UserID'], 'String'); - } - if (data.hasOwnProperty('Username')) { - obj['Username'] = ApiClient.convertToType(data['Username'], 'String'); - } - } - return obj; - } - - -} - -/** - * Account Id - * @member {String} AccountID - */ -UserRole.prototype['AccountID'] = undefined; - -/** - * Linked role ID - * @member {String} Auth0RoleID - */ -UserRole.prototype['Auth0RoleID'] = undefined; - -/** - * Auth0 User ID - * @member {String} Auth0UserID - */ -UserRole.prototype['Auth0UserID'] = undefined; - -/** - * Company Name - * @member {String} CompanyName - */ -UserRole.prototype['CompanyName'] = undefined; - -/** - * Contact ID - * @member {String} ContactID - */ -UserRole.prototype['ContactID'] = undefined; - -/** - * Role description - * @member {String} RoleDescription - */ -UserRole.prototype['RoleDescription'] = undefined; - -/** - * The Role ID - * @member {String} RoleID - */ -UserRole.prototype['RoleID'] = undefined; - -/** - * Role Name - * @member {String} RoleName - */ -UserRole.prototype['RoleName'] = undefined; - -/** - * Taxnexus Account Number - * @member {String} TaxnexusAccount - */ -UserRole.prototype['TaxnexusAccount'] = undefined; - -/** - * User Email Address - * @member {String} UserEmail - */ -UserRole.prototype['UserEmail'] = undefined; - -/** - * User Full Name - * @member {String} UserFullName - */ -UserRole.prototype['UserFullName'] = undefined; - -/** - * The User ID - * @member {String} UserID - */ -UserRole.prototype['UserID'] = undefined; - -/** - * Username - * @member {String} Username - */ -UserRole.prototype['Username'] = undefined; - - - - - - -export default UserRole; - diff --git a/client/auth/test/api/UserApi.spec.js b/client/auth/test/api/UserApi.spec.js deleted file mode 100644 index 53d06a6..0000000 --- a/client/auth/test/api/UserApi.spec.js +++ /dev/null @@ -1,63 +0,0 @@ -/** - * auth - * Authentication Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Auth); - } -}(this, function(expect, Auth) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Auth.UserApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('UserApi', function() { - describe('getUsers', function() { - it('should call getUsers successfully', function(done) { - //uncomment below and update the code to test getUsers - //instance.getUsers(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/auth/test/model/Address.spec.js b/client/auth/test/model/Address.spec.js deleted file mode 100644 index 497fcbe..0000000 --- a/client/auth/test/model/Address.spec.js +++ /dev/null @@ -1,101 +0,0 @@ -/** - * auth - * Authentication Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Auth); - } -}(this, function(expect, Auth) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Auth.Address(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Address', function() { - it('should create an instance of Address', function() { - // uncomment below and update the code to test Address - //var instance = new Auth.Address(); - //expect(instance).to.be.a(Auth.Address); - }); - - it('should have the property city (base name: "City")', function() { - // uncomment below and update the code to test the property city - //var instance = new Auth.Address(); - //expect(instance).to.be(); - }); - - it('should have the property country (base name: "Country")', function() { - // uncomment below and update the code to test the property country - //var instance = new Auth.Address(); - //expect(instance).to.be(); - }); - - it('should have the property countryCode (base name: "CountryCode")', function() { - // uncomment below and update the code to test the property countryCode - //var instance = new Auth.Address(); - //expect(instance).to.be(); - }); - - it('should have the property postalCode (base name: "PostalCode")', function() { - // uncomment below and update the code to test the property postalCode - //var instance = new Auth.Address(); - //expect(instance).to.be(); - }); - - it('should have the property state (base name: "State")', function() { - // uncomment below and update the code to test the property state - //var instance = new Auth.Address(); - //expect(instance).to.be(); - }); - - it('should have the property stateCode (base name: "StateCode")', function() { - // uncomment below and update the code to test the property stateCode - //var instance = new Auth.Address(); - //expect(instance).to.be(); - }); - - it('should have the property street (base name: "Street")', function() { - // uncomment below and update the code to test the property street - //var instance = new Auth.Address(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/auth/test/model/Error.spec.js b/client/auth/test/model/Error.spec.js deleted file mode 100644 index 6b9aabb..0000000 --- a/client/auth/test/model/Error.spec.js +++ /dev/null @@ -1,77 +0,0 @@ -/** - * auth - * Authentication Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Auth); - } -}(this, function(expect, Auth) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Auth.Error(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Error', function() { - it('should create an instance of Error', function() { - // uncomment below and update the code to test Error - //var instance = new Auth.Error(); - //expect(instance).to.be.a(Auth.Error); - }); - - it('should have the property code (base name: "Code")', function() { - // uncomment below and update the code to test the property code - //var instance = new Auth.Error(); - //expect(instance).to.be(); - }); - - it('should have the property fields (base name: "Fields")', function() { - // uncomment below and update the code to test the property fields - //var instance = new Auth.Error(); - //expect(instance).to.be(); - }); - - it('should have the property message (base name: "Message")', function() { - // uncomment below and update the code to test the property message - //var instance = new Auth.Error(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/auth/test/model/ResponseMeta.spec.js b/client/auth/test/model/ResponseMeta.spec.js deleted file mode 100644 index 222427d..0000000 --- a/client/auth/test/model/ResponseMeta.spec.js +++ /dev/null @@ -1,125 +0,0 @@ -/** - * auth - * Authentication Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Auth); - } -}(this, function(expect, Auth) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Auth.ResponseMeta(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('ResponseMeta', function() { - it('should create an instance of ResponseMeta', function() { - // uncomment below and update the code to test ResponseMeta - //var instance = new Auth.ResponseMeta(); - //expect(instance).to.be.a(Auth.ResponseMeta); - }); - - it('should have the property contact (base name: "Contact")', function() { - // uncomment below and update the code to test the property contact - //var instance = new Auth.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property copyright (base name: "Copyright")', function() { - // uncomment below and update the code to test the property copyright - //var instance = new Auth.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property license (base name: "License")', function() { - // uncomment below and update the code to test the property license - //var instance = new Auth.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property operationID (base name: "OperationID")', function() { - // uncomment below and update the code to test the property operationID - //var instance = new Auth.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property requestIP (base name: "RequestIP")', function() { - // uncomment below and update the code to test the property requestIP - //var instance = new Auth.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property requestType (base name: "RequestType")', function() { - // uncomment below and update the code to test the property requestType - //var instance = new Auth.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property requestURL (base name: "RequestURL")', function() { - // uncomment below and update the code to test the property requestURL - //var instance = new Auth.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property serverInfo (base name: "ServerInfo")', function() { - // uncomment below and update the code to test the property serverInfo - //var instance = new Auth.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property serverResponseTime (base name: "ServerResponseTime")', function() { - // uncomment below and update the code to test the property serverResponseTime - //var instance = new Auth.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property serverTimestamp (base name: "ServerTimestamp")', function() { - // uncomment below and update the code to test the property serverTimestamp - //var instance = new Auth.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property taxnexusAccount (base name: "TaxnexusAccount")', function() { - // uncomment below and update the code to test the property taxnexusAccount - //var instance = new Auth.ResponseMeta(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/auth/test/model/TenantUser.spec.js b/client/auth/test/model/TenantUser.spec.js deleted file mode 100644 index ff2adf8..0000000 --- a/client/auth/test/model/TenantUser.spec.js +++ /dev/null @@ -1,155 +0,0 @@ -/** - * auth - * Authentication Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Auth); - } -}(this, function(expect, Auth) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Auth.TenantUser(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('TenantUser', function() { - it('should create an instance of TenantUser', function() { - // uncomment below and update the code to test TenantUser - //var instance = new Auth.TenantUser(); - //expect(instance).to.be.a(Auth.TenantUser); - }); - - it('should have the property accessLevel (base name: "AccessLevel")', function() { - // uncomment below and update the code to test the property accessLevel - //var instance = new Auth.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property auth0UserID (base name: "Auth0UserID")', function() { - // uncomment below and update the code to test the property auth0UserID - //var instance = new Auth.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property accountID (base name: "AccountID")', function() { - // uncomment below and update the code to test the property accountID - //var instance = new Auth.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property contactID (base name: "ContactID")', function() { - // uncomment below and update the code to test the property contactID - //var instance = new Auth.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property companyName (base name: "CompanyName")', function() { - // uncomment below and update the code to test the property companyName - //var instance = new Auth.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property taxnexusAccount (base name: "TaxnexusAccount")', function() { - // uncomment below and update the code to test the property taxnexusAccount - //var instance = new Auth.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property tenantActive (base name: "TenantActive")', function() { - // uncomment below and update the code to test the property tenantActive - //var instance = new Auth.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property tenantID (base name: "TenantID")', function() { - // uncomment below and update the code to test the property tenantID - //var instance = new Auth.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property tenantName (base name: "TenantName")', function() { - // uncomment below and update the code to test the property tenantName - //var instance = new Auth.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property tenantStatus (base name: "TenantStatus")', function() { - // uncomment below and update the code to test the property tenantStatus - //var instance = new Auth.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property tenantType (base name: "TenantType")', function() { - // uncomment below and update the code to test the property tenantType - //var instance = new Auth.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property tenantVersion (base name: "TenantVersion")', function() { - // uncomment below and update the code to test the property tenantVersion - //var instance = new Auth.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property username (base name: "Username")', function() { - // uncomment below and update the code to test the property username - //var instance = new Auth.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property userEmail (base name: "UserEmail")', function() { - // uncomment below and update the code to test the property userEmail - //var instance = new Auth.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property userFullName (base name: "UserFullName")', function() { - // uncomment below and update the code to test the property userFullName - //var instance = new Auth.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property userID (base name: "UserID")', function() { - // uncomment below and update the code to test the property userID - //var instance = new Auth.TenantUser(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/auth/test/model/User.spec.js b/client/auth/test/model/User.spec.js deleted file mode 100644 index 3b2ba4c..0000000 --- a/client/auth/test/model/User.spec.js +++ /dev/null @@ -1,407 +0,0 @@ -/** - * auth - * Authentication Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Auth); - } -}(this, function(expect, Auth) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Auth.User(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('User', function() { - it('should create an instance of User', function() { - // uncomment below and update the code to test User - //var instance = new Auth.User(); - //expect(instance).to.be.a(Auth.User); - }); - - it('should have the property aboutMe (base name: "AboutMe")', function() { - // uncomment below and update the code to test the property aboutMe - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property accountID (base name: "AccountID")', function() { - // uncomment below and update the code to test the property accountID - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property address (base name: "Address")', function() { - // uncomment below and update the code to test the property address - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property alias (base name: "Alias")', function() { - // uncomment below and update the code to test the property alias - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property aPIKey (base name: "APIKey")', function() { - // uncomment below and update the code to test the property aPIKey - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property auth0UserID (base name: "Auth0UserID")', function() { - // uncomment below and update the code to test the property auth0UserID - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property communityNickname (base name: "CommunityNickname")', function() { - // uncomment below and update the code to test the property communityNickname - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property companyName (base name: "CompanyName")', function() { - // uncomment below and update the code to test the property companyName - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property contactID (base name: "ContactID")', function() { - // uncomment below and update the code to test the property contactID - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property delegatedApproverID (base name: "DelegatedApproverID")', function() { - // uncomment below and update the code to test the property delegatedApproverID - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property department (base name: "Department")', function() { - // uncomment below and update the code to test the property department - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property division (base name: "Division")', function() { - // uncomment below and update the code to test the property division - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property email (base name: "Email")', function() { - // uncomment below and update the code to test the property email - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property employeeNumber (base name: "EmployeeNumber")', function() { - // uncomment below and update the code to test the property employeeNumber - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property endOfDay (base name: "EndOfDay")', function() { - // uncomment below and update the code to test the property endOfDay - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property environment (base name: "Environment")', function() { - // uncomment below and update the code to test the property environment - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property extension (base name: "Extension")', function() { - // uncomment below and update the code to test the property extension - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property fabricAPIKey (base name: "FabricAPIKey")', function() { - // uncomment below and update the code to test the property fabricAPIKey - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property fax (base name: "Fax")', function() { - // uncomment below and update the code to test the property fax - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property firstName (base name: "FirstName")', function() { - // uncomment below and update the code to test the property firstName - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property forecastEnabled (base name: "ForecastEnabled")', function() { - // uncomment below and update the code to test the property forecastEnabled - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property fullPhotoURL (base name: "FullPhotoURL")', function() { - // uncomment below and update the code to test the property fullPhotoURL - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property isActive (base name: "IsActive")', function() { - // uncomment below and update the code to test the property isActive - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property isPortalEnabled (base name: "IsPortalEnabled")', function() { - // uncomment below and update the code to test the property isPortalEnabled - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property isProphilePhotoActive (base name: "IsProphilePhotoActive")', function() { - // uncomment below and update the code to test the property isProphilePhotoActive - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property isSystemControlled (base name: "IsSystemControlled")', function() { - // uncomment below and update the code to test the property isSystemControlled - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property lastLogin (base name: "LastLogin")', function() { - // uncomment below and update the code to test the property lastLogin - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property lastIP (base name: "LastIP")', function() { - // uncomment below and update the code to test the property lastIP - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property loginCount (base name: "LoginCount")', function() { - // uncomment below and update the code to test the property loginCount - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property lastName (base name: "LastName")', function() { - // uncomment below and update the code to test the property lastName - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property managerID (base name: "ManagerID")', function() { - // uncomment below and update the code to test the property managerID - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property mobilePhone (base name: "MobilePhone")', function() { - // uncomment below and update the code to test the property mobilePhone - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "Name")', function() { - // uncomment below and update the code to test the property name - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property outOfOfficeMessage (base name: "OutOfOfficeMessage")', function() { - // uncomment below and update the code to test the property outOfOfficeMessage - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property phone (base name: "Phone")', function() { - // uncomment below and update the code to test the property phone - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property portalRole (base name: "PortalRole")', function() { - // uncomment below and update the code to test the property portalRole - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property profileID (base name: "ProfileID")', function() { - // uncomment below and update the code to test the property profileID - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property receivesAdminInfoEmails (base name: "ReceivesAdminInfoEmails")', function() { - // uncomment below and update the code to test the property receivesAdminInfoEmails - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property receivesAdminEmails (base name: "ReceivesAdminEmails")', function() { - // uncomment below and update the code to test the property receivesAdminEmails - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property senderEmail (base name: "SenderEmail")', function() { - // uncomment below and update the code to test the property senderEmail - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property senderName (base name: "SenderName")', function() { - // uncomment below and update the code to test the property senderName - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property signature (base name: "Signature")', function() { - // uncomment below and update the code to test the property signature - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property smallPhotoURL (base name: "SmallPhotoURL")', function() { - // uncomment below and update the code to test the property smallPhotoURL - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property startOfDay (base name: "StartOfDay")', function() { - // uncomment below and update the code to test the property startOfDay - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property taxnexusAccount (base name: "TaxnexusAccount")', function() { - // uncomment below and update the code to test the property taxnexusAccount - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property tenantID (base name: "TenantID")', function() { - // uncomment below and update the code to test the property tenantID - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property timeZone (base name: "TimeZone")', function() { - // uncomment below and update the code to test the property timeZone - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property title (base name: "Title")', function() { - // uncomment below and update the code to test the property title - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property username (base name: "Username")', function() { - // uncomment below and update the code to test the property username - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property userRoleID (base name: "UserRoleID")', function() { - // uncomment below and update the code to test the property userRoleID - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property userType (base name: "UserType")', function() { - // uncomment below and update the code to test the property userType - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property userRoles (base name: "UserRoles")', function() { - // uncomment below and update the code to test the property userRoles - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - it('should have the property tenantUsers (base name: "TenantUsers")', function() { - // uncomment below and update the code to test the property tenantUsers - //var instance = new Auth.User(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/auth/test/model/UserResponse.spec.js b/client/auth/test/model/UserResponse.spec.js deleted file mode 100644 index cdf9314..0000000 --- a/client/auth/test/model/UserResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * auth - * Authentication Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Auth); - } -}(this, function(expect, Auth) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Auth.UserResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('UserResponse', function() { - it('should create an instance of UserResponse', function() { - // uncomment below and update the code to test UserResponse - //var instance = new Auth.UserResponse(); - //expect(instance).to.be.a(Auth.UserResponse); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Auth.UserResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "Meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new Auth.UserResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/auth/test/model/UserRole.spec.js b/client/auth/test/model/UserRole.spec.js deleted file mode 100644 index 1f2ea32..0000000 --- a/client/auth/test/model/UserRole.spec.js +++ /dev/null @@ -1,137 +0,0 @@ -/** - * auth - * Authentication Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Auth); - } -}(this, function(expect, Auth) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Auth.UserRole(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('UserRole', function() { - it('should create an instance of UserRole', function() { - // uncomment below and update the code to test UserRole - //var instance = new Auth.UserRole(); - //expect(instance).to.be.a(Auth.UserRole); - }); - - it('should have the property accountID (base name: "AccountID")', function() { - // uncomment below and update the code to test the property accountID - //var instance = new Auth.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property auth0RoleID (base name: "Auth0RoleID")', function() { - // uncomment below and update the code to test the property auth0RoleID - //var instance = new Auth.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property auth0UserID (base name: "Auth0UserID")', function() { - // uncomment below and update the code to test the property auth0UserID - //var instance = new Auth.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property companyName (base name: "CompanyName")', function() { - // uncomment below and update the code to test the property companyName - //var instance = new Auth.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property contactID (base name: "ContactID")', function() { - // uncomment below and update the code to test the property contactID - //var instance = new Auth.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property roleDescription (base name: "RoleDescription")', function() { - // uncomment below and update the code to test the property roleDescription - //var instance = new Auth.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property roleID (base name: "RoleID")', function() { - // uncomment below and update the code to test the property roleID - //var instance = new Auth.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property roleName (base name: "RoleName")', function() { - // uncomment below and update the code to test the property roleName - //var instance = new Auth.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property taxnexusAccount (base name: "TaxnexusAccount")', function() { - // uncomment below and update the code to test the property taxnexusAccount - //var instance = new Auth.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property userEmail (base name: "UserEmail")', function() { - // uncomment below and update the code to test the property userEmail - //var instance = new Auth.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property userFullName (base name: "UserFullName")', function() { - // uncomment below and update the code to test the property userFullName - //var instance = new Auth.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property userID (base name: "UserID")', function() { - // uncomment below and update the code to test the property userID - //var instance = new Auth.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property username (base name: "Username")', function() { - // uncomment below and update the code to test the property username - //var instance = new Auth.UserRole(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/board/.babelrc b/client/board/.babelrc deleted file mode 100644 index c73df9d..0000000 --- a/client/board/.babelrc +++ /dev/null @@ -1,33 +0,0 @@ -{ - "presets": [ - "@babel/preset-env" - ], - "plugins": [ - "@babel/plugin-syntax-dynamic-import", - "@babel/plugin-syntax-import-meta", - "@babel/plugin-proposal-class-properties", - "@babel/plugin-proposal-json-strings", - [ - "@babel/plugin-proposal-decorators", - { - "legacy": true - } - ], - "@babel/plugin-proposal-function-sent", - "@babel/plugin-proposal-export-namespace-from", - "@babel/plugin-proposal-numeric-separator", - "@babel/plugin-proposal-throw-expressions", - "@babel/plugin-proposal-export-default-from", - "@babel/plugin-proposal-logical-assignment-operators", - "@babel/plugin-proposal-optional-chaining", - [ - "@babel/plugin-proposal-pipeline-operator", - { - "proposal": "minimal" - } - ], - "@babel/plugin-proposal-nullish-coalescing-operator", - "@babel/plugin-proposal-do-expressions", - "@babel/plugin-proposal-function-bind" - ] -} diff --git a/client/board/.gitignore b/client/board/.gitignore deleted file mode 100644 index e920c16..0000000 --- a/client/board/.gitignore +++ /dev/null @@ -1,33 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* - -# Runtime data -pids -*.pid -*.seed - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage - -# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# node-waf configuration -.lock-wscript - -# Compiled binary addons (http://nodejs.org/api/addons.html) -build/Release - -# Dependency directory -node_modules - -# Optional npm cache directory -.npm - -# Optional REPL history -.node_repl_history diff --git a/client/board/.openapi-generator-ignore b/client/board/.openapi-generator-ignore deleted file mode 100644 index 7484ee5..0000000 --- a/client/board/.openapi-generator-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# OpenAPI Generator Ignore -# Generated by openapi-generator https://github.com/openapitools/openapi-generator - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/client/board/.openapi-generator/FILES b/client/board/.openapi-generator/FILES deleted file mode 100644 index 22555e5..0000000 --- a/client/board/.openapi-generator/FILES +++ /dev/null @@ -1,76 +0,0 @@ -.babelrc -.gitignore -.openapi-generator-ignore -.travis.yml -README.md -docs/Account.md -docs/Address.md -docs/Contact.md -docs/CorsApi.md -docs/Database.md -docs/Developer.md -docs/DevelopersApi.md -docs/Error.md -docs/IQ.md -docs/IqApi.md -docs/Lead.md -docs/LeadsApi.md -docs/PaymentMethod.md -docs/Role.md -docs/RuleExecution.md -docs/Tenant.md -docs/TenantUser.md -docs/User.md -docs/UserAuth.md -docs/UserAuthApi.md -docs/UserRole.md -docs/UsersApi.md -git_push.sh -mocha.opts -package.json -src/ApiClient.js -src/api/CorsApi.js -src/api/DevelopersApi.js -src/api/IqApi.js -src/api/LeadsApi.js -src/api/UserAuthApi.js -src/api/UsersApi.js -src/index.js -src/model/Account.js -src/model/Address.js -src/model/Contact.js -src/model/Database.js -src/model/Developer.js -src/model/Error.js -src/model/IQ.js -src/model/Lead.js -src/model/PaymentMethod.js -src/model/Role.js -src/model/RuleExecution.js -src/model/Tenant.js -src/model/TenantUser.js -src/model/User.js -src/model/UserAuth.js -src/model/UserRole.js -test/api/CorsApi.spec.js -test/api/DevelopersApi.spec.js -test/api/IqApi.spec.js -test/api/LeadsApi.spec.js -test/api/UserAuthApi.spec.js -test/api/UsersApi.spec.js -test/model/Account.spec.js -test/model/Address.spec.js -test/model/Contact.spec.js -test/model/Database.spec.js -test/model/Developer.spec.js -test/model/Error.spec.js -test/model/IQ.spec.js -test/model/Lead.spec.js -test/model/PaymentMethod.spec.js -test/model/Role.spec.js -test/model/RuleExecution.spec.js -test/model/Tenant.spec.js -test/model/TenantUser.spec.js -test/model/User.spec.js -test/model/UserAuth.spec.js -test/model/UserRole.spec.js diff --git a/client/board/.openapi-generator/VERSION b/client/board/.openapi-generator/VERSION deleted file mode 100644 index 6d54bbd..0000000 --- a/client/board/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -6.0.1 \ No newline at end of file diff --git a/client/board/.travis.yml b/client/board/.travis.yml deleted file mode 100644 index 0968f7a..0000000 --- a/client/board/.travis.yml +++ /dev/null @@ -1,5 +0,0 @@ -language: node_js -cache: npm -node_js: - - "6" - - "6.1" diff --git a/client/board/README.md b/client/board/README.md deleted file mode 100644 index 907f29a..0000000 --- a/client/board/README.md +++ /dev/null @@ -1,165 +0,0 @@ -# board - -Board - JavaScript client for board -Taxnexus Onboarding Service -This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - -- API version: 0.0.2 -- Package version: 0.0.2 -- 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 board --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 board 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/GIT_USER_ID/GIT_REPO_ID -then install it via: - -```shell - npm install GIT_USER_ID/GIT_REPO_ID --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 Board = require('board'); - - -var api = new Board.CorsApi() -var callback = function(error, data, response) { - if (error) { - console.error(error); - } else { - console.log('API called successfully.'); - } -}; -api.developerOptions(callback); - -``` - -## Documentation for API Endpoints - -All URIs are relative to *http://board.vernonkeenan.com:8080/v1* - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*Board.CorsApi* | [**developerOptions**](docs/CorsApi.md#developerOptions) | **OPTIONS** /developers | -*Board.CorsApi* | [**iqOptions**](docs/CorsApi.md#iqOptions) | **OPTIONS** /iqs | -*Board.CorsApi* | [**leadsOptions**](docs/CorsApi.md#leadsOptions) | **OPTIONS** /leads | -*Board.CorsApi* | [**userAuthOptions**](docs/CorsApi.md#userAuthOptions) | **OPTIONS** /userauths | -*Board.CorsApi* | [**userOptions**](docs/CorsApi.md#userOptions) | **OPTIONS** /users | -*Board.DevelopersApi* | [**postDevelopers**](docs/DevelopersApi.md#postDevelopers) | **POST** /developers | Onboard new developer -*Board.IqApi* | [**postIQ**](docs/IqApi.md#postIQ) | **POST** /iqs | Onboard new new Taxnexus IQ Customer -*Board.LeadsApi* | [**postLeads**](docs/LeadsApi.md#postLeads) | **POST** /leads | Add a new Lead record -*Board.LeadsApi* | [**putLeads**](docs/LeadsApi.md#putLeads) | **PUT** /leads | Update Leads -*Board.UserAuthApi* | [**getUserAuth**](docs/UserAuthApi.md#getUserAuth) | **GET** /userauths/{usernamePath} | Get a single UserAuth object -*Board.UsersApi* | [**getUsers**](docs/UsersApi.md#getUsers) | **GET** /users | - - -## Documentation for Models - - - [Board.Account](docs/Account.md) - - [Board.Address](docs/Address.md) - - [Board.Contact](docs/Contact.md) - - [Board.Database](docs/Database.md) - - [Board.Developer](docs/Developer.md) - - [Board.Error](docs/Error.md) - - [Board.IQ](docs/IQ.md) - - [Board.Lead](docs/Lead.md) - - [Board.PaymentMethod](docs/PaymentMethod.md) - - [Board.Role](docs/Role.md) - - [Board.RuleExecution](docs/RuleExecution.md) - - [Board.Tenant](docs/Tenant.md) - - [Board.TenantUser](docs/TenantUser.md) - - [Board.User](docs/User.md) - - [Board.UserAuth](docs/UserAuth.md) - - [Board.UserRole](docs/UserRole.md) - - -## Documentation for Authorization - - - -### ApiKeyAuth - - -- **Type**: API key -- **API key parameter name**: X-API-Key -- **Location**: HTTP header - diff --git a/client/board/docs/Account.md b/client/board/docs/Account.md deleted file mode 100644 index f4d3934..0000000 --- a/client/board/docs/Account.md +++ /dev/null @@ -1,95 +0,0 @@ -# Board.Account - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**accountNumber** | **String** | Account Number | [optional] -**accountSource** | **String** | The marketing orgin of this account | [optional] -**active** | **Boolean** | Active | [optional] -**administrativeLevel** | **String** | For tax authorities, this account's administrative level, e.g. Local, County, State or Federal | [optional] -**amount** | **Number** | Rollup Tax Amount | [optional] -**amountInvoiced** | **Number** | Amount Invoiced | [optional] -**amountPaid** | **Number** | Amount Paid | [optional] -**annualRevenue** | **Number** | Annual Revenue Estimate | [optional] -**balance** | **Number** | Account Balance | [optional] -**billingAddress** | [**Address**](Address.md) | | [optional] -**billingContactID** | **String** | Contact ID | [optional] -**billingPreference** | **String** | Billing Preference | [optional] -**businessAddress** | [**Address**](Address.md) | | [optional] -**cannabisCustomer** | **Boolean** | Is this a cannabis customer? | [optional] -**channelProgramLevelName** | **String** | Channel Program Level Name | [optional] -**channelProgramName** | **String** | Channel Program Name | [optional] -**clientEndDate** | **String** | Client End Date | [optional] -**clientStartDate** | **String** | Client Start Date | [optional] -**companyID** | **String** | The Company ID of this Account | [optional] -**coordinateID** | **String** | The Id of the geo coordinates of this account | [optional] -**createdByID** | **String** | Created By User ID | [optional] -**createdDate** | **String** | Created Date | [optional] -**customerID** | **String** | Customer ID from source system | [optional] -**customerPriority** | **String** | Customer Priority | [optional] -**DBA** | **String** | This Account's 'Doing Business As' name | [optional] -**dUNSNumber** | **String** | D-U-N-S Number | [optional] -**dandBCompanyID** | **String** | D-n-B Company | [optional] -**defaultAddress** | [**Address**](Address.md) | | [optional] -**defaultBackendID** | **String** | Default Backend ID | [optional] -**defaultDeliveryContactID** | **String** | Default Delivery Address Contact ID | [optional] -**defaultEndUserID** | **String** | Default End User Contact ID | [optional] -**description** | **String** | Description | [optional] -**EIN** | **String** | EIN | [optional] -**email** | **String** | Main Account Email | [optional] -**enrollmentStatus** | **String** | Enrollment Status | [optional] -**fax** | **String** | Fax | [optional] -**ID** | **String** | Taxnexus Account Id | [optional] -**iSPCustomer** | **Boolean** | ISP Customer? | [optional] -**industry** | **String** | Industry | [optional] -**isCustomerPortal** | **Boolean** | Customer Portal Account | [optional] -**isPartner** | **Boolean** | Partner Account | [optional] -**jigSaw** | **String** | Data.com Key | [optional] -**lastModifiedByID** | **String** | Last Modified By User ID | [optional] -**lastModifiedDate** | **String** | Last Modified Date | [optional] -**mSPCustomer** | **Boolean** | MSP Customer? | [optional] -**nAICSCode** | **String** | NAICS Code | [optional] -**nAICSDesc** | **String** | NAICS Description | [optional] -**name** | **String** | Account Name | [optional] -**numberOfEmployees** | **Number** | Employee Count Estimate | [optional] -**numberOfLocations** | **Number** | Number of Locations Estimate | [optional] -**openCharges** | **Number** | Open Charges | [optional] -**orderContactID** | **String** | Vendor Order Contact ID | [optional] -**orderEmail** | **String** | Order Email | [optional] -**ownerID** | **String** | Account Owner User ID | [optional] -**ownership** | **String** | Ownership | [optional] -**parentFK** | **String** | Parent Foreign Key | [optional] -**parentID** | **String** | Parent Account | [optional] -**phone** | **String** | Phone | [optional] -**placeID** | **String** | The ID of the Place situs record that applies to this Account | [optional] -**preparerID** | **String** | Tax Preparer Contact ID | [optional] -**rating** | **String** | Rating | [optional] -**ratingEngineID** | **String** | Rating Engine identifier | [optional] -**ref** | **String** | External Reference ID | [optional] -**revenueBase** | **Number** | Rollup Revenue Base | [optional] -**revenueNet** | **Number** | Rollup Revenue Net | [optional] -**revenueNotTaxable** | **Number** | Rollup Revenue Not Taxable | [optional] -**SIC** | **String** | SIC Code | [optional] -**sICDesc** | **String** | SIC Description | [optional] -**shippingAddress** | [**Address**](Address.md) | | [optional] -**shippingCensusTract** | **String** | Shipping Census Tract | [optional] -**shippingConactID** | **String** | Shipping Contact ID | [optional] -**shippingCounty** | **String** | Shipping County | [optional] -**site** | **String** | Account Site | [optional] -**status** | **String** | Account Status | [optional] -**taxExemption** | **String** | Tax Exemption | [optional] -**taxOnTax** | **Number** | Rollup Tax On Tax | [optional] -**telecomCustomer** | **Boolean** | Telecom Customer? | [optional] -**tickerSymbol** | **String** | Ticker Symbol | [optional] -**tradeStyle** | **String** | Tradestyle | [optional] -**type** | **String** | Type | [optional] -**unappliedPayments** | **Number** | Unapplied Payments | [optional] -**unitBase** | **Number** | Rollup Unit Base | [optional] -**upsellOpportunity** | **String** | Upsell Opportunity | [optional] -**wHMCSClientID** | **Number** | WHMCS Client ID | [optional] -**website** | **String** | Website | [optional] -**xeroContactID** | **String** | Xero Contact ID | [optional] -**yearStarted** | **String** | Year Started | [optional] - - diff --git a/client/board/docs/Address.md b/client/board/docs/Address.md deleted file mode 100644 index a3f3e03..0000000 --- a/client/board/docs/Address.md +++ /dev/null @@ -1,15 +0,0 @@ -# Board.Address - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**city** | **String** | City | [optional] -**country** | **String** | Country full name | [optional] -**countryCode** | **String** | Country Code | [optional] -**postalCode** | **String** | Postal Code | [optional] -**state** | **String** | State full name | [optional] -**stateCode** | **String** | State Code | [optional] -**street** | **String** | Street number and name | [optional] - - diff --git a/client/board/docs/Contact.md b/client/board/docs/Contact.md deleted file mode 100644 index 4ed7606..0000000 --- a/client/board/docs/Contact.md +++ /dev/null @@ -1,53 +0,0 @@ -# Board.Contact - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**accountID** | **String** | The primary account ID of this contact | [optional] -**assistantName** | **String** | Assistant Name | [optional] -**assistantPhone** | **String** | Asst. Phone | [optional] -**birthDate** | **String** | Birthdate | [optional] -**createdByID** | **String** | Created By User ID | [optional] -**createdDate** | **String** | Created Date | [optional] -**department** | **String** | Department | [optional] -**description** | **String** | Description | [optional] -**doNotCall** | **Boolean** | Do Not Call? | [optional] -**email** | **String** | Email address | [optional] -**emailBounceDate** | **String** | Email Bounce Date | [optional] -**emailBouncedReason** | **String** | Email Bounce Reason | [optional] -**enrollmentStatus** | **String** | Taxnexus Enrollment Status | [optional] -**fax** | **String** | Fax Number | [optional] -**firstName** | **String** | First Name | [optional] -**hasOptedOutOfEmail** | **Boolean** | Email Opt Out | [optional] -**hasOptedOutOfFax** | **Boolean** | Fax Opt Out | [optional] -**homePhone** | **String** | Home Phone | [optional] -**ID** | **String** | Taxnexus Record Id | [optional] -**isEmailBounced** | **Boolean** | Does this contact have bounced emails? | [optional] -**isProvisioned** | **Boolean** | Is Provisioned? | [optional] -**lastModifiedByID** | **String** | Last Modified By User ID | [optional] -**lastModifiedDate** | **String** | Last Modified Date | [optional] -**lastName** | **String** | Last Name | [optional] -**leadSource** | **String** | Lead Source | [optional] -**level** | **String** | Level | [optional] -**linkedIn** | **String** | LinkedIn Page | [optional] -**mailingAddress** | [**Address**](Address.md) | | [optional] -**mailingLists** | **String** | Mailing Lists | [optional] -**mobilePhone** | **String** | Mobile Phone | [optional] -**name** | **String** | Full Name | [optional] -**otherAddress** | [**Address**](Address.md) | | [optional] -**otherPhone** | **String** | Other Phone | [optional] -**ownerID** | **String** | The User ID of the user who owns this Contact | [optional] -**personalEmail** | **String** | Personal Email Address for this Contact | [optional] -**phone** | **String** | Phone Number | [optional] -**photoURL** | **String** | URL of a photograph of this User | [optional] -**recruitingStatus** | **String** | Recruiting Status | [optional] -**ref** | **String** | External reference to this contact, if any | [optional] -**reportsToID** | **String** | Reports To Contact ID | [optional] -**salutation** | **String** | Contact Salutation | [optional] -**status** | **String** | The Contact Status | [optional] -**tenantID** | **String** | Tenant Identifier | [optional] -**title** | **String** | Contact Title | [optional] -**type** | **String** | Contact Type | [optional] - - diff --git a/client/board/docs/CorsApi.md b/client/board/docs/CorsApi.md deleted file mode 100644 index c6185ef..0000000 --- a/client/board/docs/CorsApi.md +++ /dev/null @@ -1,218 +0,0 @@ -# Board.CorsApi - -All URIs are relative to *http://board.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**developerOptions**](CorsApi.md#developerOptions) | **OPTIONS** /developers | -[**iqOptions**](CorsApi.md#iqOptions) | **OPTIONS** /iqs | -[**leadsOptions**](CorsApi.md#leadsOptions) | **OPTIONS** /leads | -[**userAuthOptions**](CorsApi.md#userAuthOptions) | **OPTIONS** /userauths | -[**userOptions**](CorsApi.md#userOptions) | **OPTIONS** /users | - - - -## developerOptions - -> developerOptions() - - - -CORS support - -### Example - -```javascript -import Board from 'board'; - -let apiInstance = new Board.CorsApi(); -apiInstance.developerOptions((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - - -## iqOptions - -> iqOptions() - - - -CORS support - -### Example - -```javascript -import Board from 'board'; - -let apiInstance = new Board.CorsApi(); -apiInstance.iqOptions((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - - -## leadsOptions - -> leadsOptions() - - - -CORS support - -### Example - -```javascript -import Board from 'board'; - -let apiInstance = new Board.CorsApi(); -apiInstance.leadsOptions((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - - -## userAuthOptions - -> userAuthOptions() - - - -CORS support - -### Example - -```javascript -import Board from 'board'; - -let apiInstance = new Board.CorsApi(); -apiInstance.userAuthOptions((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - - -## userOptions - -> userOptions() - - - -CORS support - -### Example - -```javascript -import Board from 'board'; - -let apiInstance = new Board.CorsApi(); -apiInstance.userOptions((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - diff --git a/client/board/docs/Database.md b/client/board/docs/Database.md deleted file mode 100644 index 97848e1..0000000 --- a/client/board/docs/Database.md +++ /dev/null @@ -1,21 +0,0 @@ -# Board.Database - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**active** | **Boolean** | Is this database active? | [optional] -**clusterID** | **String** | The ID of the Cluster in which this database is deployed | [optional] -**createdByID** | **String** | Created By | [optional] -**createdDate** | **String** | Created Date | [optional] -**DSN** | **String** | Database connection string | [optional] -**databaseName** | **String** | The name of the physical database in the cluster | [optional] -**ID** | **String** | Record Id | [optional] -**lastModifiedByID** | **String** | Last Modified By | [optional] -**lastModifiedDate** | **String** | Last Modifed Date | [optional] -**microservices** | **String** | List of Taxnexus microservices implemented by this Database | [optional] -**status** | **String** | The current status of this Tenant | [optional] -**tenantID** | **String** | The ID of the tenant who owns this Database | [optional] -**type** | **String** | The type of Database (mysql, etc) | [optional] - - diff --git a/client/board/docs/Developer.md b/client/board/docs/Developer.md deleted file mode 100644 index 0d32c60..0000000 --- a/client/board/docs/Developer.md +++ /dev/null @@ -1,11 +0,0 @@ -# Board.Developer - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**account** | [**Account**](Account.md) | | [optional] -**contact** | [**Contact**](Contact.md) | | [optional] -**paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] - - diff --git a/client/board/docs/DevelopersApi.md b/client/board/docs/DevelopersApi.md deleted file mode 100644 index 4c334a1..0000000 --- a/client/board/docs/DevelopersApi.md +++ /dev/null @@ -1,60 +0,0 @@ -# Board.DevelopersApi - -All URIs are relative to *http://board.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**postDevelopers**](DevelopersApi.md#postDevelopers) | **POST** /developers | Onboard new developer - - - -## postDevelopers - -> RuleExecution postDevelopers(developerRequest) - -Onboard new developer - -Register new developers with POST - -### Example - -```javascript -import Board from 'board'; -let defaultClient = Board.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Board.DevelopersApi(); -let developerRequest = new Board.Developer(); // Developer | A single Developer struct for onboarding -apiInstance.postDevelopers(developerRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **developerRequest** | [**Developer**](Developer.md)| A single Developer struct for onboarding | - -### Return type - -[**RuleExecution**](RuleExecution.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - diff --git a/client/board/docs/Error.md b/client/board/docs/Error.md deleted file mode 100644 index ba5ea1f..0000000 --- a/client/board/docs/Error.md +++ /dev/null @@ -1,11 +0,0 @@ -# Board.Error - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **Number** | | [optional] -**fields** | **String** | | [optional] -**message** | **String** | | [optional] - - diff --git a/client/board/docs/IQ.md b/client/board/docs/IQ.md deleted file mode 100644 index 961ce9e..0000000 --- a/client/board/docs/IQ.md +++ /dev/null @@ -1,14 +0,0 @@ -# Board.IQ - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**account** | [**Account**](Account.md) | | [optional] -**contact** | [**Contact**](Contact.md) | | [optional] -**lead** | [**Lead**](Lead.md) | | [optional] -**paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] -**tenant** | [**Tenant**](Tenant.md) | | [optional] -**user** | [**User**](User.md) | | [optional] - - diff --git a/client/board/docs/IqApi.md b/client/board/docs/IqApi.md deleted file mode 100644 index 3065d4e..0000000 --- a/client/board/docs/IqApi.md +++ /dev/null @@ -1,60 +0,0 @@ -# Board.IqApi - -All URIs are relative to *http://board.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**postIQ**](IqApi.md#postIQ) | **POST** /iqs | Onboard new new Taxnexus IQ Customer - - - -## postIQ - -> RuleExecution postIQ(iqRequest) - -Onboard new new Taxnexus IQ Customer - -Register new Taxnexus IQ Customer with POST - -### Example - -```javascript -import Board from 'board'; -let defaultClient = Board.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Board.IqApi(); -let iqRequest = new Board.IQ(); // IQ | A single Taxnexus IQ Customer struct for onboarding -apiInstance.postIQ(iqRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **iqRequest** | [**IQ**](IQ.md)| A single Taxnexus IQ Customer struct for onboarding | - -### Return type - -[**RuleExecution**](RuleExecution.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - diff --git a/client/board/docs/Lead.md b/client/board/docs/Lead.md deleted file mode 100644 index 663ace7..0000000 --- a/client/board/docs/Lead.md +++ /dev/null @@ -1,31 +0,0 @@ -# Board.Lead - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**address** | [**Address**](Address.md) | | [optional] -**company** | **String** | Company | [optional] -**description** | **String** | Description | [optional] -**email** | **String** | Email | [optional] -**firstName** | **String** | First Name | [optional] -**ID** | **String** | Taxnexus Record Id | [optional] -**lastName** | **String** | Last Name | [optional] -**mobilePhone** | **String** | Mobile | [optional] -**name** | **String** | Name | [optional] -**ownerId** | **String** | LeadBasic Owner | [optional] -**partnerAccountId** | **String** | Partner Account | [optional] -**phone** | **String** | Phone | [optional] -**productID** | **String** | Product | [optional] -**refererURL** | **String** | referer_url | [optional] -**status** | **String** | LeadBasic Status | [optional] -**title** | **String** | Title | [optional] -**type** | **String** | Type | [optional] -**uTMCampaign** | **String** | utm_campaign | [optional] -**uTMContent** | **String** | utm_content | [optional] -**uTMMedium** | **String** | utm_medium | [optional] -**uTMSource** | **String** | utm_source | [optional] -**uTMTerm** | **String** | utm_term | [optional] -**website** | **String** | Website | [optional] - - diff --git a/client/board/docs/LeadsApi.md b/client/board/docs/LeadsApi.md deleted file mode 100644 index 7768abf..0000000 --- a/client/board/docs/LeadsApi.md +++ /dev/null @@ -1,112 +0,0 @@ -# Board.LeadsApi - -All URIs are relative to *http://board.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**postLeads**](LeadsApi.md#postLeads) | **POST** /leads | Add a new Lead record -[**putLeads**](LeadsApi.md#putLeads) | **PUT** /leads | Update Leads - - - -## postLeads - -> RuleExecution postLeads(leadRequest) - -Add a new Lead record - -Add a new full Lead Record - -### Example - -```javascript -import Board from 'board'; -let defaultClient = Board.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Board.LeadsApi(); -let leadRequest = new Board.Lead(); // Lead | A new Lead record as a single JSON object -apiInstance.postLeads(leadRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **leadRequest** | [**Lead**](Lead.md)| A new Lead record as a single JSON object | - -### Return type - -[**RuleExecution**](RuleExecution.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - - -## putLeads - -> RuleExecution putLeads(leadRequest) - -Update Leads - -Update Lead records - -### Example - -```javascript -import Board from 'board'; -let defaultClient = Board.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Board.LeadsApi(); -let leadRequest = new Board.Lead(); // Lead | A new Lead record as a single JSON object -apiInstance.putLeads(leadRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **leadRequest** | [**Lead**](Lead.md)| A new Lead record as a single JSON object | - -### Return type - -[**RuleExecution**](RuleExecution.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - diff --git a/client/board/docs/PaymentMethod.md b/client/board/docs/PaymentMethod.md deleted file mode 100644 index 60df6da..0000000 --- a/client/board/docs/PaymentMethod.md +++ /dev/null @@ -1,34 +0,0 @@ -# Board.PaymentMethod - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**accountID** | **String** | Account | [optional] -**achAccountType** | **String** | ACH Account Type | [optional] -**achBankAccount** | **String** | ACH Bank Account | [optional] -**achRouting** | **String** | ACH Routing | [optional] -**active** | **Boolean** | Active? | [optional] -**autopay** | **Boolean** | Autopay? | [optional] -**bankName** | **String** | Bank Name | [optional] -**billingContactID** | **String** | Billing Contact | [optional] -**cCnumber** | **String** | Credit Card Number | [optional] -**cCtype** | **String** | CC Type | [optional] -**companyID** | **String** | Company | [optional] -**contractID** | **String** | Contract | [optional] -**createdByID** | **String** | Created By | [optional] -**createdDate** | **String** | Created Date | [optional] -**_default** | **Boolean** | Default Payment Method? | [optional] -**expirationDate** | **String** | Expiration Date | [optional] -**expirationMonth** | **String** | Expiration Month | [optional] -**expirationYear** | **String** | Expiration Year | [optional] -**gateway** | **String** | Gateway | [optional] -**gatewayKey** | **String** | Gateway Key | [optional] -**ID** | **String** | Taxnexus Record Id | [optional] -**lastModifiedByID** | **String** | Last Modified By | [optional] -**lastModifiedDate** | **String** | Last Modified Date | [optional] -**nickname** | **String** | Nickname | [optional] -**recordType** | **String** | Record Type | [optional] -**ref** | **String** | External Reference | [optional] - - diff --git a/client/board/docs/Role.md b/client/board/docs/Role.md deleted file mode 100644 index 151cb8c..0000000 --- a/client/board/docs/Role.md +++ /dev/null @@ -1,17 +0,0 @@ -# Board.Role - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**auth0RoleID** | **String** | The corresponding Auth0 Role | [optional] -**createdByID** | **String** | Created By | [optional] -**createdDate** | **String** | Created Date | [optional] -**description** | **String** | Role Description | [optional] -**ID** | **String** | Record Id | [optional] -**lastModifiedByID** | **String** | Last Modified By | [optional] -**lastModifiedDate** | **String** | Last Modifed Date | [optional] -**roleName** | **String** | The name of this role | [optional] -**tenantID** | **String** | The ID of the Tenant that owns this Role | [optional] - - diff --git a/client/board/docs/RuleExecution.md b/client/board/docs/RuleExecution.md deleted file mode 100644 index a2e1dda..0000000 --- a/client/board/docs/RuleExecution.md +++ /dev/null @@ -1,12 +0,0 @@ -# Board.RuleExecution - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**sagaID** | **String** | The Taxnexus SagaID for this rule execution | [optional] -**sagaType** | **String** | The Taxnexus SagaType for this rule execution | [optional] -**ruleID** | **String** | The Temporal Workflow ID | [optional] -**runID** | **String** | The Temporal First Started Workflow Run ID | [optional] - - diff --git a/client/board/docs/Tenant.md b/client/board/docs/Tenant.md deleted file mode 100644 index c05da05..0000000 --- a/client/board/docs/Tenant.md +++ /dev/null @@ -1,22 +0,0 @@ -# Board.Tenant - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**accountID** | **String** | The Account that owns this Tenant | [optional] -**active** | **Boolean** | Is this Tenant currently active? | [optional] -**createdByID** | **String** | Created By | [optional] -**createdDate** | **String** | Created Date | [optional] -**databases** | [**[Database]**](Database.md) | | [optional] -**ID** | **String** | Record Id | [optional] -**lastModifiedByID** | **String** | Last Modified By | [optional] -**lastModifiedDate** | **String** | Last Modifed Date | [optional] -**roles** | [**[Role]**](Role.md) | | [optional] -**status** | **String** | The current status of this Tenant | [optional] -**tenantName** | **String** | Name of the Tenant Resource | [optional] -**tenantUsers** | [**[TenantUser]**](TenantUser.md) | | [optional] -**type** | **String** | The type of Tenant | [optional] -**version** | **String** | The version number of the Tenant Onboarding system used to create this tenant | [optional] - - diff --git a/client/board/docs/TenantUser.md b/client/board/docs/TenantUser.md deleted file mode 100644 index 3f723f6..0000000 --- a/client/board/docs/TenantUser.md +++ /dev/null @@ -1,24 +0,0 @@ -# Board.TenantUser - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**accessLevel** | **String** | The makeTenantUser access level for this User | [optional] -**accountID** | **String** | Account ID | [optional] -**auth0UserID** | **String** | Auth0 User ID | [optional] -**companyName** | **String** | Account Name | [optional] -**contactID** | **String** | Contact ID | [optional] -**taxnexusAccount** | **String** | Taxnexus Account | [optional] -**tenantActive** | **Boolean** | Tenant active? | [optional] -**tenantID** | **String** | The Tenant ID | [optional] -**tenantName** | **String** | Tenant Name | [optional] -**tenantStatus** | **String** | Tenant Status | [optional] -**tenantType** | **String** | Tenant type | [optional] -**tenantVersion** | **String** | Tenant Version | [optional] -**userEmail** | **String** | User Email Address | [optional] -**userFullName** | **String** | User Full Name | [optional] -**userID** | **String** | The User ID | [optional] -**username** | **String** | Username | [optional] - - diff --git a/client/board/docs/User.md b/client/board/docs/User.md deleted file mode 100644 index 44de6ec..0000000 --- a/client/board/docs/User.md +++ /dev/null @@ -1,66 +0,0 @@ -# Board.User - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**aPIKey** | **String** | API Key | [optional] -**aboutMe** | **String** | About Me | [optional] -**accountID** | **String** | Account ID | [optional] -**address** | [**Address**](Address.md) | | [optional] -**alias** | **String** | Alias | [optional] -**auth0UserID** | **String** | Auth0 User Id | [optional] -**communityNickname** | **String** | Nickname | [optional] -**companyName** | **String** | Company Name | [optional] -**contactID** | **String** | Contact | [optional] -**createdByID** | **String** | Created User ID | [optional] -**createdDate** | **String** | Date Created | [optional] -**delegatedApproverID** | **String** | Delegated Approver | [optional] -**department** | **String** | Department | [optional] -**division** | **String** | Division | [optional] -**email** | **String** | Email address | [optional] -**employeeNumber** | **String** | Employee Number | [optional] -**endOfDay** | **String** | Time day ends | [optional] -**environment** | **String** | Environment | [optional] -**extension** | **String** | Extension | [optional] -**fabricAPIKey** | **String** | Fabric API Key | [optional] -**fax** | **String** | Fax | [optional] -**firstName** | **String** | The first name | [optional] -**forecastEnabled** | **Boolean** | Allow Forecasting | [optional] -**fullPhotoURL** | **String** | Full Photo URL | [optional] -**ID** | **String** | Taxnexus ID | [optional] -**isActive** | **Boolean** | Active | [optional] -**isPortalEnabled** | **Boolean** | Is the user enabled for Communities? | [optional] -**isProphilePhotoActive** | **Boolean** | Has Profile Photo | [optional] -**isSystemControlled** | **Boolean** | | [optional] -**lastIP** | **String** | IP address of last login | [optional] -**lastLogin** | **String** | Last login time | [optional] -**lastModifiedByID** | **String** | Last Modified User ID | [optional] -**lastModifiedDate** | **String** | Last Modified Date | [optional] -**lastName** | **String** | The Last Name | [optional] -**loginCount** | **Number** | Number of times user has logged in | [optional] -**managerID** | **String** | Manager | [optional] -**mobilePhone** | **String** | Mobile | [optional] -**name** | **String** | Name | [optional] -**outOfOfficeMessage** | **String** | Out of office message | [optional] -**phone** | **String** | Phone | [optional] -**portalRole** | **String** | Portal Role Level | [optional] -**profileID** | **String** | Profile | [optional] -**receivesAdminEmails** | **Boolean** | Info Emails | [optional] -**receivesAdminInfoEmails** | **Boolean** | Admin Info Emails | [optional] -**senderEmail** | **String** | Email Sender Address | [optional] -**senderName** | **String** | Email Sender Name | [optional] -**signature** | **String** | Email Signature | [optional] -**smallPhotoURL** | **String** | Small Photo URL | [optional] -**startOfDay** | **String** | The time day starts | [optional] -**taxnexusAccount** | **String** | Taxnexus Account | [optional] -**tenantID** | **String** | Tenant ID | [optional] -**tenantUsers** | [**[TenantUser]**](TenantUser.md) | | [optional] -**timeZone** | **String** | Time Zone | [optional] -**title** | **String** | Title | [optional] -**userRoleID** | **String** | Role | [optional] -**userRoles** | [**[UserRole]**](UserRole.md) | | [optional] -**userType** | **String** | User Type | [optional] -**username** | **String** | Username | [optional] - - diff --git a/client/board/docs/UserAuth.md b/client/board/docs/UserAuth.md deleted file mode 100644 index 06bbca7..0000000 --- a/client/board/docs/UserAuth.md +++ /dev/null @@ -1,15 +0,0 @@ -# Board.UserAuth - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**aPIKey** | **String** | API Key | [optional] -**accountID** | **String** | Account ID | [optional] -**contactID** | **String** | Contact | [optional] -**email** | **String** | Email address | [optional] -**roles** | **[String]** | Valid Roles for all tenants | [optional] -**tenants** | **[String]** | Valid Tenants | [optional] -**userID** | **String** | Taxneuxs User ID | [optional] - - diff --git a/client/board/docs/UserAuthApi.md b/client/board/docs/UserAuthApi.md deleted file mode 100644 index 4072ba0..0000000 --- a/client/board/docs/UserAuthApi.md +++ /dev/null @@ -1,60 +0,0 @@ -# Board.UserAuthApi - -All URIs are relative to *http://board.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getUserAuth**](UserAuthApi.md#getUserAuth) | **GET** /userauths/{usernamePath} | Get a single UserAuth object - - - -## getUserAuth - -> UserAuth getUserAuth(usernamePath) - -Get a single UserAuth object - -Return a single UserAuth object from datastore as a Singleton - -### Example - -```javascript -import Board from 'board'; -let defaultClient = Board.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Board.UserAuthApi(); -let usernamePath = "usernamePath_example"; // String | Username in the query path -apiInstance.getUserAuth(usernamePath, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **usernamePath** | **String**| Username in the query path | - -### Return type - -[**UserAuth**](UserAuth.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - diff --git a/client/board/docs/UserRole.md b/client/board/docs/UserRole.md deleted file mode 100644 index 8c0d80a..0000000 --- a/client/board/docs/UserRole.md +++ /dev/null @@ -1,21 +0,0 @@ -# Board.UserRole - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**accountID** | **String** | Account Id | [optional] -**auth0RoleID** | **String** | Linked role ID | [optional] -**auth0UserID** | **String** | Auth0 User ID | [optional] -**companyName** | **String** | Company Name | [optional] -**contactID** | **String** | Contact ID | [optional] -**roleDescription** | **String** | Role description | [optional] -**roleID** | **String** | The Role ID | [optional] -**roleName** | **String** | Role Name | [optional] -**taxnexusAccount** | **String** | Taxnexus Account Number | [optional] -**userEmail** | **String** | User Email Address | [optional] -**userFullName** | **String** | User Full Name | [optional] -**userID** | **String** | The User ID | [optional] -**username** | **String** | Username | [optional] - - diff --git a/client/board/docs/UsersApi.md b/client/board/docs/UsersApi.md deleted file mode 100644 index f42ac0e..0000000 --- a/client/board/docs/UsersApi.md +++ /dev/null @@ -1,60 +0,0 @@ -# Board.UsersApi - -All URIs are relative to *http://board.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getUsers**](UsersApi.md#getUsers) | **GET** /users | - - - -## getUsers - -> User getUsers(email) - - - -Get a clean user record - -### Example - -```javascript -import Board from 'board'; -let defaultClient = Board.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Board.UsersApi(); -let email = "email_example"; // String | Email address -apiInstance.getUsers(email, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **email** | **String**| Email address | - -### Return type - -[**User**](User.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - diff --git a/client/board/git_push.sh b/client/board/git_push.sh deleted file mode 100644 index f53a75d..0000000 --- a/client/board/git_push.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh -# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ -# -# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com" - -git_user_id=$1 -git_repo_id=$2 -release_note=$3 -git_host=$4 - -if [ "$git_host" = "" ]; then - git_host="github.com" - echo "[INFO] No command line input provided. Set \$git_host to $git_host" -fi - -if [ "$git_user_id" = "" ]; then - git_user_id="GIT_USER_ID" - echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" -fi - -if [ "$git_repo_id" = "" ]; then - git_repo_id="GIT_REPO_ID" - echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" -fi - -if [ "$release_note" = "" ]; then - release_note="Minor update" - echo "[INFO] No command line input provided. Set \$release_note to $release_note" -fi - -# Initialize the local directory as a Git repository -git init - -# Adds the files in the local repository and stages them for commit. -git add . - -# Commits the tracked changes and prepares them to be pushed to a remote repository. -git commit -m "$release_note" - -# Sets the new remote -git_remote=$(git remote) -if [ "$git_remote" = "" ]; then # git remote not defined - - if [ "$GIT_TOKEN" = "" ]; then - echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." - git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git - else - git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git - fi - -fi - -git pull origin master - -# Pushes (Forces) the changes in the local repository up to the remote repository -echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git" -git push origin master 2>&1 | grep -v 'To https' diff --git a/client/board/mocha.opts b/client/board/mocha.opts deleted file mode 100644 index 9070118..0000000 --- a/client/board/mocha.opts +++ /dev/null @@ -1 +0,0 @@ ---timeout 10000 diff --git a/client/board/package.json b/client/board/package.json deleted file mode 100644 index 035ce2f..0000000 --- a/client/board/package.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "board", - "version": "0.0.2", - "description": "Taxnexus_Onboarding_Service", - "license": "Proprietary - Copyright (c) 2018-2021 by Taxnexus, Inc.", - "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/client/board/src/ApiClient.js b/client/board/src/ApiClient.js deleted file mode 100644 index df85805..0000000 --- a/client/board/src/ApiClient.js +++ /dev/null @@ -1,692 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * 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 0.0.2 -*/ - -/** -* 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 { - /** - * The base URL against which to resolve every API call's (relative) path. - * Overrides the default value set in spec file if present - * @param {String} basePath - */ - constructor(basePath = 'http://board.vernonkeenan.com:8080/v1') { - /** - * The base URL against which to resolve every API call's (relative) path. - * @type {String} - * @default http://board.vernonkeenan.com:8080/v1 - */ - this.basePath = basePath.replace(/\/+$/, ''); - - /** - * The authentication methods to be included for all API calls. - * @type {Array.} - */ - this.authentications = { - 'ApiKeyAuth': {type: 'apiKey', 'in': 'header', name: 'X-API-Key'} - } - - /** - * The default HTTP headers to be included for all API calls. - * @type {Array.} - * @default {} - */ - this.defaultHeaders = { - 'User-Agent': 'OpenAPI-Generator/0.0.2/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('text'); - } - - // 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': "http://board.vernonkeenan.com:8080/v1", - '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/client/board/src/api/CorsApi.js b/client/board/src/api/CorsApi.js deleted file mode 100644 index 5704843..0000000 --- a/client/board/src/api/CorsApi.js +++ /dev/null @@ -1,212 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - - -import ApiClient from "../ApiClient"; - -/** -* Cors service. -* @module api/CorsApi -* @version 0.0.2 -*/ -export default class CorsApi { - - /** - * Constructs a new CorsApi. - * @alias module:api/CorsApi - * @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 developerOptions operation. - * @callback module:api/CorsApi~developerOptionsCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~developerOptionsCallback} callback The callback function, accepting three arguments: error, data, response - */ - developerOptions(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/developers', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the iqOptions operation. - * @callback module:api/CorsApi~iqOptionsCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~iqOptionsCallback} callback The callback function, accepting three arguments: error, data, response - */ - iqOptions(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/iqs', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the leadsOptions operation. - * @callback module:api/CorsApi~leadsOptionsCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~leadsOptionsCallback} callback The callback function, accepting three arguments: error, data, response - */ - leadsOptions(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/leads', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the userAuthOptions operation. - * @callback module:api/CorsApi~userAuthOptionsCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~userAuthOptionsCallback} callback The callback function, accepting three arguments: error, data, response - */ - userAuthOptions(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/userauths', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the userOptions operation. - * @callback module:api/CorsApi~userOptionsCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~userOptionsCallback} callback The callback function, accepting three arguments: error, data, response - */ - userOptions(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/users', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/board/src/api/DevelopersApi.js b/client/board/src/api/DevelopersApi.js deleted file mode 100644 index a7e89e7..0000000 --- a/client/board/src/api/DevelopersApi.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Developer from '../model/Developer'; -import Error from '../model/Error'; -import RuleExecution from '../model/RuleExecution'; - -/** -* Developers service. -* @module api/DevelopersApi -* @version 0.0.2 -*/ -export default class DevelopersApi { - - /** - * Constructs a new DevelopersApi. - * @alias module:api/DevelopersApi - * @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 postDevelopers operation. - * @callback module:api/DevelopersApi~postDevelopersCallback - * @param {String} error Error message, if any. - * @param {module:model/RuleExecution} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Onboard new developer - * Register new developers with POST - * @param {module:model/Developer} developerRequest A single Developer struct for onboarding - * @param {module:api/DevelopersApi~postDevelopersCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/RuleExecution} - */ - postDevelopers(developerRequest, callback) { - let postBody = developerRequest; - // verify the required parameter 'developerRequest' is set - if (developerRequest === undefined || developerRequest === null) { - throw new Error("Missing the required parameter 'developerRequest' when calling postDevelopers"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = RuleExecution; - return this.apiClient.callApi( - '/developers', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/board/src/api/IqApi.js b/client/board/src/api/IqApi.js deleted file mode 100644 index 6814fc3..0000000 --- a/client/board/src/api/IqApi.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Error from '../model/Error'; -import IQ from '../model/IQ'; -import RuleExecution from '../model/RuleExecution'; - -/** -* Iq service. -* @module api/IqApi -* @version 0.0.2 -*/ -export default class IqApi { - - /** - * Constructs a new IqApi. - * @alias module:api/IqApi - * @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 postIQ operation. - * @callback module:api/IqApi~postIQCallback - * @param {String} error Error message, if any. - * @param {module:model/RuleExecution} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Onboard new new Taxnexus IQ Customer - * Register new Taxnexus IQ Customer with POST - * @param {module:model/IQ} iqRequest A single Taxnexus IQ Customer struct for onboarding - * @param {module:api/IqApi~postIQCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/RuleExecution} - */ - postIQ(iqRequest, callback) { - let postBody = iqRequest; - // verify the required parameter 'iqRequest' is set - if (iqRequest === undefined || iqRequest === null) { - throw new Error("Missing the required parameter 'iqRequest' when calling postIQ"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = RuleExecution; - return this.apiClient.callApi( - '/iqs', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/board/src/api/LeadsApi.js b/client/board/src/api/LeadsApi.js deleted file mode 100644 index 848ea39..0000000 --- a/client/board/src/api/LeadsApi.js +++ /dev/null @@ -1,124 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Error from '../model/Error'; -import Lead from '../model/Lead'; -import RuleExecution from '../model/RuleExecution'; - -/** -* Leads service. -* @module api/LeadsApi -* @version 0.0.2 -*/ -export default class LeadsApi { - - /** - * Constructs a new LeadsApi. - * @alias module:api/LeadsApi - * @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 postLeads operation. - * @callback module:api/LeadsApi~postLeadsCallback - * @param {String} error Error message, if any. - * @param {module:model/RuleExecution} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Add a new Lead record - * Add a new full Lead Record - * @param {module:model/Lead} leadRequest A new Lead record as a single JSON object - * @param {module:api/LeadsApi~postLeadsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/RuleExecution} - */ - postLeads(leadRequest, callback) { - let postBody = leadRequest; - // verify the required parameter 'leadRequest' is set - if (leadRequest === undefined || leadRequest === null) { - throw new Error("Missing the required parameter 'leadRequest' when calling postLeads"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = RuleExecution; - return this.apiClient.callApi( - '/leads', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the putLeads operation. - * @callback module:api/LeadsApi~putLeadsCallback - * @param {String} error Error message, if any. - * @param {module:model/RuleExecution} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Update Leads - * Update Lead records - * @param {module:model/Lead} leadRequest A new Lead record as a single JSON object - * @param {module:api/LeadsApi~putLeadsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/RuleExecution} - */ - putLeads(leadRequest, callback) { - let postBody = leadRequest; - // verify the required parameter 'leadRequest' is set - if (leadRequest === undefined || leadRequest === null) { - throw new Error("Missing the required parameter 'leadRequest' when calling putLeads"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = RuleExecution; - return this.apiClient.callApi( - '/leads', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/board/src/api/UserAuthApi.js b/client/board/src/api/UserAuthApi.js deleted file mode 100644 index e875f34..0000000 --- a/client/board/src/api/UserAuthApi.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Error from '../model/Error'; -import UserAuth from '../model/UserAuth'; - -/** -* UserAuth service. -* @module api/UserAuthApi -* @version 0.0.2 -*/ -export default class UserAuthApi { - - /** - * Constructs a new UserAuthApi. - * @alias module:api/UserAuthApi - * @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 getUserAuth operation. - * @callback module:api/UserAuthApi~getUserAuthCallback - * @param {String} error Error message, if any. - * @param {module:model/UserAuth} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a single UserAuth object - * Return a single UserAuth object from datastore as a Singleton - * @param {String} usernamePath Username in the query path - * @param {module:api/UserAuthApi~getUserAuthCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/UserAuth} - */ - getUserAuth(usernamePath, callback) { - let postBody = null; - // verify the required parameter 'usernamePath' is set - if (usernamePath === undefined || usernamePath === null) { - throw new Error("Missing the required parameter 'usernamePath' when calling getUserAuth"); - } - - let pathParams = { - 'usernamePath': usernamePath - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = UserAuth; - return this.apiClient.callApi( - '/userauths/{usernamePath}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/board/src/api/UsersApi.js b/client/board/src/api/UsersApi.js deleted file mode 100644 index 1f4a83e..0000000 --- a/client/board/src/api/UsersApi.js +++ /dev/null @@ -1,81 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Error from '../model/Error'; -import User from '../model/User'; - -/** -* Users service. -* @module api/UsersApi -* @version 0.0.2 -*/ -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 getUsers operation. - * @callback module:api/UsersApi~getUsersCallback - * @param {String} error Error message, if any. - * @param {module:model/User} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a clean user record - * @param {String} email Email address - * @param {module:api/UsersApi~getUsersCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/User} - */ - getUsers(email, callback) { - let postBody = null; - // verify the required parameter 'email' is set - if (email === undefined || email === null) { - throw new Error("Missing the required parameter 'email' when calling getUsers"); - } - - let pathParams = { - }; - let queryParams = { - 'email': email - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = User; - return this.apiClient.callApi( - '/users', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/board/src/index.js b/client/board/src/index.js deleted file mode 100644 index 7e76aa9..0000000 --- a/client/board/src/index.js +++ /dev/null @@ -1,209 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Account from './model/Account'; -import Address from './model/Address'; -import Contact from './model/Contact'; -import Database from './model/Database'; -import Developer from './model/Developer'; -import Error from './model/Error'; -import IQ from './model/IQ'; -import Lead from './model/Lead'; -import PaymentMethod from './model/PaymentMethod'; -import Role from './model/Role'; -import RuleExecution from './model/RuleExecution'; -import Tenant from './model/Tenant'; -import TenantUser from './model/TenantUser'; -import User from './model/User'; -import UserAuth from './model/UserAuth'; -import UserRole from './model/UserRole'; -import CorsApi from './api/CorsApi'; -import DevelopersApi from './api/DevelopersApi'; -import IqApi from './api/IqApi'; -import LeadsApi from './api/LeadsApi'; -import UserAuthApi from './api/UserAuthApi'; -import UsersApi from './api/UsersApi'; - - -/** -* Taxnexus_Onboarding_Service.
-* 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 Board = require('index'); // See note below*.
-* var xxxSvc = new Board.XxxApi(); // Allocate the API class we're going to use.
-* var yyyModel = new Board.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 Board.XxxApi(); // Allocate the API class we're going to use.
-* var yyy = new Board.Yyy(); // Construct a model instance.
-* yyyModel.someProperty = 'someValue';
-* ...
-* var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
-* ...
-* 
-*

-* @module index -* @version 0.0.2 -*/ -export { - /** - * The ApiClient constructor. - * @property {module:ApiClient} - */ - ApiClient, - - /** - * The Account model constructor. - * @property {module:model/Account} - */ - Account, - - /** - * The Address model constructor. - * @property {module:model/Address} - */ - Address, - - /** - * The Contact model constructor. - * @property {module:model/Contact} - */ - Contact, - - /** - * The Database model constructor. - * @property {module:model/Database} - */ - Database, - - /** - * The Developer model constructor. - * @property {module:model/Developer} - */ - Developer, - - /** - * The Error model constructor. - * @property {module:model/Error} - */ - Error, - - /** - * The IQ model constructor. - * @property {module:model/IQ} - */ - IQ, - - /** - * The Lead model constructor. - * @property {module:model/Lead} - */ - Lead, - - /** - * The PaymentMethod model constructor. - * @property {module:model/PaymentMethod} - */ - PaymentMethod, - - /** - * The Role model constructor. - * @property {module:model/Role} - */ - Role, - - /** - * The RuleExecution model constructor. - * @property {module:model/RuleExecution} - */ - RuleExecution, - - /** - * The Tenant model constructor. - * @property {module:model/Tenant} - */ - Tenant, - - /** - * The TenantUser model constructor. - * @property {module:model/TenantUser} - */ - TenantUser, - - /** - * The User model constructor. - * @property {module:model/User} - */ - User, - - /** - * The UserAuth model constructor. - * @property {module:model/UserAuth} - */ - UserAuth, - - /** - * The UserRole model constructor. - * @property {module:model/UserRole} - */ - UserRole, - - /** - * The CorsApi service constructor. - * @property {module:api/CorsApi} - */ - CorsApi, - - /** - * The DevelopersApi service constructor. - * @property {module:api/DevelopersApi} - */ - DevelopersApi, - - /** - * The IqApi service constructor. - * @property {module:api/IqApi} - */ - IqApi, - - /** - * The LeadsApi service constructor. - * @property {module:api/LeadsApi} - */ - LeadsApi, - - /** - * The UserAuthApi service constructor. - * @property {module:api/UserAuthApi} - */ - UserAuthApi, - - /** - * The UsersApi service constructor. - * @property {module:api/UsersApi} - */ - UsersApi -}; diff --git a/client/board/src/model/Account.js b/client/board/src/model/Account.js deleted file mode 100644 index 17f0522..0000000 --- a/client/board/src/model/Account.js +++ /dev/null @@ -1,843 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Address from './Address'; - -/** - * The Account model module. - * @module model/Account - * @version 0.0.2 - */ -class Account { - /** - * Constructs a new Account. - * @alias module:model/Account - */ - constructor() { - - Account.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 Account 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/Account} obj Optional instance to populate. - * @return {module:model/Account} The populated Account instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Account(); - - if (data.hasOwnProperty('AccountNumber')) { - obj['AccountNumber'] = ApiClient.convertToType(data['AccountNumber'], 'String'); - } - if (data.hasOwnProperty('AccountSource')) { - obj['AccountSource'] = ApiClient.convertToType(data['AccountSource'], 'String'); - } - if (data.hasOwnProperty('Active')) { - obj['Active'] = ApiClient.convertToType(data['Active'], 'Boolean'); - } - if (data.hasOwnProperty('AdministrativeLevel')) { - obj['AdministrativeLevel'] = ApiClient.convertToType(data['AdministrativeLevel'], 'String'); - } - if (data.hasOwnProperty('Amount')) { - obj['Amount'] = ApiClient.convertToType(data['Amount'], 'Number'); - } - if (data.hasOwnProperty('AmountInvoiced')) { - obj['AmountInvoiced'] = ApiClient.convertToType(data['AmountInvoiced'], 'Number'); - } - if (data.hasOwnProperty('AmountPaid')) { - obj['AmountPaid'] = ApiClient.convertToType(data['AmountPaid'], 'Number'); - } - if (data.hasOwnProperty('AnnualRevenue')) { - obj['AnnualRevenue'] = ApiClient.convertToType(data['AnnualRevenue'], 'Number'); - } - if (data.hasOwnProperty('Balance')) { - obj['Balance'] = ApiClient.convertToType(data['Balance'], 'Number'); - } - if (data.hasOwnProperty('BillingAddress')) { - obj['BillingAddress'] = Address.constructFromObject(data['BillingAddress']); - } - if (data.hasOwnProperty('BillingContactID')) { - obj['BillingContactID'] = ApiClient.convertToType(data['BillingContactID'], 'String'); - } - if (data.hasOwnProperty('BillingPreference')) { - obj['BillingPreference'] = ApiClient.convertToType(data['BillingPreference'], 'String'); - } - if (data.hasOwnProperty('BusinessAddress')) { - obj['BusinessAddress'] = Address.constructFromObject(data['BusinessAddress']); - } - if (data.hasOwnProperty('CannabisCustomer')) { - obj['CannabisCustomer'] = ApiClient.convertToType(data['CannabisCustomer'], 'Boolean'); - } - if (data.hasOwnProperty('ChannelProgramLevelName')) { - obj['ChannelProgramLevelName'] = ApiClient.convertToType(data['ChannelProgramLevelName'], 'String'); - } - if (data.hasOwnProperty('ChannelProgramName')) { - obj['ChannelProgramName'] = ApiClient.convertToType(data['ChannelProgramName'], 'String'); - } - if (data.hasOwnProperty('ClientEndDate')) { - obj['ClientEndDate'] = ApiClient.convertToType(data['ClientEndDate'], 'String'); - } - if (data.hasOwnProperty('ClientStartDate')) { - obj['ClientStartDate'] = ApiClient.convertToType(data['ClientStartDate'], 'String'); - } - if (data.hasOwnProperty('CompanyID')) { - obj['CompanyID'] = ApiClient.convertToType(data['CompanyID'], 'String'); - } - if (data.hasOwnProperty('CoordinateID')) { - obj['CoordinateID'] = ApiClient.convertToType(data['CoordinateID'], 'String'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('CustomerID')) { - obj['CustomerID'] = ApiClient.convertToType(data['CustomerID'], 'String'); - } - if (data.hasOwnProperty('CustomerPriority')) { - obj['CustomerPriority'] = ApiClient.convertToType(data['CustomerPriority'], 'String'); - } - if (data.hasOwnProperty('DBA')) { - obj['DBA'] = ApiClient.convertToType(data['DBA'], 'String'); - } - if (data.hasOwnProperty('DUNSNumber')) { - obj['DUNSNumber'] = ApiClient.convertToType(data['DUNSNumber'], 'String'); - } - if (data.hasOwnProperty('DandBCompanyID')) { - obj['DandBCompanyID'] = ApiClient.convertToType(data['DandBCompanyID'], 'String'); - } - if (data.hasOwnProperty('DefaultAddress')) { - obj['DefaultAddress'] = Address.constructFromObject(data['DefaultAddress']); - } - if (data.hasOwnProperty('DefaultBackendID')) { - obj['DefaultBackendID'] = ApiClient.convertToType(data['DefaultBackendID'], 'String'); - } - if (data.hasOwnProperty('DefaultDeliveryContactID')) { - obj['DefaultDeliveryContactID'] = ApiClient.convertToType(data['DefaultDeliveryContactID'], 'String'); - } - if (data.hasOwnProperty('DefaultEndUserID')) { - obj['DefaultEndUserID'] = ApiClient.convertToType(data['DefaultEndUserID'], 'String'); - } - if (data.hasOwnProperty('Description')) { - obj['Description'] = ApiClient.convertToType(data['Description'], 'String'); - } - if (data.hasOwnProperty('EIN')) { - obj['EIN'] = ApiClient.convertToType(data['EIN'], 'String'); - } - if (data.hasOwnProperty('Email')) { - obj['Email'] = ApiClient.convertToType(data['Email'], 'String'); - } - if (data.hasOwnProperty('EnrollmentStatus')) { - obj['EnrollmentStatus'] = ApiClient.convertToType(data['EnrollmentStatus'], 'String'); - } - if (data.hasOwnProperty('Fax')) { - obj['Fax'] = ApiClient.convertToType(data['Fax'], 'String'); - } - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('ISPCustomer')) { - obj['ISPCustomer'] = ApiClient.convertToType(data['ISPCustomer'], 'Boolean'); - } - if (data.hasOwnProperty('Industry')) { - obj['Industry'] = ApiClient.convertToType(data['Industry'], 'String'); - } - if (data.hasOwnProperty('IsCustomerPortal')) { - obj['IsCustomerPortal'] = ApiClient.convertToType(data['IsCustomerPortal'], 'Boolean'); - } - if (data.hasOwnProperty('IsPartner')) { - obj['IsPartner'] = ApiClient.convertToType(data['IsPartner'], 'Boolean'); - } - if (data.hasOwnProperty('JigSaw')) { - obj['JigSaw'] = ApiClient.convertToType(data['JigSaw'], 'String'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('MSPCustomer')) { - obj['MSPCustomer'] = ApiClient.convertToType(data['MSPCustomer'], 'Boolean'); - } - if (data.hasOwnProperty('NAICSCode')) { - obj['NAICSCode'] = ApiClient.convertToType(data['NAICSCode'], 'String'); - } - if (data.hasOwnProperty('NAICSDesc')) { - obj['NAICSDesc'] = ApiClient.convertToType(data['NAICSDesc'], 'String'); - } - if (data.hasOwnProperty('Name')) { - obj['Name'] = ApiClient.convertToType(data['Name'], 'String'); - } - if (data.hasOwnProperty('NumberOfEmployees')) { - obj['NumberOfEmployees'] = ApiClient.convertToType(data['NumberOfEmployees'], 'Number'); - } - if (data.hasOwnProperty('NumberOfLocations')) { - obj['NumberOfLocations'] = ApiClient.convertToType(data['NumberOfLocations'], 'Number'); - } - if (data.hasOwnProperty('OpenCharges')) { - obj['OpenCharges'] = ApiClient.convertToType(data['OpenCharges'], 'Number'); - } - if (data.hasOwnProperty('OrderContactID')) { - obj['OrderContactID'] = ApiClient.convertToType(data['OrderContactID'], 'String'); - } - if (data.hasOwnProperty('OrderEmail')) { - obj['OrderEmail'] = ApiClient.convertToType(data['OrderEmail'], 'String'); - } - if (data.hasOwnProperty('OwnerID')) { - obj['OwnerID'] = ApiClient.convertToType(data['OwnerID'], 'String'); - } - if (data.hasOwnProperty('Ownership')) { - obj['Ownership'] = ApiClient.convertToType(data['Ownership'], 'String'); - } - if (data.hasOwnProperty('ParentFK')) { - obj['ParentFK'] = ApiClient.convertToType(data['ParentFK'], 'String'); - } - if (data.hasOwnProperty('ParentID')) { - obj['ParentID'] = ApiClient.convertToType(data['ParentID'], 'String'); - } - if (data.hasOwnProperty('Phone')) { - obj['Phone'] = ApiClient.convertToType(data['Phone'], 'String'); - } - if (data.hasOwnProperty('PlaceID')) { - obj['PlaceID'] = ApiClient.convertToType(data['PlaceID'], 'String'); - } - if (data.hasOwnProperty('PreparerID')) { - obj['PreparerID'] = ApiClient.convertToType(data['PreparerID'], 'String'); - } - if (data.hasOwnProperty('Rating')) { - obj['Rating'] = ApiClient.convertToType(data['Rating'], 'String'); - } - if (data.hasOwnProperty('RatingEngineID')) { - obj['RatingEngineID'] = ApiClient.convertToType(data['RatingEngineID'], 'String'); - } - if (data.hasOwnProperty('Ref')) { - obj['Ref'] = ApiClient.convertToType(data['Ref'], 'String'); - } - if (data.hasOwnProperty('RevenueBase')) { - obj['RevenueBase'] = ApiClient.convertToType(data['RevenueBase'], 'Number'); - } - if (data.hasOwnProperty('RevenueNet')) { - obj['RevenueNet'] = ApiClient.convertToType(data['RevenueNet'], 'Number'); - } - if (data.hasOwnProperty('RevenueNotTaxable')) { - obj['RevenueNotTaxable'] = ApiClient.convertToType(data['RevenueNotTaxable'], 'Number'); - } - if (data.hasOwnProperty('SIC')) { - obj['SIC'] = ApiClient.convertToType(data['SIC'], 'String'); - } - if (data.hasOwnProperty('SICDesc')) { - obj['SICDesc'] = ApiClient.convertToType(data['SICDesc'], 'String'); - } - if (data.hasOwnProperty('ShippingAddress')) { - obj['ShippingAddress'] = Address.constructFromObject(data['ShippingAddress']); - } - if (data.hasOwnProperty('ShippingCensusTract')) { - obj['ShippingCensusTract'] = ApiClient.convertToType(data['ShippingCensusTract'], 'String'); - } - if (data.hasOwnProperty('ShippingConactID')) { - obj['ShippingConactID'] = ApiClient.convertToType(data['ShippingConactID'], 'String'); - } - if (data.hasOwnProperty('ShippingCounty')) { - obj['ShippingCounty'] = ApiClient.convertToType(data['ShippingCounty'], 'String'); - } - if (data.hasOwnProperty('Site')) { - obj['Site'] = ApiClient.convertToType(data['Site'], 'String'); - } - if (data.hasOwnProperty('Status')) { - obj['Status'] = ApiClient.convertToType(data['Status'], 'String'); - } - if (data.hasOwnProperty('TaxExemption')) { - obj['TaxExemption'] = ApiClient.convertToType(data['TaxExemption'], 'String'); - } - if (data.hasOwnProperty('TaxOnTax')) { - obj['TaxOnTax'] = ApiClient.convertToType(data['TaxOnTax'], 'Number'); - } - if (data.hasOwnProperty('TelecomCustomer')) { - obj['TelecomCustomer'] = ApiClient.convertToType(data['TelecomCustomer'], 'Boolean'); - } - if (data.hasOwnProperty('TickerSymbol')) { - obj['TickerSymbol'] = ApiClient.convertToType(data['TickerSymbol'], 'String'); - } - if (data.hasOwnProperty('TradeStyle')) { - obj['TradeStyle'] = ApiClient.convertToType(data['TradeStyle'], 'String'); - } - if (data.hasOwnProperty('Type')) { - obj['Type'] = ApiClient.convertToType(data['Type'], 'String'); - } - if (data.hasOwnProperty('UnappliedPayments')) { - obj['UnappliedPayments'] = ApiClient.convertToType(data['UnappliedPayments'], 'Number'); - } - if (data.hasOwnProperty('UnitBase')) { - obj['UnitBase'] = ApiClient.convertToType(data['UnitBase'], 'Number'); - } - if (data.hasOwnProperty('UpsellOpportunity')) { - obj['UpsellOpportunity'] = ApiClient.convertToType(data['UpsellOpportunity'], 'String'); - } - if (data.hasOwnProperty('WHMCSClientID')) { - obj['WHMCSClientID'] = ApiClient.convertToType(data['WHMCSClientID'], 'Number'); - } - if (data.hasOwnProperty('Website')) { - obj['Website'] = ApiClient.convertToType(data['Website'], 'String'); - } - if (data.hasOwnProperty('XeroContactID')) { - obj['XeroContactID'] = ApiClient.convertToType(data['XeroContactID'], 'String'); - } - if (data.hasOwnProperty('YearStarted')) { - obj['YearStarted'] = ApiClient.convertToType(data['YearStarted'], 'String'); - } - } - return obj; - } - - -} - -/** - * Account Number - * @member {String} AccountNumber - */ -Account.prototype['AccountNumber'] = undefined; - -/** - * The marketing orgin of this account - * @member {String} AccountSource - */ -Account.prototype['AccountSource'] = undefined; - -/** - * Active - * @member {Boolean} Active - */ -Account.prototype['Active'] = undefined; - -/** - * For tax authorities, this account's administrative level, e.g. Local, County, State or Federal - * @member {String} AdministrativeLevel - */ -Account.prototype['AdministrativeLevel'] = undefined; - -/** - * Rollup Tax Amount - * @member {Number} Amount - */ -Account.prototype['Amount'] = undefined; - -/** - * Amount Invoiced - * @member {Number} AmountInvoiced - */ -Account.prototype['AmountInvoiced'] = undefined; - -/** - * Amount Paid - * @member {Number} AmountPaid - */ -Account.prototype['AmountPaid'] = undefined; - -/** - * Annual Revenue Estimate - * @member {Number} AnnualRevenue - */ -Account.prototype['AnnualRevenue'] = undefined; - -/** - * Account Balance - * @member {Number} Balance - */ -Account.prototype['Balance'] = undefined; - -/** - * @member {module:model/Address} BillingAddress - */ -Account.prototype['BillingAddress'] = undefined; - -/** - * Contact ID - * @member {String} BillingContactID - */ -Account.prototype['BillingContactID'] = undefined; - -/** - * Billing Preference - * @member {String} BillingPreference - */ -Account.prototype['BillingPreference'] = undefined; - -/** - * @member {module:model/Address} BusinessAddress - */ -Account.prototype['BusinessAddress'] = undefined; - -/** - * Is this a cannabis customer? - * @member {Boolean} CannabisCustomer - */ -Account.prototype['CannabisCustomer'] = undefined; - -/** - * Channel Program Level Name - * @member {String} ChannelProgramLevelName - */ -Account.prototype['ChannelProgramLevelName'] = undefined; - -/** - * Channel Program Name - * @member {String} ChannelProgramName - */ -Account.prototype['ChannelProgramName'] = undefined; - -/** - * Client End Date - * @member {String} ClientEndDate - */ -Account.prototype['ClientEndDate'] = undefined; - -/** - * Client Start Date - * @member {String} ClientStartDate - */ -Account.prototype['ClientStartDate'] = undefined; - -/** - * The Company ID of this Account - * @member {String} CompanyID - */ -Account.prototype['CompanyID'] = undefined; - -/** - * The Id of the geo coordinates of this account - * @member {String} CoordinateID - */ -Account.prototype['CoordinateID'] = undefined; - -/** - * Created By User ID - * @member {String} CreatedByID - */ -Account.prototype['CreatedByID'] = undefined; - -/** - * Created Date - * @member {String} CreatedDate - */ -Account.prototype['CreatedDate'] = undefined; - -/** - * Customer ID from source system - * @member {String} CustomerID - */ -Account.prototype['CustomerID'] = undefined; - -/** - * Customer Priority - * @member {String} CustomerPriority - */ -Account.prototype['CustomerPriority'] = undefined; - -/** - * This Account's 'Doing Business As' name - * @member {String} DBA - */ -Account.prototype['DBA'] = undefined; - -/** - * D-U-N-S Number - * @member {String} DUNSNumber - */ -Account.prototype['DUNSNumber'] = undefined; - -/** - * D-n-B Company - * @member {String} DandBCompanyID - */ -Account.prototype['DandBCompanyID'] = undefined; - -/** - * @member {module:model/Address} DefaultAddress - */ -Account.prototype['DefaultAddress'] = undefined; - -/** - * Default Backend ID - * @member {String} DefaultBackendID - */ -Account.prototype['DefaultBackendID'] = undefined; - -/** - * Default Delivery Address Contact ID - * @member {String} DefaultDeliveryContactID - */ -Account.prototype['DefaultDeliveryContactID'] = undefined; - -/** - * Default End User Contact ID - * @member {String} DefaultEndUserID - */ -Account.prototype['DefaultEndUserID'] = undefined; - -/** - * Description - * @member {String} Description - */ -Account.prototype['Description'] = undefined; - -/** - * EIN - * @member {String} EIN - */ -Account.prototype['EIN'] = undefined; - -/** - * Main Account Email - * @member {String} Email - */ -Account.prototype['Email'] = undefined; - -/** - * Enrollment Status - * @member {String} EnrollmentStatus - */ -Account.prototype['EnrollmentStatus'] = undefined; - -/** - * Fax - * @member {String} Fax - */ -Account.prototype['Fax'] = undefined; - -/** - * Taxnexus Account Id - * @member {String} ID - */ -Account.prototype['ID'] = undefined; - -/** - * ISP Customer? - * @member {Boolean} ISPCustomer - */ -Account.prototype['ISPCustomer'] = undefined; - -/** - * Industry - * @member {String} Industry - */ -Account.prototype['Industry'] = undefined; - -/** - * Customer Portal Account - * @member {Boolean} IsCustomerPortal - */ -Account.prototype['IsCustomerPortal'] = undefined; - -/** - * Partner Account - * @member {Boolean} IsPartner - */ -Account.prototype['IsPartner'] = undefined; - -/** - * Data.com Key - * @member {String} JigSaw - */ -Account.prototype['JigSaw'] = undefined; - -/** - * Last Modified By User ID - * @member {String} LastModifiedByID - */ -Account.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modified Date - * @member {String} LastModifiedDate - */ -Account.prototype['LastModifiedDate'] = undefined; - -/** - * MSP Customer? - * @member {Boolean} MSPCustomer - */ -Account.prototype['MSPCustomer'] = undefined; - -/** - * NAICS Code - * @member {String} NAICSCode - */ -Account.prototype['NAICSCode'] = undefined; - -/** - * NAICS Description - * @member {String} NAICSDesc - */ -Account.prototype['NAICSDesc'] = undefined; - -/** - * Account Name - * @member {String} Name - */ -Account.prototype['Name'] = undefined; - -/** - * Employee Count Estimate - * @member {Number} NumberOfEmployees - */ -Account.prototype['NumberOfEmployees'] = undefined; - -/** - * Number of Locations Estimate - * @member {Number} NumberOfLocations - */ -Account.prototype['NumberOfLocations'] = undefined; - -/** - * Open Charges - * @member {Number} OpenCharges - */ -Account.prototype['OpenCharges'] = undefined; - -/** - * Vendor Order Contact ID - * @member {String} OrderContactID - */ -Account.prototype['OrderContactID'] = undefined; - -/** - * Order Email - * @member {String} OrderEmail - */ -Account.prototype['OrderEmail'] = undefined; - -/** - * Account Owner User ID - * @member {String} OwnerID - */ -Account.prototype['OwnerID'] = undefined; - -/** - * Ownership - * @member {String} Ownership - */ -Account.prototype['Ownership'] = undefined; - -/** - * Parent Foreign Key - * @member {String} ParentFK - */ -Account.prototype['ParentFK'] = undefined; - -/** - * Parent Account - * @member {String} ParentID - */ -Account.prototype['ParentID'] = undefined; - -/** - * Phone - * @member {String} Phone - */ -Account.prototype['Phone'] = undefined; - -/** - * The ID of the Place situs record that applies to this Account - * @member {String} PlaceID - */ -Account.prototype['PlaceID'] = undefined; - -/** - * Tax Preparer Contact ID - * @member {String} PreparerID - */ -Account.prototype['PreparerID'] = undefined; - -/** - * Rating - * @member {String} Rating - */ -Account.prototype['Rating'] = undefined; - -/** - * Rating Engine identifier - * @member {String} RatingEngineID - */ -Account.prototype['RatingEngineID'] = undefined; - -/** - * External Reference ID - * @member {String} Ref - */ -Account.prototype['Ref'] = undefined; - -/** - * Rollup Revenue Base - * @member {Number} RevenueBase - */ -Account.prototype['RevenueBase'] = undefined; - -/** - * Rollup Revenue Net - * @member {Number} RevenueNet - */ -Account.prototype['RevenueNet'] = undefined; - -/** - * Rollup Revenue Not Taxable - * @member {Number} RevenueNotTaxable - */ -Account.prototype['RevenueNotTaxable'] = undefined; - -/** - * SIC Code - * @member {String} SIC - */ -Account.prototype['SIC'] = undefined; - -/** - * SIC Description - * @member {String} SICDesc - */ -Account.prototype['SICDesc'] = undefined; - -/** - * @member {module:model/Address} ShippingAddress - */ -Account.prototype['ShippingAddress'] = undefined; - -/** - * Shipping Census Tract - * @member {String} ShippingCensusTract - */ -Account.prototype['ShippingCensusTract'] = undefined; - -/** - * Shipping Contact ID - * @member {String} ShippingConactID - */ -Account.prototype['ShippingConactID'] = undefined; - -/** - * Shipping County - * @member {String} ShippingCounty - */ -Account.prototype['ShippingCounty'] = undefined; - -/** - * Account Site - * @member {String} Site - */ -Account.prototype['Site'] = undefined; - -/** - * Account Status - * @member {String} Status - */ -Account.prototype['Status'] = undefined; - -/** - * Tax Exemption - * @member {String} TaxExemption - */ -Account.prototype['TaxExemption'] = undefined; - -/** - * Rollup Tax On Tax - * @member {Number} TaxOnTax - */ -Account.prototype['TaxOnTax'] = undefined; - -/** - * Telecom Customer? - * @member {Boolean} TelecomCustomer - */ -Account.prototype['TelecomCustomer'] = undefined; - -/** - * Ticker Symbol - * @member {String} TickerSymbol - */ -Account.prototype['TickerSymbol'] = undefined; - -/** - * Tradestyle - * @member {String} TradeStyle - */ -Account.prototype['TradeStyle'] = undefined; - -/** - * Type - * @member {String} Type - */ -Account.prototype['Type'] = undefined; - -/** - * Unapplied Payments - * @member {Number} UnappliedPayments - */ -Account.prototype['UnappliedPayments'] = undefined; - -/** - * Rollup Unit Base - * @member {Number} UnitBase - */ -Account.prototype['UnitBase'] = undefined; - -/** - * Upsell Opportunity - * @member {String} UpsellOpportunity - */ -Account.prototype['UpsellOpportunity'] = undefined; - -/** - * WHMCS Client ID - * @member {Number} WHMCSClientID - */ -Account.prototype['WHMCSClientID'] = undefined; - -/** - * Website - * @member {String} Website - */ -Account.prototype['Website'] = undefined; - -/** - * Xero Contact ID - * @member {String} XeroContactID - */ -Account.prototype['XeroContactID'] = undefined; - -/** - * Year Started - * @member {String} YearStarted - */ -Account.prototype['YearStarted'] = undefined; - - - - - - -export default Account; - diff --git a/client/board/src/model/Address.js b/client/board/src/model/Address.js deleted file mode 100644 index b8614e3..0000000 --- a/client/board/src/model/Address.js +++ /dev/null @@ -1,126 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Address model module. - * @module model/Address - * @version 0.0.2 - */ -class Address { - /** - * Constructs a new Address. - * @alias module:model/Address - */ - constructor() { - - Address.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 Address 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/Address} obj Optional instance to populate. - * @return {module:model/Address} The populated Address instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Address(); - - if (data.hasOwnProperty('City')) { - obj['City'] = ApiClient.convertToType(data['City'], 'String'); - } - if (data.hasOwnProperty('Country')) { - obj['Country'] = ApiClient.convertToType(data['Country'], 'String'); - } - if (data.hasOwnProperty('CountryCode')) { - obj['CountryCode'] = ApiClient.convertToType(data['CountryCode'], 'String'); - } - if (data.hasOwnProperty('PostalCode')) { - obj['PostalCode'] = ApiClient.convertToType(data['PostalCode'], 'String'); - } - if (data.hasOwnProperty('State')) { - obj['State'] = ApiClient.convertToType(data['State'], 'String'); - } - if (data.hasOwnProperty('StateCode')) { - obj['StateCode'] = ApiClient.convertToType(data['StateCode'], 'String'); - } - if (data.hasOwnProperty('Street')) { - obj['Street'] = ApiClient.convertToType(data['Street'], 'String'); - } - } - return obj; - } - - -} - -/** - * City - * @member {String} City - */ -Address.prototype['City'] = undefined; - -/** - * Country full name - * @member {String} Country - */ -Address.prototype['Country'] = undefined; - -/** - * Country Code - * @member {String} CountryCode - */ -Address.prototype['CountryCode'] = undefined; - -/** - * Postal Code - * @member {String} PostalCode - */ -Address.prototype['PostalCode'] = undefined; - -/** - * State full name - * @member {String} State - */ -Address.prototype['State'] = undefined; - -/** - * State Code - * @member {String} StateCode - */ -Address.prototype['StateCode'] = undefined; - -/** - * Street number and name - * @member {String} Street - */ -Address.prototype['Street'] = undefined; - - - - - - -export default Address; - diff --git a/client/board/src/model/Contact.js b/client/board/src/model/Contact.js deleted file mode 100644 index 43b29b0..0000000 --- a/client/board/src/model/Contact.js +++ /dev/null @@ -1,467 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Address from './Address'; - -/** - * The Contact model module. - * @module model/Contact - * @version 0.0.2 - */ -class Contact { - /** - * Constructs a new Contact. - * @alias module:model/Contact - */ - constructor() { - - Contact.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 Contact 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/Contact} obj Optional instance to populate. - * @return {module:model/Contact} The populated Contact instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Contact(); - - if (data.hasOwnProperty('AccountID')) { - obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String'); - } - if (data.hasOwnProperty('AssistantName')) { - obj['AssistantName'] = ApiClient.convertToType(data['AssistantName'], 'String'); - } - if (data.hasOwnProperty('AssistantPhone')) { - obj['AssistantPhone'] = ApiClient.convertToType(data['AssistantPhone'], 'String'); - } - if (data.hasOwnProperty('BirthDate')) { - obj['BirthDate'] = ApiClient.convertToType(data['BirthDate'], 'String'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('Department')) { - obj['Department'] = ApiClient.convertToType(data['Department'], 'String'); - } - if (data.hasOwnProperty('Description')) { - obj['Description'] = ApiClient.convertToType(data['Description'], 'String'); - } - if (data.hasOwnProperty('DoNotCall')) { - obj['DoNotCall'] = ApiClient.convertToType(data['DoNotCall'], 'Boolean'); - } - if (data.hasOwnProperty('Email')) { - obj['Email'] = ApiClient.convertToType(data['Email'], 'String'); - } - if (data.hasOwnProperty('EmailBounceDate')) { - obj['EmailBounceDate'] = ApiClient.convertToType(data['EmailBounceDate'], 'String'); - } - if (data.hasOwnProperty('EmailBouncedReason')) { - obj['EmailBouncedReason'] = ApiClient.convertToType(data['EmailBouncedReason'], 'String'); - } - if (data.hasOwnProperty('EnrollmentStatus')) { - obj['EnrollmentStatus'] = ApiClient.convertToType(data['EnrollmentStatus'], 'String'); - } - if (data.hasOwnProperty('Fax')) { - obj['Fax'] = ApiClient.convertToType(data['Fax'], 'String'); - } - if (data.hasOwnProperty('FirstName')) { - obj['FirstName'] = ApiClient.convertToType(data['FirstName'], 'String'); - } - if (data.hasOwnProperty('HasOptedOutOfEmail')) { - obj['HasOptedOutOfEmail'] = ApiClient.convertToType(data['HasOptedOutOfEmail'], 'Boolean'); - } - if (data.hasOwnProperty('HasOptedOutOfFax')) { - obj['HasOptedOutOfFax'] = ApiClient.convertToType(data['HasOptedOutOfFax'], 'Boolean'); - } - if (data.hasOwnProperty('HomePhone')) { - obj['HomePhone'] = ApiClient.convertToType(data['HomePhone'], 'String'); - } - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('IsEmailBounced')) { - obj['IsEmailBounced'] = ApiClient.convertToType(data['IsEmailBounced'], 'Boolean'); - } - if (data.hasOwnProperty('IsProvisioned')) { - obj['IsProvisioned'] = ApiClient.convertToType(data['IsProvisioned'], 'Boolean'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('LastName')) { - obj['LastName'] = ApiClient.convertToType(data['LastName'], 'String'); - } - if (data.hasOwnProperty('LeadSource')) { - obj['LeadSource'] = ApiClient.convertToType(data['LeadSource'], 'String'); - } - if (data.hasOwnProperty('Level')) { - obj['Level'] = ApiClient.convertToType(data['Level'], 'String'); - } - if (data.hasOwnProperty('LinkedIn')) { - obj['LinkedIn'] = ApiClient.convertToType(data['LinkedIn'], 'String'); - } - if (data.hasOwnProperty('MailingAddress')) { - obj['MailingAddress'] = Address.constructFromObject(data['MailingAddress']); - } - if (data.hasOwnProperty('MailingLists')) { - obj['MailingLists'] = ApiClient.convertToType(data['MailingLists'], 'String'); - } - if (data.hasOwnProperty('MobilePhone')) { - obj['MobilePhone'] = ApiClient.convertToType(data['MobilePhone'], 'String'); - } - if (data.hasOwnProperty('Name')) { - obj['Name'] = ApiClient.convertToType(data['Name'], 'String'); - } - if (data.hasOwnProperty('OtherAddress')) { - obj['OtherAddress'] = Address.constructFromObject(data['OtherAddress']); - } - if (data.hasOwnProperty('OtherPhone')) { - obj['OtherPhone'] = ApiClient.convertToType(data['OtherPhone'], 'String'); - } - if (data.hasOwnProperty('OwnerID')) { - obj['OwnerID'] = ApiClient.convertToType(data['OwnerID'], 'String'); - } - if (data.hasOwnProperty('PersonalEmail')) { - obj['PersonalEmail'] = ApiClient.convertToType(data['PersonalEmail'], 'String'); - } - if (data.hasOwnProperty('Phone')) { - obj['Phone'] = ApiClient.convertToType(data['Phone'], 'String'); - } - if (data.hasOwnProperty('PhotoURL')) { - obj['PhotoURL'] = ApiClient.convertToType(data['PhotoURL'], 'String'); - } - if (data.hasOwnProperty('RecruitingStatus')) { - obj['RecruitingStatus'] = ApiClient.convertToType(data['RecruitingStatus'], 'String'); - } - if (data.hasOwnProperty('Ref')) { - obj['Ref'] = ApiClient.convertToType(data['Ref'], 'String'); - } - if (data.hasOwnProperty('ReportsToID')) { - obj['ReportsToID'] = ApiClient.convertToType(data['ReportsToID'], 'String'); - } - if (data.hasOwnProperty('Salutation')) { - obj['Salutation'] = ApiClient.convertToType(data['Salutation'], 'String'); - } - if (data.hasOwnProperty('Status')) { - obj['Status'] = ApiClient.convertToType(data['Status'], 'String'); - } - if (data.hasOwnProperty('TenantID')) { - obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String'); - } - if (data.hasOwnProperty('Title')) { - obj['Title'] = ApiClient.convertToType(data['Title'], 'String'); - } - if (data.hasOwnProperty('Type')) { - obj['Type'] = ApiClient.convertToType(data['Type'], 'String'); - } - } - return obj; - } - - -} - -/** - * The primary account ID of this contact - * @member {String} AccountID - */ -Contact.prototype['AccountID'] = undefined; - -/** - * Assistant Name - * @member {String} AssistantName - */ -Contact.prototype['AssistantName'] = undefined; - -/** - * Asst. Phone - * @member {String} AssistantPhone - */ -Contact.prototype['AssistantPhone'] = undefined; - -/** - * Birthdate - * @member {String} BirthDate - */ -Contact.prototype['BirthDate'] = undefined; - -/** - * Created By User ID - * @member {String} CreatedByID - */ -Contact.prototype['CreatedByID'] = undefined; - -/** - * Created Date - * @member {String} CreatedDate - */ -Contact.prototype['CreatedDate'] = undefined; - -/** - * Department - * @member {String} Department - */ -Contact.prototype['Department'] = undefined; - -/** - * Description - * @member {String} Description - */ -Contact.prototype['Description'] = undefined; - -/** - * Do Not Call? - * @member {Boolean} DoNotCall - */ -Contact.prototype['DoNotCall'] = undefined; - -/** - * Email address - * @member {String} Email - */ -Contact.prototype['Email'] = undefined; - -/** - * Email Bounce Date - * @member {String} EmailBounceDate - */ -Contact.prototype['EmailBounceDate'] = undefined; - -/** - * Email Bounce Reason - * @member {String} EmailBouncedReason - */ -Contact.prototype['EmailBouncedReason'] = undefined; - -/** - * Taxnexus Enrollment Status - * @member {String} EnrollmentStatus - */ -Contact.prototype['EnrollmentStatus'] = undefined; - -/** - * Fax Number - * @member {String} Fax - */ -Contact.prototype['Fax'] = undefined; - -/** - * First Name - * @member {String} FirstName - */ -Contact.prototype['FirstName'] = undefined; - -/** - * Email Opt Out - * @member {Boolean} HasOptedOutOfEmail - */ -Contact.prototype['HasOptedOutOfEmail'] = undefined; - -/** - * Fax Opt Out - * @member {Boolean} HasOptedOutOfFax - */ -Contact.prototype['HasOptedOutOfFax'] = undefined; - -/** - * Home Phone - * @member {String} HomePhone - */ -Contact.prototype['HomePhone'] = undefined; - -/** - * Taxnexus Record Id - * @member {String} ID - */ -Contact.prototype['ID'] = undefined; - -/** - * Does this contact have bounced emails? - * @member {Boolean} IsEmailBounced - */ -Contact.prototype['IsEmailBounced'] = undefined; - -/** - * Is Provisioned? - * @member {Boolean} IsProvisioned - */ -Contact.prototype['IsProvisioned'] = undefined; - -/** - * Last Modified By User ID - * @member {String} LastModifiedByID - */ -Contact.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modified Date - * @member {String} LastModifiedDate - */ -Contact.prototype['LastModifiedDate'] = undefined; - -/** - * Last Name - * @member {String} LastName - */ -Contact.prototype['LastName'] = undefined; - -/** - * Lead Source - * @member {String} LeadSource - */ -Contact.prototype['LeadSource'] = undefined; - -/** - * Level - * @member {String} Level - */ -Contact.prototype['Level'] = undefined; - -/** - * LinkedIn Page - * @member {String} LinkedIn - */ -Contact.prototype['LinkedIn'] = undefined; - -/** - * @member {module:model/Address} MailingAddress - */ -Contact.prototype['MailingAddress'] = undefined; - -/** - * Mailing Lists - * @member {String} MailingLists - */ -Contact.prototype['MailingLists'] = undefined; - -/** - * Mobile Phone - * @member {String} MobilePhone - */ -Contact.prototype['MobilePhone'] = undefined; - -/** - * Full Name - * @member {String} Name - */ -Contact.prototype['Name'] = undefined; - -/** - * @member {module:model/Address} OtherAddress - */ -Contact.prototype['OtherAddress'] = undefined; - -/** - * Other Phone - * @member {String} OtherPhone - */ -Contact.prototype['OtherPhone'] = undefined; - -/** - * The User ID of the user who owns this Contact - * @member {String} OwnerID - */ -Contact.prototype['OwnerID'] = undefined; - -/** - * Personal Email Address for this Contact - * @member {String} PersonalEmail - */ -Contact.prototype['PersonalEmail'] = undefined; - -/** - * Phone Number - * @member {String} Phone - */ -Contact.prototype['Phone'] = undefined; - -/** - * URL of a photograph of this User - * @member {String} PhotoURL - */ -Contact.prototype['PhotoURL'] = undefined; - -/** - * Recruiting Status - * @member {String} RecruitingStatus - */ -Contact.prototype['RecruitingStatus'] = undefined; - -/** - * External reference to this contact, if any - * @member {String} Ref - */ -Contact.prototype['Ref'] = undefined; - -/** - * Reports To Contact ID - * @member {String} ReportsToID - */ -Contact.prototype['ReportsToID'] = undefined; - -/** - * Contact Salutation - * @member {String} Salutation - */ -Contact.prototype['Salutation'] = undefined; - -/** - * The Contact Status - * @member {String} Status - */ -Contact.prototype['Status'] = undefined; - -/** - * Tenant Identifier - * @member {String} TenantID - */ -Contact.prototype['TenantID'] = undefined; - -/** - * Contact Title - * @member {String} Title - */ -Contact.prototype['Title'] = undefined; - -/** - * Contact Type - * @member {String} Type - */ -Contact.prototype['Type'] = undefined; - - - - - - -export default Contact; - diff --git a/client/board/src/model/Database.js b/client/board/src/model/Database.js deleted file mode 100644 index 8597a90..0000000 --- a/client/board/src/model/Database.js +++ /dev/null @@ -1,181 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Database model module. - * @module model/Database - * @version 0.0.2 - */ -class Database { - /** - * Constructs a new Database. - * A Database provisioned and owned by a Tenant - * @alias module:model/Database - */ - constructor() { - - Database.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 Database 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/Database} obj Optional instance to populate. - * @return {module:model/Database} The populated Database instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Database(); - - if (data.hasOwnProperty('Active')) { - obj['Active'] = ApiClient.convertToType(data['Active'], 'Boolean'); - } - if (data.hasOwnProperty('ClusterID')) { - obj['ClusterID'] = ApiClient.convertToType(data['ClusterID'], 'String'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('DSN')) { - obj['DSN'] = ApiClient.convertToType(data['DSN'], 'String'); - } - if (data.hasOwnProperty('DatabaseName')) { - obj['DatabaseName'] = ApiClient.convertToType(data['DatabaseName'], 'String'); - } - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('Microservices')) { - obj['Microservices'] = ApiClient.convertToType(data['Microservices'], 'String'); - } - if (data.hasOwnProperty('Status')) { - obj['Status'] = ApiClient.convertToType(data['Status'], 'String'); - } - if (data.hasOwnProperty('TenantID')) { - obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String'); - } - if (data.hasOwnProperty('Type')) { - obj['Type'] = ApiClient.convertToType(data['Type'], 'String'); - } - } - return obj; - } - - -} - -/** - * Is this database active? - * @member {Boolean} Active - */ -Database.prototype['Active'] = undefined; - -/** - * The ID of the Cluster in which this database is deployed - * @member {String} ClusterID - */ -Database.prototype['ClusterID'] = undefined; - -/** - * Created By - * @member {String} CreatedByID - */ -Database.prototype['CreatedByID'] = undefined; - -/** - * Created Date - * @member {String} CreatedDate - */ -Database.prototype['CreatedDate'] = undefined; - -/** - * Database connection string - * @member {String} DSN - */ -Database.prototype['DSN'] = undefined; - -/** - * The name of the physical database in the cluster - * @member {String} DatabaseName - */ -Database.prototype['DatabaseName'] = undefined; - -/** - * Record Id - * @member {String} ID - */ -Database.prototype['ID'] = undefined; - -/** - * Last Modified By - * @member {String} LastModifiedByID - */ -Database.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modifed Date - * @member {String} LastModifiedDate - */ -Database.prototype['LastModifiedDate'] = undefined; - -/** - * List of Taxnexus microservices implemented by this Database - * @member {String} Microservices - */ -Database.prototype['Microservices'] = undefined; - -/** - * The current status of this Tenant - * @member {String} Status - */ -Database.prototype['Status'] = undefined; - -/** - * The ID of the tenant who owns this Database - * @member {String} TenantID - */ -Database.prototype['TenantID'] = undefined; - -/** - * The type of Database (mysql, etc) - * @member {String} Type - */ -Database.prototype['Type'] = undefined; - - - - - - -export default Database; - diff --git a/client/board/src/model/Developer.js b/client/board/src/model/Developer.js deleted file mode 100644 index 5030872..0000000 --- a/client/board/src/model/Developer.js +++ /dev/null @@ -1,90 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Account from './Account'; -import Contact from './Contact'; -import PaymentMethod from './PaymentMethod'; - -/** - * The Developer model module. - * @module model/Developer - * @version 0.0.2 - */ -class Developer { - /** - * Constructs a new Developer. - * @alias module:model/Developer - */ - constructor() { - - Developer.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 Developer 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/Developer} obj Optional instance to populate. - * @return {module:model/Developer} The populated Developer instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Developer(); - - if (data.hasOwnProperty('Account')) { - obj['Account'] = Account.constructFromObject(data['Account']); - } - if (data.hasOwnProperty('Contact')) { - obj['Contact'] = Contact.constructFromObject(data['Contact']); - } - if (data.hasOwnProperty('PaymentMethod')) { - obj['PaymentMethod'] = PaymentMethod.constructFromObject(data['PaymentMethod']); - } - } - return obj; - } - - -} - -/** - * @member {module:model/Account} Account - */ -Developer.prototype['Account'] = undefined; - -/** - * @member {module:model/Contact} Contact - */ -Developer.prototype['Contact'] = undefined; - -/** - * @member {module:model/PaymentMethod} PaymentMethod - */ -Developer.prototype['PaymentMethod'] = undefined; - - - - - - -export default Developer; - diff --git a/client/board/src/model/Error.js b/client/board/src/model/Error.js deleted file mode 100644 index 9ec04fe..0000000 --- a/client/board/src/model/Error.js +++ /dev/null @@ -1,87 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Error model module. - * @module model/Error - * @version 0.0.2 - */ -class Error { - /** - * Constructs a new Error. - * @alias module:model/Error - */ - constructor() { - - Error.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 Error 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/Error} obj Optional instance to populate. - * @return {module:model/Error} The populated Error instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Error(); - - if (data.hasOwnProperty('code')) { - obj['code'] = ApiClient.convertToType(data['code'], 'Number'); - } - if (data.hasOwnProperty('fields')) { - obj['fields'] = ApiClient.convertToType(data['fields'], 'String'); - } - if (data.hasOwnProperty('message')) { - obj['message'] = ApiClient.convertToType(data['message'], 'String'); - } - } - return obj; - } - - -} - -/** - * @member {Number} code - */ -Error.prototype['code'] = undefined; - -/** - * @member {String} fields - */ -Error.prototype['fields'] = undefined; - -/** - * @member {String} message - */ -Error.prototype['message'] = undefined; - - - - - - -export default Error; - diff --git a/client/board/src/model/IQ.js b/client/board/src/model/IQ.js deleted file mode 100644 index 2e641d5..0000000 --- a/client/board/src/model/IQ.js +++ /dev/null @@ -1,117 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Account from './Account'; -import Contact from './Contact'; -import Lead from './Lead'; -import PaymentMethod from './PaymentMethod'; -import Tenant from './Tenant'; -import User from './User'; - -/** - * The IQ model module. - * @module model/IQ - * @version 0.0.2 - */ -class IQ { - /** - * Constructs a new IQ. - * @alias module:model/IQ - */ - constructor() { - - IQ.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 IQ 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/IQ} obj Optional instance to populate. - * @return {module:model/IQ} The populated IQ instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new IQ(); - - if (data.hasOwnProperty('Account')) { - obj['Account'] = Account.constructFromObject(data['Account']); - } - if (data.hasOwnProperty('Contact')) { - obj['Contact'] = Contact.constructFromObject(data['Contact']); - } - if (data.hasOwnProperty('Lead')) { - obj['Lead'] = Lead.constructFromObject(data['Lead']); - } - if (data.hasOwnProperty('PaymentMethod')) { - obj['PaymentMethod'] = PaymentMethod.constructFromObject(data['PaymentMethod']); - } - if (data.hasOwnProperty('Tenant')) { - obj['Tenant'] = Tenant.constructFromObject(data['Tenant']); - } - if (data.hasOwnProperty('User')) { - obj['User'] = User.constructFromObject(data['User']); - } - } - return obj; - } - - -} - -/** - * @member {module:model/Account} Account - */ -IQ.prototype['Account'] = undefined; - -/** - * @member {module:model/Contact} Contact - */ -IQ.prototype['Contact'] = undefined; - -/** - * @member {module:model/Lead} Lead - */ -IQ.prototype['Lead'] = undefined; - -/** - * @member {module:model/PaymentMethod} PaymentMethod - */ -IQ.prototype['PaymentMethod'] = undefined; - -/** - * @member {module:model/Tenant} Tenant - */ -IQ.prototype['Tenant'] = undefined; - -/** - * @member {module:model/User} User - */ -IQ.prototype['User'] = undefined; - - - - - - -export default IQ; - diff --git a/client/board/src/model/Lead.js b/client/board/src/model/Lead.js deleted file mode 100644 index 4def84b..0000000 --- a/client/board/src/model/Lead.js +++ /dev/null @@ -1,270 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Address from './Address'; - -/** - * The Lead model module. - * @module model/Lead - * @version 0.0.2 - */ -class Lead { - /** - * Constructs a new Lead. - * @alias module:model/Lead - */ - constructor() { - - Lead.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 Lead 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/Lead} obj Optional instance to populate. - * @return {module:model/Lead} The populated Lead instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Lead(); - - if (data.hasOwnProperty('Address')) { - obj['Address'] = Address.constructFromObject(data['Address']); - } - if (data.hasOwnProperty('Company')) { - obj['Company'] = ApiClient.convertToType(data['Company'], 'String'); - } - if (data.hasOwnProperty('Description')) { - obj['Description'] = ApiClient.convertToType(data['Description'], 'String'); - } - if (data.hasOwnProperty('Email')) { - obj['Email'] = ApiClient.convertToType(data['Email'], 'String'); - } - if (data.hasOwnProperty('FirstName')) { - obj['FirstName'] = ApiClient.convertToType(data['FirstName'], 'String'); - } - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('LastName')) { - obj['LastName'] = ApiClient.convertToType(data['LastName'], 'String'); - } - if (data.hasOwnProperty('MobilePhone')) { - obj['MobilePhone'] = ApiClient.convertToType(data['MobilePhone'], 'String'); - } - if (data.hasOwnProperty('Name')) { - obj['Name'] = ApiClient.convertToType(data['Name'], 'String'); - } - if (data.hasOwnProperty('OwnerId')) { - obj['OwnerId'] = ApiClient.convertToType(data['OwnerId'], 'String'); - } - if (data.hasOwnProperty('PartnerAccountId')) { - obj['PartnerAccountId'] = ApiClient.convertToType(data['PartnerAccountId'], 'String'); - } - if (data.hasOwnProperty('Phone')) { - obj['Phone'] = ApiClient.convertToType(data['Phone'], 'String'); - } - if (data.hasOwnProperty('ProductID')) { - obj['ProductID'] = ApiClient.convertToType(data['ProductID'], 'String'); - } - if (data.hasOwnProperty('RefererURL')) { - obj['RefererURL'] = ApiClient.convertToType(data['RefererURL'], 'String'); - } - if (data.hasOwnProperty('Status')) { - obj['Status'] = ApiClient.convertToType(data['Status'], 'String'); - } - if (data.hasOwnProperty('Title')) { - obj['Title'] = ApiClient.convertToType(data['Title'], 'String'); - } - if (data.hasOwnProperty('Type')) { - obj['Type'] = ApiClient.convertToType(data['Type'], 'String'); - } - if (data.hasOwnProperty('UTMCampaign')) { - obj['UTMCampaign'] = ApiClient.convertToType(data['UTMCampaign'], 'String'); - } - if (data.hasOwnProperty('UTMContent')) { - obj['UTMContent'] = ApiClient.convertToType(data['UTMContent'], 'String'); - } - if (data.hasOwnProperty('UTMMedium')) { - obj['UTMMedium'] = ApiClient.convertToType(data['UTMMedium'], 'String'); - } - if (data.hasOwnProperty('UTMSource')) { - obj['UTMSource'] = ApiClient.convertToType(data['UTMSource'], 'String'); - } - if (data.hasOwnProperty('UTMTerm')) { - obj['UTMTerm'] = ApiClient.convertToType(data['UTMTerm'], 'String'); - } - if (data.hasOwnProperty('Website')) { - obj['Website'] = ApiClient.convertToType(data['Website'], 'String'); - } - } - return obj; - } - - -} - -/** - * @member {module:model/Address} Address - */ -Lead.prototype['Address'] = undefined; - -/** - * Company - * @member {String} Company - */ -Lead.prototype['Company'] = undefined; - -/** - * Description - * @member {String} Description - */ -Lead.prototype['Description'] = undefined; - -/** - * Email - * @member {String} Email - */ -Lead.prototype['Email'] = undefined; - -/** - * First Name - * @member {String} FirstName - */ -Lead.prototype['FirstName'] = undefined; - -/** - * Taxnexus Record Id - * @member {String} ID - */ -Lead.prototype['ID'] = undefined; - -/** - * Last Name - * @member {String} LastName - */ -Lead.prototype['LastName'] = undefined; - -/** - * Mobile - * @member {String} MobilePhone - */ -Lead.prototype['MobilePhone'] = undefined; - -/** - * Name - * @member {String} Name - */ -Lead.prototype['Name'] = undefined; - -/** - * LeadBasic Owner - * @member {String} OwnerId - */ -Lead.prototype['OwnerId'] = undefined; - -/** - * Partner Account - * @member {String} PartnerAccountId - */ -Lead.prototype['PartnerAccountId'] = undefined; - -/** - * Phone - * @member {String} Phone - */ -Lead.prototype['Phone'] = undefined; - -/** - * Product - * @member {String} ProductID - */ -Lead.prototype['ProductID'] = undefined; - -/** - * referer_url - * @member {String} RefererURL - */ -Lead.prototype['RefererURL'] = undefined; - -/** - * LeadBasic Status - * @member {String} Status - */ -Lead.prototype['Status'] = undefined; - -/** - * Title - * @member {String} Title - */ -Lead.prototype['Title'] = undefined; - -/** - * Type - * @member {String} Type - */ -Lead.prototype['Type'] = undefined; - -/** - * utm_campaign - * @member {String} UTMCampaign - */ -Lead.prototype['UTMCampaign'] = undefined; - -/** - * utm_content - * @member {String} UTMContent - */ -Lead.prototype['UTMContent'] = undefined; - -/** - * utm_medium - * @member {String} UTMMedium - */ -Lead.prototype['UTMMedium'] = undefined; - -/** - * utm_source - * @member {String} UTMSource - */ -Lead.prototype['UTMSource'] = undefined; - -/** - * utm_term - * @member {String} UTMTerm - */ -Lead.prototype['UTMTerm'] = undefined; - -/** - * Website - * @member {String} Website - */ -Lead.prototype['Website'] = undefined; - - - - - - -export default Lead; - diff --git a/client/board/src/model/PaymentMethod.js b/client/board/src/model/PaymentMethod.js deleted file mode 100644 index 8157027..0000000 --- a/client/board/src/model/PaymentMethod.js +++ /dev/null @@ -1,298 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 PaymentMethod model module. - * @module model/PaymentMethod - * @version 0.0.2 - */ -class PaymentMethod { - /** - * Constructs a new PaymentMethod. - * Describes the EFT or other payment information for an account and billing contact - * @alias module:model/PaymentMethod - */ - constructor() { - - PaymentMethod.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 PaymentMethod 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/PaymentMethod} obj Optional instance to populate. - * @return {module:model/PaymentMethod} The populated PaymentMethod instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new PaymentMethod(); - - if (data.hasOwnProperty('AccountID')) { - obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String'); - } - if (data.hasOwnProperty('AchAccountType')) { - obj['AchAccountType'] = ApiClient.convertToType(data['AchAccountType'], 'String'); - } - if (data.hasOwnProperty('AchBankAccount')) { - obj['AchBankAccount'] = ApiClient.convertToType(data['AchBankAccount'], 'String'); - } - if (data.hasOwnProperty('AchRouting')) { - obj['AchRouting'] = ApiClient.convertToType(data['AchRouting'], 'String'); - } - if (data.hasOwnProperty('Active')) { - obj['Active'] = ApiClient.convertToType(data['Active'], 'Boolean'); - } - if (data.hasOwnProperty('Autopay')) { - obj['Autopay'] = ApiClient.convertToType(data['Autopay'], 'Boolean'); - } - if (data.hasOwnProperty('BankName')) { - obj['BankName'] = ApiClient.convertToType(data['BankName'], 'String'); - } - if (data.hasOwnProperty('BillingContactID')) { - obj['BillingContactID'] = ApiClient.convertToType(data['BillingContactID'], 'String'); - } - if (data.hasOwnProperty('CCnumber')) { - obj['CCnumber'] = ApiClient.convertToType(data['CCnumber'], 'String'); - } - if (data.hasOwnProperty('CCtype')) { - obj['CCtype'] = ApiClient.convertToType(data['CCtype'], 'String'); - } - if (data.hasOwnProperty('CompanyID')) { - obj['CompanyID'] = ApiClient.convertToType(data['CompanyID'], 'String'); - } - if (data.hasOwnProperty('ContractID')) { - obj['ContractID'] = ApiClient.convertToType(data['ContractID'], 'String'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('Default')) { - obj['Default'] = ApiClient.convertToType(data['Default'], 'Boolean'); - } - if (data.hasOwnProperty('ExpirationDate')) { - obj['ExpirationDate'] = ApiClient.convertToType(data['ExpirationDate'], 'String'); - } - if (data.hasOwnProperty('ExpirationMonth')) { - obj['ExpirationMonth'] = ApiClient.convertToType(data['ExpirationMonth'], 'String'); - } - if (data.hasOwnProperty('ExpirationYear')) { - obj['ExpirationYear'] = ApiClient.convertToType(data['ExpirationYear'], 'String'); - } - if (data.hasOwnProperty('Gateway')) { - obj['Gateway'] = ApiClient.convertToType(data['Gateway'], 'String'); - } - if (data.hasOwnProperty('GatewayKey')) { - obj['GatewayKey'] = ApiClient.convertToType(data['GatewayKey'], 'String'); - } - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('Nickname')) { - obj['Nickname'] = ApiClient.convertToType(data['Nickname'], 'String'); - } - if (data.hasOwnProperty('RecordType')) { - obj['RecordType'] = ApiClient.convertToType(data['RecordType'], 'String'); - } - if (data.hasOwnProperty('Ref')) { - obj['Ref'] = ApiClient.convertToType(data['Ref'], 'String'); - } - } - return obj; - } - - -} - -/** - * Account - * @member {String} AccountID - */ -PaymentMethod.prototype['AccountID'] = undefined; - -/** - * ACH Account Type - * @member {String} AchAccountType - */ -PaymentMethod.prototype['AchAccountType'] = undefined; - -/** - * ACH Bank Account - * @member {String} AchBankAccount - */ -PaymentMethod.prototype['AchBankAccount'] = undefined; - -/** - * ACH Routing - * @member {String} AchRouting - */ -PaymentMethod.prototype['AchRouting'] = undefined; - -/** - * Active? - * @member {Boolean} Active - */ -PaymentMethod.prototype['Active'] = undefined; - -/** - * Autopay? - * @member {Boolean} Autopay - */ -PaymentMethod.prototype['Autopay'] = undefined; - -/** - * Bank Name - * @member {String} BankName - */ -PaymentMethod.prototype['BankName'] = undefined; - -/** - * Billing Contact - * @member {String} BillingContactID - */ -PaymentMethod.prototype['BillingContactID'] = undefined; - -/** - * Credit Card Number - * @member {String} CCnumber - */ -PaymentMethod.prototype['CCnumber'] = undefined; - -/** - * CC Type - * @member {String} CCtype - */ -PaymentMethod.prototype['CCtype'] = undefined; - -/** - * Company - * @member {String} CompanyID - */ -PaymentMethod.prototype['CompanyID'] = undefined; - -/** - * Contract - * @member {String} ContractID - */ -PaymentMethod.prototype['ContractID'] = undefined; - -/** - * Created By - * @member {String} CreatedByID - */ -PaymentMethod.prototype['CreatedByID'] = undefined; - -/** - * Created Date - * @member {String} CreatedDate - */ -PaymentMethod.prototype['CreatedDate'] = undefined; - -/** - * Default Payment Method? - * @member {Boolean} Default - */ -PaymentMethod.prototype['Default'] = undefined; - -/** - * Expiration Date - * @member {String} ExpirationDate - */ -PaymentMethod.prototype['ExpirationDate'] = undefined; - -/** - * Expiration Month - * @member {String} ExpirationMonth - */ -PaymentMethod.prototype['ExpirationMonth'] = undefined; - -/** - * Expiration Year - * @member {String} ExpirationYear - */ -PaymentMethod.prototype['ExpirationYear'] = undefined; - -/** - * Gateway - * @member {String} Gateway - */ -PaymentMethod.prototype['Gateway'] = undefined; - -/** - * Gateway Key - * @member {String} GatewayKey - */ -PaymentMethod.prototype['GatewayKey'] = undefined; - -/** - * Taxnexus Record Id - * @member {String} ID - */ -PaymentMethod.prototype['ID'] = undefined; - -/** - * Last Modified By - * @member {String} LastModifiedByID - */ -PaymentMethod.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modified Date - * @member {String} LastModifiedDate - */ -PaymentMethod.prototype['LastModifiedDate'] = undefined; - -/** - * Nickname - * @member {String} Nickname - */ -PaymentMethod.prototype['Nickname'] = undefined; - -/** - * Record Type - * @member {String} RecordType - */ -PaymentMethod.prototype['RecordType'] = undefined; - -/** - * External Reference - * @member {String} Ref - */ -PaymentMethod.prototype['Ref'] = undefined; - - - - - - -export default PaymentMethod; - diff --git a/client/board/src/model/Role.js b/client/board/src/model/Role.js deleted file mode 100644 index 771edbe..0000000 --- a/client/board/src/model/Role.js +++ /dev/null @@ -1,145 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Role model module. - * @module model/Role - * @version 0.0.2 - */ -class Role { - /** - * Constructs a new Role. - * A functional role within a Tenant - * @alias module:model/Role - */ - constructor() { - - Role.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 Role 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/Role} obj Optional instance to populate. - * @return {module:model/Role} The populated Role instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Role(); - - if (data.hasOwnProperty('Auth0RoleID')) { - obj['Auth0RoleID'] = ApiClient.convertToType(data['Auth0RoleID'], 'String'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('Description')) { - obj['Description'] = ApiClient.convertToType(data['Description'], 'String'); - } - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('RoleName')) { - obj['RoleName'] = ApiClient.convertToType(data['RoleName'], 'String'); - } - if (data.hasOwnProperty('TenantID')) { - obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String'); - } - } - return obj; - } - - -} - -/** - * The corresponding Auth0 Role - * @member {String} Auth0RoleID - */ -Role.prototype['Auth0RoleID'] = undefined; - -/** - * Created By - * @member {String} CreatedByID - */ -Role.prototype['CreatedByID'] = undefined; - -/** - * Created Date - * @member {String} CreatedDate - */ -Role.prototype['CreatedDate'] = undefined; - -/** - * Role Description - * @member {String} Description - */ -Role.prototype['Description'] = undefined; - -/** - * Record Id - * @member {String} ID - */ -Role.prototype['ID'] = undefined; - -/** - * Last Modified By - * @member {String} LastModifiedByID - */ -Role.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modifed Date - * @member {String} LastModifiedDate - */ -Role.prototype['LastModifiedDate'] = undefined; - -/** - * The name of this role - * @member {String} RoleName - */ -Role.prototype['RoleName'] = undefined; - -/** - * The ID of the Tenant that owns this Role - * @member {String} TenantID - */ -Role.prototype['TenantID'] = undefined; - - - - - - -export default Role; - diff --git a/client/board/src/model/RuleExecution.js b/client/board/src/model/RuleExecution.js deleted file mode 100644 index f8bf60d..0000000 --- a/client/board/src/model/RuleExecution.js +++ /dev/null @@ -1,99 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 RuleExecution model module. - * @module model/RuleExecution - * @version 0.0.2 - */ -class RuleExecution { - /** - * Constructs a new RuleExecution. - * @alias module:model/RuleExecution - */ - constructor() { - - RuleExecution.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 RuleExecution 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/RuleExecution} obj Optional instance to populate. - * @return {module:model/RuleExecution} The populated RuleExecution instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new RuleExecution(); - - if (data.hasOwnProperty('SagaID')) { - obj['SagaID'] = ApiClient.convertToType(data['SagaID'], 'String'); - } - if (data.hasOwnProperty('SagaType')) { - obj['SagaType'] = ApiClient.convertToType(data['SagaType'], 'String'); - } - if (data.hasOwnProperty('RuleID')) { - obj['RuleID'] = ApiClient.convertToType(data['RuleID'], 'String'); - } - if (data.hasOwnProperty('RunID')) { - obj['RunID'] = ApiClient.convertToType(data['RunID'], 'String'); - } - } - return obj; - } - - -} - -/** - * The Taxnexus SagaID for this rule execution - * @member {String} SagaID - */ -RuleExecution.prototype['SagaID'] = undefined; - -/** - * The Taxnexus SagaType for this rule execution - * @member {String} SagaType - */ -RuleExecution.prototype['SagaType'] = undefined; - -/** - * The Temporal Workflow ID - * @member {String} RuleID - */ -RuleExecution.prototype['RuleID'] = undefined; - -/** - * The Temporal First Started Workflow Run ID - * @member {String} RunID - */ -RuleExecution.prototype['RunID'] = undefined; - - - - - - -export default RuleExecution; - diff --git a/client/board/src/model/Tenant.js b/client/board/src/model/Tenant.js deleted file mode 100644 index f95fbb1..0000000 --- a/client/board/src/model/Tenant.js +++ /dev/null @@ -1,190 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Database from './Database'; -import Role from './Role'; -import TenantUser from './TenantUser'; - -/** - * The Tenant model module. - * @module model/Tenant - * @version 0.0.2 - */ -class Tenant { - /** - * Constructs a new Tenant. - * Taxnexus Account Tenant - * @alias module:model/Tenant - */ - constructor() { - - Tenant.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 Tenant 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/Tenant} obj Optional instance to populate. - * @return {module:model/Tenant} The populated Tenant instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Tenant(); - - if (data.hasOwnProperty('AccountID')) { - obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String'); - } - if (data.hasOwnProperty('Active')) { - obj['Active'] = ApiClient.convertToType(data['Active'], 'Boolean'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('Databases')) { - obj['Databases'] = ApiClient.convertToType(data['Databases'], [Database]); - } - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('Roles')) { - obj['Roles'] = ApiClient.convertToType(data['Roles'], [Role]); - } - if (data.hasOwnProperty('Status')) { - obj['Status'] = ApiClient.convertToType(data['Status'], 'String'); - } - if (data.hasOwnProperty('TenantName')) { - obj['TenantName'] = ApiClient.convertToType(data['TenantName'], 'String'); - } - if (data.hasOwnProperty('TenantUsers')) { - obj['TenantUsers'] = ApiClient.convertToType(data['TenantUsers'], [TenantUser]); - } - if (data.hasOwnProperty('Type')) { - obj['Type'] = ApiClient.convertToType(data['Type'], 'String'); - } - if (data.hasOwnProperty('Version')) { - obj['Version'] = ApiClient.convertToType(data['Version'], 'String'); - } - } - return obj; - } - - -} - -/** - * The Account that owns this Tenant - * @member {String} AccountID - */ -Tenant.prototype['AccountID'] = undefined; - -/** - * Is this Tenant currently active? - * @member {Boolean} Active - */ -Tenant.prototype['Active'] = undefined; - -/** - * Created By - * @member {String} CreatedByID - */ -Tenant.prototype['CreatedByID'] = undefined; - -/** - * Created Date - * @member {String} CreatedDate - */ -Tenant.prototype['CreatedDate'] = undefined; - -/** - * @member {Array.} Databases - */ -Tenant.prototype['Databases'] = undefined; - -/** - * Record Id - * @member {String} ID - */ -Tenant.prototype['ID'] = undefined; - -/** - * Last Modified By - * @member {String} LastModifiedByID - */ -Tenant.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modifed Date - * @member {String} LastModifiedDate - */ -Tenant.prototype['LastModifiedDate'] = undefined; - -/** - * @member {Array.} Roles - */ -Tenant.prototype['Roles'] = undefined; - -/** - * The current status of this Tenant - * @member {String} Status - */ -Tenant.prototype['Status'] = undefined; - -/** - * Name of the Tenant Resource - * @member {String} TenantName - */ -Tenant.prototype['TenantName'] = undefined; - -/** - * @member {Array.} TenantUsers - */ -Tenant.prototype['TenantUsers'] = undefined; - -/** - * The type of Tenant - * @member {String} Type - */ -Tenant.prototype['Type'] = undefined; - -/** - * The version number of the Tenant Onboarding system used to create this tenant - * @member {String} Version - */ -Tenant.prototype['Version'] = undefined; - - - - - - -export default Tenant; - diff --git a/client/board/src/model/TenantUser.js b/client/board/src/model/TenantUser.js deleted file mode 100644 index d81d683..0000000 --- a/client/board/src/model/TenantUser.js +++ /dev/null @@ -1,208 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 TenantUser model module. - * @module model/TenantUser - * @version 0.0.2 - */ -class TenantUser { - /** - * Constructs a new TenantUser. - * Relationship object that connects users to a tenant - * @alias module:model/TenantUser - */ - constructor() { - - TenantUser.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 TenantUser 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/TenantUser} obj Optional instance to populate. - * @return {module:model/TenantUser} The populated TenantUser instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new TenantUser(); - - if (data.hasOwnProperty('AccessLevel')) { - obj['AccessLevel'] = ApiClient.convertToType(data['AccessLevel'], 'String'); - } - if (data.hasOwnProperty('AccountID')) { - obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String'); - } - if (data.hasOwnProperty('Auth0UserID')) { - obj['Auth0UserID'] = ApiClient.convertToType(data['Auth0UserID'], 'String'); - } - if (data.hasOwnProperty('CompanyName')) { - obj['CompanyName'] = ApiClient.convertToType(data['CompanyName'], 'String'); - } - if (data.hasOwnProperty('ContactID')) { - obj['ContactID'] = ApiClient.convertToType(data['ContactID'], 'String'); - } - if (data.hasOwnProperty('TaxnexusAccount')) { - obj['TaxnexusAccount'] = ApiClient.convertToType(data['TaxnexusAccount'], 'String'); - } - if (data.hasOwnProperty('TenantActive')) { - obj['TenantActive'] = ApiClient.convertToType(data['TenantActive'], 'Boolean'); - } - if (data.hasOwnProperty('TenantID')) { - obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String'); - } - if (data.hasOwnProperty('TenantName')) { - obj['TenantName'] = ApiClient.convertToType(data['TenantName'], 'String'); - } - if (data.hasOwnProperty('TenantStatus')) { - obj['TenantStatus'] = ApiClient.convertToType(data['TenantStatus'], 'String'); - } - if (data.hasOwnProperty('TenantType')) { - obj['TenantType'] = ApiClient.convertToType(data['TenantType'], 'String'); - } - if (data.hasOwnProperty('TenantVersion')) { - obj['TenantVersion'] = ApiClient.convertToType(data['TenantVersion'], 'String'); - } - if (data.hasOwnProperty('UserEmail')) { - obj['UserEmail'] = ApiClient.convertToType(data['UserEmail'], 'String'); - } - if (data.hasOwnProperty('UserFullName')) { - obj['UserFullName'] = ApiClient.convertToType(data['UserFullName'], 'String'); - } - if (data.hasOwnProperty('UserID')) { - obj['UserID'] = ApiClient.convertToType(data['UserID'], 'String'); - } - if (data.hasOwnProperty('Username')) { - obj['Username'] = ApiClient.convertToType(data['Username'], 'String'); - } - } - return obj; - } - - -} - -/** - * The makeTenantUser access level for this User - * @member {String} AccessLevel - */ -TenantUser.prototype['AccessLevel'] = undefined; - -/** - * Account ID - * @member {String} AccountID - */ -TenantUser.prototype['AccountID'] = undefined; - -/** - * Auth0 User ID - * @member {String} Auth0UserID - */ -TenantUser.prototype['Auth0UserID'] = undefined; - -/** - * Account Name - * @member {String} CompanyName - */ -TenantUser.prototype['CompanyName'] = undefined; - -/** - * Contact ID - * @member {String} ContactID - */ -TenantUser.prototype['ContactID'] = undefined; - -/** - * Taxnexus Account - * @member {String} TaxnexusAccount - */ -TenantUser.prototype['TaxnexusAccount'] = undefined; - -/** - * Tenant active? - * @member {Boolean} TenantActive - */ -TenantUser.prototype['TenantActive'] = undefined; - -/** - * The Tenant ID - * @member {String} TenantID - */ -TenantUser.prototype['TenantID'] = undefined; - -/** - * Tenant Name - * @member {String} TenantName - */ -TenantUser.prototype['TenantName'] = undefined; - -/** - * Tenant Status - * @member {String} TenantStatus - */ -TenantUser.prototype['TenantStatus'] = undefined; - -/** - * Tenant type - * @member {String} TenantType - */ -TenantUser.prototype['TenantType'] = undefined; - -/** - * Tenant Version - * @member {String} TenantVersion - */ -TenantUser.prototype['TenantVersion'] = undefined; - -/** - * User Email Address - * @member {String} UserEmail - */ -TenantUser.prototype['UserEmail'] = undefined; - -/** - * User Full Name - * @member {String} UserFullName - */ -TenantUser.prototype['UserFullName'] = undefined; - -/** - * The User ID - * @member {String} UserID - */ -TenantUser.prototype['UserID'] = undefined; - -/** - * Username - * @member {String} Username - */ -TenantUser.prototype['Username'] = undefined; - - - - - - -export default TenantUser; - diff --git a/client/board/src/model/User.js b/client/board/src/model/User.js deleted file mode 100644 index 1f13b3c..0000000 --- a/client/board/src/model/User.js +++ /dev/null @@ -1,584 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Address from './Address'; -import TenantUser from './TenantUser'; -import UserRole from './UserRole'; - -/** - * The User model module. - * @module model/User - * @version 0.0.2 - */ -class User { - /** - * Constructs a new User. - * @alias module:model/User - */ - constructor() { - - User.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 User 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/User} obj Optional instance to populate. - * @return {module:model/User} The populated User instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new User(); - - if (data.hasOwnProperty('APIKey')) { - obj['APIKey'] = ApiClient.convertToType(data['APIKey'], 'String'); - } - if (data.hasOwnProperty('AboutMe')) { - obj['AboutMe'] = ApiClient.convertToType(data['AboutMe'], 'String'); - } - if (data.hasOwnProperty('AccountID')) { - obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String'); - } - if (data.hasOwnProperty('Address')) { - obj['Address'] = Address.constructFromObject(data['Address']); - } - if (data.hasOwnProperty('Alias')) { - obj['Alias'] = ApiClient.convertToType(data['Alias'], 'String'); - } - if (data.hasOwnProperty('Auth0UserID')) { - obj['Auth0UserID'] = ApiClient.convertToType(data['Auth0UserID'], 'String'); - } - if (data.hasOwnProperty('CommunityNickname')) { - obj['CommunityNickname'] = ApiClient.convertToType(data['CommunityNickname'], 'String'); - } - if (data.hasOwnProperty('CompanyName')) { - obj['CompanyName'] = ApiClient.convertToType(data['CompanyName'], 'String'); - } - if (data.hasOwnProperty('ContactID')) { - obj['ContactID'] = ApiClient.convertToType(data['ContactID'], 'String'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('DelegatedApproverID')) { - obj['DelegatedApproverID'] = ApiClient.convertToType(data['DelegatedApproverID'], 'String'); - } - if (data.hasOwnProperty('Department')) { - obj['Department'] = ApiClient.convertToType(data['Department'], 'String'); - } - if (data.hasOwnProperty('Division')) { - obj['Division'] = ApiClient.convertToType(data['Division'], 'String'); - } - if (data.hasOwnProperty('Email')) { - obj['Email'] = ApiClient.convertToType(data['Email'], 'String'); - } - if (data.hasOwnProperty('EmployeeNumber')) { - obj['EmployeeNumber'] = ApiClient.convertToType(data['EmployeeNumber'], 'String'); - } - if (data.hasOwnProperty('EndOfDay')) { - obj['EndOfDay'] = ApiClient.convertToType(data['EndOfDay'], 'String'); - } - if (data.hasOwnProperty('Environment')) { - obj['Environment'] = ApiClient.convertToType(data['Environment'], 'String'); - } - if (data.hasOwnProperty('Extension')) { - obj['Extension'] = ApiClient.convertToType(data['Extension'], 'String'); - } - if (data.hasOwnProperty('FabricAPIKey')) { - obj['FabricAPIKey'] = ApiClient.convertToType(data['FabricAPIKey'], 'String'); - } - if (data.hasOwnProperty('Fax')) { - obj['Fax'] = ApiClient.convertToType(data['Fax'], 'String'); - } - if (data.hasOwnProperty('FirstName')) { - obj['FirstName'] = ApiClient.convertToType(data['FirstName'], 'String'); - } - if (data.hasOwnProperty('ForecastEnabled')) { - obj['ForecastEnabled'] = ApiClient.convertToType(data['ForecastEnabled'], 'Boolean'); - } - if (data.hasOwnProperty('FullPhotoURL')) { - obj['FullPhotoURL'] = ApiClient.convertToType(data['FullPhotoURL'], 'String'); - } - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('IsActive')) { - obj['IsActive'] = ApiClient.convertToType(data['IsActive'], 'Boolean'); - } - if (data.hasOwnProperty('IsPortalEnabled')) { - obj['IsPortalEnabled'] = ApiClient.convertToType(data['IsPortalEnabled'], 'Boolean'); - } - if (data.hasOwnProperty('IsProphilePhotoActive')) { - obj['IsProphilePhotoActive'] = ApiClient.convertToType(data['IsProphilePhotoActive'], 'Boolean'); - } - if (data.hasOwnProperty('IsSystemControlled')) { - obj['IsSystemControlled'] = ApiClient.convertToType(data['IsSystemControlled'], 'Boolean'); - } - if (data.hasOwnProperty('LastIP')) { - obj['LastIP'] = ApiClient.convertToType(data['LastIP'], 'String'); - } - if (data.hasOwnProperty('LastLogin')) { - obj['LastLogin'] = ApiClient.convertToType(data['LastLogin'], 'String'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('LastName')) { - obj['LastName'] = ApiClient.convertToType(data['LastName'], 'String'); - } - if (data.hasOwnProperty('LoginCount')) { - obj['LoginCount'] = ApiClient.convertToType(data['LoginCount'], 'Number'); - } - if (data.hasOwnProperty('ManagerID')) { - obj['ManagerID'] = ApiClient.convertToType(data['ManagerID'], 'String'); - } - if (data.hasOwnProperty('MobilePhone')) { - obj['MobilePhone'] = ApiClient.convertToType(data['MobilePhone'], 'String'); - } - if (data.hasOwnProperty('Name')) { - obj['Name'] = ApiClient.convertToType(data['Name'], 'String'); - } - if (data.hasOwnProperty('OutOfOfficeMessage')) { - obj['OutOfOfficeMessage'] = ApiClient.convertToType(data['OutOfOfficeMessage'], 'String'); - } - if (data.hasOwnProperty('Phone')) { - obj['Phone'] = ApiClient.convertToType(data['Phone'], 'String'); - } - if (data.hasOwnProperty('PortalRole')) { - obj['PortalRole'] = ApiClient.convertToType(data['PortalRole'], 'String'); - } - if (data.hasOwnProperty('ProfileID')) { - obj['ProfileID'] = ApiClient.convertToType(data['ProfileID'], 'String'); - } - if (data.hasOwnProperty('ReceivesAdminEmails')) { - obj['ReceivesAdminEmails'] = ApiClient.convertToType(data['ReceivesAdminEmails'], 'Boolean'); - } - if (data.hasOwnProperty('ReceivesAdminInfoEmails')) { - obj['ReceivesAdminInfoEmails'] = ApiClient.convertToType(data['ReceivesAdminInfoEmails'], 'Boolean'); - } - if (data.hasOwnProperty('SenderEmail')) { - obj['SenderEmail'] = ApiClient.convertToType(data['SenderEmail'], 'String'); - } - if (data.hasOwnProperty('SenderName')) { - obj['SenderName'] = ApiClient.convertToType(data['SenderName'], 'String'); - } - if (data.hasOwnProperty('Signature')) { - obj['Signature'] = ApiClient.convertToType(data['Signature'], 'String'); - } - if (data.hasOwnProperty('SmallPhotoURL')) { - obj['SmallPhotoURL'] = ApiClient.convertToType(data['SmallPhotoURL'], 'String'); - } - if (data.hasOwnProperty('StartOfDay')) { - obj['StartOfDay'] = ApiClient.convertToType(data['StartOfDay'], 'String'); - } - if (data.hasOwnProperty('TaxnexusAccount')) { - obj['TaxnexusAccount'] = ApiClient.convertToType(data['TaxnexusAccount'], 'String'); - } - if (data.hasOwnProperty('TenantID')) { - obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String'); - } - if (data.hasOwnProperty('TenantUsers')) { - obj['TenantUsers'] = ApiClient.convertToType(data['TenantUsers'], [TenantUser]); - } - if (data.hasOwnProperty('TimeZone')) { - obj['TimeZone'] = ApiClient.convertToType(data['TimeZone'], 'String'); - } - if (data.hasOwnProperty('Title')) { - obj['Title'] = ApiClient.convertToType(data['Title'], 'String'); - } - if (data.hasOwnProperty('UserRoleID')) { - obj['UserRoleID'] = ApiClient.convertToType(data['UserRoleID'], 'String'); - } - if (data.hasOwnProperty('UserRoles')) { - obj['UserRoles'] = ApiClient.convertToType(data['UserRoles'], [UserRole]); - } - if (data.hasOwnProperty('UserType')) { - obj['UserType'] = ApiClient.convertToType(data['UserType'], 'String'); - } - if (data.hasOwnProperty('Username')) { - obj['Username'] = ApiClient.convertToType(data['Username'], 'String'); - } - } - return obj; - } - - -} - -/** - * API Key - * @member {String} APIKey - */ -User.prototype['APIKey'] = undefined; - -/** - * About Me - * @member {String} AboutMe - */ -User.prototype['AboutMe'] = undefined; - -/** - * Account ID - * @member {String} AccountID - */ -User.prototype['AccountID'] = undefined; - -/** - * @member {module:model/Address} Address - */ -User.prototype['Address'] = undefined; - -/** - * Alias - * @member {String} Alias - */ -User.prototype['Alias'] = undefined; - -/** - * Auth0 User Id - * @member {String} Auth0UserID - */ -User.prototype['Auth0UserID'] = undefined; - -/** - * Nickname - * @member {String} CommunityNickname - */ -User.prototype['CommunityNickname'] = undefined; - -/** - * Company Name - * @member {String} CompanyName - */ -User.prototype['CompanyName'] = undefined; - -/** - * Contact - * @member {String} ContactID - */ -User.prototype['ContactID'] = undefined; - -/** - * Created User ID - * @member {String} CreatedByID - */ -User.prototype['CreatedByID'] = undefined; - -/** - * Date Created - * @member {String} CreatedDate - */ -User.prototype['CreatedDate'] = undefined; - -/** - * Delegated Approver - * @member {String} DelegatedApproverID - */ -User.prototype['DelegatedApproverID'] = undefined; - -/** - * Department - * @member {String} Department - */ -User.prototype['Department'] = undefined; - -/** - * Division - * @member {String} Division - */ -User.prototype['Division'] = undefined; - -/** - * Email address - * @member {String} Email - */ -User.prototype['Email'] = undefined; - -/** - * Employee Number - * @member {String} EmployeeNumber - */ -User.prototype['EmployeeNumber'] = undefined; - -/** - * Time day ends - * @member {String} EndOfDay - */ -User.prototype['EndOfDay'] = undefined; - -/** - * Environment - * @member {String} Environment - */ -User.prototype['Environment'] = undefined; - -/** - * Extension - * @member {String} Extension - */ -User.prototype['Extension'] = undefined; - -/** - * Fabric API Key - * @member {String} FabricAPIKey - */ -User.prototype['FabricAPIKey'] = undefined; - -/** - * Fax - * @member {String} Fax - */ -User.prototype['Fax'] = undefined; - -/** - * The first name - * @member {String} FirstName - */ -User.prototype['FirstName'] = undefined; - -/** - * Allow Forecasting - * @member {Boolean} ForecastEnabled - */ -User.prototype['ForecastEnabled'] = undefined; - -/** - * Full Photo URL - * @member {String} FullPhotoURL - */ -User.prototype['FullPhotoURL'] = undefined; - -/** - * Taxnexus ID - * @member {String} ID - */ -User.prototype['ID'] = undefined; - -/** - * Active - * @member {Boolean} IsActive - */ -User.prototype['IsActive'] = undefined; - -/** - * Is the user enabled for Communities? - * @member {Boolean} IsPortalEnabled - */ -User.prototype['IsPortalEnabled'] = undefined; - -/** - * Has Profile Photo - * @member {Boolean} IsProphilePhotoActive - */ -User.prototype['IsProphilePhotoActive'] = undefined; - -/** - * @member {Boolean} IsSystemControlled - */ -User.prototype['IsSystemControlled'] = undefined; - -/** - * IP address of last login - * @member {String} LastIP - */ -User.prototype['LastIP'] = undefined; - -/** - * Last login time - * @member {String} LastLogin - */ -User.prototype['LastLogin'] = undefined; - -/** - * Last Modified User ID - * @member {String} LastModifiedByID - */ -User.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modified Date - * @member {String} LastModifiedDate - */ -User.prototype['LastModifiedDate'] = undefined; - -/** - * The Last Name - * @member {String} LastName - */ -User.prototype['LastName'] = undefined; - -/** - * Number of times user has logged in - * @member {Number} LoginCount - */ -User.prototype['LoginCount'] = undefined; - -/** - * Manager - * @member {String} ManagerID - */ -User.prototype['ManagerID'] = undefined; - -/** - * Mobile - * @member {String} MobilePhone - */ -User.prototype['MobilePhone'] = undefined; - -/** - * Name - * @member {String} Name - */ -User.prototype['Name'] = undefined; - -/** - * Out of office message - * @member {String} OutOfOfficeMessage - */ -User.prototype['OutOfOfficeMessage'] = undefined; - -/** - * Phone - * @member {String} Phone - */ -User.prototype['Phone'] = undefined; - -/** - * Portal Role Level - * @member {String} PortalRole - */ -User.prototype['PortalRole'] = undefined; - -/** - * Profile - * @member {String} ProfileID - */ -User.prototype['ProfileID'] = undefined; - -/** - * Info Emails - * @member {Boolean} ReceivesAdminEmails - */ -User.prototype['ReceivesAdminEmails'] = undefined; - -/** - * Admin Info Emails - * @member {Boolean} ReceivesAdminInfoEmails - */ -User.prototype['ReceivesAdminInfoEmails'] = undefined; - -/** - * Email Sender Address - * @member {String} SenderEmail - */ -User.prototype['SenderEmail'] = undefined; - -/** - * Email Sender Name - * @member {String} SenderName - */ -User.prototype['SenderName'] = undefined; - -/** - * Email Signature - * @member {String} Signature - */ -User.prototype['Signature'] = undefined; - -/** - * Small Photo URL - * @member {String} SmallPhotoURL - */ -User.prototype['SmallPhotoURL'] = undefined; - -/** - * The time day starts - * @member {String} StartOfDay - */ -User.prototype['StartOfDay'] = undefined; - -/** - * Taxnexus Account - * @member {String} TaxnexusAccount - */ -User.prototype['TaxnexusAccount'] = undefined; - -/** - * Tenant ID - * @member {String} TenantID - */ -User.prototype['TenantID'] = undefined; - -/** - * @member {Array.} TenantUsers - */ -User.prototype['TenantUsers'] = undefined; - -/** - * Time Zone - * @member {String} TimeZone - */ -User.prototype['TimeZone'] = undefined; - -/** - * Title - * @member {String} Title - */ -User.prototype['Title'] = undefined; - -/** - * Role - * @member {String} UserRoleID - */ -User.prototype['UserRoleID'] = undefined; - -/** - * @member {Array.} UserRoles - */ -User.prototype['UserRoles'] = undefined; - -/** - * User Type - * @member {String} UserType - */ -User.prototype['UserType'] = undefined; - -/** - * Username - * @member {String} Username - */ -User.prototype['Username'] = undefined; - - - - - - -export default User; - diff --git a/client/board/src/model/UserAuth.js b/client/board/src/model/UserAuth.js deleted file mode 100644 index 8154fb4..0000000 --- a/client/board/src/model/UserAuth.js +++ /dev/null @@ -1,126 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 UserAuth model module. - * @module model/UserAuth - * @version 0.0.2 - */ -class UserAuth { - /** - * Constructs a new UserAuth. - * @alias module:model/UserAuth - */ - constructor() { - - UserAuth.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 UserAuth 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/UserAuth} obj Optional instance to populate. - * @return {module:model/UserAuth} The populated UserAuth instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new UserAuth(); - - if (data.hasOwnProperty('APIKey')) { - obj['APIKey'] = ApiClient.convertToType(data['APIKey'], 'String'); - } - if (data.hasOwnProperty('AccountID')) { - obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String'); - } - if (data.hasOwnProperty('ContactID')) { - obj['ContactID'] = ApiClient.convertToType(data['ContactID'], 'String'); - } - if (data.hasOwnProperty('Email')) { - obj['Email'] = ApiClient.convertToType(data['Email'], 'String'); - } - if (data.hasOwnProperty('Roles')) { - obj['Roles'] = ApiClient.convertToType(data['Roles'], ['String']); - } - if (data.hasOwnProperty('Tenants')) { - obj['Tenants'] = ApiClient.convertToType(data['Tenants'], ['String']); - } - if (data.hasOwnProperty('UserID')) { - obj['UserID'] = ApiClient.convertToType(data['UserID'], 'String'); - } - } - return obj; - } - - -} - -/** - * API Key - * @member {String} APIKey - */ -UserAuth.prototype['APIKey'] = undefined; - -/** - * Account ID - * @member {String} AccountID - */ -UserAuth.prototype['AccountID'] = undefined; - -/** - * Contact - * @member {String} ContactID - */ -UserAuth.prototype['ContactID'] = undefined; - -/** - * Email address - * @member {String} Email - */ -UserAuth.prototype['Email'] = undefined; - -/** - * Valid Roles for all tenants - * @member {Array.} Roles - */ -UserAuth.prototype['Roles'] = undefined; - -/** - * Valid Tenants - * @member {Array.} Tenants - */ -UserAuth.prototype['Tenants'] = undefined; - -/** - * Taxneuxs User ID - * @member {String} UserID - */ -UserAuth.prototype['UserID'] = undefined; - - - - - - -export default UserAuth; - diff --git a/client/board/src/model/UserRole.js b/client/board/src/model/UserRole.js deleted file mode 100644 index d90238c..0000000 --- a/client/board/src/model/UserRole.js +++ /dev/null @@ -1,181 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 UserRole model module. - * @module model/UserRole - * @version 0.0.2 - */ -class UserRole { - /** - * Constructs a new UserRole. - * Relationship object to connect a user to a role - * @alias module:model/UserRole - */ - constructor() { - - UserRole.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 UserRole 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/UserRole} obj Optional instance to populate. - * @return {module:model/UserRole} The populated UserRole instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new UserRole(); - - if (data.hasOwnProperty('AccountID')) { - obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String'); - } - if (data.hasOwnProperty('Auth0RoleID')) { - obj['Auth0RoleID'] = ApiClient.convertToType(data['Auth0RoleID'], 'String'); - } - if (data.hasOwnProperty('Auth0UserID')) { - obj['Auth0UserID'] = ApiClient.convertToType(data['Auth0UserID'], 'String'); - } - if (data.hasOwnProperty('CompanyName')) { - obj['CompanyName'] = ApiClient.convertToType(data['CompanyName'], 'String'); - } - if (data.hasOwnProperty('ContactID')) { - obj['ContactID'] = ApiClient.convertToType(data['ContactID'], 'String'); - } - if (data.hasOwnProperty('RoleDescription')) { - obj['RoleDescription'] = ApiClient.convertToType(data['RoleDescription'], 'String'); - } - if (data.hasOwnProperty('RoleID')) { - obj['RoleID'] = ApiClient.convertToType(data['RoleID'], 'String'); - } - if (data.hasOwnProperty('RoleName')) { - obj['RoleName'] = ApiClient.convertToType(data['RoleName'], 'String'); - } - if (data.hasOwnProperty('TaxnexusAccount')) { - obj['TaxnexusAccount'] = ApiClient.convertToType(data['TaxnexusAccount'], 'String'); - } - if (data.hasOwnProperty('UserEmail')) { - obj['UserEmail'] = ApiClient.convertToType(data['UserEmail'], 'String'); - } - if (data.hasOwnProperty('UserFullName')) { - obj['UserFullName'] = ApiClient.convertToType(data['UserFullName'], 'String'); - } - if (data.hasOwnProperty('UserID')) { - obj['UserID'] = ApiClient.convertToType(data['UserID'], 'String'); - } - if (data.hasOwnProperty('Username')) { - obj['Username'] = ApiClient.convertToType(data['Username'], 'String'); - } - } - return obj; - } - - -} - -/** - * Account Id - * @member {String} AccountID - */ -UserRole.prototype['AccountID'] = undefined; - -/** - * Linked role ID - * @member {String} Auth0RoleID - */ -UserRole.prototype['Auth0RoleID'] = undefined; - -/** - * Auth0 User ID - * @member {String} Auth0UserID - */ -UserRole.prototype['Auth0UserID'] = undefined; - -/** - * Company Name - * @member {String} CompanyName - */ -UserRole.prototype['CompanyName'] = undefined; - -/** - * Contact ID - * @member {String} ContactID - */ -UserRole.prototype['ContactID'] = undefined; - -/** - * Role description - * @member {String} RoleDescription - */ -UserRole.prototype['RoleDescription'] = undefined; - -/** - * The Role ID - * @member {String} RoleID - */ -UserRole.prototype['RoleID'] = undefined; - -/** - * Role Name - * @member {String} RoleName - */ -UserRole.prototype['RoleName'] = undefined; - -/** - * Taxnexus Account Number - * @member {String} TaxnexusAccount - */ -UserRole.prototype['TaxnexusAccount'] = undefined; - -/** - * User Email Address - * @member {String} UserEmail - */ -UserRole.prototype['UserEmail'] = undefined; - -/** - * User Full Name - * @member {String} UserFullName - */ -UserRole.prototype['UserFullName'] = undefined; - -/** - * The User ID - * @member {String} UserID - */ -UserRole.prototype['UserID'] = undefined; - -/** - * Username - * @member {String} Username - */ -UserRole.prototype['Username'] = undefined; - - - - - - -export default UserRole; - diff --git a/client/board/test/api/CorsApi.spec.js b/client/board/test/api/CorsApi.spec.js deleted file mode 100644 index 5c2ae9f..0000000 --- a/client/board/test/api/CorsApi.spec.js +++ /dev/null @@ -1,103 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Board); - } -}(this, function(expect, Board) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Board.CorsApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('CorsApi', function() { - describe('developerOptions', function() { - it('should call developerOptions successfully', function(done) { - //uncomment below and update the code to test developerOptions - //instance.developerOptions(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('iqOptions', function() { - it('should call iqOptions successfully', function(done) { - //uncomment below and update the code to test iqOptions - //instance.iqOptions(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('leadsOptions', function() { - it('should call leadsOptions successfully', function(done) { - //uncomment below and update the code to test leadsOptions - //instance.leadsOptions(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('userAuthOptions', function() { - it('should call userAuthOptions successfully', function(done) { - //uncomment below and update the code to test userAuthOptions - //instance.userAuthOptions(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('userOptions', function() { - it('should call userOptions successfully', function(done) { - //uncomment below and update the code to test userOptions - //instance.userOptions(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/board/test/api/DevelopersApi.spec.js b/client/board/test/api/DevelopersApi.spec.js deleted file mode 100644 index fb3c9cf..0000000 --- a/client/board/test/api/DevelopersApi.spec.js +++ /dev/null @@ -1,63 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Board); - } -}(this, function(expect, Board) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Board.DevelopersApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('DevelopersApi', function() { - describe('postDevelopers', function() { - it('should call postDevelopers successfully', function(done) { - //uncomment below and update the code to test postDevelopers - //instance.postDevelopers(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/board/test/api/IqApi.spec.js b/client/board/test/api/IqApi.spec.js deleted file mode 100644 index ba30749..0000000 --- a/client/board/test/api/IqApi.spec.js +++ /dev/null @@ -1,63 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Board); - } -}(this, function(expect, Board) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Board.IqApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('IqApi', function() { - describe('postIQ', function() { - it('should call postIQ successfully', function(done) { - //uncomment below and update the code to test postIQ - //instance.postIQ(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/board/test/api/LeadsApi.spec.js b/client/board/test/api/LeadsApi.spec.js deleted file mode 100644 index 3a457ab..0000000 --- a/client/board/test/api/LeadsApi.spec.js +++ /dev/null @@ -1,73 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Board); - } -}(this, function(expect, Board) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Board.LeadsApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('LeadsApi', function() { - describe('postLeads', function() { - it('should call postLeads successfully', function(done) { - //uncomment below and update the code to test postLeads - //instance.postLeads(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('putLeads', function() { - it('should call putLeads successfully', function(done) { - //uncomment below and update the code to test putLeads - //instance.putLeads(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/board/test/api/UserAuthApi.spec.js b/client/board/test/api/UserAuthApi.spec.js deleted file mode 100644 index 601a71a..0000000 --- a/client/board/test/api/UserAuthApi.spec.js +++ /dev/null @@ -1,63 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Board); - } -}(this, function(expect, Board) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Board.UserAuthApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('UserAuthApi', function() { - describe('getUserAuth', function() { - it('should call getUserAuth successfully', function(done) { - //uncomment below and update the code to test getUserAuth - //instance.getUserAuth(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/board/test/api/UsersApi.spec.js b/client/board/test/api/UsersApi.spec.js deleted file mode 100644 index cadc572..0000000 --- a/client/board/test/api/UsersApi.spec.js +++ /dev/null @@ -1,63 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Board); - } -}(this, function(expect, Board) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Board.UsersApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('UsersApi', function() { - describe('getUsers', function() { - it('should call getUsers successfully', function(done) { - //uncomment below and update the code to test getUsers - //instance.getUsers(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/board/test/model/Account.spec.js b/client/board/test/model/Account.spec.js deleted file mode 100644 index 8ce0998..0000000 --- a/client/board/test/model/Account.spec.js +++ /dev/null @@ -1,581 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Board); - } -}(this, function(expect, Board) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Board.Account(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Account', function() { - it('should create an instance of Account', function() { - // uncomment below and update the code to test Account - //var instance = new Board.Account(); - //expect(instance).to.be.a(Board.Account); - }); - - it('should have the property accountNumber (base name: "AccountNumber")', function() { - // uncomment below and update the code to test the property accountNumber - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property accountSource (base name: "AccountSource")', function() { - // uncomment below and update the code to test the property accountSource - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property active (base name: "Active")', function() { - // uncomment below and update the code to test the property active - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property administrativeLevel (base name: "AdministrativeLevel")', function() { - // uncomment below and update the code to test the property administrativeLevel - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property amount (base name: "Amount")', function() { - // uncomment below and update the code to test the property amount - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property amountInvoiced (base name: "AmountInvoiced")', function() { - // uncomment below and update the code to test the property amountInvoiced - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property amountPaid (base name: "AmountPaid")', function() { - // uncomment below and update the code to test the property amountPaid - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property annualRevenue (base name: "AnnualRevenue")', function() { - // uncomment below and update the code to test the property annualRevenue - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property balance (base name: "Balance")', function() { - // uncomment below and update the code to test the property balance - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property billingAddress (base name: "BillingAddress")', function() { - // uncomment below and update the code to test the property billingAddress - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property billingContactID (base name: "BillingContactID")', function() { - // uncomment below and update the code to test the property billingContactID - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property billingPreference (base name: "BillingPreference")', function() { - // uncomment below and update the code to test the property billingPreference - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property businessAddress (base name: "BusinessAddress")', function() { - // uncomment below and update the code to test the property businessAddress - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property cannabisCustomer (base name: "CannabisCustomer")', function() { - // uncomment below and update the code to test the property cannabisCustomer - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property channelProgramLevelName (base name: "ChannelProgramLevelName")', function() { - // uncomment below and update the code to test the property channelProgramLevelName - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property channelProgramName (base name: "ChannelProgramName")', function() { - // uncomment below and update the code to test the property channelProgramName - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property clientEndDate (base name: "ClientEndDate")', function() { - // uncomment below and update the code to test the property clientEndDate - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property clientStartDate (base name: "ClientStartDate")', function() { - // uncomment below and update the code to test the property clientStartDate - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property companyID (base name: "CompanyID")', function() { - // uncomment below and update the code to test the property companyID - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property coordinateID (base name: "CoordinateID")', function() { - // uncomment below and update the code to test the property coordinateID - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property customerID (base name: "CustomerID")', function() { - // uncomment below and update the code to test the property customerID - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property customerPriority (base name: "CustomerPriority")', function() { - // uncomment below and update the code to test the property customerPriority - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property DBA (base name: "DBA")', function() { - // uncomment below and update the code to test the property DBA - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property dUNSNumber (base name: "DUNSNumber")', function() { - // uncomment below and update the code to test the property dUNSNumber - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property dandBCompanyID (base name: "DandBCompanyID")', function() { - // uncomment below and update the code to test the property dandBCompanyID - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property defaultAddress (base name: "DefaultAddress")', function() { - // uncomment below and update the code to test the property defaultAddress - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property defaultBackendID (base name: "DefaultBackendID")', function() { - // uncomment below and update the code to test the property defaultBackendID - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property defaultDeliveryContactID (base name: "DefaultDeliveryContactID")', function() { - // uncomment below and update the code to test the property defaultDeliveryContactID - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property defaultEndUserID (base name: "DefaultEndUserID")', function() { - // uncomment below and update the code to test the property defaultEndUserID - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "Description")', function() { - // uncomment below and update the code to test the property description - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property EIN (base name: "EIN")', function() { - // uncomment below and update the code to test the property EIN - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property email (base name: "Email")', function() { - // uncomment below and update the code to test the property email - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property enrollmentStatus (base name: "EnrollmentStatus")', function() { - // uncomment below and update the code to test the property enrollmentStatus - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property fax (base name: "Fax")', function() { - // uncomment below and update the code to test the property fax - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property iSPCustomer (base name: "ISPCustomer")', function() { - // uncomment below and update the code to test the property iSPCustomer - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property industry (base name: "Industry")', function() { - // uncomment below and update the code to test the property industry - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property isCustomerPortal (base name: "IsCustomerPortal")', function() { - // uncomment below and update the code to test the property isCustomerPortal - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property isPartner (base name: "IsPartner")', function() { - // uncomment below and update the code to test the property isPartner - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property jigSaw (base name: "JigSaw")', function() { - // uncomment below and update the code to test the property jigSaw - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property mSPCustomer (base name: "MSPCustomer")', function() { - // uncomment below and update the code to test the property mSPCustomer - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property nAICSCode (base name: "NAICSCode")', function() { - // uncomment below and update the code to test the property nAICSCode - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property nAICSDesc (base name: "NAICSDesc")', function() { - // uncomment below and update the code to test the property nAICSDesc - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "Name")', function() { - // uncomment below and update the code to test the property name - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property numberOfEmployees (base name: "NumberOfEmployees")', function() { - // uncomment below and update the code to test the property numberOfEmployees - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property numberOfLocations (base name: "NumberOfLocations")', function() { - // uncomment below and update the code to test the property numberOfLocations - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property openCharges (base name: "OpenCharges")', function() { - // uncomment below and update the code to test the property openCharges - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property orderContactID (base name: "OrderContactID")', function() { - // uncomment below and update the code to test the property orderContactID - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property orderEmail (base name: "OrderEmail")', function() { - // uncomment below and update the code to test the property orderEmail - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property ownerID (base name: "OwnerID")', function() { - // uncomment below and update the code to test the property ownerID - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property ownership (base name: "Ownership")', function() { - // uncomment below and update the code to test the property ownership - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property parentFK (base name: "ParentFK")', function() { - // uncomment below and update the code to test the property parentFK - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property parentID (base name: "ParentID")', function() { - // uncomment below and update the code to test the property parentID - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property phone (base name: "Phone")', function() { - // uncomment below and update the code to test the property phone - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property placeID (base name: "PlaceID")', function() { - // uncomment below and update the code to test the property placeID - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property preparerID (base name: "PreparerID")', function() { - // uncomment below and update the code to test the property preparerID - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property rating (base name: "Rating")', function() { - // uncomment below and update the code to test the property rating - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property ratingEngineID (base name: "RatingEngineID")', function() { - // uncomment below and update the code to test the property ratingEngineID - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property ref (base name: "Ref")', function() { - // uncomment below and update the code to test the property ref - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property revenueBase (base name: "RevenueBase")', function() { - // uncomment below and update the code to test the property revenueBase - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property revenueNet (base name: "RevenueNet")', function() { - // uncomment below and update the code to test the property revenueNet - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property revenueNotTaxable (base name: "RevenueNotTaxable")', function() { - // uncomment below and update the code to test the property revenueNotTaxable - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property SIC (base name: "SIC")', function() { - // uncomment below and update the code to test the property SIC - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property sICDesc (base name: "SICDesc")', function() { - // uncomment below and update the code to test the property sICDesc - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property shippingAddress (base name: "ShippingAddress")', function() { - // uncomment below and update the code to test the property shippingAddress - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property shippingCensusTract (base name: "ShippingCensusTract")', function() { - // uncomment below and update the code to test the property shippingCensusTract - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property shippingConactID (base name: "ShippingConactID")', function() { - // uncomment below and update the code to test the property shippingConactID - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property shippingCounty (base name: "ShippingCounty")', function() { - // uncomment below and update the code to test the property shippingCounty - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property site (base name: "Site")', function() { - // uncomment below and update the code to test the property site - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property status (base name: "Status")', function() { - // uncomment below and update the code to test the property status - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property taxExemption (base name: "TaxExemption")', function() { - // uncomment below and update the code to test the property taxExemption - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property taxOnTax (base name: "TaxOnTax")', function() { - // uncomment below and update the code to test the property taxOnTax - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property telecomCustomer (base name: "TelecomCustomer")', function() { - // uncomment below and update the code to test the property telecomCustomer - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property tickerSymbol (base name: "TickerSymbol")', function() { - // uncomment below and update the code to test the property tickerSymbol - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property tradeStyle (base name: "TradeStyle")', function() { - // uncomment below and update the code to test the property tradeStyle - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property type (base name: "Type")', function() { - // uncomment below and update the code to test the property type - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property unappliedPayments (base name: "UnappliedPayments")', function() { - // uncomment below and update the code to test the property unappliedPayments - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property unitBase (base name: "UnitBase")', function() { - // uncomment below and update the code to test the property unitBase - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property upsellOpportunity (base name: "UpsellOpportunity")', function() { - // uncomment below and update the code to test the property upsellOpportunity - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property wHMCSClientID (base name: "WHMCSClientID")', function() { - // uncomment below and update the code to test the property wHMCSClientID - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property website (base name: "Website")', function() { - // uncomment below and update the code to test the property website - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property xeroContactID (base name: "XeroContactID")', function() { - // uncomment below and update the code to test the property xeroContactID - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - it('should have the property yearStarted (base name: "YearStarted")', function() { - // uncomment below and update the code to test the property yearStarted - //var instance = new Board.Account(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/board/test/model/Address.spec.js b/client/board/test/model/Address.spec.js deleted file mode 100644 index b36849e..0000000 --- a/client/board/test/model/Address.spec.js +++ /dev/null @@ -1,101 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Board); - } -}(this, function(expect, Board) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Board.Address(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Address', function() { - it('should create an instance of Address', function() { - // uncomment below and update the code to test Address - //var instance = new Board.Address(); - //expect(instance).to.be.a(Board.Address); - }); - - it('should have the property city (base name: "City")', function() { - // uncomment below and update the code to test the property city - //var instance = new Board.Address(); - //expect(instance).to.be(); - }); - - it('should have the property country (base name: "Country")', function() { - // uncomment below and update the code to test the property country - //var instance = new Board.Address(); - //expect(instance).to.be(); - }); - - it('should have the property countryCode (base name: "CountryCode")', function() { - // uncomment below and update the code to test the property countryCode - //var instance = new Board.Address(); - //expect(instance).to.be(); - }); - - it('should have the property postalCode (base name: "PostalCode")', function() { - // uncomment below and update the code to test the property postalCode - //var instance = new Board.Address(); - //expect(instance).to.be(); - }); - - it('should have the property state (base name: "State")', function() { - // uncomment below and update the code to test the property state - //var instance = new Board.Address(); - //expect(instance).to.be(); - }); - - it('should have the property stateCode (base name: "StateCode")', function() { - // uncomment below and update the code to test the property stateCode - //var instance = new Board.Address(); - //expect(instance).to.be(); - }); - - it('should have the property street (base name: "Street")', function() { - // uncomment below and update the code to test the property street - //var instance = new Board.Address(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/board/test/model/Contact.spec.js b/client/board/test/model/Contact.spec.js deleted file mode 100644 index 8f799ad..0000000 --- a/client/board/test/model/Contact.spec.js +++ /dev/null @@ -1,329 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Board); - } -}(this, function(expect, Board) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Board.Contact(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Contact', function() { - it('should create an instance of Contact', function() { - // uncomment below and update the code to test Contact - //var instance = new Board.Contact(); - //expect(instance).to.be.a(Board.Contact); - }); - - it('should have the property accountID (base name: "AccountID")', function() { - // uncomment below and update the code to test the property accountID - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property assistantName (base name: "AssistantName")', function() { - // uncomment below and update the code to test the property assistantName - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property assistantPhone (base name: "AssistantPhone")', function() { - // uncomment below and update the code to test the property assistantPhone - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property birthDate (base name: "BirthDate")', function() { - // uncomment below and update the code to test the property birthDate - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property department (base name: "Department")', function() { - // uncomment below and update the code to test the property department - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "Description")', function() { - // uncomment below and update the code to test the property description - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property doNotCall (base name: "DoNotCall")', function() { - // uncomment below and update the code to test the property doNotCall - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property email (base name: "Email")', function() { - // uncomment below and update the code to test the property email - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property emailBounceDate (base name: "EmailBounceDate")', function() { - // uncomment below and update the code to test the property emailBounceDate - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property emailBouncedReason (base name: "EmailBouncedReason")', function() { - // uncomment below and update the code to test the property emailBouncedReason - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property enrollmentStatus (base name: "EnrollmentStatus")', function() { - // uncomment below and update the code to test the property enrollmentStatus - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property fax (base name: "Fax")', function() { - // uncomment below and update the code to test the property fax - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property firstName (base name: "FirstName")', function() { - // uncomment below and update the code to test the property firstName - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property hasOptedOutOfEmail (base name: "HasOptedOutOfEmail")', function() { - // uncomment below and update the code to test the property hasOptedOutOfEmail - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property hasOptedOutOfFax (base name: "HasOptedOutOfFax")', function() { - // uncomment below and update the code to test the property hasOptedOutOfFax - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property homePhone (base name: "HomePhone")', function() { - // uncomment below and update the code to test the property homePhone - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property isEmailBounced (base name: "IsEmailBounced")', function() { - // uncomment below and update the code to test the property isEmailBounced - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property isProvisioned (base name: "IsProvisioned")', function() { - // uncomment below and update the code to test the property isProvisioned - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property lastName (base name: "LastName")', function() { - // uncomment below and update the code to test the property lastName - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property leadSource (base name: "LeadSource")', function() { - // uncomment below and update the code to test the property leadSource - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property level (base name: "Level")', function() { - // uncomment below and update the code to test the property level - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property linkedIn (base name: "LinkedIn")', function() { - // uncomment below and update the code to test the property linkedIn - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property mailingAddress (base name: "MailingAddress")', function() { - // uncomment below and update the code to test the property mailingAddress - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property mailingLists (base name: "MailingLists")', function() { - // uncomment below and update the code to test the property mailingLists - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property mobilePhone (base name: "MobilePhone")', function() { - // uncomment below and update the code to test the property mobilePhone - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "Name")', function() { - // uncomment below and update the code to test the property name - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property otherAddress (base name: "OtherAddress")', function() { - // uncomment below and update the code to test the property otherAddress - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property otherPhone (base name: "OtherPhone")', function() { - // uncomment below and update the code to test the property otherPhone - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property ownerID (base name: "OwnerID")', function() { - // uncomment below and update the code to test the property ownerID - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property personalEmail (base name: "PersonalEmail")', function() { - // uncomment below and update the code to test the property personalEmail - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property phone (base name: "Phone")', function() { - // uncomment below and update the code to test the property phone - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property photoURL (base name: "PhotoURL")', function() { - // uncomment below and update the code to test the property photoURL - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property recruitingStatus (base name: "RecruitingStatus")', function() { - // uncomment below and update the code to test the property recruitingStatus - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property ref (base name: "Ref")', function() { - // uncomment below and update the code to test the property ref - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property reportsToID (base name: "ReportsToID")', function() { - // uncomment below and update the code to test the property reportsToID - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property salutation (base name: "Salutation")', function() { - // uncomment below and update the code to test the property salutation - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property status (base name: "Status")', function() { - // uncomment below and update the code to test the property status - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property tenantID (base name: "TenantID")', function() { - // uncomment below and update the code to test the property tenantID - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property title (base name: "Title")', function() { - // uncomment below and update the code to test the property title - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property type (base name: "Type")', function() { - // uncomment below and update the code to test the property type - //var instance = new Board.Contact(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/board/test/model/Database.spec.js b/client/board/test/model/Database.spec.js deleted file mode 100644 index d5faa6f..0000000 --- a/client/board/test/model/Database.spec.js +++ /dev/null @@ -1,137 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Board); - } -}(this, function(expect, Board) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Board.Database(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Database', function() { - it('should create an instance of Database', function() { - // uncomment below and update the code to test Database - //var instance = new Board.Database(); - //expect(instance).to.be.a(Board.Database); - }); - - it('should have the property active (base name: "Active")', function() { - // uncomment below and update the code to test the property active - //var instance = new Board.Database(); - //expect(instance).to.be(); - }); - - it('should have the property clusterID (base name: "ClusterID")', function() { - // uncomment below and update the code to test the property clusterID - //var instance = new Board.Database(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new Board.Database(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new Board.Database(); - //expect(instance).to.be(); - }); - - it('should have the property DSN (base name: "DSN")', function() { - // uncomment below and update the code to test the property DSN - //var instance = new Board.Database(); - //expect(instance).to.be(); - }); - - it('should have the property databaseName (base name: "DatabaseName")', function() { - // uncomment below and update the code to test the property databaseName - //var instance = new Board.Database(); - //expect(instance).to.be(); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Board.Database(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new Board.Database(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new Board.Database(); - //expect(instance).to.be(); - }); - - it('should have the property microservices (base name: "Microservices")', function() { - // uncomment below and update the code to test the property microservices - //var instance = new Board.Database(); - //expect(instance).to.be(); - }); - - it('should have the property status (base name: "Status")', function() { - // uncomment below and update the code to test the property status - //var instance = new Board.Database(); - //expect(instance).to.be(); - }); - - it('should have the property tenantID (base name: "TenantID")', function() { - // uncomment below and update the code to test the property tenantID - //var instance = new Board.Database(); - //expect(instance).to.be(); - }); - - it('should have the property type (base name: "Type")', function() { - // uncomment below and update the code to test the property type - //var instance = new Board.Database(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/board/test/model/Developer.spec.js b/client/board/test/model/Developer.spec.js deleted file mode 100644 index 6062077..0000000 --- a/client/board/test/model/Developer.spec.js +++ /dev/null @@ -1,77 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Board); - } -}(this, function(expect, Board) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Board.Developer(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Developer', function() { - it('should create an instance of Developer', function() { - // uncomment below and update the code to test Developer - //var instance = new Board.Developer(); - //expect(instance).to.be.a(Board.Developer); - }); - - it('should have the property account (base name: "Account")', function() { - // uncomment below and update the code to test the property account - //var instance = new Board.Developer(); - //expect(instance).to.be(); - }); - - it('should have the property contact (base name: "Contact")', function() { - // uncomment below and update the code to test the property contact - //var instance = new Board.Developer(); - //expect(instance).to.be(); - }); - - it('should have the property paymentMethod (base name: "PaymentMethod")', function() { - // uncomment below and update the code to test the property paymentMethod - //var instance = new Board.Developer(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/board/test/model/Error.spec.js b/client/board/test/model/Error.spec.js deleted file mode 100644 index 6a5684d..0000000 --- a/client/board/test/model/Error.spec.js +++ /dev/null @@ -1,77 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Board); - } -}(this, function(expect, Board) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Board.Error(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Error', function() { - it('should create an instance of Error', function() { - // uncomment below and update the code to test Error - //var instance = new Board.Error(); - //expect(instance).to.be.a(Board.Error); - }); - - it('should have the property code (base name: "code")', function() { - // uncomment below and update the code to test the property code - //var instance = new Board.Error(); - //expect(instance).to.be(); - }); - - it('should have the property fields (base name: "fields")', function() { - // uncomment below and update the code to test the property fields - //var instance = new Board.Error(); - //expect(instance).to.be(); - }); - - it('should have the property message (base name: "message")', function() { - // uncomment below and update the code to test the property message - //var instance = new Board.Error(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/board/test/model/IQ.spec.js b/client/board/test/model/IQ.spec.js deleted file mode 100644 index c98987f..0000000 --- a/client/board/test/model/IQ.spec.js +++ /dev/null @@ -1,95 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Board); - } -}(this, function(expect, Board) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Board.IQ(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('IQ', function() { - it('should create an instance of IQ', function() { - // uncomment below and update the code to test IQ - //var instance = new Board.IQ(); - //expect(instance).to.be.a(Board.IQ); - }); - - it('should have the property account (base name: "Account")', function() { - // uncomment below and update the code to test the property account - //var instance = new Board.IQ(); - //expect(instance).to.be(); - }); - - it('should have the property contact (base name: "Contact")', function() { - // uncomment below and update the code to test the property contact - //var instance = new Board.IQ(); - //expect(instance).to.be(); - }); - - it('should have the property lead (base name: "Lead")', function() { - // uncomment below and update the code to test the property lead - //var instance = new Board.IQ(); - //expect(instance).to.be(); - }); - - it('should have the property paymentMethod (base name: "PaymentMethod")', function() { - // uncomment below and update the code to test the property paymentMethod - //var instance = new Board.IQ(); - //expect(instance).to.be(); - }); - - it('should have the property tenant (base name: "Tenant")', function() { - // uncomment below and update the code to test the property tenant - //var instance = new Board.IQ(); - //expect(instance).to.be(); - }); - - it('should have the property user (base name: "User")', function() { - // uncomment below and update the code to test the property user - //var instance = new Board.IQ(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/board/test/model/Lead.spec.js b/client/board/test/model/Lead.spec.js deleted file mode 100644 index 7d3d211..0000000 --- a/client/board/test/model/Lead.spec.js +++ /dev/null @@ -1,197 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Board); - } -}(this, function(expect, Board) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Board.Lead(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Lead', function() { - it('should create an instance of Lead', function() { - // uncomment below and update the code to test Lead - //var instance = new Board.Lead(); - //expect(instance).to.be.a(Board.Lead); - }); - - it('should have the property address (base name: "Address")', function() { - // uncomment below and update the code to test the property address - //var instance = new Board.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property company (base name: "Company")', function() { - // uncomment below and update the code to test the property company - //var instance = new Board.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "Description")', function() { - // uncomment below and update the code to test the property description - //var instance = new Board.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property email (base name: "Email")', function() { - // uncomment below and update the code to test the property email - //var instance = new Board.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property firstName (base name: "FirstName")', function() { - // uncomment below and update the code to test the property firstName - //var instance = new Board.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Board.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property lastName (base name: "LastName")', function() { - // uncomment below and update the code to test the property lastName - //var instance = new Board.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property mobilePhone (base name: "MobilePhone")', function() { - // uncomment below and update the code to test the property mobilePhone - //var instance = new Board.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "Name")', function() { - // uncomment below and update the code to test the property name - //var instance = new Board.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property ownerId (base name: "OwnerId")', function() { - // uncomment below and update the code to test the property ownerId - //var instance = new Board.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property partnerAccountId (base name: "PartnerAccountId")', function() { - // uncomment below and update the code to test the property partnerAccountId - //var instance = new Board.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property phone (base name: "Phone")', function() { - // uncomment below and update the code to test the property phone - //var instance = new Board.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property productID (base name: "ProductID")', function() { - // uncomment below and update the code to test the property productID - //var instance = new Board.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property refererURL (base name: "RefererURL")', function() { - // uncomment below and update the code to test the property refererURL - //var instance = new Board.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property status (base name: "Status")', function() { - // uncomment below and update the code to test the property status - //var instance = new Board.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property title (base name: "Title")', function() { - // uncomment below and update the code to test the property title - //var instance = new Board.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property type (base name: "Type")', function() { - // uncomment below and update the code to test the property type - //var instance = new Board.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property uTMCampaign (base name: "UTMCampaign")', function() { - // uncomment below and update the code to test the property uTMCampaign - //var instance = new Board.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property uTMContent (base name: "UTMContent")', function() { - // uncomment below and update the code to test the property uTMContent - //var instance = new Board.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property uTMMedium (base name: "UTMMedium")', function() { - // uncomment below and update the code to test the property uTMMedium - //var instance = new Board.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property uTMSource (base name: "UTMSource")', function() { - // uncomment below and update the code to test the property uTMSource - //var instance = new Board.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property uTMTerm (base name: "UTMTerm")', function() { - // uncomment below and update the code to test the property uTMTerm - //var instance = new Board.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property website (base name: "Website")', function() { - // uncomment below and update the code to test the property website - //var instance = new Board.Lead(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/board/test/model/PaymentMethod.spec.js b/client/board/test/model/PaymentMethod.spec.js deleted file mode 100644 index b1dbf12..0000000 --- a/client/board/test/model/PaymentMethod.spec.js +++ /dev/null @@ -1,215 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Board); - } -}(this, function(expect, Board) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Board.PaymentMethod(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('PaymentMethod', function() { - it('should create an instance of PaymentMethod', function() { - // uncomment below and update the code to test PaymentMethod - //var instance = new Board.PaymentMethod(); - //expect(instance).to.be.a(Board.PaymentMethod); - }); - - it('should have the property accountID (base name: "AccountID")', function() { - // uncomment below and update the code to test the property accountID - //var instance = new Board.PaymentMethod(); - //expect(instance).to.be(); - }); - - it('should have the property achAccountType (base name: "AchAccountType")', function() { - // uncomment below and update the code to test the property achAccountType - //var instance = new Board.PaymentMethod(); - //expect(instance).to.be(); - }); - - it('should have the property achBankAccount (base name: "AchBankAccount")', function() { - // uncomment below and update the code to test the property achBankAccount - //var instance = new Board.PaymentMethod(); - //expect(instance).to.be(); - }); - - it('should have the property achRouting (base name: "AchRouting")', function() { - // uncomment below and update the code to test the property achRouting - //var instance = new Board.PaymentMethod(); - //expect(instance).to.be(); - }); - - it('should have the property active (base name: "Active")', function() { - // uncomment below and update the code to test the property active - //var instance = new Board.PaymentMethod(); - //expect(instance).to.be(); - }); - - it('should have the property autopay (base name: "Autopay")', function() { - // uncomment below and update the code to test the property autopay - //var instance = new Board.PaymentMethod(); - //expect(instance).to.be(); - }); - - it('should have the property bankName (base name: "BankName")', function() { - // uncomment below and update the code to test the property bankName - //var instance = new Board.PaymentMethod(); - //expect(instance).to.be(); - }); - - it('should have the property billingContactID (base name: "BillingContactID")', function() { - // uncomment below and update the code to test the property billingContactID - //var instance = new Board.PaymentMethod(); - //expect(instance).to.be(); - }); - - it('should have the property cCnumber (base name: "CCnumber")', function() { - // uncomment below and update the code to test the property cCnumber - //var instance = new Board.PaymentMethod(); - //expect(instance).to.be(); - }); - - it('should have the property cCtype (base name: "CCtype")', function() { - // uncomment below and update the code to test the property cCtype - //var instance = new Board.PaymentMethod(); - //expect(instance).to.be(); - }); - - it('should have the property companyID (base name: "CompanyID")', function() { - // uncomment below and update the code to test the property companyID - //var instance = new Board.PaymentMethod(); - //expect(instance).to.be(); - }); - - it('should have the property contractID (base name: "ContractID")', function() { - // uncomment below and update the code to test the property contractID - //var instance = new Board.PaymentMethod(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new Board.PaymentMethod(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new Board.PaymentMethod(); - //expect(instance).to.be(); - }); - - it('should have the property _default (base name: "Default")', function() { - // uncomment below and update the code to test the property _default - //var instance = new Board.PaymentMethod(); - //expect(instance).to.be(); - }); - - it('should have the property expirationDate (base name: "ExpirationDate")', function() { - // uncomment below and update the code to test the property expirationDate - //var instance = new Board.PaymentMethod(); - //expect(instance).to.be(); - }); - - it('should have the property expirationMonth (base name: "ExpirationMonth")', function() { - // uncomment below and update the code to test the property expirationMonth - //var instance = new Board.PaymentMethod(); - //expect(instance).to.be(); - }); - - it('should have the property expirationYear (base name: "ExpirationYear")', function() { - // uncomment below and update the code to test the property expirationYear - //var instance = new Board.PaymentMethod(); - //expect(instance).to.be(); - }); - - it('should have the property gateway (base name: "Gateway")', function() { - // uncomment below and update the code to test the property gateway - //var instance = new Board.PaymentMethod(); - //expect(instance).to.be(); - }); - - it('should have the property gatewayKey (base name: "GatewayKey")', function() { - // uncomment below and update the code to test the property gatewayKey - //var instance = new Board.PaymentMethod(); - //expect(instance).to.be(); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Board.PaymentMethod(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new Board.PaymentMethod(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new Board.PaymentMethod(); - //expect(instance).to.be(); - }); - - it('should have the property nickname (base name: "Nickname")', function() { - // uncomment below and update the code to test the property nickname - //var instance = new Board.PaymentMethod(); - //expect(instance).to.be(); - }); - - it('should have the property recordType (base name: "RecordType")', function() { - // uncomment below and update the code to test the property recordType - //var instance = new Board.PaymentMethod(); - //expect(instance).to.be(); - }); - - it('should have the property ref (base name: "Ref")', function() { - // uncomment below and update the code to test the property ref - //var instance = new Board.PaymentMethod(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/board/test/model/Role.spec.js b/client/board/test/model/Role.spec.js deleted file mode 100644 index 910b259..0000000 --- a/client/board/test/model/Role.spec.js +++ /dev/null @@ -1,113 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Board); - } -}(this, function(expect, Board) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Board.Role(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Role', function() { - it('should create an instance of Role', function() { - // uncomment below and update the code to test Role - //var instance = new Board.Role(); - //expect(instance).to.be.a(Board.Role); - }); - - it('should have the property auth0RoleID (base name: "Auth0RoleID")', function() { - // uncomment below and update the code to test the property auth0RoleID - //var instance = new Board.Role(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new Board.Role(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new Board.Role(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "Description")', function() { - // uncomment below and update the code to test the property description - //var instance = new Board.Role(); - //expect(instance).to.be(); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Board.Role(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new Board.Role(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new Board.Role(); - //expect(instance).to.be(); - }); - - it('should have the property roleName (base name: "RoleName")', function() { - // uncomment below and update the code to test the property roleName - //var instance = new Board.Role(); - //expect(instance).to.be(); - }); - - it('should have the property tenantID (base name: "TenantID")', function() { - // uncomment below and update the code to test the property tenantID - //var instance = new Board.Role(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/board/test/model/RuleExecution.spec.js b/client/board/test/model/RuleExecution.spec.js deleted file mode 100644 index fc01e23..0000000 --- a/client/board/test/model/RuleExecution.spec.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Board); - } -}(this, function(expect, Board) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Board.RuleExecution(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('RuleExecution', function() { - it('should create an instance of RuleExecution', function() { - // uncomment below and update the code to test RuleExecution - //var instance = new Board.RuleExecution(); - //expect(instance).to.be.a(Board.RuleExecution); - }); - - it('should have the property sagaID (base name: "SagaID")', function() { - // uncomment below and update the code to test the property sagaID - //var instance = new Board.RuleExecution(); - //expect(instance).to.be(); - }); - - it('should have the property sagaType (base name: "SagaType")', function() { - // uncomment below and update the code to test the property sagaType - //var instance = new Board.RuleExecution(); - //expect(instance).to.be(); - }); - - it('should have the property ruleID (base name: "RuleID")', function() { - // uncomment below and update the code to test the property ruleID - //var instance = new Board.RuleExecution(); - //expect(instance).to.be(); - }); - - it('should have the property runID (base name: "RunID")', function() { - // uncomment below and update the code to test the property runID - //var instance = new Board.RuleExecution(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/board/test/model/Tenant.spec.js b/client/board/test/model/Tenant.spec.js deleted file mode 100644 index d92987b..0000000 --- a/client/board/test/model/Tenant.spec.js +++ /dev/null @@ -1,143 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Board); - } -}(this, function(expect, Board) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Board.Tenant(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Tenant', function() { - it('should create an instance of Tenant', function() { - // uncomment below and update the code to test Tenant - //var instance = new Board.Tenant(); - //expect(instance).to.be.a(Board.Tenant); - }); - - it('should have the property accountID (base name: "AccountID")', function() { - // uncomment below and update the code to test the property accountID - //var instance = new Board.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property active (base name: "Active")', function() { - // uncomment below and update the code to test the property active - //var instance = new Board.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new Board.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new Board.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property databases (base name: "Databases")', function() { - // uncomment below and update the code to test the property databases - //var instance = new Board.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Board.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new Board.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new Board.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property roles (base name: "Roles")', function() { - // uncomment below and update the code to test the property roles - //var instance = new Board.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property status (base name: "Status")', function() { - // uncomment below and update the code to test the property status - //var instance = new Board.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property tenantName (base name: "TenantName")', function() { - // uncomment below and update the code to test the property tenantName - //var instance = new Board.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property tenantUsers (base name: "TenantUsers")', function() { - // uncomment below and update the code to test the property tenantUsers - //var instance = new Board.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property type (base name: "Type")', function() { - // uncomment below and update the code to test the property type - //var instance = new Board.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property version (base name: "Version")', function() { - // uncomment below and update the code to test the property version - //var instance = new Board.Tenant(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/board/test/model/TenantUser.spec.js b/client/board/test/model/TenantUser.spec.js deleted file mode 100644 index aa4b87e..0000000 --- a/client/board/test/model/TenantUser.spec.js +++ /dev/null @@ -1,155 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Board); - } -}(this, function(expect, Board) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Board.TenantUser(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('TenantUser', function() { - it('should create an instance of TenantUser', function() { - // uncomment below and update the code to test TenantUser - //var instance = new Board.TenantUser(); - //expect(instance).to.be.a(Board.TenantUser); - }); - - it('should have the property accessLevel (base name: "AccessLevel")', function() { - // uncomment below and update the code to test the property accessLevel - //var instance = new Board.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property accountID (base name: "AccountID")', function() { - // uncomment below and update the code to test the property accountID - //var instance = new Board.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property auth0UserID (base name: "Auth0UserID")', function() { - // uncomment below and update the code to test the property auth0UserID - //var instance = new Board.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property companyName (base name: "CompanyName")', function() { - // uncomment below and update the code to test the property companyName - //var instance = new Board.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property contactID (base name: "ContactID")', function() { - // uncomment below and update the code to test the property contactID - //var instance = new Board.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property taxnexusAccount (base name: "TaxnexusAccount")', function() { - // uncomment below and update the code to test the property taxnexusAccount - //var instance = new Board.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property tenantActive (base name: "TenantActive")', function() { - // uncomment below and update the code to test the property tenantActive - //var instance = new Board.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property tenantID (base name: "TenantID")', function() { - // uncomment below and update the code to test the property tenantID - //var instance = new Board.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property tenantName (base name: "TenantName")', function() { - // uncomment below and update the code to test the property tenantName - //var instance = new Board.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property tenantStatus (base name: "TenantStatus")', function() { - // uncomment below and update the code to test the property tenantStatus - //var instance = new Board.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property tenantType (base name: "TenantType")', function() { - // uncomment below and update the code to test the property tenantType - //var instance = new Board.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property tenantVersion (base name: "TenantVersion")', function() { - // uncomment below and update the code to test the property tenantVersion - //var instance = new Board.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property userEmail (base name: "UserEmail")', function() { - // uncomment below and update the code to test the property userEmail - //var instance = new Board.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property userFullName (base name: "UserFullName")', function() { - // uncomment below and update the code to test the property userFullName - //var instance = new Board.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property userID (base name: "UserID")', function() { - // uncomment below and update the code to test the property userID - //var instance = new Board.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property username (base name: "Username")', function() { - // uncomment below and update the code to test the property username - //var instance = new Board.TenantUser(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/board/test/model/User.spec.js b/client/board/test/model/User.spec.js deleted file mode 100644 index 22920cd..0000000 --- a/client/board/test/model/User.spec.js +++ /dev/null @@ -1,407 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Board); - } -}(this, function(expect, Board) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Board.User(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('User', function() { - it('should create an instance of User', function() { - // uncomment below and update the code to test User - //var instance = new Board.User(); - //expect(instance).to.be.a(Board.User); - }); - - it('should have the property aPIKey (base name: "APIKey")', function() { - // uncomment below and update the code to test the property aPIKey - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property aboutMe (base name: "AboutMe")', function() { - // uncomment below and update the code to test the property aboutMe - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property accountID (base name: "AccountID")', function() { - // uncomment below and update the code to test the property accountID - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property address (base name: "Address")', function() { - // uncomment below and update the code to test the property address - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property alias (base name: "Alias")', function() { - // uncomment below and update the code to test the property alias - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property auth0UserID (base name: "Auth0UserID")', function() { - // uncomment below and update the code to test the property auth0UserID - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property communityNickname (base name: "CommunityNickname")', function() { - // uncomment below and update the code to test the property communityNickname - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property companyName (base name: "CompanyName")', function() { - // uncomment below and update the code to test the property companyName - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property contactID (base name: "ContactID")', function() { - // uncomment below and update the code to test the property contactID - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property delegatedApproverID (base name: "DelegatedApproverID")', function() { - // uncomment below and update the code to test the property delegatedApproverID - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property department (base name: "Department")', function() { - // uncomment below and update the code to test the property department - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property division (base name: "Division")', function() { - // uncomment below and update the code to test the property division - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property email (base name: "Email")', function() { - // uncomment below and update the code to test the property email - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property employeeNumber (base name: "EmployeeNumber")', function() { - // uncomment below and update the code to test the property employeeNumber - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property endOfDay (base name: "EndOfDay")', function() { - // uncomment below and update the code to test the property endOfDay - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property environment (base name: "Environment")', function() { - // uncomment below and update the code to test the property environment - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property extension (base name: "Extension")', function() { - // uncomment below and update the code to test the property extension - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property fabricAPIKey (base name: "FabricAPIKey")', function() { - // uncomment below and update the code to test the property fabricAPIKey - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property fax (base name: "Fax")', function() { - // uncomment below and update the code to test the property fax - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property firstName (base name: "FirstName")', function() { - // uncomment below and update the code to test the property firstName - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property forecastEnabled (base name: "ForecastEnabled")', function() { - // uncomment below and update the code to test the property forecastEnabled - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property fullPhotoURL (base name: "FullPhotoURL")', function() { - // uncomment below and update the code to test the property fullPhotoURL - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property isActive (base name: "IsActive")', function() { - // uncomment below and update the code to test the property isActive - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property isPortalEnabled (base name: "IsPortalEnabled")', function() { - // uncomment below and update the code to test the property isPortalEnabled - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property isProphilePhotoActive (base name: "IsProphilePhotoActive")', function() { - // uncomment below and update the code to test the property isProphilePhotoActive - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property isSystemControlled (base name: "IsSystemControlled")', function() { - // uncomment below and update the code to test the property isSystemControlled - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property lastIP (base name: "LastIP")', function() { - // uncomment below and update the code to test the property lastIP - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property lastLogin (base name: "LastLogin")', function() { - // uncomment below and update the code to test the property lastLogin - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property lastName (base name: "LastName")', function() { - // uncomment below and update the code to test the property lastName - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property loginCount (base name: "LoginCount")', function() { - // uncomment below and update the code to test the property loginCount - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property managerID (base name: "ManagerID")', function() { - // uncomment below and update the code to test the property managerID - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property mobilePhone (base name: "MobilePhone")', function() { - // uncomment below and update the code to test the property mobilePhone - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "Name")', function() { - // uncomment below and update the code to test the property name - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property outOfOfficeMessage (base name: "OutOfOfficeMessage")', function() { - // uncomment below and update the code to test the property outOfOfficeMessage - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property phone (base name: "Phone")', function() { - // uncomment below and update the code to test the property phone - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property portalRole (base name: "PortalRole")', function() { - // uncomment below and update the code to test the property portalRole - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property profileID (base name: "ProfileID")', function() { - // uncomment below and update the code to test the property profileID - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property receivesAdminEmails (base name: "ReceivesAdminEmails")', function() { - // uncomment below and update the code to test the property receivesAdminEmails - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property receivesAdminInfoEmails (base name: "ReceivesAdminInfoEmails")', function() { - // uncomment below and update the code to test the property receivesAdminInfoEmails - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property senderEmail (base name: "SenderEmail")', function() { - // uncomment below and update the code to test the property senderEmail - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property senderName (base name: "SenderName")', function() { - // uncomment below and update the code to test the property senderName - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property signature (base name: "Signature")', function() { - // uncomment below and update the code to test the property signature - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property smallPhotoURL (base name: "SmallPhotoURL")', function() { - // uncomment below and update the code to test the property smallPhotoURL - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property startOfDay (base name: "StartOfDay")', function() { - // uncomment below and update the code to test the property startOfDay - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property taxnexusAccount (base name: "TaxnexusAccount")', function() { - // uncomment below and update the code to test the property taxnexusAccount - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property tenantID (base name: "TenantID")', function() { - // uncomment below and update the code to test the property tenantID - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property tenantUsers (base name: "TenantUsers")', function() { - // uncomment below and update the code to test the property tenantUsers - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property timeZone (base name: "TimeZone")', function() { - // uncomment below and update the code to test the property timeZone - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property title (base name: "Title")', function() { - // uncomment below and update the code to test the property title - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property userRoleID (base name: "UserRoleID")', function() { - // uncomment below and update the code to test the property userRoleID - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property userRoles (base name: "UserRoles")', function() { - // uncomment below and update the code to test the property userRoles - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property userType (base name: "UserType")', function() { - // uncomment below and update the code to test the property userType - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - it('should have the property username (base name: "Username")', function() { - // uncomment below and update the code to test the property username - //var instance = new Board.User(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/board/test/model/UserAuth.spec.js b/client/board/test/model/UserAuth.spec.js deleted file mode 100644 index 313b709..0000000 --- a/client/board/test/model/UserAuth.spec.js +++ /dev/null @@ -1,101 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Board); - } -}(this, function(expect, Board) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Board.UserAuth(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('UserAuth', function() { - it('should create an instance of UserAuth', function() { - // uncomment below and update the code to test UserAuth - //var instance = new Board.UserAuth(); - //expect(instance).to.be.a(Board.UserAuth); - }); - - it('should have the property aPIKey (base name: "APIKey")', function() { - // uncomment below and update the code to test the property aPIKey - //var instance = new Board.UserAuth(); - //expect(instance).to.be(); - }); - - it('should have the property accountID (base name: "AccountID")', function() { - // uncomment below and update the code to test the property accountID - //var instance = new Board.UserAuth(); - //expect(instance).to.be(); - }); - - it('should have the property contactID (base name: "ContactID")', function() { - // uncomment below and update the code to test the property contactID - //var instance = new Board.UserAuth(); - //expect(instance).to.be(); - }); - - it('should have the property email (base name: "Email")', function() { - // uncomment below and update the code to test the property email - //var instance = new Board.UserAuth(); - //expect(instance).to.be(); - }); - - it('should have the property roles (base name: "Roles")', function() { - // uncomment below and update the code to test the property roles - //var instance = new Board.UserAuth(); - //expect(instance).to.be(); - }); - - it('should have the property tenants (base name: "Tenants")', function() { - // uncomment below and update the code to test the property tenants - //var instance = new Board.UserAuth(); - //expect(instance).to.be(); - }); - - it('should have the property userID (base name: "UserID")', function() { - // uncomment below and update the code to test the property userID - //var instance = new Board.UserAuth(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/board/test/model/UserRole.spec.js b/client/board/test/model/UserRole.spec.js deleted file mode 100644 index f0b2071..0000000 --- a/client/board/test/model/UserRole.spec.js +++ /dev/null @@ -1,137 +0,0 @@ -/** - * board - * Taxnexus Onboarding Service - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Board); - } -}(this, function(expect, Board) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Board.UserRole(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('UserRole', function() { - it('should create an instance of UserRole', function() { - // uncomment below and update the code to test UserRole - //var instance = new Board.UserRole(); - //expect(instance).to.be.a(Board.UserRole); - }); - - it('should have the property accountID (base name: "AccountID")', function() { - // uncomment below and update the code to test the property accountID - //var instance = new Board.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property auth0RoleID (base name: "Auth0RoleID")', function() { - // uncomment below and update the code to test the property auth0RoleID - //var instance = new Board.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property auth0UserID (base name: "Auth0UserID")', function() { - // uncomment below and update the code to test the property auth0UserID - //var instance = new Board.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property companyName (base name: "CompanyName")', function() { - // uncomment below and update the code to test the property companyName - //var instance = new Board.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property contactID (base name: "ContactID")', function() { - // uncomment below and update the code to test the property contactID - //var instance = new Board.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property roleDescription (base name: "RoleDescription")', function() { - // uncomment below and update the code to test the property roleDescription - //var instance = new Board.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property roleID (base name: "RoleID")', function() { - // uncomment below and update the code to test the property roleID - //var instance = new Board.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property roleName (base name: "RoleName")', function() { - // uncomment below and update the code to test the property roleName - //var instance = new Board.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property taxnexusAccount (base name: "TaxnexusAccount")', function() { - // uncomment below and update the code to test the property taxnexusAccount - //var instance = new Board.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property userEmail (base name: "UserEmail")', function() { - // uncomment below and update the code to test the property userEmail - //var instance = new Board.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property userFullName (base name: "UserFullName")', function() { - // uncomment below and update the code to test the property userFullName - //var instance = new Board.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property userID (base name: "UserID")', function() { - // uncomment below and update the code to test the property userID - //var instance = new Board.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property username (base name: "Username")', function() { - // uncomment below and update the code to test the property username - //var instance = new Board.UserRole(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/crm/.babelrc b/client/crm/.babelrc deleted file mode 100644 index c73df9d..0000000 --- a/client/crm/.babelrc +++ /dev/null @@ -1,33 +0,0 @@ -{ - "presets": [ - "@babel/preset-env" - ], - "plugins": [ - "@babel/plugin-syntax-dynamic-import", - "@babel/plugin-syntax-import-meta", - "@babel/plugin-proposal-class-properties", - "@babel/plugin-proposal-json-strings", - [ - "@babel/plugin-proposal-decorators", - { - "legacy": true - } - ], - "@babel/plugin-proposal-function-sent", - "@babel/plugin-proposal-export-namespace-from", - "@babel/plugin-proposal-numeric-separator", - "@babel/plugin-proposal-throw-expressions", - "@babel/plugin-proposal-export-default-from", - "@babel/plugin-proposal-logical-assignment-operators", - "@babel/plugin-proposal-optional-chaining", - [ - "@babel/plugin-proposal-pipeline-operator", - { - "proposal": "minimal" - } - ], - "@babel/plugin-proposal-nullish-coalescing-operator", - "@babel/plugin-proposal-do-expressions", - "@babel/plugin-proposal-function-bind" - ] -} diff --git a/client/crm/.gitignore b/client/crm/.gitignore deleted file mode 100644 index e920c16..0000000 --- a/client/crm/.gitignore +++ /dev/null @@ -1,33 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* - -# Runtime data -pids -*.pid -*.seed - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage - -# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# node-waf configuration -.lock-wscript - -# Compiled binary addons (http://nodejs.org/api/addons.html) -build/Release - -# Dependency directory -node_modules - -# Optional npm cache directory -.npm - -# Optional REPL history -.node_repl_history diff --git a/client/crm/.openapi-generator-ignore b/client/crm/.openapi-generator-ignore deleted file mode 100644 index 7484ee5..0000000 --- a/client/crm/.openapi-generator-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# OpenAPI Generator Ignore -# Generated by openapi-generator https://github.com/openapitools/openapi-generator - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/client/crm/.openapi-generator/FILES b/client/crm/.openapi-generator/FILES deleted file mode 100644 index 19ddb3d..0000000 --- a/client/crm/.openapi-generator/FILES +++ /dev/null @@ -1,100 +0,0 @@ -.babelrc -.gitignore -.openapi-generator-ignore -.travis.yml -README.md -docs/Account.md -docs/AccountRequest.md -docs/AccountResponse.md -docs/AccountsApi.md -docs/Address.md -docs/Asset.md -docs/AssetRequest.md -docs/AssetResponse.md -docs/AssetsApi.md -docs/Contact.md -docs/ContactRequest.md -docs/ContactResponse.md -docs/ContactsApi.md -docs/Contract.md -docs/ContractRequest.md -docs/ContractResponse.md -docs/ContractsApi.md -docs/CorsApi.md -docs/DeleteResponse.md -docs/Error.md -docs/InvalidError.md -docs/InvalidErrorAllOf.md -docs/Lead.md -docs/LeadRequest.md -docs/LeadResponse.md -docs/LeadsApi.md -docs/Message.md -docs/Pagination.md -docs/RequestMeta.md -docs/ResponseMeta.md -git_push.sh -mocha.opts -package.json -src/ApiClient.js -src/api/AccountsApi.js -src/api/AssetsApi.js -src/api/ContactsApi.js -src/api/ContractsApi.js -src/api/CorsApi.js -src/api/LeadsApi.js -src/index.js -src/model/Account.js -src/model/AccountRequest.js -src/model/AccountResponse.js -src/model/Address.js -src/model/Asset.js -src/model/AssetRequest.js -src/model/AssetResponse.js -src/model/Contact.js -src/model/ContactRequest.js -src/model/ContactResponse.js -src/model/Contract.js -src/model/ContractRequest.js -src/model/ContractResponse.js -src/model/DeleteResponse.js -src/model/Error.js -src/model/InvalidError.js -src/model/InvalidErrorAllOf.js -src/model/Lead.js -src/model/LeadRequest.js -src/model/LeadResponse.js -src/model/Message.js -src/model/Pagination.js -src/model/RequestMeta.js -src/model/ResponseMeta.js -test/api/AccountsApi.spec.js -test/api/AssetsApi.spec.js -test/api/ContactsApi.spec.js -test/api/ContractsApi.spec.js -test/api/CorsApi.spec.js -test/api/LeadsApi.spec.js -test/model/Account.spec.js -test/model/AccountRequest.spec.js -test/model/AccountResponse.spec.js -test/model/Address.spec.js -test/model/Asset.spec.js -test/model/AssetRequest.spec.js -test/model/AssetResponse.spec.js -test/model/Contact.spec.js -test/model/ContactRequest.spec.js -test/model/ContactResponse.spec.js -test/model/Contract.spec.js -test/model/ContractRequest.spec.js -test/model/ContractResponse.spec.js -test/model/DeleteResponse.spec.js -test/model/Error.spec.js -test/model/InvalidError.spec.js -test/model/InvalidErrorAllOf.spec.js -test/model/Lead.spec.js -test/model/LeadRequest.spec.js -test/model/LeadResponse.spec.js -test/model/Message.spec.js -test/model/Pagination.spec.js -test/model/RequestMeta.spec.js -test/model/ResponseMeta.spec.js diff --git a/client/crm/.openapi-generator/VERSION b/client/crm/.openapi-generator/VERSION deleted file mode 100644 index 6d54bbd..0000000 --- a/client/crm/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -6.0.1 \ No newline at end of file diff --git a/client/crm/.travis.yml b/client/crm/.travis.yml deleted file mode 100644 index 0968f7a..0000000 --- a/client/crm/.travis.yml +++ /dev/null @@ -1,5 +0,0 @@ -language: node_js -cache: npm -node_js: - - "6" - - "6.1" diff --git a/client/crm/README.md b/client/crm/README.md deleted file mode 100644 index 7d7be7e..0000000 --- a/client/crm/README.md +++ /dev/null @@ -1,206 +0,0 @@ -# crm - -Crm - JavaScript client for crm -Customer Information Microservice -This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - -- API version: 0.0.2 -- Package version: 0.0.2 -- 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 crm --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 crm 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/GIT_USER_ID/GIT_REPO_ID -then install it via: - -```shell - npm install GIT_USER_ID/GIT_REPO_ID --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 Crm = require('crm'); - -var defaultClient = Crm.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -var ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = "YOUR API KEY" -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix['X-API-Key'] = "Token" - -var api = new Crm.AccountsApi() -var opts = { - 'accountId': "accountId_example" // {String} Taxnexus Record Id of an Account -}; -var callback = function(error, data, response) { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}; -api.deleteAccount(opts, callback); - -``` - -## Documentation for API Endpoints - -All URIs are relative to *http://crm.vernonkeenan.com:8080/v1* - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*Crm.AccountsApi* | [**deleteAccount**](docs/AccountsApi.md#deleteAccount) | **DELETE** /accounts | Delete An Account -*Crm.AccountsApi* | [**getAccounts**](docs/AccountsApi.md#getAccounts) | **GET** /accounts | Get a list of accounts -*Crm.AccountsApi* | [**getAccountsObservable**](docs/AccountsApi.md#getAccountsObservable) | **GET** /accounts/observable | Get Taxnexus Accounts in an observable array -*Crm.AccountsApi* | [**postAccounts**](docs/AccountsApi.md#postAccounts) | **POST** /accounts | Add a new account to Taxnexus -*Crm.AccountsApi* | [**putAccount**](docs/AccountsApi.md#putAccount) | **PUT** /accounts | Update a single account -*Crm.AssetsApi* | [**deleteAsset**](docs/AssetsApi.md#deleteAsset) | **DELETE** /assets | Delete An Asset -*Crm.AssetsApi* | [**getAssets**](docs/AssetsApi.md#getAssets) | **GET** /assets | Get a list of assets -*Crm.AssetsApi* | [**getAssetsObservable**](docs/AssetsApi.md#getAssetsObservable) | **GET** /assets/observable | Get Taxnexus Assets in an observable array -*Crm.AssetsApi* | [**postAssets**](docs/AssetsApi.md#postAssets) | **POST** /assets | Add a new asset to Taxnexus -*Crm.AssetsApi* | [**putAsset**](docs/AssetsApi.md#putAsset) | **PUT** /assets | Update a single asset -*Crm.ContactsApi* | [**deleteContact**](docs/ContactsApi.md#deleteContact) | **DELETE** /contacts | Delete a Contact -*Crm.ContactsApi* | [**getContacts**](docs/ContactsApi.md#getContacts) | **GET** /contacts | Get a list of contacts -*Crm.ContactsApi* | [**getContactsObservable**](docs/ContactsApi.md#getContactsObservable) | **GET** /contacts/observable | Get Taxnexus Contacts in an observable array -*Crm.ContactsApi* | [**postContacts**](docs/ContactsApi.md#postContacts) | **POST** /contacts | Add new contacts -*Crm.ContactsApi* | [**putContacts**](docs/ContactsApi.md#putContacts) | **PUT** /contacts | Update Contact -*Crm.ContractsApi* | [**deleteContract**](docs/ContractsApi.md#deleteContract) | **DELETE** /contracts | Delete An Contract -*Crm.ContractsApi* | [**getContracts**](docs/ContractsApi.md#getContracts) | **GET** /contracts | Get a list of contracts -*Crm.ContractsApi* | [**getContractsObservable**](docs/ContractsApi.md#getContractsObservable) | **GET** /contracts/observable | Get Taxnexus Contracts in an observable array -*Crm.ContractsApi* | [**postContracts**](docs/ContractsApi.md#postContracts) | **POST** /contracts | Add a new contract to Taxnexus -*Crm.ContractsApi* | [**putContract**](docs/ContractsApi.md#putContract) | **PUT** /contracts | Update a single contract -*Crm.CorsApi* | [**accountOptions**](docs/CorsApi.md#accountOptions) | **OPTIONS** /accounts | -*Crm.CorsApi* | [**accountOptionsObservable**](docs/CorsApi.md#accountOptionsObservable) | **OPTIONS** /accounts/observable | -*Crm.CorsApi* | [**assetOptions**](docs/CorsApi.md#assetOptions) | **OPTIONS** /assets | -*Crm.CorsApi* | [**assetOptionsObservable**](docs/CorsApi.md#assetOptionsObservable) | **OPTIONS** /assets/observable | -*Crm.CorsApi* | [**contactOptions**](docs/CorsApi.md#contactOptions) | **OPTIONS** /contacts | -*Crm.CorsApi* | [**contactOptionsObservable**](docs/CorsApi.md#contactOptionsObservable) | **OPTIONS** /contacts/observable | -*Crm.CorsApi* | [**contractOptions**](docs/CorsApi.md#contractOptions) | **OPTIONS** /contracts | -*Crm.CorsApi* | [**contractOptionsObservable**](docs/CorsApi.md#contractOptionsObservable) | **OPTIONS** /contracts/observable | -*Crm.CorsApi* | [**leadOptions**](docs/CorsApi.md#leadOptions) | **OPTIONS** /leads | -*Crm.CorsApi* | [**leadOptionsObservable**](docs/CorsApi.md#leadOptionsObservable) | **OPTIONS** /leads/observable | -*Crm.LeadsApi* | [**deleteLead**](docs/LeadsApi.md#deleteLead) | **DELETE** /leads | Delete a Contact -*Crm.LeadsApi* | [**getLeads**](docs/LeadsApi.md#getLeads) | **GET** /leads | Get a list of contacts -*Crm.LeadsApi* | [**getLeadsObservable**](docs/LeadsApi.md#getLeadsObservable) | **GET** /leads/observable | Get Taxnexus Leads in an observable array -*Crm.LeadsApi* | [**postLeads**](docs/LeadsApi.md#postLeads) | **POST** /leads | Add new Leads -*Crm.LeadsApi* | [**putLeads**](docs/LeadsApi.md#putLeads) | **PUT** /leads | Update Leads - - -## Documentation for Models - - - [Crm.Account](docs/Account.md) - - [Crm.AccountRequest](docs/AccountRequest.md) - - [Crm.AccountResponse](docs/AccountResponse.md) - - [Crm.Address](docs/Address.md) - - [Crm.Asset](docs/Asset.md) - - [Crm.AssetRequest](docs/AssetRequest.md) - - [Crm.AssetResponse](docs/AssetResponse.md) - - [Crm.Contact](docs/Contact.md) - - [Crm.ContactRequest](docs/ContactRequest.md) - - [Crm.ContactResponse](docs/ContactResponse.md) - - [Crm.Contract](docs/Contract.md) - - [Crm.ContractRequest](docs/ContractRequest.md) - - [Crm.ContractResponse](docs/ContractResponse.md) - - [Crm.DeleteResponse](docs/DeleteResponse.md) - - [Crm.Error](docs/Error.md) - - [Crm.InvalidError](docs/InvalidError.md) - - [Crm.InvalidErrorAllOf](docs/InvalidErrorAllOf.md) - - [Crm.Lead](docs/Lead.md) - - [Crm.LeadRequest](docs/LeadRequest.md) - - [Crm.LeadResponse](docs/LeadResponse.md) - - [Crm.Message](docs/Message.md) - - [Crm.Pagination](docs/Pagination.md) - - [Crm.RequestMeta](docs/RequestMeta.md) - - [Crm.ResponseMeta](docs/ResponseMeta.md) - - -## Documentation for Authorization - - - -### ApiKeyAuth - - -- **Type**: API key -- **API key parameter name**: X-API-Key -- **Location**: HTTP header - diff --git a/client/crm/docs/Account.md b/client/crm/docs/Account.md deleted file mode 100644 index 10fc587..0000000 --- a/client/crm/docs/Account.md +++ /dev/null @@ -1,57 +0,0 @@ -# Crm.Account - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ID** | **String** | Taxnexus Account Id | [optional] -**accountNumber** | **String** | Account Number | [optional] -**accountSource** | **String** | The marketing origin of this account | [optional] -**annualRevenue** | **Number** | Annual Revenue Estimate | [optional] -**billingAddress** | [**Address**](Address.md) | | [optional] -**billingContactID** | **String** | Contact ID | [optional] -**closeDate** | **String** | Close Date | [optional] -**cloudType** | **String** | The type of cloud company | [optional] -**cloudYear** | **String** | The year company started cloud revenue | [optional] -**createdByID** | **String** | Created By User ID | [optional] -**createdDate** | **String** | Created Date | [optional] -**crunchbaseURL** | **String** | Crunchbase URL | [optional] -**description** | **String** | Description of the account | [optional] -**earningsCall** | **String** | Earnings Call Date | [optional] -**email** | **String** | Main Account Email | [optional] -**equityFunding** | **Number** | The amount of equity EquityFunding | [optional] -**facebook** | **String** | Company Facebook URL | [optional] -**linkedIn** | **String** | Company LinkedIn URL | [optional] -**location** | **String** | Headquarters Location Description | [optional] -**fax** | **String** | Fax number | [optional] -**foundedDate** | **String** | Date company founded | [optional] -**industry** | **String** | Industry | [optional] -**industries** | **String** | Industries | [optional] -**iPODate** | **String** | IPO Date | [optional] -**logo** | **String** | Company Logo URL | [optional] -**lastModifiedByID** | **String** | Last Modified By User ID | [optional] -**lastModifiedDate** | **String** | Last Modified Date | [optional] -**marketCapitalization** | **Number** | Market Capitalization | [optional] -**name** | **String** | Account Name | [optional] -**numberInvestments** | **Number** | Number of Investments | [optional] -**numberOfEmployees** | **Number** | Employee Count Estimate | [optional] -**ownerID** | **String** | Account Owner User ID | [optional] -**ownership** | **String** | Ownership | [optional] -**publish** | **Boolean** | Publish this record? | [optional] -**salesforceFirst** | **Boolean** | A Salesforce-First company? | [optional] -**parentID** | **String** | Parent Account | [optional] -**phone** | **String** | Phone | [optional] -**SIC** | **String** | SIC Code | [optional] -**sICDesc** | **String** | SIC Description | [optional] -**shippingAddress** | [**Address**](Address.md) | | [optional] -**shippingContactID** | **String** | Shipping Contact ID | [optional] -**site** | **String** | Account Site | [optional] -**tagLine** | **String** | Company tagline | [optional] -**tenantID** | **String** | Tenant Identifier | [optional] -**tickerSymbol** | **String** | Ticker Symbol | [optional] -**twitter** | **String** | Twitter URL | [optional] -**type** | **String** | Type | [optional] -**website** | **String** | Website | [optional] -**yearStarted** | **String** | Year Started | [optional] - - diff --git a/client/crm/docs/AccountRequest.md b/client/crm/docs/AccountRequest.md deleted file mode 100644 index 9f528f3..0000000 --- a/client/crm/docs/AccountRequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# Crm.AccountRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Account]**](Account.md) | | [optional] - - diff --git a/client/crm/docs/AccountResponse.md b/client/crm/docs/AccountResponse.md deleted file mode 100644 index 3633fcf..0000000 --- a/client/crm/docs/AccountResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# Crm.AccountResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Account]**](Account.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/crm/docs/AccountsApi.md b/client/crm/docs/AccountsApi.md deleted file mode 100644 index ba90b3a..0000000 --- a/client/crm/docs/AccountsApi.md +++ /dev/null @@ -1,290 +0,0 @@ -# Crm.AccountsApi - -All URIs are relative to *http://crm.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**deleteAccount**](AccountsApi.md#deleteAccount) | **DELETE** /accounts | Delete An Account -[**getAccounts**](AccountsApi.md#getAccounts) | **GET** /accounts | Get a list of accounts -[**getAccountsObservable**](AccountsApi.md#getAccountsObservable) | **GET** /accounts/observable | Get Taxnexus Accounts in an observable array -[**postAccounts**](AccountsApi.md#postAccounts) | **POST** /accounts | Add a new account to Taxnexus -[**putAccount**](AccountsApi.md#putAccount) | **PUT** /accounts | Update a single account - - - -## deleteAccount - -> DeleteResponse deleteAccount(opts) - -Delete An Account - -Delete Taxnexus Account record - -### Example - -```javascript -import Crm from 'crm'; -let defaultClient = Crm.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Crm.AccountsApi(); -let opts = { - 'accountId': "accountId_example" // String | Taxnexus Record Id of an Account -}; -apiInstance.deleteAccount(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **accountId** | **String**| Taxnexus Record Id of an Account | [optional] - -### Return type - -[**DeleteResponse**](DeleteResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## getAccounts - -> AccountResponse getAccounts(opts) - -Get a list of accounts - -Return a list of all available Accounts - -### Example - -```javascript -import Crm from 'crm'; -let defaultClient = Crm.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Crm.AccountsApi(); -let opts = { - 'limit': 789, // Number | How many objects to return at one time - 'name': "name_example", // String | The Name of this Object - 'offset': 789, // Number | How many objects to skip? - 'active': true, // Boolean | Only retrieve active records? - 'accountId': "accountId_example", // String | Taxnexus Record Id of an Account - 'email': "email_example" // String | Email address used for identity lookup -}; -apiInstance.getAccounts(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **limit** | **Number**| How many objects to return at one time | [optional] - **name** | **String**| The Name of this Object | [optional] - **offset** | **Number**| How many objects to skip? | [optional] - **active** | **Boolean**| Only retrieve active records? | [optional] - **accountId** | **String**| Taxnexus Record Id of an Account | [optional] - **email** | **String**| Email address used for identity lookup | [optional] - -### Return type - -[**AccountResponse**](AccountResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## getAccountsObservable - -> [Account] getAccountsObservable(opts) - -Get Taxnexus Accounts in an observable array - -A list of accounts in a simple JSON array - -### Example - -```javascript -import Crm from 'crm'; -let defaultClient = Crm.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Crm.AccountsApi(); -let opts = { - 'name': "name_example", // String | The Name of this Object - 'active': true, // Boolean | Only retrieve active records? - 'accountId': "accountId_example", // String | Taxnexus Record Id of an Account - 'email': "email_example" // String | Email address used for identity lookup -}; -apiInstance.getAccountsObservable(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **name** | **String**| The Name of this Object | [optional] - **active** | **Boolean**| Only retrieve active records? | [optional] - **accountId** | **String**| Taxnexus Record Id of an Account | [optional] - **email** | **String**| Email address used for identity lookup | [optional] - -### Return type - -[**[Account]**](Account.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## postAccounts - -> AccountResponse postAccounts(accountRequest) - -Add a new account to Taxnexus - -Account record to be added - -### Example - -```javascript -import Crm from 'crm'; -let defaultClient = Crm.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Crm.AccountsApi(); -let accountRequest = new Crm.AccountRequest(); // AccountRequest | An array of new Account records -apiInstance.postAccounts(accountRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **accountRequest** | [**AccountRequest**](AccountRequest.md)| An array of new Account records | - -### Return type - -[**AccountResponse**](AccountResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - - -## putAccount - -> AccountResponse putAccount(accountRequest) - -Update a single account - -Update a single account specified by accountId - -### Example - -```javascript -import Crm from 'crm'; -let defaultClient = Crm.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Crm.AccountsApi(); -let accountRequest = new Crm.AccountRequest(); // AccountRequest | An array of new Account records -apiInstance.putAccount(accountRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **accountRequest** | [**AccountRequest**](AccountRequest.md)| An array of new Account records | - -### Return type - -[**AccountResponse**](AccountResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - diff --git a/client/crm/docs/Address.md b/client/crm/docs/Address.md deleted file mode 100644 index 6f08cba..0000000 --- a/client/crm/docs/Address.md +++ /dev/null @@ -1,15 +0,0 @@ -# Crm.Address - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**city** | **String** | City | [optional] -**country** | **String** | Country full name | [optional] -**countryCode** | **String** | Country Code | [optional] -**postalCode** | **String** | Postal Code | [optional] -**state** | **String** | State full name | [optional] -**stateCode** | **String** | State Code | [optional] -**street** | **String** | Street number and name | [optional] - - diff --git a/client/crm/docs/Asset.md b/client/crm/docs/Asset.md deleted file mode 100644 index 0668d59..0000000 --- a/client/crm/docs/Asset.md +++ /dev/null @@ -1,55 +0,0 @@ -# Crm.Asset - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ID** | **String** | Taxnexus Record Id | [optional] -**accountID** | **String** | Account | [optional] -**address** | [**Address**](Address.md) | | [optional] -**assetLevel** | **Number** | Asset Level | [optional] -**name** | **String** | Asset Name | [optional] -**assetProvidedByID** | **String** | Asset Provided By | [optional] -**assetServicedByID** | **String** | Asset Serviced By | [optional] -**companyProductID** | **String** | Company Product | [optional] -**isCompetitorProduct** | **Boolean** | Competitor Asset | [optional] -**consequenceOfFailure** | **String** | Consequence Of Failure | [optional] -**contactID** | **String** | Contact | [optional] -**createdByID** | **String** | Created By | [optional] -**createdDate** | **String** | Created Date | [optional] -**currentAmount** | **Number** | Current Amount | [optional] -**currentLifecycleEndDate** | **String** | Current Lifecycle End Date | [optional] -**currentMrr** | **Number** | Current Monthly Recurring Revenue | [optional] -**currentQuantity** | **Number** | Current Quantity | [optional] -**description** | **String** | Description | [optional] -**digitalAssetStatus** | **String** | Digital Asset Status | [optional] -**externalIdentifier** | **String** | External Id | [optional] -**hasLifecycleManagement** | **Boolean** | Has Lifecycle Management | [optional] -**installDate** | **String** | Install Date | [optional] -**isInternal** | **Boolean** | Internal Asset | [optional] -**lastModifiedByID** | **String** | Last Modified By | [optional] -**lastModifiedDate** | **String** | Last Modified Date | [optional] -**locationID** | **String** | Location | [optional] -**manufactureDate** | **String** | Manufacture Date | [optional] -**mIMEType** | **String** | MIME Type | [optional] -**parentID** | **String** | Parent Asset | [optional] -**price** | **Number** | Price | [optional] -**product2ID** | **String** | Product | [optional] -**productCode** | **String** | Product Code | [optional] -**productDescription** | **String** | Product Description | [optional] -**productFamily** | **String** | Product Family | [optional] -**stockKeepingUnit** | **String** | Product SKU | [optional] -**purchaseDate** | **String** | Purchase Date | [optional] -**quantity** | **Number** | Quantity | [optional] -**rootAssetID** | **String** | Root Asset | [optional] -**serialNumber** | **String** | Serial Number | [optional] -**status** | **String** | Status | [optional] -**statusReason** | **String** | Status Reason | [optional] -**tenantID** | **String** | Tenant ID | [optional] -**totalLifecycleAmount** | **Number** | Total Lifecycle Amount | [optional] -**type** | **String** | Type | [optional] -**UUID** | **String** | Unique Identifier | [optional] -**URL** | **String** | URL | [optional] -**usageEndDate** | **String** | Usage End Date | [optional] - - diff --git a/client/crm/docs/AssetRequest.md b/client/crm/docs/AssetRequest.md deleted file mode 100644 index 765092c..0000000 --- a/client/crm/docs/AssetRequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# Crm.AssetRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Asset]**](Asset.md) | | [optional] - - diff --git a/client/crm/docs/AssetResponse.md b/client/crm/docs/AssetResponse.md deleted file mode 100644 index 15df288..0000000 --- a/client/crm/docs/AssetResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# Crm.AssetResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Asset]**](Asset.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/crm/docs/AssetsApi.md b/client/crm/docs/AssetsApi.md deleted file mode 100644 index f30f236..0000000 --- a/client/crm/docs/AssetsApi.md +++ /dev/null @@ -1,282 +0,0 @@ -# Crm.AssetsApi - -All URIs are relative to *http://crm.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**deleteAsset**](AssetsApi.md#deleteAsset) | **DELETE** /assets | Delete An Asset -[**getAssets**](AssetsApi.md#getAssets) | **GET** /assets | Get a list of assets -[**getAssetsObservable**](AssetsApi.md#getAssetsObservable) | **GET** /assets/observable | Get Taxnexus Assets in an observable array -[**postAssets**](AssetsApi.md#postAssets) | **POST** /assets | Add a new asset to Taxnexus -[**putAsset**](AssetsApi.md#putAsset) | **PUT** /assets | Update a single asset - - - -## deleteAsset - -> DeleteResponse deleteAsset(opts) - -Delete An Asset - -Delete Taxnexus Asset record - -### Example - -```javascript -import Crm from 'crm'; -let defaultClient = Crm.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Crm.AssetsApi(); -let opts = { - 'assetId': "assetId_example" // String | Taxnexus Record Id of an Asset -}; -apiInstance.deleteAsset(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **assetId** | **String**| Taxnexus Record Id of an Asset | [optional] - -### Return type - -[**DeleteResponse**](DeleteResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## getAssets - -> AssetResponse getAssets(opts) - -Get a list of assets - -Return a list of all available Assets - -### Example - -```javascript -import Crm from 'crm'; -let defaultClient = Crm.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Crm.AssetsApi(); -let opts = { - 'limit': 789, // Number | How many objects to return at one time - 'offset': 789, // Number | How many objects to skip? - 'accountId': "accountId_example", // String | Taxnexus Record Id of an Account - 'assetId': "assetId_example" // String | Taxnexus Record Id of an Asset -}; -apiInstance.getAssets(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **limit** | **Number**| How many objects to return at one time | [optional] - **offset** | **Number**| How many objects to skip? | [optional] - **accountId** | **String**| Taxnexus Record Id of an Account | [optional] - **assetId** | **String**| Taxnexus Record Id of an Asset | [optional] - -### Return type - -[**AssetResponse**](AssetResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## getAssetsObservable - -> [Asset] getAssetsObservable(opts) - -Get Taxnexus Assets in an observable array - -A list of assets in a simple JSON array - -### Example - -```javascript -import Crm from 'crm'; -let defaultClient = Crm.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Crm.AssetsApi(); -let opts = { - 'accountId': "accountId_example", // String | Taxnexus Record Id of an Account - 'assetId': "assetId_example" // String | Taxnexus Record Id of an Asset -}; -apiInstance.getAssetsObservable(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **accountId** | **String**| Taxnexus Record Id of an Account | [optional] - **assetId** | **String**| Taxnexus Record Id of an Asset | [optional] - -### Return type - -[**[Asset]**](Asset.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## postAssets - -> AssetResponse postAssets(assetRequest) - -Add a new asset to Taxnexus - -Asset record to be added - -### Example - -```javascript -import Crm from 'crm'; -let defaultClient = Crm.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Crm.AssetsApi(); -let assetRequest = new Crm.AssetRequest(); // AssetRequest | An array of new Asset records -apiInstance.postAssets(assetRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **assetRequest** | [**AssetRequest**](AssetRequest.md)| An array of new Asset records | - -### Return type - -[**AssetResponse**](AssetResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - - -## putAsset - -> AssetResponse putAsset(assetRequest) - -Update a single asset - -Update a single asset specified by assetId - -### Example - -```javascript -import Crm from 'crm'; -let defaultClient = Crm.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Crm.AssetsApi(); -let assetRequest = new Crm.AssetRequest(); // AssetRequest | An array of new Asset records -apiInstance.putAsset(assetRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **assetRequest** | [**AssetRequest**](AssetRequest.md)| An array of new Asset records | - -### Return type - -[**AssetResponse**](AssetResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - diff --git a/client/crm/docs/Contact.md b/client/crm/docs/Contact.md deleted file mode 100644 index 3e6c3a5..0000000 --- a/client/crm/docs/Contact.md +++ /dev/null @@ -1,53 +0,0 @@ -# Crm.Contact - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**accountID** | **String** | The primary account ID of this contact | [optional] -**assistantName** | **String** | Assistant Name | [optional] -**assistantPhone** | **String** | Asst. Phone | [optional] -**birthDate** | **String** | Birthdate | [optional] -**createdByID** | **String** | Created By User ID | [optional] -**createdDate** | **String** | Created Date | [optional] -**department** | **String** | Department | [optional] -**description** | **String** | Description | [optional] -**doNotCall** | **Boolean** | Do Not Call? | [optional] -**email** | **String** | Email address | [optional] -**emailBounceDate** | **String** | Email Bounce Date | [optional] -**emailBouncedReason** | **String** | Email Bounce Reason | [optional] -**enrollmentStatus** | **String** | Taxnexus Enrollment Status | [optional] -**fax** | **String** | Fax Number | [optional] -**firstName** | **String** | First Name | [optional] -**hasOptedOutOfEmail** | **Boolean** | Email Opt Out | [optional] -**hasOptedOutOfFax** | **Boolean** | Fax Opt Out | [optional] -**homePhone** | **String** | Home Phone | [optional] -**ID** | **String** | Taxnexus Record Id | [optional] -**isEmailBounced** | **Boolean** | Does this contact have bounced emails? | [optional] -**isProvisioned** | **Boolean** | Is Provisioned? | [optional] -**lastModifiedByID** | **String** | Last Modified By User ID | [optional] -**lastModifiedDate** | **String** | Last Modified Date | [optional] -**lastName** | **String** | Last Name | [optional] -**leadSource** | **String** | Lead Source | [optional] -**level** | **String** | Level | [optional] -**linkedIn** | **String** | LinkedIn Page | [optional] -**mailingAddress** | [**Address**](Address.md) | | [optional] -**mailingLists** | **String** | Mailing Lists | [optional] -**mobilePhone** | **String** | Mobile Phone | [optional] -**name** | **String** | Full Name | [optional] -**otherAddress** | [**Address**](Address.md) | | [optional] -**otherPhone** | **String** | Other Phone | [optional] -**ownerID** | **String** | The User ID of the user who owns this Contact | [optional] -**personalEmail** | **String** | Personal Email Address for this Contact | [optional] -**phone** | **String** | Phone Number | [optional] -**photoURL** | **String** | URL of a photograph of this User | [optional] -**recruitingStatus** | **String** | Recruiting Status | [optional] -**ref** | **String** | External reference to this contact, if any | [optional] -**reportsToID** | **String** | Reports To Contact ID | [optional] -**salutation** | **String** | Contact Salutation | [optional] -**status** | **String** | The Contact Status | [optional] -**tenantID** | **String** | Tenant Identifier | [optional] -**title** | **String** | Contact Title | [optional] -**type** | **String** | Contact Type | [optional] - - diff --git a/client/crm/docs/ContactRequest.md b/client/crm/docs/ContactRequest.md deleted file mode 100644 index 33317ba..0000000 --- a/client/crm/docs/ContactRequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# Crm.ContactRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Contact]**](Contact.md) | | [optional] - - diff --git a/client/crm/docs/ContactResponse.md b/client/crm/docs/ContactResponse.md deleted file mode 100644 index 45c6f4a..0000000 --- a/client/crm/docs/ContactResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# Crm.ContactResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Contact]**](Contact.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/crm/docs/ContactsApi.md b/client/crm/docs/ContactsApi.md deleted file mode 100644 index 8d4d210..0000000 --- a/client/crm/docs/ContactsApi.md +++ /dev/null @@ -1,290 +0,0 @@ -# Crm.ContactsApi - -All URIs are relative to *http://crm.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**deleteContact**](ContactsApi.md#deleteContact) | **DELETE** /contacts | Delete a Contact -[**getContacts**](ContactsApi.md#getContacts) | **GET** /contacts | Get a list of contacts -[**getContactsObservable**](ContactsApi.md#getContactsObservable) | **GET** /contacts/observable | Get Taxnexus Contacts in an observable array -[**postContacts**](ContactsApi.md#postContacts) | **POST** /contacts | Add new contacts -[**putContacts**](ContactsApi.md#putContacts) | **PUT** /contacts | Update Contact - - - -## deleteContact - -> DeleteResponse deleteContact(opts) - -Delete a Contact - -Delete Taxnexus Contact record - -### Example - -```javascript -import Crm from 'crm'; -let defaultClient = Crm.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Crm.ContactsApi(); -let opts = { - 'contactId': "contactId_example" // String | Taxnexus Contact record ID -}; -apiInstance.deleteContact(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **contactId** | **String**| Taxnexus Contact record ID | [optional] - -### Return type - -[**DeleteResponse**](DeleteResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## getContacts - -> ContactResponse getContacts(opts) - -Get a list of contacts - -Return a list of all available Contacts - -### Example - -```javascript -import Crm from 'crm'; -let defaultClient = Crm.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Crm.ContactsApi(); -let opts = { - 'limit': 789, // Number | How many objects to return at one time - 'offset': 789, // Number | How many objects to skip? - 'contactId': "contactId_example", // String | Taxnexus Contact record ID - 'active': true, // Boolean | Only retrieve active records? - 'email': "email_example", // String | Email address used for identity lookup - 'name': "name_example" // String | The Name of this Object -}; -apiInstance.getContacts(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **limit** | **Number**| How many objects to return at one time | [optional] - **offset** | **Number**| How many objects to skip? | [optional] - **contactId** | **String**| Taxnexus Contact record ID | [optional] - **active** | **Boolean**| Only retrieve active records? | [optional] - **email** | **String**| Email address used for identity lookup | [optional] - **name** | **String**| The Name of this Object | [optional] - -### Return type - -[**ContactResponse**](ContactResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## getContactsObservable - -> [Contact] getContactsObservable(opts) - -Get Taxnexus Contacts in an observable array - -A list of contacts in a simple JSON array - -### Example - -```javascript -import Crm from 'crm'; -let defaultClient = Crm.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Crm.ContactsApi(); -let opts = { - 'contactId': "contactId_example", // String | Taxnexus Contact record ID - 'active': true, // Boolean | Only retrieve active records? - 'email': "email_example", // String | Email address used for identity lookup - 'name': "name_example" // String | The Name of this Object -}; -apiInstance.getContactsObservable(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **contactId** | **String**| Taxnexus Contact record ID | [optional] - **active** | **Boolean**| Only retrieve active records? | [optional] - **email** | **String**| Email address used for identity lookup | [optional] - **name** | **String**| The Name of this Object | [optional] - -### Return type - -[**[Contact]**](Contact.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## postContacts - -> ContactResponse postContacts(contactsRequest) - -Add new contacts - -Contact record to be added - -### Example - -```javascript -import Crm from 'crm'; -let defaultClient = Crm.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Crm.ContactsApi(); -let contactsRequest = new Crm.ContactRequest(); // ContactRequest | An array of new Contact records -apiInstance.postContacts(contactsRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **contactsRequest** | [**ContactRequest**](ContactRequest.md)| An array of new Contact records | - -### Return type - -[**ContactResponse**](ContactResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - - -## putContacts - -> ContactResponse putContacts(contactsRequest) - -Update Contact - -Update Contact records - -### Example - -```javascript -import Crm from 'crm'; -let defaultClient = Crm.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Crm.ContactsApi(); -let contactsRequest = new Crm.ContactRequest(); // ContactRequest | An array of new Contact records -apiInstance.putContacts(contactsRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **contactsRequest** | [**ContactRequest**](ContactRequest.md)| An array of new Contact records | - -### Return type - -[**ContactResponse**](ContactResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - diff --git a/client/crm/docs/Contract.md b/client/crm/docs/Contract.md deleted file mode 100644 index 7ae8f4a..0000000 --- a/client/crm/docs/Contract.md +++ /dev/null @@ -1,38 +0,0 @@ -# Crm.Contract - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**accountID** | **String** | Account | [optional] -**activatedByID** | **String** | Activated By | [optional] -**activatedDate** | **String** | Activated Date | [optional] -**billingAddress** | [**Address**](Address.md) | | [optional] -**billingContactID** | **String** | Billing Contact | [optional] -**companySignedDate** | **String** | Company Signed Date | [optional] -**companySignedID** | **String** | Company Signed By | [optional] -**contractNumber** | **String** | Contract Number | [optional] -**contractTerm** | **Number** | Contract Term (months) | [optional] -**createdByID** | **String** | Created By User ID | [optional] -**createdDate** | **String** | Created Date | [optional] -**customerSignedDate** | **String** | Customer Signed Date | [optional] -**customerSignedID** | **String** | Customer Signed By | [optional] -**customerSignedTitle** | **String** | Customer Signed Title | [optional] -**defaultEndUserID** | **String** | End User | [optional] -**description** | **String** | Description | [optional] -**endDate** | **String** | Contract End Date | [optional] -**hourlyRate** | **Number** | Hourly Rate | [optional] -**ID** | **String** | Telnexus Record Id | [optional] -**lastModifiedByID** | **String** | Last Modified By User ID | [optional] -**lastModifiedDate** | **String** | Last Modified Date | [optional] -**name** | **String** | Contract Name | [optional] -**paymentMethodID** | **String** | Payment Method | [optional] -**paymentTerms** | **String** | Payment Terms | [optional] -**perpetual** | **Boolean** | Perpetual Agreement? | [optional] -**shippingAddress** | [**Address**](Address.md) | | [optional] -**shippingContactID** | **String** | Shipping Contact | [optional] -**startDate** | **String** | Contract Start Date | [optional] -**status** | **String** | Status | [optional] -**tenantID** | **String** | Tenant Identifier | [optional] - - diff --git a/client/crm/docs/ContractRequest.md b/client/crm/docs/ContractRequest.md deleted file mode 100644 index 690fa66..0000000 --- a/client/crm/docs/ContractRequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# Crm.ContractRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Contract]**](Contract.md) | | [optional] - - diff --git a/client/crm/docs/ContractResponse.md b/client/crm/docs/ContractResponse.md deleted file mode 100644 index 75fa405..0000000 --- a/client/crm/docs/ContractResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# Crm.ContractResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Contract]**](Contract.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/crm/docs/ContractsApi.md b/client/crm/docs/ContractsApi.md deleted file mode 100644 index 05fd9e1..0000000 --- a/client/crm/docs/ContractsApi.md +++ /dev/null @@ -1,282 +0,0 @@ -# Crm.ContractsApi - -All URIs are relative to *http://crm.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**deleteContract**](ContractsApi.md#deleteContract) | **DELETE** /contracts | Delete An Contract -[**getContracts**](ContractsApi.md#getContracts) | **GET** /contracts | Get a list of contracts -[**getContractsObservable**](ContractsApi.md#getContractsObservable) | **GET** /contracts/observable | Get Taxnexus Contracts in an observable array -[**postContracts**](ContractsApi.md#postContracts) | **POST** /contracts | Add a new contract to Taxnexus -[**putContract**](ContractsApi.md#putContract) | **PUT** /contracts | Update a single contract - - - -## deleteContract - -> DeleteResponse deleteContract(opts) - -Delete An Contract - -Delete Taxnexus Contract record - -### Example - -```javascript -import Crm from 'crm'; -let defaultClient = Crm.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Crm.ContractsApi(); -let opts = { - 'contractId': "contractId_example" // String | Taxnexus Contact record ID -}; -apiInstance.deleteContract(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **contractId** | **String**| Taxnexus Contact record ID | [optional] - -### Return type - -[**DeleteResponse**](DeleteResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## getContracts - -> ContractResponse getContracts(opts) - -Get a list of contracts - -Return a list of all available Contracts - -### Example - -```javascript -import Crm from 'crm'; -let defaultClient = Crm.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Crm.ContractsApi(); -let opts = { - 'limit': 789, // Number | How many objects to return at one time - 'offset': 789, // Number | How many objects to skip? - 'active': true, // Boolean | Only retrieve active records? - 'contractId': "contractId_example" // String | Taxnexus Contact record ID -}; -apiInstance.getContracts(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **limit** | **Number**| How many objects to return at one time | [optional] - **offset** | **Number**| How many objects to skip? | [optional] - **active** | **Boolean**| Only retrieve active records? | [optional] - **contractId** | **String**| Taxnexus Contact record ID | [optional] - -### Return type - -[**ContractResponse**](ContractResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## getContractsObservable - -> [Contract] getContractsObservable(opts) - -Get Taxnexus Contracts in an observable array - -A list of contracts in a simple JSON array - -### Example - -```javascript -import Crm from 'crm'; -let defaultClient = Crm.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Crm.ContractsApi(); -let opts = { - 'active': true, // Boolean | Only retrieve active records? - 'contractId': "contractId_example" // String | Taxnexus Contact record ID -}; -apiInstance.getContractsObservable(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **active** | **Boolean**| Only retrieve active records? | [optional] - **contractId** | **String**| Taxnexus Contact record ID | [optional] - -### Return type - -[**[Contract]**](Contract.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## postContracts - -> ContractResponse postContracts(contractsRequest) - -Add a new contract to Taxnexus - -Contract record to be added - -### Example - -```javascript -import Crm from 'crm'; -let defaultClient = Crm.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Crm.ContractsApi(); -let contractsRequest = new Crm.ContractRequest(); // ContractRequest | An array of new Contract records -apiInstance.postContracts(contractsRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **contractsRequest** | [**ContractRequest**](ContractRequest.md)| An array of new Contract records | - -### Return type - -[**ContractResponse**](ContractResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - - -## putContract - -> ContractResponse putContract(contractsRequest) - -Update a single contract - -Update a single contract specified by contractId - -### Example - -```javascript -import Crm from 'crm'; -let defaultClient = Crm.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Crm.ContractsApi(); -let contractsRequest = new Crm.ContractRequest(); // ContractRequest | An array of new Contract records -apiInstance.putContract(contractsRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **contractsRequest** | [**ContractRequest**](ContractRequest.md)| An array of new Contract records | - -### Return type - -[**ContractResponse**](ContractResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - diff --git a/client/crm/docs/CorsApi.md b/client/crm/docs/CorsApi.md deleted file mode 100644 index 909d5e9..0000000 --- a/client/crm/docs/CorsApi.md +++ /dev/null @@ -1,428 +0,0 @@ -# Crm.CorsApi - -All URIs are relative to *http://crm.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**accountOptions**](CorsApi.md#accountOptions) | **OPTIONS** /accounts | -[**accountOptionsObservable**](CorsApi.md#accountOptionsObservable) | **OPTIONS** /accounts/observable | -[**assetOptions**](CorsApi.md#assetOptions) | **OPTIONS** /assets | -[**assetOptionsObservable**](CorsApi.md#assetOptionsObservable) | **OPTIONS** /assets/observable | -[**contactOptions**](CorsApi.md#contactOptions) | **OPTIONS** /contacts | -[**contactOptionsObservable**](CorsApi.md#contactOptionsObservable) | **OPTIONS** /contacts/observable | -[**contractOptions**](CorsApi.md#contractOptions) | **OPTIONS** /contracts | -[**contractOptionsObservable**](CorsApi.md#contractOptionsObservable) | **OPTIONS** /contracts/observable | -[**leadOptions**](CorsApi.md#leadOptions) | **OPTIONS** /leads | -[**leadOptionsObservable**](CorsApi.md#leadOptionsObservable) | **OPTIONS** /leads/observable | - - - -## accountOptions - -> accountOptions() - - - -CORS support - -### Example - -```javascript -import Crm from 'crm'; - -let apiInstance = new Crm.CorsApi(); -apiInstance.accountOptions((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - - -## accountOptionsObservable - -> accountOptionsObservable() - - - -CORS support - -### Example - -```javascript -import Crm from 'crm'; - -let apiInstance = new Crm.CorsApi(); -apiInstance.accountOptionsObservable((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - - -## assetOptions - -> assetOptions() - - - -CORS support - -### Example - -```javascript -import Crm from 'crm'; - -let apiInstance = new Crm.CorsApi(); -apiInstance.assetOptions((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - - -## assetOptionsObservable - -> assetOptionsObservable() - - - -CORS support - -### Example - -```javascript -import Crm from 'crm'; - -let apiInstance = new Crm.CorsApi(); -apiInstance.assetOptionsObservable((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - - -## contactOptions - -> contactOptions() - - - -CORS support - -### Example - -```javascript -import Crm from 'crm'; - -let apiInstance = new Crm.CorsApi(); -apiInstance.contactOptions((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - - -## contactOptionsObservable - -> contactOptionsObservable() - - - -CORS support - -### Example - -```javascript -import Crm from 'crm'; - -let apiInstance = new Crm.CorsApi(); -apiInstance.contactOptionsObservable((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - - -## contractOptions - -> contractOptions() - - - -CORS support - -### Example - -```javascript -import Crm from 'crm'; - -let apiInstance = new Crm.CorsApi(); -apiInstance.contractOptions((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - - -## contractOptionsObservable - -> contractOptionsObservable() - - - -CORS support - -### Example - -```javascript -import Crm from 'crm'; - -let apiInstance = new Crm.CorsApi(); -apiInstance.contractOptionsObservable((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - - -## leadOptions - -> leadOptions() - - - -CORS support - -### Example - -```javascript -import Crm from 'crm'; - -let apiInstance = new Crm.CorsApi(); -apiInstance.leadOptions((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - - -## leadOptionsObservable - -> leadOptionsObservable() - - - -CORS support - -### Example - -```javascript -import Crm from 'crm'; - -let apiInstance = new Crm.CorsApi(); -apiInstance.leadOptionsObservable((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - diff --git a/client/crm/docs/DeleteResponse.md b/client/crm/docs/DeleteResponse.md deleted file mode 100644 index 134ddef..0000000 --- a/client/crm/docs/DeleteResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# Crm.DeleteResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Message]**](Message.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/crm/docs/Error.md b/client/crm/docs/Error.md deleted file mode 100644 index 350a1c3..0000000 --- a/client/crm/docs/Error.md +++ /dev/null @@ -1,11 +0,0 @@ -# Crm.Error - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **Number** | | [optional] -**fields** | **String** | | [optional] -**message** | **String** | | [optional] - - diff --git a/client/crm/docs/InvalidError.md b/client/crm/docs/InvalidError.md deleted file mode 100644 index 407e226..0000000 --- a/client/crm/docs/InvalidError.md +++ /dev/null @@ -1,12 +0,0 @@ -# Crm.InvalidError - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **Number** | | [optional] -**fields** | **String** | | [optional] -**message** | **String** | | [optional] -**details** | **[String]** | | [optional] - - diff --git a/client/crm/docs/InvalidErrorAllOf.md b/client/crm/docs/InvalidErrorAllOf.md deleted file mode 100644 index 394f50b..0000000 --- a/client/crm/docs/InvalidErrorAllOf.md +++ /dev/null @@ -1,9 +0,0 @@ -# Crm.InvalidErrorAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**details** | **[String]** | | [optional] - - diff --git a/client/crm/docs/Lead.md b/client/crm/docs/Lead.md deleted file mode 100644 index a71666d..0000000 --- a/client/crm/docs/Lead.md +++ /dev/null @@ -1,36 +0,0 @@ -# Crm.Lead - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**address** | [**Address**](Address.md) | | [optional] -**company** | **String** | Company | [optional] -**createdByID** | **String** | Created By User ID | [optional] -**createdDate** | **String** | Created Date | [optional] -**description** | **String** | Description | [optional] -**email** | **String** | Email | [optional] -**firstName** | **String** | First Name | [optional] -**ID** | **String** | Taxnexus Record Id | [optional] -**lastModifiedByID** | **String** | Last Modified By User ID | [optional] -**lastModifiedDate** | **String** | Last Modified Date | [optional] -**lastName** | **String** | Last Name | [optional] -**mobilePhone** | **String** | Mobile | [optional] -**name** | **String** | Name | [optional] -**ownerId** | **String** | LeadBasic Owner | [optional] -**partnerAccountId** | **String** | Partner Account | [optional] -**phone** | **String** | Phone | [optional] -**productID** | **String** | Product | [optional] -**refererURL** | **String** | referer_url | [optional] -**status** | **String** | LeadBasic Status | [optional] -**tenantID** | **String** | Tenant Identifier | [optional] -**title** | **String** | Title | [optional] -**type** | **String** | Type | [optional] -**uTMCampaign** | **String** | utm_campaign | [optional] -**uTMContent** | **String** | utm_content | [optional] -**uTMMedium** | **String** | utm_medium | [optional] -**uTMSource** | **String** | utm_source | [optional] -**uTMTerm** | **String** | utm_term | [optional] -**website** | **String** | Website | [optional] - - diff --git a/client/crm/docs/LeadRequest.md b/client/crm/docs/LeadRequest.md deleted file mode 100644 index 2f050fd..0000000 --- a/client/crm/docs/LeadRequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# Crm.LeadRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Lead]**](Lead.md) | | [optional] - - diff --git a/client/crm/docs/LeadResponse.md b/client/crm/docs/LeadResponse.md deleted file mode 100644 index 82f0597..0000000 --- a/client/crm/docs/LeadResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# Crm.LeadResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Lead]**](Lead.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/crm/docs/LeadsApi.md b/client/crm/docs/LeadsApi.md deleted file mode 100644 index 8e0a5f4..0000000 --- a/client/crm/docs/LeadsApi.md +++ /dev/null @@ -1,286 +0,0 @@ -# Crm.LeadsApi - -All URIs are relative to *http://crm.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**deleteLead**](LeadsApi.md#deleteLead) | **DELETE** /leads | Delete a Contact -[**getLeads**](LeadsApi.md#getLeads) | **GET** /leads | Get a list of contacts -[**getLeadsObservable**](LeadsApi.md#getLeadsObservable) | **GET** /leads/observable | Get Taxnexus Leads in an observable array -[**postLeads**](LeadsApi.md#postLeads) | **POST** /leads | Add new Leads -[**putLeads**](LeadsApi.md#putLeads) | **PUT** /leads | Update Leads - - - -## deleteLead - -> DeleteResponse deleteLead(opts) - -Delete a Contact - -Delete Taxnexus Lead record - -### Example - -```javascript -import Crm from 'crm'; -let defaultClient = Crm.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Crm.LeadsApi(); -let opts = { - 'leadId': "leadId_example" // String | Taxnexus Lead record ID -}; -apiInstance.deleteLead(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **leadId** | **String**| Taxnexus Lead record ID | [optional] - -### Return type - -[**DeleteResponse**](DeleteResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## getLeads - -> LeadResponse getLeads(opts) - -Get a list of contacts - -Return a list of all available Leads - -### Example - -```javascript -import Crm from 'crm'; -let defaultClient = Crm.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Crm.LeadsApi(); -let opts = { - 'limit': 789, // Number | How many objects to return at one time - 'offset': 789, // Number | How many objects to skip? - 'leadId': "leadId_example", // String | Taxnexus Lead record ID - 'email': "email_example", // String | Email address used for identity lookup - 'name': "name_example" // String | The Name of this Object -}; -apiInstance.getLeads(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **limit** | **Number**| How many objects to return at one time | [optional] - **offset** | **Number**| How many objects to skip? | [optional] - **leadId** | **String**| Taxnexus Lead record ID | [optional] - **email** | **String**| Email address used for identity lookup | [optional] - **name** | **String**| The Name of this Object | [optional] - -### Return type - -[**LeadResponse**](LeadResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## getLeadsObservable - -> [Lead] getLeadsObservable(opts) - -Get Taxnexus Leads in an observable array - -A list of leads in a simple JSON array - -### Example - -```javascript -import Crm from 'crm'; -let defaultClient = Crm.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Crm.LeadsApi(); -let opts = { - 'leadId': "leadId_example", // String | Taxnexus Lead record ID - 'email': "email_example", // String | Email address used for identity lookup - 'name': "name_example" // String | The Name of this Object -}; -apiInstance.getLeadsObservable(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **leadId** | **String**| Taxnexus Lead record ID | [optional] - **email** | **String**| Email address used for identity lookup | [optional] - **name** | **String**| The Name of this Object | [optional] - -### Return type - -[**[Lead]**](Lead.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## postLeads - -> LeadResponse postLeads(leadRequest) - -Add new Leads - -Lead records to be added - -### Example - -```javascript -import Crm from 'crm'; -let defaultClient = Crm.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Crm.LeadsApi(); -let leadRequest = new Crm.LeadRequest(); // LeadRequest | An array of new Lead records -apiInstance.postLeads(leadRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **leadRequest** | [**LeadRequest**](LeadRequest.md)| An array of new Lead records | - -### Return type - -[**LeadResponse**](LeadResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - - -## putLeads - -> LeadResponse putLeads(leadRequest) - -Update Leads - -Update Lead records - -### Example - -```javascript -import Crm from 'crm'; -let defaultClient = Crm.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Crm.LeadsApi(); -let leadRequest = new Crm.LeadRequest(); // LeadRequest | An array of new Lead records -apiInstance.putLeads(leadRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **leadRequest** | [**LeadRequest**](LeadRequest.md)| An array of new Lead records | - -### Return type - -[**LeadResponse**](LeadResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - diff --git a/client/crm/docs/Message.md b/client/crm/docs/Message.md deleted file mode 100644 index 36099fb..0000000 --- a/client/crm/docs/Message.md +++ /dev/null @@ -1,11 +0,0 @@ -# Crm.Message - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **String** | | [optional] -**ref** | **String** | | [optional] -**status** | **Number** | | [optional] - - diff --git a/client/crm/docs/Pagination.md b/client/crm/docs/Pagination.md deleted file mode 100644 index 0f5fbfd..0000000 --- a/client/crm/docs/Pagination.md +++ /dev/null @@ -1,12 +0,0 @@ -# Crm.Pagination - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**limit** | **Number** | | [optional] -**pagesize** | **Number** | | [optional] -**poffset** | **Number** | | [optional] -**setsize** | **Number** | | [optional] - - diff --git a/client/crm/docs/RequestMeta.md b/client/crm/docs/RequestMeta.md deleted file mode 100644 index 3f16e40..0000000 --- a/client/crm/docs/RequestMeta.md +++ /dev/null @@ -1,9 +0,0 @@ -# Crm.RequestMeta - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**taxnexusAccount** | **String** | Taxnexus Account Number of the Reseller or OEM | - - diff --git a/client/crm/docs/ResponseMeta.md b/client/crm/docs/ResponseMeta.md deleted file mode 100644 index eeb637b..0000000 --- a/client/crm/docs/ResponseMeta.md +++ /dev/null @@ -1,20 +0,0 @@ -# Crm.ResponseMeta - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**contact** | **String** | Microservice Contact Info | [optional] -**copyright** | **String** | Copyright Info | [optional] -**license** | **String** | License Information and Restrictions | [optional] -**operationID** | **String** | Operation ID | [optional] -**pagination** | [**Pagination**](Pagination.md) | | [optional] -**requestIP** | **String** | Request IP Address | [optional] -**requestType** | **String** | Request Type | [optional] -**requestURL** | **String** | Request URL | [optional] -**serverInfo** | **String** | Data Server Info | [optional] -**serverResponseTime** | **String** | Data Server Response Time (ms) | [optional] -**serverTimestamp** | **String** | Backend Server Timestamp | [optional] -**taxnexusAccount** | **String** | Taxnexus Account Number used for recording transactions | [optional] - - diff --git a/client/crm/git_push.sh b/client/crm/git_push.sh deleted file mode 100644 index f53a75d..0000000 --- a/client/crm/git_push.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh -# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ -# -# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com" - -git_user_id=$1 -git_repo_id=$2 -release_note=$3 -git_host=$4 - -if [ "$git_host" = "" ]; then - git_host="github.com" - echo "[INFO] No command line input provided. Set \$git_host to $git_host" -fi - -if [ "$git_user_id" = "" ]; then - git_user_id="GIT_USER_ID" - echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" -fi - -if [ "$git_repo_id" = "" ]; then - git_repo_id="GIT_REPO_ID" - echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" -fi - -if [ "$release_note" = "" ]; then - release_note="Minor update" - echo "[INFO] No command line input provided. Set \$release_note to $release_note" -fi - -# Initialize the local directory as a Git repository -git init - -# Adds the files in the local repository and stages them for commit. -git add . - -# Commits the tracked changes and prepares them to be pushed to a remote repository. -git commit -m "$release_note" - -# Sets the new remote -git_remote=$(git remote) -if [ "$git_remote" = "" ]; then # git remote not defined - - if [ "$GIT_TOKEN" = "" ]; then - echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." - git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git - else - git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git - fi - -fi - -git pull origin master - -# Pushes (Forces) the changes in the local repository up to the remote repository -echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git" -git push origin master 2>&1 | grep -v 'To https' diff --git a/client/crm/mocha.opts b/client/crm/mocha.opts deleted file mode 100644 index 9070118..0000000 --- a/client/crm/mocha.opts +++ /dev/null @@ -1 +0,0 @@ ---timeout 10000 diff --git a/client/crm/package.json b/client/crm/package.json deleted file mode 100644 index a40a4c7..0000000 --- a/client/crm/package.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "crm", - "version": "0.0.2", - "description": "Customer_Information_Microservice", - "license": "Proprietary - Copyright (c) 2018-2021 by Taxnexus, Inc.", - "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/client/crm/src/ApiClient.js b/client/crm/src/ApiClient.js deleted file mode 100644 index 84278a0..0000000 --- a/client/crm/src/ApiClient.js +++ /dev/null @@ -1,692 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * 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 0.0.2 -*/ - -/** -* 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 { - /** - * The base URL against which to resolve every API call's (relative) path. - * Overrides the default value set in spec file if present - * @param {String} basePath - */ - constructor(basePath = 'http://crm.vernonkeenan.com:8080/v1') { - /** - * The base URL against which to resolve every API call's (relative) path. - * @type {String} - * @default http://crm.vernonkeenan.com:8080/v1 - */ - this.basePath = basePath.replace(/\/+$/, ''); - - /** - * The authentication methods to be included for all API calls. - * @type {Array.} - */ - this.authentications = { - 'ApiKeyAuth': {type: 'apiKey', 'in': 'header', name: 'X-API-Key'} - } - - /** - * The default HTTP headers to be included for all API calls. - * @type {Array.} - * @default {} - */ - this.defaultHeaders = { - 'User-Agent': 'OpenAPI-Generator/0.0.2/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('text'); - } - - // 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': "http://crm.vernonkeenan.com:8080/v1", - '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/client/crm/src/api/AccountsApi.js b/client/crm/src/api/AccountsApi.js deleted file mode 100644 index b0eb502..0000000 --- a/client/crm/src/api/AccountsApi.js +++ /dev/null @@ -1,265 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Account from '../model/Account'; -import AccountRequest from '../model/AccountRequest'; -import AccountResponse from '../model/AccountResponse'; -import DeleteResponse from '../model/DeleteResponse'; -import Error from '../model/Error'; - -/** -* Accounts service. -* @module api/AccountsApi -* @version 0.0.2 -*/ -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 deleteAccount operation. - * @callback module:api/AccountsApi~deleteAccountCallback - * @param {String} error Error message, if any. - * @param {module:model/DeleteResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Delete An Account - * Delete Taxnexus Account record - * @param {Object} opts Optional parameters - * @param {String} opts.accountId Taxnexus Record Id of an Account - * @param {module:api/AccountsApi~deleteAccountCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/DeleteResponse} - */ - deleteAccount(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'accountId': opts['accountId'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = DeleteResponse; - return this.apiClient.callApi( - '/accounts', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the getAccounts operation. - * @callback module:api/AccountsApi~getAccountsCallback - * @param {String} error Error message, if any. - * @param {module:model/AccountResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a list of accounts - * Return a list of all available Accounts - * @param {Object} opts Optional parameters - * @param {Number} opts.limit How many objects to return at one time - * @param {String} opts.name The Name of this Object - * @param {Number} opts.offset How many objects to skip? - * @param {Boolean} opts.active Only retrieve active records? - * @param {String} opts.accountId Taxnexus Record Id of an Account - * @param {String} opts.email Email address used for identity lookup - * @param {module:api/AccountsApi~getAccountsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/AccountResponse} - */ - getAccounts(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'limit': opts['limit'], - 'name': opts['name'], - 'offset': opts['offset'], - 'active': opts['active'], - 'accountId': opts['accountId'], - 'email': opts['email'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = AccountResponse; - return this.apiClient.callApi( - '/accounts', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the getAccountsObservable operation. - * @callback module:api/AccountsApi~getAccountsObservableCallback - * @param {String} error Error message, if any. - * @param {Array.} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get Taxnexus Accounts in an observable array - * A list of accounts in a simple JSON array - * @param {Object} opts Optional parameters - * @param {String} opts.name The Name of this Object - * @param {Boolean} opts.active Only retrieve active records? - * @param {String} opts.accountId Taxnexus Record Id of an Account - * @param {String} opts.email Email address used for identity lookup - * @param {module:api/AccountsApi~getAccountsObservableCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link Array.} - */ - getAccountsObservable(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'name': opts['name'], - 'active': opts['active'], - 'accountId': opts['accountId'], - 'email': opts['email'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = [Account]; - return this.apiClient.callApi( - '/accounts/observable', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the postAccounts operation. - * @callback module:api/AccountsApi~postAccountsCallback - * @param {String} error Error message, if any. - * @param {module:model/AccountResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Add a new account to Taxnexus - * Account record to be added - * @param {module:model/AccountRequest} accountRequest An array of new Account records - * @param {module:api/AccountsApi~postAccountsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/AccountResponse} - */ - postAccounts(accountRequest, callback) { - let postBody = accountRequest; - // verify the required parameter 'accountRequest' is set - if (accountRequest === undefined || accountRequest === null) { - throw new Error("Missing the required parameter 'accountRequest' when calling postAccounts"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = AccountResponse; - return this.apiClient.callApi( - '/accounts', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the putAccount operation. - * @callback module:api/AccountsApi~putAccountCallback - * @param {String} error Error message, if any. - * @param {module:model/AccountResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Update a single account - * Update a single account specified by accountId - * @param {module:model/AccountRequest} accountRequest An array of new Account records - * @param {module:api/AccountsApi~putAccountCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/AccountResponse} - */ - putAccount(accountRequest, callback) { - let postBody = accountRequest; - // verify the required parameter 'accountRequest' is set - if (accountRequest === undefined || accountRequest === null) { - throw new Error("Missing the required parameter 'accountRequest' when calling putAccount"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = AccountResponse; - return this.apiClient.callApi( - '/accounts', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/crm/src/api/AssetsApi.js b/client/crm/src/api/AssetsApi.js deleted file mode 100644 index 028c719..0000000 --- a/client/crm/src/api/AssetsApi.js +++ /dev/null @@ -1,257 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Asset from '../model/Asset'; -import AssetRequest from '../model/AssetRequest'; -import AssetResponse from '../model/AssetResponse'; -import DeleteResponse from '../model/DeleteResponse'; -import Error from '../model/Error'; - -/** -* Assets service. -* @module api/AssetsApi -* @version 0.0.2 -*/ -export default class AssetsApi { - - /** - * Constructs a new AssetsApi. - * @alias module:api/AssetsApi - * @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 deleteAsset operation. - * @callback module:api/AssetsApi~deleteAssetCallback - * @param {String} error Error message, if any. - * @param {module:model/DeleteResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Delete An Asset - * Delete Taxnexus Asset record - * @param {Object} opts Optional parameters - * @param {String} opts.assetId Taxnexus Record Id of an Asset - * @param {module:api/AssetsApi~deleteAssetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/DeleteResponse} - */ - deleteAsset(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'assetId': opts['assetId'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = DeleteResponse; - return this.apiClient.callApi( - '/assets', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the getAssets operation. - * @callback module:api/AssetsApi~getAssetsCallback - * @param {String} error Error message, if any. - * @param {module:model/AssetResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a list of assets - * Return a list of all available Assets - * @param {Object} opts Optional parameters - * @param {Number} opts.limit How many objects to return at one time - * @param {Number} opts.offset How many objects to skip? - * @param {String} opts.accountId Taxnexus Record Id of an Account - * @param {String} opts.assetId Taxnexus Record Id of an Asset - * @param {module:api/AssetsApi~getAssetsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/AssetResponse} - */ - getAssets(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'limit': opts['limit'], - 'offset': opts['offset'], - 'accountId': opts['accountId'], - 'assetId': opts['assetId'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = AssetResponse; - return this.apiClient.callApi( - '/assets', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the getAssetsObservable operation. - * @callback module:api/AssetsApi~getAssetsObservableCallback - * @param {String} error Error message, if any. - * @param {Array.} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get Taxnexus Assets in an observable array - * A list of assets in a simple JSON array - * @param {Object} opts Optional parameters - * @param {String} opts.accountId Taxnexus Record Id of an Account - * @param {String} opts.assetId Taxnexus Record Id of an Asset - * @param {module:api/AssetsApi~getAssetsObservableCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link Array.} - */ - getAssetsObservable(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'accountId': opts['accountId'], - 'assetId': opts['assetId'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = [Asset]; - return this.apiClient.callApi( - '/assets/observable', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the postAssets operation. - * @callback module:api/AssetsApi~postAssetsCallback - * @param {String} error Error message, if any. - * @param {module:model/AssetResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Add a new asset to Taxnexus - * Asset record to be added - * @param {module:model/AssetRequest} assetRequest An array of new Asset records - * @param {module:api/AssetsApi~postAssetsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/AssetResponse} - */ - postAssets(assetRequest, callback) { - let postBody = assetRequest; - // verify the required parameter 'assetRequest' is set - if (assetRequest === undefined || assetRequest === null) { - throw new Error("Missing the required parameter 'assetRequest' when calling postAssets"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = AssetResponse; - return this.apiClient.callApi( - '/assets', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the putAsset operation. - * @callback module:api/AssetsApi~putAssetCallback - * @param {String} error Error message, if any. - * @param {module:model/AssetResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Update a single asset - * Update a single asset specified by assetId - * @param {module:model/AssetRequest} assetRequest An array of new Asset records - * @param {module:api/AssetsApi~putAssetCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/AssetResponse} - */ - putAsset(assetRequest, callback) { - let postBody = assetRequest; - // verify the required parameter 'assetRequest' is set - if (assetRequest === undefined || assetRequest === null) { - throw new Error("Missing the required parameter 'assetRequest' when calling putAsset"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = AssetResponse; - return this.apiClient.callApi( - '/assets', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/crm/src/api/ContactsApi.js b/client/crm/src/api/ContactsApi.js deleted file mode 100644 index a68b5a8..0000000 --- a/client/crm/src/api/ContactsApi.js +++ /dev/null @@ -1,265 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Contact from '../model/Contact'; -import ContactRequest from '../model/ContactRequest'; -import ContactResponse from '../model/ContactResponse'; -import DeleteResponse from '../model/DeleteResponse'; -import Error from '../model/Error'; - -/** -* Contacts service. -* @module api/ContactsApi -* @version 0.0.2 -*/ -export default class ContactsApi { - - /** - * Constructs a new ContactsApi. - * @alias module:api/ContactsApi - * @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 deleteContact operation. - * @callback module:api/ContactsApi~deleteContactCallback - * @param {String} error Error message, if any. - * @param {module:model/DeleteResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Delete a Contact - * Delete Taxnexus Contact record - * @param {Object} opts Optional parameters - * @param {String} opts.contactId Taxnexus Contact record ID - * @param {module:api/ContactsApi~deleteContactCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/DeleteResponse} - */ - deleteContact(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'contactId': opts['contactId'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = DeleteResponse; - return this.apiClient.callApi( - '/contacts', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the getContacts operation. - * @callback module:api/ContactsApi~getContactsCallback - * @param {String} error Error message, if any. - * @param {module:model/ContactResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a list of contacts - * Return a list of all available Contacts - * @param {Object} opts Optional parameters - * @param {Number} opts.limit How many objects to return at one time - * @param {Number} opts.offset How many objects to skip? - * @param {String} opts.contactId Taxnexus Contact record ID - * @param {Boolean} opts.active Only retrieve active records? - * @param {String} opts.email Email address used for identity lookup - * @param {String} opts.name The Name of this Object - * @param {module:api/ContactsApi~getContactsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/ContactResponse} - */ - getContacts(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'limit': opts['limit'], - 'offset': opts['offset'], - 'contactId': opts['contactId'], - 'active': opts['active'], - 'email': opts['email'], - 'name': opts['name'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = ContactResponse; - return this.apiClient.callApi( - '/contacts', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the getContactsObservable operation. - * @callback module:api/ContactsApi~getContactsObservableCallback - * @param {String} error Error message, if any. - * @param {Array.} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get Taxnexus Contacts in an observable array - * A list of contacts in a simple JSON array - * @param {Object} opts Optional parameters - * @param {String} opts.contactId Taxnexus Contact record ID - * @param {Boolean} opts.active Only retrieve active records? - * @param {String} opts.email Email address used for identity lookup - * @param {String} opts.name The Name of this Object - * @param {module:api/ContactsApi~getContactsObservableCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link Array.} - */ - getContactsObservable(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'contactId': opts['contactId'], - 'active': opts['active'], - 'email': opts['email'], - 'name': opts['name'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = [Contact]; - return this.apiClient.callApi( - '/contacts/observable', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the postContacts operation. - * @callback module:api/ContactsApi~postContactsCallback - * @param {String} error Error message, if any. - * @param {module:model/ContactResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Add new contacts - * Contact record to be added - * @param {module:model/ContactRequest} contactsRequest An array of new Contact records - * @param {module:api/ContactsApi~postContactsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/ContactResponse} - */ - postContacts(contactsRequest, callback) { - let postBody = contactsRequest; - // verify the required parameter 'contactsRequest' is set - if (contactsRequest === undefined || contactsRequest === null) { - throw new Error("Missing the required parameter 'contactsRequest' when calling postContacts"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = ContactResponse; - return this.apiClient.callApi( - '/contacts', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the putContacts operation. - * @callback module:api/ContactsApi~putContactsCallback - * @param {String} error Error message, if any. - * @param {module:model/ContactResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Update Contact - * Update Contact records - * @param {module:model/ContactRequest} contactsRequest An array of new Contact records - * @param {module:api/ContactsApi~putContactsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/ContactResponse} - */ - putContacts(contactsRequest, callback) { - let postBody = contactsRequest; - // verify the required parameter 'contactsRequest' is set - if (contactsRequest === undefined || contactsRequest === null) { - throw new Error("Missing the required parameter 'contactsRequest' when calling putContacts"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = ContactResponse; - return this.apiClient.callApi( - '/contacts', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/crm/src/api/ContractsApi.js b/client/crm/src/api/ContractsApi.js deleted file mode 100644 index 8c04a6f..0000000 --- a/client/crm/src/api/ContractsApi.js +++ /dev/null @@ -1,257 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Contract from '../model/Contract'; -import ContractRequest from '../model/ContractRequest'; -import ContractResponse from '../model/ContractResponse'; -import DeleteResponse from '../model/DeleteResponse'; -import Error from '../model/Error'; - -/** -* Contracts service. -* @module api/ContractsApi -* @version 0.0.2 -*/ -export default class ContractsApi { - - /** - * Constructs a new ContractsApi. - * @alias module:api/ContractsApi - * @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 deleteContract operation. - * @callback module:api/ContractsApi~deleteContractCallback - * @param {String} error Error message, if any. - * @param {module:model/DeleteResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Delete An Contract - * Delete Taxnexus Contract record - * @param {Object} opts Optional parameters - * @param {String} opts.contractId Taxnexus Contact record ID - * @param {module:api/ContractsApi~deleteContractCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/DeleteResponse} - */ - deleteContract(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'contractId': opts['contractId'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = DeleteResponse; - return this.apiClient.callApi( - '/contracts', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the getContracts operation. - * @callback module:api/ContractsApi~getContractsCallback - * @param {String} error Error message, if any. - * @param {module:model/ContractResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a list of contracts - * Return a list of all available Contracts - * @param {Object} opts Optional parameters - * @param {Number} opts.limit How many objects to return at one time - * @param {Number} opts.offset How many objects to skip? - * @param {Boolean} opts.active Only retrieve active records? - * @param {String} opts.contractId Taxnexus Contact record ID - * @param {module:api/ContractsApi~getContractsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/ContractResponse} - */ - getContracts(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'limit': opts['limit'], - 'offset': opts['offset'], - 'active': opts['active'], - 'contractId': opts['contractId'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = ContractResponse; - return this.apiClient.callApi( - '/contracts', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the getContractsObservable operation. - * @callback module:api/ContractsApi~getContractsObservableCallback - * @param {String} error Error message, if any. - * @param {Array.} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get Taxnexus Contracts in an observable array - * A list of contracts in a simple JSON array - * @param {Object} opts Optional parameters - * @param {Boolean} opts.active Only retrieve active records? - * @param {String} opts.contractId Taxnexus Contact record ID - * @param {module:api/ContractsApi~getContractsObservableCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link Array.} - */ - getContractsObservable(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'active': opts['active'], - 'contractId': opts['contractId'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = [Contract]; - return this.apiClient.callApi( - '/contracts/observable', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the postContracts operation. - * @callback module:api/ContractsApi~postContractsCallback - * @param {String} error Error message, if any. - * @param {module:model/ContractResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Add a new contract to Taxnexus - * Contract record to be added - * @param {module:model/ContractRequest} contractsRequest An array of new Contract records - * @param {module:api/ContractsApi~postContractsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/ContractResponse} - */ - postContracts(contractsRequest, callback) { - let postBody = contractsRequest; - // verify the required parameter 'contractsRequest' is set - if (contractsRequest === undefined || contractsRequest === null) { - throw new Error("Missing the required parameter 'contractsRequest' when calling postContracts"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = ContractResponse; - return this.apiClient.callApi( - '/contracts', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the putContract operation. - * @callback module:api/ContractsApi~putContractCallback - * @param {String} error Error message, if any. - * @param {module:model/ContractResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Update a single contract - * Update a single contract specified by contractId - * @param {module:model/ContractRequest} contractsRequest An array of new Contract records - * @param {module:api/ContractsApi~putContractCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/ContractResponse} - */ - putContract(contractsRequest, callback) { - let postBody = contractsRequest; - // verify the required parameter 'contractsRequest' is set - if (contractsRequest === undefined || contractsRequest === null) { - throw new Error("Missing the required parameter 'contractsRequest' when calling putContract"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = ContractResponse; - return this.apiClient.callApi( - '/contracts', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/crm/src/api/CorsApi.js b/client/crm/src/api/CorsApi.js deleted file mode 100644 index 4f4178a..0000000 --- a/client/crm/src/api/CorsApi.js +++ /dev/null @@ -1,387 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - - -import ApiClient from "../ApiClient"; - -/** -* Cors service. -* @module api/CorsApi -* @version 0.0.2 -*/ -export default class CorsApi { - - /** - * Constructs a new CorsApi. - * @alias module:api/CorsApi - * @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 accountOptions operation. - * @callback module:api/CorsApi~accountOptionsCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~accountOptionsCallback} callback The callback function, accepting three arguments: error, data, response - */ - accountOptions(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/accounts', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the accountOptionsObservable operation. - * @callback module:api/CorsApi~accountOptionsObservableCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~accountOptionsObservableCallback} callback The callback function, accepting three arguments: error, data, response - */ - accountOptionsObservable(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/accounts/observable', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the assetOptions operation. - * @callback module:api/CorsApi~assetOptionsCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~assetOptionsCallback} callback The callback function, accepting three arguments: error, data, response - */ - assetOptions(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/assets', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the assetOptionsObservable operation. - * @callback module:api/CorsApi~assetOptionsObservableCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~assetOptionsObservableCallback} callback The callback function, accepting three arguments: error, data, response - */ - assetOptionsObservable(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/assets/observable', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the contactOptions operation. - * @callback module:api/CorsApi~contactOptionsCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~contactOptionsCallback} callback The callback function, accepting three arguments: error, data, response - */ - contactOptions(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/contacts', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the contactOptionsObservable operation. - * @callback module:api/CorsApi~contactOptionsObservableCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~contactOptionsObservableCallback} callback The callback function, accepting three arguments: error, data, response - */ - contactOptionsObservable(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/contacts/observable', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the contractOptions operation. - * @callback module:api/CorsApi~contractOptionsCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~contractOptionsCallback} callback The callback function, accepting three arguments: error, data, response - */ - contractOptions(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/contracts', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the contractOptionsObservable operation. - * @callback module:api/CorsApi~contractOptionsObservableCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~contractOptionsObservableCallback} callback The callback function, accepting three arguments: error, data, response - */ - contractOptionsObservable(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/contracts/observable', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the leadOptions operation. - * @callback module:api/CorsApi~leadOptionsCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~leadOptionsCallback} callback The callback function, accepting three arguments: error, data, response - */ - leadOptions(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/leads', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the leadOptionsObservable operation. - * @callback module:api/CorsApi~leadOptionsObservableCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~leadOptionsObservableCallback} callback The callback function, accepting three arguments: error, data, response - */ - leadOptionsObservable(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/leads/observable', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/crm/src/api/LeadsApi.js b/client/crm/src/api/LeadsApi.js deleted file mode 100644 index b3108ce..0000000 --- a/client/crm/src/api/LeadsApi.js +++ /dev/null @@ -1,261 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 DeleteResponse from '../model/DeleteResponse'; -import Error from '../model/Error'; -import Lead from '../model/Lead'; -import LeadRequest from '../model/LeadRequest'; -import LeadResponse from '../model/LeadResponse'; - -/** -* Leads service. -* @module api/LeadsApi -* @version 0.0.2 -*/ -export default class LeadsApi { - - /** - * Constructs a new LeadsApi. - * @alias module:api/LeadsApi - * @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 deleteLead operation. - * @callback module:api/LeadsApi~deleteLeadCallback - * @param {String} error Error message, if any. - * @param {module:model/DeleteResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Delete a Contact - * Delete Taxnexus Lead record - * @param {Object} opts Optional parameters - * @param {String} opts.leadId Taxnexus Lead record ID - * @param {module:api/LeadsApi~deleteLeadCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/DeleteResponse} - */ - deleteLead(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'leadId': opts['leadId'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = DeleteResponse; - return this.apiClient.callApi( - '/leads', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the getLeads operation. - * @callback module:api/LeadsApi~getLeadsCallback - * @param {String} error Error message, if any. - * @param {module:model/LeadResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a list of contacts - * Return a list of all available Leads - * @param {Object} opts Optional parameters - * @param {Number} opts.limit How many objects to return at one time - * @param {Number} opts.offset How many objects to skip? - * @param {String} opts.leadId Taxnexus Lead record ID - * @param {String} opts.email Email address used for identity lookup - * @param {String} opts.name The Name of this Object - * @param {module:api/LeadsApi~getLeadsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/LeadResponse} - */ - getLeads(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'limit': opts['limit'], - 'offset': opts['offset'], - 'leadId': opts['leadId'], - 'email': opts['email'], - 'name': opts['name'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = LeadResponse; - return this.apiClient.callApi( - '/leads', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the getLeadsObservable operation. - * @callback module:api/LeadsApi~getLeadsObservableCallback - * @param {String} error Error message, if any. - * @param {Array.} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get Taxnexus Leads in an observable array - * A list of leads in a simple JSON array - * @param {Object} opts Optional parameters - * @param {String} opts.leadId Taxnexus Lead record ID - * @param {String} opts.email Email address used for identity lookup - * @param {String} opts.name The Name of this Object - * @param {module:api/LeadsApi~getLeadsObservableCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link Array.} - */ - getLeadsObservable(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'leadId': opts['leadId'], - 'email': opts['email'], - 'name': opts['name'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = [Lead]; - return this.apiClient.callApi( - '/leads/observable', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the postLeads operation. - * @callback module:api/LeadsApi~postLeadsCallback - * @param {String} error Error message, if any. - * @param {module:model/LeadResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Add new Leads - * Lead records to be added - * @param {module:model/LeadRequest} leadRequest An array of new Lead records - * @param {module:api/LeadsApi~postLeadsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/LeadResponse} - */ - postLeads(leadRequest, callback) { - let postBody = leadRequest; - // verify the required parameter 'leadRequest' is set - if (leadRequest === undefined || leadRequest === null) { - throw new Error("Missing the required parameter 'leadRequest' when calling postLeads"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = LeadResponse; - return this.apiClient.callApi( - '/leads', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the putLeads operation. - * @callback module:api/LeadsApi~putLeadsCallback - * @param {String} error Error message, if any. - * @param {module:model/LeadResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Update Leads - * Update Lead records - * @param {module:model/LeadRequest} leadRequest An array of new Lead records - * @param {module:api/LeadsApi~putLeadsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/LeadResponse} - */ - putLeads(leadRequest, callback) { - let postBody = leadRequest; - // verify the required parameter 'leadRequest' is set - if (leadRequest === undefined || leadRequest === null) { - throw new Error("Missing the required parameter 'leadRequest' when calling putLeads"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = LeadResponse; - return this.apiClient.callApi( - '/leads', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/crm/src/index.js b/client/crm/src/index.js deleted file mode 100644 index 21ca0e9..0000000 --- a/client/crm/src/index.js +++ /dev/null @@ -1,265 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Account from './model/Account'; -import AccountRequest from './model/AccountRequest'; -import AccountResponse from './model/AccountResponse'; -import Address from './model/Address'; -import Asset from './model/Asset'; -import AssetRequest from './model/AssetRequest'; -import AssetResponse from './model/AssetResponse'; -import Contact from './model/Contact'; -import ContactRequest from './model/ContactRequest'; -import ContactResponse from './model/ContactResponse'; -import Contract from './model/Contract'; -import ContractRequest from './model/ContractRequest'; -import ContractResponse from './model/ContractResponse'; -import DeleteResponse from './model/DeleteResponse'; -import Error from './model/Error'; -import InvalidError from './model/InvalidError'; -import InvalidErrorAllOf from './model/InvalidErrorAllOf'; -import Lead from './model/Lead'; -import LeadRequest from './model/LeadRequest'; -import LeadResponse from './model/LeadResponse'; -import Message from './model/Message'; -import Pagination from './model/Pagination'; -import RequestMeta from './model/RequestMeta'; -import ResponseMeta from './model/ResponseMeta'; -import AccountsApi from './api/AccountsApi'; -import AssetsApi from './api/AssetsApi'; -import ContactsApi from './api/ContactsApi'; -import ContractsApi from './api/ContractsApi'; -import CorsApi from './api/CorsApi'; -import LeadsApi from './api/LeadsApi'; - - -/** -* Customer_Information_Microservice.
-* 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 Crm = require('index'); // See note below*.
-* var xxxSvc = new Crm.XxxApi(); // Allocate the API class we're going to use.
-* var yyyModel = new Crm.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 Crm.XxxApi(); // Allocate the API class we're going to use.
-* var yyy = new Crm.Yyy(); // Construct a model instance.
-* yyyModel.someProperty = 'someValue';
-* ...
-* var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
-* ...
-* 
-*

-* @module index -* @version 0.0.2 -*/ -export { - /** - * The ApiClient constructor. - * @property {module:ApiClient} - */ - ApiClient, - - /** - * The Account model constructor. - * @property {module:model/Account} - */ - Account, - - /** - * The AccountRequest model constructor. - * @property {module:model/AccountRequest} - */ - AccountRequest, - - /** - * The AccountResponse model constructor. - * @property {module:model/AccountResponse} - */ - AccountResponse, - - /** - * The Address model constructor. - * @property {module:model/Address} - */ - Address, - - /** - * The Asset model constructor. - * @property {module:model/Asset} - */ - Asset, - - /** - * The AssetRequest model constructor. - * @property {module:model/AssetRequest} - */ - AssetRequest, - - /** - * The AssetResponse model constructor. - * @property {module:model/AssetResponse} - */ - AssetResponse, - - /** - * The Contact model constructor. - * @property {module:model/Contact} - */ - Contact, - - /** - * The ContactRequest model constructor. - * @property {module:model/ContactRequest} - */ - ContactRequest, - - /** - * The ContactResponse model constructor. - * @property {module:model/ContactResponse} - */ - ContactResponse, - - /** - * The Contract model constructor. - * @property {module:model/Contract} - */ - Contract, - - /** - * The ContractRequest model constructor. - * @property {module:model/ContractRequest} - */ - ContractRequest, - - /** - * The ContractResponse model constructor. - * @property {module:model/ContractResponse} - */ - ContractResponse, - - /** - * The DeleteResponse model constructor. - * @property {module:model/DeleteResponse} - */ - DeleteResponse, - - /** - * The Error model constructor. - * @property {module:model/Error} - */ - Error, - - /** - * The InvalidError model constructor. - * @property {module:model/InvalidError} - */ - InvalidError, - - /** - * The InvalidErrorAllOf model constructor. - * @property {module:model/InvalidErrorAllOf} - */ - InvalidErrorAllOf, - - /** - * The Lead model constructor. - * @property {module:model/Lead} - */ - Lead, - - /** - * The LeadRequest model constructor. - * @property {module:model/LeadRequest} - */ - LeadRequest, - - /** - * The LeadResponse model constructor. - * @property {module:model/LeadResponse} - */ - LeadResponse, - - /** - * The Message model constructor. - * @property {module:model/Message} - */ - Message, - - /** - * The Pagination model constructor. - * @property {module:model/Pagination} - */ - Pagination, - - /** - * The RequestMeta model constructor. - * @property {module:model/RequestMeta} - */ - RequestMeta, - - /** - * The ResponseMeta model constructor. - * @property {module:model/ResponseMeta} - */ - ResponseMeta, - - /** - * The AccountsApi service constructor. - * @property {module:api/AccountsApi} - */ - AccountsApi, - - /** - * The AssetsApi service constructor. - * @property {module:api/AssetsApi} - */ - AssetsApi, - - /** - * The ContactsApi service constructor. - * @property {module:api/ContactsApi} - */ - ContactsApi, - - /** - * The ContractsApi service constructor. - * @property {module:api/ContractsApi} - */ - ContractsApi, - - /** - * The CorsApi service constructor. - * @property {module:api/CorsApi} - */ - CorsApi, - - /** - * The LeadsApi service constructor. - * @property {module:api/LeadsApi} - */ - LeadsApi -}; diff --git a/client/crm/src/model/Account.js b/client/crm/src/model/Account.js deleted file mode 100644 index 0f314f1..0000000 --- a/client/crm/src/model/Account.js +++ /dev/null @@ -1,503 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Address from './Address'; - -/** - * The Account model module. - * @module model/Account - * @version 0.0.2 - */ -class Account { - /** - * Constructs a new Account. - * @alias module:model/Account - */ - constructor() { - - Account.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 Account 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/Account} obj Optional instance to populate. - * @return {module:model/Account} The populated Account instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Account(); - - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('AccountNumber')) { - obj['AccountNumber'] = ApiClient.convertToType(data['AccountNumber'], 'String'); - } - if (data.hasOwnProperty('AccountSource')) { - obj['AccountSource'] = ApiClient.convertToType(data['AccountSource'], 'String'); - } - if (data.hasOwnProperty('AnnualRevenue')) { - obj['AnnualRevenue'] = ApiClient.convertToType(data['AnnualRevenue'], 'Number'); - } - if (data.hasOwnProperty('BillingAddress')) { - obj['BillingAddress'] = Address.constructFromObject(data['BillingAddress']); - } - if (data.hasOwnProperty('BillingContactID')) { - obj['BillingContactID'] = ApiClient.convertToType(data['BillingContactID'], 'String'); - } - if (data.hasOwnProperty('CloseDate')) { - obj['CloseDate'] = ApiClient.convertToType(data['CloseDate'], 'String'); - } - if (data.hasOwnProperty('CloudType')) { - obj['CloudType'] = ApiClient.convertToType(data['CloudType'], 'String'); - } - if (data.hasOwnProperty('CloudYear')) { - obj['CloudYear'] = ApiClient.convertToType(data['CloudYear'], 'String'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('CrunchbaseURL')) { - obj['CrunchbaseURL'] = ApiClient.convertToType(data['CrunchbaseURL'], 'String'); - } - if (data.hasOwnProperty('Description')) { - obj['Description'] = ApiClient.convertToType(data['Description'], 'String'); - } - if (data.hasOwnProperty('EarningsCall')) { - obj['EarningsCall'] = ApiClient.convertToType(data['EarningsCall'], 'String'); - } - if (data.hasOwnProperty('Email')) { - obj['Email'] = ApiClient.convertToType(data['Email'], 'String'); - } - if (data.hasOwnProperty('EquityFunding')) { - obj['EquityFunding'] = ApiClient.convertToType(data['EquityFunding'], 'Number'); - } - if (data.hasOwnProperty('Facebook')) { - obj['Facebook'] = ApiClient.convertToType(data['Facebook'], 'String'); - } - if (data.hasOwnProperty('LinkedIn')) { - obj['LinkedIn'] = ApiClient.convertToType(data['LinkedIn'], 'String'); - } - if (data.hasOwnProperty('Location')) { - obj['Location'] = ApiClient.convertToType(data['Location'], 'String'); - } - if (data.hasOwnProperty('Fax')) { - obj['Fax'] = ApiClient.convertToType(data['Fax'], 'String'); - } - if (data.hasOwnProperty('FoundedDate')) { - obj['FoundedDate'] = ApiClient.convertToType(data['FoundedDate'], 'String'); - } - if (data.hasOwnProperty('Industry')) { - obj['Industry'] = ApiClient.convertToType(data['Industry'], 'String'); - } - if (data.hasOwnProperty('Industries')) { - obj['Industries'] = ApiClient.convertToType(data['Industries'], 'String'); - } - if (data.hasOwnProperty('IPODate')) { - obj['IPODate'] = ApiClient.convertToType(data['IPODate'], 'String'); - } - if (data.hasOwnProperty('Logo')) { - obj['Logo'] = ApiClient.convertToType(data['Logo'], 'String'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('MarketCapitalization')) { - obj['MarketCapitalization'] = ApiClient.convertToType(data['MarketCapitalization'], 'Number'); - } - if (data.hasOwnProperty('Name')) { - obj['Name'] = ApiClient.convertToType(data['Name'], 'String'); - } - if (data.hasOwnProperty('NumberInvestments')) { - obj['NumberInvestments'] = ApiClient.convertToType(data['NumberInvestments'], 'Number'); - } - if (data.hasOwnProperty('NumberOfEmployees')) { - obj['NumberOfEmployees'] = ApiClient.convertToType(data['NumberOfEmployees'], 'Number'); - } - if (data.hasOwnProperty('OwnerID')) { - obj['OwnerID'] = ApiClient.convertToType(data['OwnerID'], 'String'); - } - if (data.hasOwnProperty('Ownership')) { - obj['Ownership'] = ApiClient.convertToType(data['Ownership'], 'String'); - } - if (data.hasOwnProperty('Publish')) { - obj['Publish'] = ApiClient.convertToType(data['Publish'], 'Boolean'); - } - if (data.hasOwnProperty('SalesforceFirst')) { - obj['SalesforceFirst'] = ApiClient.convertToType(data['SalesforceFirst'], 'Boolean'); - } - if (data.hasOwnProperty('ParentID')) { - obj['ParentID'] = ApiClient.convertToType(data['ParentID'], 'String'); - } - if (data.hasOwnProperty('Phone')) { - obj['Phone'] = ApiClient.convertToType(data['Phone'], 'String'); - } - if (data.hasOwnProperty('SIC')) { - obj['SIC'] = ApiClient.convertToType(data['SIC'], 'String'); - } - if (data.hasOwnProperty('SICDesc')) { - obj['SICDesc'] = ApiClient.convertToType(data['SICDesc'], 'String'); - } - if (data.hasOwnProperty('ShippingAddress')) { - obj['ShippingAddress'] = Address.constructFromObject(data['ShippingAddress']); - } - if (data.hasOwnProperty('ShippingContactID')) { - obj['ShippingContactID'] = ApiClient.convertToType(data['ShippingContactID'], 'String'); - } - if (data.hasOwnProperty('Site')) { - obj['Site'] = ApiClient.convertToType(data['Site'], 'String'); - } - if (data.hasOwnProperty('TagLine')) { - obj['TagLine'] = ApiClient.convertToType(data['TagLine'], 'String'); - } - if (data.hasOwnProperty('TenantID')) { - obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String'); - } - if (data.hasOwnProperty('TickerSymbol')) { - obj['TickerSymbol'] = ApiClient.convertToType(data['TickerSymbol'], 'String'); - } - if (data.hasOwnProperty('Twitter')) { - obj['Twitter'] = ApiClient.convertToType(data['Twitter'], 'String'); - } - if (data.hasOwnProperty('Type')) { - obj['Type'] = ApiClient.convertToType(data['Type'], 'String'); - } - if (data.hasOwnProperty('Website')) { - obj['Website'] = ApiClient.convertToType(data['Website'], 'String'); - } - if (data.hasOwnProperty('YearStarted')) { - obj['YearStarted'] = ApiClient.convertToType(data['YearStarted'], 'String'); - } - } - return obj; - } - - -} - -/** - * Taxnexus Account Id - * @member {String} ID - */ -Account.prototype['ID'] = undefined; - -/** - * Account Number - * @member {String} AccountNumber - */ -Account.prototype['AccountNumber'] = undefined; - -/** - * The marketing origin of this account - * @member {String} AccountSource - */ -Account.prototype['AccountSource'] = undefined; - -/** - * Annual Revenue Estimate - * @member {Number} AnnualRevenue - */ -Account.prototype['AnnualRevenue'] = undefined; - -/** - * @member {module:model/Address} BillingAddress - */ -Account.prototype['BillingAddress'] = undefined; - -/** - * Contact ID - * @member {String} BillingContactID - */ -Account.prototype['BillingContactID'] = undefined; - -/** - * Close Date - * @member {String} CloseDate - */ -Account.prototype['CloseDate'] = undefined; - -/** - * The type of cloud company - * @member {String} CloudType - */ -Account.prototype['CloudType'] = undefined; - -/** - * The year company started cloud revenue - * @member {String} CloudYear - */ -Account.prototype['CloudYear'] = undefined; - -/** - * Created By User ID - * @member {String} CreatedByID - */ -Account.prototype['CreatedByID'] = undefined; - -/** - * Created Date - * @member {String} CreatedDate - */ -Account.prototype['CreatedDate'] = undefined; - -/** - * Crunchbase URL - * @member {String} CrunchbaseURL - */ -Account.prototype['CrunchbaseURL'] = undefined; - -/** - * Description of the account - * @member {String} Description - */ -Account.prototype['Description'] = undefined; - -/** - * Earnings Call Date - * @member {String} EarningsCall - */ -Account.prototype['EarningsCall'] = undefined; - -/** - * Main Account Email - * @member {String} Email - */ -Account.prototype['Email'] = undefined; - -/** - * The amount of equity EquityFunding - * @member {Number} EquityFunding - */ -Account.prototype['EquityFunding'] = undefined; - -/** - * Company Facebook URL - * @member {String} Facebook - */ -Account.prototype['Facebook'] = undefined; - -/** - * Company LinkedIn URL - * @member {String} LinkedIn - */ -Account.prototype['LinkedIn'] = undefined; - -/** - * Headquarters Location Description - * @member {String} Location - */ -Account.prototype['Location'] = undefined; - -/** - * Fax number - * @member {String} Fax - */ -Account.prototype['Fax'] = undefined; - -/** - * Date company founded - * @member {String} FoundedDate - */ -Account.prototype['FoundedDate'] = undefined; - -/** - * Industry - * @member {String} Industry - */ -Account.prototype['Industry'] = undefined; - -/** - * Industries - * @member {String} Industries - */ -Account.prototype['Industries'] = undefined; - -/** - * IPO Date - * @member {String} IPODate - */ -Account.prototype['IPODate'] = undefined; - -/** - * Company Logo URL - * @member {String} Logo - */ -Account.prototype['Logo'] = undefined; - -/** - * Last Modified By User ID - * @member {String} LastModifiedByID - */ -Account.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modified Date - * @member {String} LastModifiedDate - */ -Account.prototype['LastModifiedDate'] = undefined; - -/** - * Market Capitalization - * @member {Number} MarketCapitalization - */ -Account.prototype['MarketCapitalization'] = undefined; - -/** - * Account Name - * @member {String} Name - */ -Account.prototype['Name'] = undefined; - -/** - * Number of Investments - * @member {Number} NumberInvestments - */ -Account.prototype['NumberInvestments'] = undefined; - -/** - * Employee Count Estimate - * @member {Number} NumberOfEmployees - */ -Account.prototype['NumberOfEmployees'] = undefined; - -/** - * Account Owner User ID - * @member {String} OwnerID - */ -Account.prototype['OwnerID'] = undefined; - -/** - * Ownership - * @member {String} Ownership - */ -Account.prototype['Ownership'] = undefined; - -/** - * Publish this record? - * @member {Boolean} Publish - */ -Account.prototype['Publish'] = undefined; - -/** - * A Salesforce-First company? - * @member {Boolean} SalesforceFirst - */ -Account.prototype['SalesforceFirst'] = undefined; - -/** - * Parent Account - * @member {String} ParentID - */ -Account.prototype['ParentID'] = undefined; - -/** - * Phone - * @member {String} Phone - */ -Account.prototype['Phone'] = undefined; - -/** - * SIC Code - * @member {String} SIC - */ -Account.prototype['SIC'] = undefined; - -/** - * SIC Description - * @member {String} SICDesc - */ -Account.prototype['SICDesc'] = undefined; - -/** - * @member {module:model/Address} ShippingAddress - */ -Account.prototype['ShippingAddress'] = undefined; - -/** - * Shipping Contact ID - * @member {String} ShippingContactID - */ -Account.prototype['ShippingContactID'] = undefined; - -/** - * Account Site - * @member {String} Site - */ -Account.prototype['Site'] = undefined; - -/** - * Company tagline - * @member {String} TagLine - */ -Account.prototype['TagLine'] = undefined; - -/** - * Tenant Identifier - * @member {String} TenantID - */ -Account.prototype['TenantID'] = undefined; - -/** - * Ticker Symbol - * @member {String} TickerSymbol - */ -Account.prototype['TickerSymbol'] = undefined; - -/** - * Twitter URL - * @member {String} Twitter - */ -Account.prototype['Twitter'] = undefined; - -/** - * Type - * @member {String} Type - */ -Account.prototype['Type'] = undefined; - -/** - * Website - * @member {String} Website - */ -Account.prototype['Website'] = undefined; - -/** - * Year Started - * @member {String} YearStarted - */ -Account.prototype['YearStarted'] = undefined; - - - - - - -export default Account; - diff --git a/client/crm/src/model/AccountRequest.js b/client/crm/src/model/AccountRequest.js deleted file mode 100644 index 9632eab..0000000 --- a/client/crm/src/model/AccountRequest.js +++ /dev/null @@ -1,73 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Account from './Account'; - -/** - * The AccountRequest model module. - * @module model/AccountRequest - * @version 0.0.2 - */ -class AccountRequest { - /** - * Constructs a new AccountRequest. - * An array of Account objects with Contacts - * @alias module:model/AccountRequest - */ - constructor() { - - AccountRequest.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 AccountRequest 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/AccountRequest} obj Optional instance to populate. - * @return {module:model/AccountRequest} The populated AccountRequest instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new AccountRequest(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Account]); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -AccountRequest.prototype['Data'] = undefined; - - - - - - -export default AccountRequest; - diff --git a/client/crm/src/model/AccountResponse.js b/client/crm/src/model/AccountResponse.js deleted file mode 100644 index e14a3d0..0000000 --- a/client/crm/src/model/AccountResponse.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Account from './Account'; -import ResponseMeta from './ResponseMeta'; - -/** - * The AccountResponse model module. - * @module model/AccountResponse - * @version 0.0.2 - */ -class AccountResponse { - /** - * Constructs a new AccountResponse. - * An array of Account objects with Contacts - * @alias module:model/AccountResponse - */ - constructor() { - - AccountResponse.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 AccountResponse 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/AccountResponse} obj Optional instance to populate. - * @return {module:model/AccountResponse} The populated AccountResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new AccountResponse(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Account]); - } - if (data.hasOwnProperty('Meta')) { - obj['Meta'] = ResponseMeta.constructFromObject(data['Meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -AccountResponse.prototype['Data'] = undefined; - -/** - * @member {module:model/ResponseMeta} Meta - */ -AccountResponse.prototype['Meta'] = undefined; - - - - - - -export default AccountResponse; - diff --git a/client/crm/src/model/Address.js b/client/crm/src/model/Address.js deleted file mode 100644 index 41b9d94..0000000 --- a/client/crm/src/model/Address.js +++ /dev/null @@ -1,126 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Address model module. - * @module model/Address - * @version 0.0.2 - */ -class Address { - /** - * Constructs a new Address. - * @alias module:model/Address - */ - constructor() { - - Address.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 Address 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/Address} obj Optional instance to populate. - * @return {module:model/Address} The populated Address instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Address(); - - if (data.hasOwnProperty('City')) { - obj['City'] = ApiClient.convertToType(data['City'], 'String'); - } - if (data.hasOwnProperty('Country')) { - obj['Country'] = ApiClient.convertToType(data['Country'], 'String'); - } - if (data.hasOwnProperty('CountryCode')) { - obj['CountryCode'] = ApiClient.convertToType(data['CountryCode'], 'String'); - } - if (data.hasOwnProperty('PostalCode')) { - obj['PostalCode'] = ApiClient.convertToType(data['PostalCode'], 'String'); - } - if (data.hasOwnProperty('State')) { - obj['State'] = ApiClient.convertToType(data['State'], 'String'); - } - if (data.hasOwnProperty('StateCode')) { - obj['StateCode'] = ApiClient.convertToType(data['StateCode'], 'String'); - } - if (data.hasOwnProperty('Street')) { - obj['Street'] = ApiClient.convertToType(data['Street'], 'String'); - } - } - return obj; - } - - -} - -/** - * City - * @member {String} City - */ -Address.prototype['City'] = undefined; - -/** - * Country full name - * @member {String} Country - */ -Address.prototype['Country'] = undefined; - -/** - * Country Code - * @member {String} CountryCode - */ -Address.prototype['CountryCode'] = undefined; - -/** - * Postal Code - * @member {String} PostalCode - */ -Address.prototype['PostalCode'] = undefined; - -/** - * State full name - * @member {String} State - */ -Address.prototype['State'] = undefined; - -/** - * State Code - * @member {String} StateCode - */ -Address.prototype['StateCode'] = undefined; - -/** - * Street number and name - * @member {String} Street - */ -Address.prototype['Street'] = undefined; - - - - - - -export default Address; - diff --git a/client/crm/src/model/Asset.js b/client/crm/src/model/Asset.js deleted file mode 100644 index c94b759..0000000 --- a/client/crm/src/model/Asset.js +++ /dev/null @@ -1,486 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Address from './Address'; - -/** - * The Asset model module. - * @module model/Asset - * @version 0.0.2 - */ -class Asset { - /** - * Constructs a new Asset. - * @alias module:model/Asset - */ - constructor() { - - Asset.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 Asset 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/Asset} obj Optional instance to populate. - * @return {module:model/Asset} The populated Asset instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Asset(); - - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('AccountID')) { - obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String'); - } - if (data.hasOwnProperty('Address')) { - obj['Address'] = Address.constructFromObject(data['Address']); - } - if (data.hasOwnProperty('AssetLevel')) { - obj['AssetLevel'] = ApiClient.convertToType(data['AssetLevel'], 'Number'); - } - if (data.hasOwnProperty('Name')) { - obj['Name'] = ApiClient.convertToType(data['Name'], 'String'); - } - if (data.hasOwnProperty('AssetProvidedByID')) { - obj['AssetProvidedByID'] = ApiClient.convertToType(data['AssetProvidedByID'], 'String'); - } - if (data.hasOwnProperty('AssetServicedByID')) { - obj['AssetServicedByID'] = ApiClient.convertToType(data['AssetServicedByID'], 'String'); - } - if (data.hasOwnProperty('CompanyProductID')) { - obj['CompanyProductID'] = ApiClient.convertToType(data['CompanyProductID'], 'String'); - } - if (data.hasOwnProperty('IsCompetitorProduct')) { - obj['IsCompetitorProduct'] = ApiClient.convertToType(data['IsCompetitorProduct'], 'Boolean'); - } - if (data.hasOwnProperty('ConsequenceOfFailure')) { - obj['ConsequenceOfFailure'] = ApiClient.convertToType(data['ConsequenceOfFailure'], 'String'); - } - if (data.hasOwnProperty('ContactID')) { - obj['ContactID'] = ApiClient.convertToType(data['ContactID'], 'String'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('CurrentAmount')) { - obj['CurrentAmount'] = ApiClient.convertToType(data['CurrentAmount'], 'Number'); - } - if (data.hasOwnProperty('CurrentLifecycleEndDate')) { - obj['CurrentLifecycleEndDate'] = ApiClient.convertToType(data['CurrentLifecycleEndDate'], 'String'); - } - if (data.hasOwnProperty('CurrentMrr')) { - obj['CurrentMrr'] = ApiClient.convertToType(data['CurrentMrr'], 'Number'); - } - if (data.hasOwnProperty('CurrentQuantity')) { - obj['CurrentQuantity'] = ApiClient.convertToType(data['CurrentQuantity'], 'Number'); - } - if (data.hasOwnProperty('Description')) { - obj['Description'] = ApiClient.convertToType(data['Description'], 'String'); - } - if (data.hasOwnProperty('DigitalAssetStatus')) { - obj['DigitalAssetStatus'] = ApiClient.convertToType(data['DigitalAssetStatus'], 'String'); - } - if (data.hasOwnProperty('ExternalIdentifier')) { - obj['ExternalIdentifier'] = ApiClient.convertToType(data['ExternalIdentifier'], 'String'); - } - if (data.hasOwnProperty('HasLifecycleManagement')) { - obj['HasLifecycleManagement'] = ApiClient.convertToType(data['HasLifecycleManagement'], 'Boolean'); - } - if (data.hasOwnProperty('InstallDate')) { - obj['InstallDate'] = ApiClient.convertToType(data['InstallDate'], 'String'); - } - if (data.hasOwnProperty('IsInternal')) { - obj['IsInternal'] = ApiClient.convertToType(data['IsInternal'], 'Boolean'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('LocationID')) { - obj['LocationID'] = ApiClient.convertToType(data['LocationID'], 'String'); - } - if (data.hasOwnProperty('ManufactureDate')) { - obj['ManufactureDate'] = ApiClient.convertToType(data['ManufactureDate'], 'String'); - } - if (data.hasOwnProperty('MIMEType')) { - obj['MIMEType'] = ApiClient.convertToType(data['MIMEType'], 'String'); - } - if (data.hasOwnProperty('ParentID')) { - obj['ParentID'] = ApiClient.convertToType(data['ParentID'], 'String'); - } - if (data.hasOwnProperty('Price')) { - obj['Price'] = ApiClient.convertToType(data['Price'], 'Number'); - } - if (data.hasOwnProperty('Product2ID')) { - obj['Product2ID'] = ApiClient.convertToType(data['Product2ID'], 'String'); - } - if (data.hasOwnProperty('ProductCode')) { - obj['ProductCode'] = ApiClient.convertToType(data['ProductCode'], 'String'); - } - if (data.hasOwnProperty('ProductDescription')) { - obj['ProductDescription'] = ApiClient.convertToType(data['ProductDescription'], 'String'); - } - if (data.hasOwnProperty('ProductFamily')) { - obj['ProductFamily'] = ApiClient.convertToType(data['ProductFamily'], 'String'); - } - if (data.hasOwnProperty('StockKeepingUnit')) { - obj['StockKeepingUnit'] = ApiClient.convertToType(data['StockKeepingUnit'], 'String'); - } - if (data.hasOwnProperty('PurchaseDate')) { - obj['PurchaseDate'] = ApiClient.convertToType(data['PurchaseDate'], 'String'); - } - if (data.hasOwnProperty('Quantity')) { - obj['Quantity'] = ApiClient.convertToType(data['Quantity'], 'Number'); - } - if (data.hasOwnProperty('RootAssetID')) { - obj['RootAssetID'] = ApiClient.convertToType(data['RootAssetID'], '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('StatusReason')) { - obj['StatusReason'] = ApiClient.convertToType(data['StatusReason'], 'String'); - } - if (data.hasOwnProperty('TenantID')) { - obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String'); - } - if (data.hasOwnProperty('TotalLifecycleAmount')) { - obj['TotalLifecycleAmount'] = ApiClient.convertToType(data['TotalLifecycleAmount'], 'Number'); - } - if (data.hasOwnProperty('Type')) { - obj['Type'] = ApiClient.convertToType(data['Type'], 'String'); - } - if (data.hasOwnProperty('UUID')) { - obj['UUID'] = ApiClient.convertToType(data['UUID'], 'String'); - } - if (data.hasOwnProperty('URL')) { - obj['URL'] = ApiClient.convertToType(data['URL'], 'String'); - } - if (data.hasOwnProperty('UsageEndDate')) { - obj['UsageEndDate'] = ApiClient.convertToType(data['UsageEndDate'], 'String'); - } - } - return obj; - } - - -} - -/** - * Taxnexus Record Id - * @member {String} ID - */ -Asset.prototype['ID'] = undefined; - -/** - * Account - * @member {String} AccountID - */ -Asset.prototype['AccountID'] = undefined; - -/** - * @member {module:model/Address} Address - */ -Asset.prototype['Address'] = undefined; - -/** - * Asset Level - * @member {Number} AssetLevel - */ -Asset.prototype['AssetLevel'] = undefined; - -/** - * Asset Name - * @member {String} Name - */ -Asset.prototype['Name'] = undefined; - -/** - * Asset Provided By - * @member {String} AssetProvidedByID - */ -Asset.prototype['AssetProvidedByID'] = undefined; - -/** - * Asset Serviced By - * @member {String} AssetServicedByID - */ -Asset.prototype['AssetServicedByID'] = undefined; - -/** - * Company Product - * @member {String} CompanyProductID - */ -Asset.prototype['CompanyProductID'] = undefined; - -/** - * Competitor Asset - * @member {Boolean} IsCompetitorProduct - */ -Asset.prototype['IsCompetitorProduct'] = undefined; - -/** - * Consequence Of Failure - * @member {String} ConsequenceOfFailure - */ -Asset.prototype['ConsequenceOfFailure'] = undefined; - -/** - * Contact - * @member {String} ContactID - */ -Asset.prototype['ContactID'] = undefined; - -/** - * Created By - * @member {String} CreatedByID - */ -Asset.prototype['CreatedByID'] = undefined; - -/** - * Created Date - * @member {String} CreatedDate - */ -Asset.prototype['CreatedDate'] = undefined; - -/** - * Current Amount - * @member {Number} CurrentAmount - */ -Asset.prototype['CurrentAmount'] = undefined; - -/** - * Current Lifecycle End Date - * @member {String} CurrentLifecycleEndDate - */ -Asset.prototype['CurrentLifecycleEndDate'] = undefined; - -/** - * Current Monthly Recurring Revenue - * @member {Number} CurrentMrr - */ -Asset.prototype['CurrentMrr'] = undefined; - -/** - * Current Quantity - * @member {Number} CurrentQuantity - */ -Asset.prototype['CurrentQuantity'] = undefined; - -/** - * Description - * @member {String} Description - */ -Asset.prototype['Description'] = undefined; - -/** - * Digital Asset Status - * @member {String} DigitalAssetStatus - */ -Asset.prototype['DigitalAssetStatus'] = undefined; - -/** - * External Id - * @member {String} ExternalIdentifier - */ -Asset.prototype['ExternalIdentifier'] = undefined; - -/** - * Has Lifecycle Management - * @member {Boolean} HasLifecycleManagement - */ -Asset.prototype['HasLifecycleManagement'] = undefined; - -/** - * Install Date - * @member {String} InstallDate - */ -Asset.prototype['InstallDate'] = undefined; - -/** - * Internal Asset - * @member {Boolean} IsInternal - */ -Asset.prototype['IsInternal'] = undefined; - -/** - * Last Modified By - * @member {String} LastModifiedByID - */ -Asset.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modified Date - * @member {String} LastModifiedDate - */ -Asset.prototype['LastModifiedDate'] = undefined; - -/** - * Location - * @member {String} LocationID - */ -Asset.prototype['LocationID'] = undefined; - -/** - * Manufacture Date - * @member {String} ManufactureDate - */ -Asset.prototype['ManufactureDate'] = undefined; - -/** - * MIME Type - * @member {String} MIMEType - */ -Asset.prototype['MIMEType'] = undefined; - -/** - * Parent Asset - * @member {String} ParentID - */ -Asset.prototype['ParentID'] = undefined; - -/** - * Price - * @member {Number} Price - */ -Asset.prototype['Price'] = undefined; - -/** - * Product - * @member {String} Product2ID - */ -Asset.prototype['Product2ID'] = undefined; - -/** - * Product Code - * @member {String} ProductCode - */ -Asset.prototype['ProductCode'] = undefined; - -/** - * Product Description - * @member {String} ProductDescription - */ -Asset.prototype['ProductDescription'] = undefined; - -/** - * Product Family - * @member {String} ProductFamily - */ -Asset.prototype['ProductFamily'] = undefined; - -/** - * Product SKU - * @member {String} StockKeepingUnit - */ -Asset.prototype['StockKeepingUnit'] = undefined; - -/** - * Purchase Date - * @member {String} PurchaseDate - */ -Asset.prototype['PurchaseDate'] = undefined; - -/** - * Quantity - * @member {Number} Quantity - */ -Asset.prototype['Quantity'] = undefined; - -/** - * Root Asset - * @member {String} RootAssetID - */ -Asset.prototype['RootAssetID'] = undefined; - -/** - * Serial Number - * @member {String} SerialNumber - */ -Asset.prototype['SerialNumber'] = undefined; - -/** - * Status - * @member {String} Status - */ -Asset.prototype['Status'] = undefined; - -/** - * Status Reason - * @member {String} StatusReason - */ -Asset.prototype['StatusReason'] = undefined; - -/** - * Tenant ID - * @member {String} TenantID - */ -Asset.prototype['TenantID'] = undefined; - -/** - * Total Lifecycle Amount - * @member {Number} TotalLifecycleAmount - */ -Asset.prototype['TotalLifecycleAmount'] = undefined; - -/** - * Type - * @member {String} Type - */ -Asset.prototype['Type'] = undefined; - -/** - * Unique Identifier - * @member {String} UUID - */ -Asset.prototype['UUID'] = undefined; - -/** - * URL - * @member {String} URL - */ -Asset.prototype['URL'] = undefined; - -/** - * Usage End Date - * @member {String} UsageEndDate - */ -Asset.prototype['UsageEndDate'] = undefined; - - - - - - -export default Asset; - diff --git a/client/crm/src/model/AssetRequest.js b/client/crm/src/model/AssetRequest.js deleted file mode 100644 index 1846737..0000000 --- a/client/crm/src/model/AssetRequest.js +++ /dev/null @@ -1,73 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Asset from './Asset'; - -/** - * The AssetRequest model module. - * @module model/AssetRequest - * @version 0.0.2 - */ -class AssetRequest { - /** - * Constructs a new AssetRequest. - * An array of Asset objects with Contacts - * @alias module:model/AssetRequest - */ - constructor() { - - AssetRequest.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 AssetRequest 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/AssetRequest} obj Optional instance to populate. - * @return {module:model/AssetRequest} The populated AssetRequest instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new AssetRequest(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Asset]); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -AssetRequest.prototype['Data'] = undefined; - - - - - - -export default AssetRequest; - diff --git a/client/crm/src/model/AssetResponse.js b/client/crm/src/model/AssetResponse.js deleted file mode 100644 index 3e666e9..0000000 --- a/client/crm/src/model/AssetResponse.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Asset from './Asset'; -import ResponseMeta from './ResponseMeta'; - -/** - * The AssetResponse model module. - * @module model/AssetResponse - * @version 0.0.2 - */ -class AssetResponse { - /** - * Constructs a new AssetResponse. - * An array of Asset objects with Contacts - * @alias module:model/AssetResponse - */ - constructor() { - - AssetResponse.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 AssetResponse 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/AssetResponse} obj Optional instance to populate. - * @return {module:model/AssetResponse} The populated AssetResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new AssetResponse(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Asset]); - } - if (data.hasOwnProperty('Meta')) { - obj['Meta'] = ResponseMeta.constructFromObject(data['Meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -AssetResponse.prototype['Data'] = undefined; - -/** - * @member {module:model/ResponseMeta} Meta - */ -AssetResponse.prototype['Meta'] = undefined; - - - - - - -export default AssetResponse; - diff --git a/client/crm/src/model/Contact.js b/client/crm/src/model/Contact.js deleted file mode 100644 index d8d22b7..0000000 --- a/client/crm/src/model/Contact.js +++ /dev/null @@ -1,467 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Address from './Address'; - -/** - * The Contact model module. - * @module model/Contact - * @version 0.0.2 - */ -class Contact { - /** - * Constructs a new Contact. - * @alias module:model/Contact - */ - constructor() { - - Contact.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 Contact 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/Contact} obj Optional instance to populate. - * @return {module:model/Contact} The populated Contact instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Contact(); - - if (data.hasOwnProperty('AccountID')) { - obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String'); - } - if (data.hasOwnProperty('AssistantName')) { - obj['AssistantName'] = ApiClient.convertToType(data['AssistantName'], 'String'); - } - if (data.hasOwnProperty('AssistantPhone')) { - obj['AssistantPhone'] = ApiClient.convertToType(data['AssistantPhone'], 'String'); - } - if (data.hasOwnProperty('BirthDate')) { - obj['BirthDate'] = ApiClient.convertToType(data['BirthDate'], 'String'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('Department')) { - obj['Department'] = ApiClient.convertToType(data['Department'], 'String'); - } - if (data.hasOwnProperty('Description')) { - obj['Description'] = ApiClient.convertToType(data['Description'], 'String'); - } - if (data.hasOwnProperty('DoNotCall')) { - obj['DoNotCall'] = ApiClient.convertToType(data['DoNotCall'], 'Boolean'); - } - if (data.hasOwnProperty('Email')) { - obj['Email'] = ApiClient.convertToType(data['Email'], 'String'); - } - if (data.hasOwnProperty('EmailBounceDate')) { - obj['EmailBounceDate'] = ApiClient.convertToType(data['EmailBounceDate'], 'String'); - } - if (data.hasOwnProperty('EmailBouncedReason')) { - obj['EmailBouncedReason'] = ApiClient.convertToType(data['EmailBouncedReason'], 'String'); - } - if (data.hasOwnProperty('EnrollmentStatus')) { - obj['EnrollmentStatus'] = ApiClient.convertToType(data['EnrollmentStatus'], 'String'); - } - if (data.hasOwnProperty('Fax')) { - obj['Fax'] = ApiClient.convertToType(data['Fax'], 'String'); - } - if (data.hasOwnProperty('FirstName')) { - obj['FirstName'] = ApiClient.convertToType(data['FirstName'], 'String'); - } - if (data.hasOwnProperty('HasOptedOutOfEmail')) { - obj['HasOptedOutOfEmail'] = ApiClient.convertToType(data['HasOptedOutOfEmail'], 'Boolean'); - } - if (data.hasOwnProperty('HasOptedOutOfFax')) { - obj['HasOptedOutOfFax'] = ApiClient.convertToType(data['HasOptedOutOfFax'], 'Boolean'); - } - if (data.hasOwnProperty('HomePhone')) { - obj['HomePhone'] = ApiClient.convertToType(data['HomePhone'], 'String'); - } - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('IsEmailBounced')) { - obj['IsEmailBounced'] = ApiClient.convertToType(data['IsEmailBounced'], 'Boolean'); - } - if (data.hasOwnProperty('IsProvisioned')) { - obj['IsProvisioned'] = ApiClient.convertToType(data['IsProvisioned'], 'Boolean'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('LastName')) { - obj['LastName'] = ApiClient.convertToType(data['LastName'], 'String'); - } - if (data.hasOwnProperty('LeadSource')) { - obj['LeadSource'] = ApiClient.convertToType(data['LeadSource'], 'String'); - } - if (data.hasOwnProperty('Level')) { - obj['Level'] = ApiClient.convertToType(data['Level'], 'String'); - } - if (data.hasOwnProperty('LinkedIn')) { - obj['LinkedIn'] = ApiClient.convertToType(data['LinkedIn'], 'String'); - } - if (data.hasOwnProperty('MailingAddress')) { - obj['MailingAddress'] = Address.constructFromObject(data['MailingAddress']); - } - if (data.hasOwnProperty('MailingLists')) { - obj['MailingLists'] = ApiClient.convertToType(data['MailingLists'], 'String'); - } - if (data.hasOwnProperty('MobilePhone')) { - obj['MobilePhone'] = ApiClient.convertToType(data['MobilePhone'], 'String'); - } - if (data.hasOwnProperty('Name')) { - obj['Name'] = ApiClient.convertToType(data['Name'], 'String'); - } - if (data.hasOwnProperty('OtherAddress')) { - obj['OtherAddress'] = Address.constructFromObject(data['OtherAddress']); - } - if (data.hasOwnProperty('OtherPhone')) { - obj['OtherPhone'] = ApiClient.convertToType(data['OtherPhone'], 'String'); - } - if (data.hasOwnProperty('OwnerID')) { - obj['OwnerID'] = ApiClient.convertToType(data['OwnerID'], 'String'); - } - if (data.hasOwnProperty('PersonalEmail')) { - obj['PersonalEmail'] = ApiClient.convertToType(data['PersonalEmail'], 'String'); - } - if (data.hasOwnProperty('Phone')) { - obj['Phone'] = ApiClient.convertToType(data['Phone'], 'String'); - } - if (data.hasOwnProperty('PhotoURL')) { - obj['PhotoURL'] = ApiClient.convertToType(data['PhotoURL'], 'String'); - } - if (data.hasOwnProperty('RecruitingStatus')) { - obj['RecruitingStatus'] = ApiClient.convertToType(data['RecruitingStatus'], 'String'); - } - if (data.hasOwnProperty('Ref')) { - obj['Ref'] = ApiClient.convertToType(data['Ref'], 'String'); - } - if (data.hasOwnProperty('ReportsToID')) { - obj['ReportsToID'] = ApiClient.convertToType(data['ReportsToID'], 'String'); - } - if (data.hasOwnProperty('Salutation')) { - obj['Salutation'] = ApiClient.convertToType(data['Salutation'], 'String'); - } - if (data.hasOwnProperty('Status')) { - obj['Status'] = ApiClient.convertToType(data['Status'], 'String'); - } - if (data.hasOwnProperty('TenantID')) { - obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String'); - } - if (data.hasOwnProperty('Title')) { - obj['Title'] = ApiClient.convertToType(data['Title'], 'String'); - } - if (data.hasOwnProperty('Type')) { - obj['Type'] = ApiClient.convertToType(data['Type'], 'String'); - } - } - return obj; - } - - -} - -/** - * The primary account ID of this contact - * @member {String} AccountID - */ -Contact.prototype['AccountID'] = undefined; - -/** - * Assistant Name - * @member {String} AssistantName - */ -Contact.prototype['AssistantName'] = undefined; - -/** - * Asst. Phone - * @member {String} AssistantPhone - */ -Contact.prototype['AssistantPhone'] = undefined; - -/** - * Birthdate - * @member {String} BirthDate - */ -Contact.prototype['BirthDate'] = undefined; - -/** - * Created By User ID - * @member {String} CreatedByID - */ -Contact.prototype['CreatedByID'] = undefined; - -/** - * Created Date - * @member {String} CreatedDate - */ -Contact.prototype['CreatedDate'] = undefined; - -/** - * Department - * @member {String} Department - */ -Contact.prototype['Department'] = undefined; - -/** - * Description - * @member {String} Description - */ -Contact.prototype['Description'] = undefined; - -/** - * Do Not Call? - * @member {Boolean} DoNotCall - */ -Contact.prototype['DoNotCall'] = undefined; - -/** - * Email address - * @member {String} Email - */ -Contact.prototype['Email'] = undefined; - -/** - * Email Bounce Date - * @member {String} EmailBounceDate - */ -Contact.prototype['EmailBounceDate'] = undefined; - -/** - * Email Bounce Reason - * @member {String} EmailBouncedReason - */ -Contact.prototype['EmailBouncedReason'] = undefined; - -/** - * Taxnexus Enrollment Status - * @member {String} EnrollmentStatus - */ -Contact.prototype['EnrollmentStatus'] = undefined; - -/** - * Fax Number - * @member {String} Fax - */ -Contact.prototype['Fax'] = undefined; - -/** - * First Name - * @member {String} FirstName - */ -Contact.prototype['FirstName'] = undefined; - -/** - * Email Opt Out - * @member {Boolean} HasOptedOutOfEmail - */ -Contact.prototype['HasOptedOutOfEmail'] = undefined; - -/** - * Fax Opt Out - * @member {Boolean} HasOptedOutOfFax - */ -Contact.prototype['HasOptedOutOfFax'] = undefined; - -/** - * Home Phone - * @member {String} HomePhone - */ -Contact.prototype['HomePhone'] = undefined; - -/** - * Taxnexus Record Id - * @member {String} ID - */ -Contact.prototype['ID'] = undefined; - -/** - * Does this contact have bounced emails? - * @member {Boolean} IsEmailBounced - */ -Contact.prototype['IsEmailBounced'] = undefined; - -/** - * Is Provisioned? - * @member {Boolean} IsProvisioned - */ -Contact.prototype['IsProvisioned'] = undefined; - -/** - * Last Modified By User ID - * @member {String} LastModifiedByID - */ -Contact.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modified Date - * @member {String} LastModifiedDate - */ -Contact.prototype['LastModifiedDate'] = undefined; - -/** - * Last Name - * @member {String} LastName - */ -Contact.prototype['LastName'] = undefined; - -/** - * Lead Source - * @member {String} LeadSource - */ -Contact.prototype['LeadSource'] = undefined; - -/** - * Level - * @member {String} Level - */ -Contact.prototype['Level'] = undefined; - -/** - * LinkedIn Page - * @member {String} LinkedIn - */ -Contact.prototype['LinkedIn'] = undefined; - -/** - * @member {module:model/Address} MailingAddress - */ -Contact.prototype['MailingAddress'] = undefined; - -/** - * Mailing Lists - * @member {String} MailingLists - */ -Contact.prototype['MailingLists'] = undefined; - -/** - * Mobile Phone - * @member {String} MobilePhone - */ -Contact.prototype['MobilePhone'] = undefined; - -/** - * Full Name - * @member {String} Name - */ -Contact.prototype['Name'] = undefined; - -/** - * @member {module:model/Address} OtherAddress - */ -Contact.prototype['OtherAddress'] = undefined; - -/** - * Other Phone - * @member {String} OtherPhone - */ -Contact.prototype['OtherPhone'] = undefined; - -/** - * The User ID of the user who owns this Contact - * @member {String} OwnerID - */ -Contact.prototype['OwnerID'] = undefined; - -/** - * Personal Email Address for this Contact - * @member {String} PersonalEmail - */ -Contact.prototype['PersonalEmail'] = undefined; - -/** - * Phone Number - * @member {String} Phone - */ -Contact.prototype['Phone'] = undefined; - -/** - * URL of a photograph of this User - * @member {String} PhotoURL - */ -Contact.prototype['PhotoURL'] = undefined; - -/** - * Recruiting Status - * @member {String} RecruitingStatus - */ -Contact.prototype['RecruitingStatus'] = undefined; - -/** - * External reference to this contact, if any - * @member {String} Ref - */ -Contact.prototype['Ref'] = undefined; - -/** - * Reports To Contact ID - * @member {String} ReportsToID - */ -Contact.prototype['ReportsToID'] = undefined; - -/** - * Contact Salutation - * @member {String} Salutation - */ -Contact.prototype['Salutation'] = undefined; - -/** - * The Contact Status - * @member {String} Status - */ -Contact.prototype['Status'] = undefined; - -/** - * Tenant Identifier - * @member {String} TenantID - */ -Contact.prototype['TenantID'] = undefined; - -/** - * Contact Title - * @member {String} Title - */ -Contact.prototype['Title'] = undefined; - -/** - * Contact Type - * @member {String} Type - */ -Contact.prototype['Type'] = undefined; - - - - - - -export default Contact; - diff --git a/client/crm/src/model/ContactRequest.js b/client/crm/src/model/ContactRequest.js deleted file mode 100644 index bbf2558..0000000 --- a/client/crm/src/model/ContactRequest.js +++ /dev/null @@ -1,72 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Contact from './Contact'; - -/** - * The ContactRequest model module. - * @module model/ContactRequest - * @version 0.0.2 - */ -class ContactRequest { - /** - * Constructs a new ContactRequest. - * @alias module:model/ContactRequest - */ - constructor() { - - ContactRequest.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 ContactRequest 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/ContactRequest} obj Optional instance to populate. - * @return {module:model/ContactRequest} The populated ContactRequest instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new ContactRequest(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Contact]); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -ContactRequest.prototype['Data'] = undefined; - - - - - - -export default ContactRequest; - diff --git a/client/crm/src/model/ContactResponse.js b/client/crm/src/model/ContactResponse.js deleted file mode 100644 index 30dacb6..0000000 --- a/client/crm/src/model/ContactResponse.js +++ /dev/null @@ -1,81 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Contact from './Contact'; -import ResponseMeta from './ResponseMeta'; - -/** - * The ContactResponse model module. - * @module model/ContactResponse - * @version 0.0.2 - */ -class ContactResponse { - /** - * Constructs a new ContactResponse. - * @alias module:model/ContactResponse - */ - constructor() { - - ContactResponse.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 ContactResponse 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/ContactResponse} obj Optional instance to populate. - * @return {module:model/ContactResponse} The populated ContactResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new ContactResponse(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Contact]); - } - if (data.hasOwnProperty('Meta')) { - obj['Meta'] = ResponseMeta.constructFromObject(data['Meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -ContactResponse.prototype['Data'] = undefined; - -/** - * @member {module:model/ResponseMeta} Meta - */ -ContactResponse.prototype['Meta'] = undefined; - - - - - - -export default ContactResponse; - diff --git a/client/crm/src/model/Contract.js b/client/crm/src/model/Contract.js deleted file mode 100644 index d373815..0000000 --- a/client/crm/src/model/Contract.js +++ /dev/null @@ -1,332 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Address from './Address'; - -/** - * The Contract model module. - * @module model/Contract - * @version 0.0.2 - */ -class Contract { - /** - * Constructs a new Contract. - * @alias module:model/Contract - */ - constructor() { - - Contract.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 Contract 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/Contract} obj Optional instance to populate. - * @return {module:model/Contract} The populated Contract instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Contract(); - - if (data.hasOwnProperty('AccountID')) { - obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String'); - } - if (data.hasOwnProperty('ActivatedByID')) { - obj['ActivatedByID'] = ApiClient.convertToType(data['ActivatedByID'], 'String'); - } - if (data.hasOwnProperty('ActivatedDate')) { - obj['ActivatedDate'] = ApiClient.convertToType(data['ActivatedDate'], 'String'); - } - if (data.hasOwnProperty('BillingAddress')) { - obj['BillingAddress'] = Address.constructFromObject(data['BillingAddress']); - } - if (data.hasOwnProperty('BillingContactID')) { - obj['BillingContactID'] = ApiClient.convertToType(data['BillingContactID'], 'String'); - } - if (data.hasOwnProperty('CompanySignedDate')) { - obj['CompanySignedDate'] = ApiClient.convertToType(data['CompanySignedDate'], 'String'); - } - if (data.hasOwnProperty('CompanySignedID')) { - obj['CompanySignedID'] = ApiClient.convertToType(data['CompanySignedID'], 'String'); - } - if (data.hasOwnProperty('ContractNumber')) { - obj['ContractNumber'] = ApiClient.convertToType(data['ContractNumber'], 'String'); - } - if (data.hasOwnProperty('ContractTerm')) { - obj['ContractTerm'] = ApiClient.convertToType(data['ContractTerm'], 'Number'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('CustomerSignedDate')) { - obj['CustomerSignedDate'] = ApiClient.convertToType(data['CustomerSignedDate'], 'String'); - } - if (data.hasOwnProperty('CustomerSignedID')) { - obj['CustomerSignedID'] = ApiClient.convertToType(data['CustomerSignedID'], 'String'); - } - if (data.hasOwnProperty('CustomerSignedTitle')) { - obj['CustomerSignedTitle'] = ApiClient.convertToType(data['CustomerSignedTitle'], 'String'); - } - if (data.hasOwnProperty('DefaultEndUserID')) { - obj['DefaultEndUserID'] = ApiClient.convertToType(data['DefaultEndUserID'], 'String'); - } - if (data.hasOwnProperty('Description')) { - obj['Description'] = ApiClient.convertToType(data['Description'], 'String'); - } - if (data.hasOwnProperty('EndDate')) { - obj['EndDate'] = ApiClient.convertToType(data['EndDate'], 'String'); - } - if (data.hasOwnProperty('HourlyRate')) { - obj['HourlyRate'] = ApiClient.convertToType(data['HourlyRate'], 'Number'); - } - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('Name')) { - obj['Name'] = ApiClient.convertToType(data['Name'], 'String'); - } - if (data.hasOwnProperty('PaymentMethodID')) { - obj['PaymentMethodID'] = ApiClient.convertToType(data['PaymentMethodID'], 'String'); - } - if (data.hasOwnProperty('PaymentTerms')) { - obj['PaymentTerms'] = ApiClient.convertToType(data['PaymentTerms'], 'String'); - } - if (data.hasOwnProperty('Perpetual')) { - obj['Perpetual'] = ApiClient.convertToType(data['Perpetual'], 'Boolean'); - } - if (data.hasOwnProperty('ShippingAddress')) { - obj['ShippingAddress'] = Address.constructFromObject(data['ShippingAddress']); - } - if (data.hasOwnProperty('ShippingContactID')) { - obj['ShippingContactID'] = ApiClient.convertToType(data['ShippingContactID'], 'String'); - } - if (data.hasOwnProperty('StartDate')) { - obj['StartDate'] = ApiClient.convertToType(data['StartDate'], 'String'); - } - if (data.hasOwnProperty('Status')) { - obj['Status'] = ApiClient.convertToType(data['Status'], 'String'); - } - if (data.hasOwnProperty('TenantID')) { - obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String'); - } - } - return obj; - } - - -} - -/** - * Account - * @member {String} AccountID - */ -Contract.prototype['AccountID'] = undefined; - -/** - * Activated By - * @member {String} ActivatedByID - */ -Contract.prototype['ActivatedByID'] = undefined; - -/** - * Activated Date - * @member {String} ActivatedDate - */ -Contract.prototype['ActivatedDate'] = undefined; - -/** - * @member {module:model/Address} BillingAddress - */ -Contract.prototype['BillingAddress'] = undefined; - -/** - * Billing Contact - * @member {String} BillingContactID - */ -Contract.prototype['BillingContactID'] = undefined; - -/** - * Company Signed Date - * @member {String} CompanySignedDate - */ -Contract.prototype['CompanySignedDate'] = undefined; - -/** - * Company Signed By - * @member {String} CompanySignedID - */ -Contract.prototype['CompanySignedID'] = undefined; - -/** - * Contract Number - * @member {String} ContractNumber - */ -Contract.prototype['ContractNumber'] = undefined; - -/** - * Contract Term (months) - * @member {Number} ContractTerm - */ -Contract.prototype['ContractTerm'] = undefined; - -/** - * Created By User ID - * @member {String} CreatedByID - */ -Contract.prototype['CreatedByID'] = undefined; - -/** - * Created Date - * @member {String} CreatedDate - */ -Contract.prototype['CreatedDate'] = undefined; - -/** - * Customer Signed Date - * @member {String} CustomerSignedDate - */ -Contract.prototype['CustomerSignedDate'] = undefined; - -/** - * Customer Signed By - * @member {String} CustomerSignedID - */ -Contract.prototype['CustomerSignedID'] = undefined; - -/** - * Customer Signed Title - * @member {String} CustomerSignedTitle - */ -Contract.prototype['CustomerSignedTitle'] = undefined; - -/** - * End User - * @member {String} DefaultEndUserID - */ -Contract.prototype['DefaultEndUserID'] = undefined; - -/** - * Description - * @member {String} Description - */ -Contract.prototype['Description'] = undefined; - -/** - * Contract End Date - * @member {String} EndDate - */ -Contract.prototype['EndDate'] = undefined; - -/** - * Hourly Rate - * @member {Number} HourlyRate - */ -Contract.prototype['HourlyRate'] = undefined; - -/** - * Telnexus Record Id - * @member {String} ID - */ -Contract.prototype['ID'] = undefined; - -/** - * Last Modified By User ID - * @member {String} LastModifiedByID - */ -Contract.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modified Date - * @member {String} LastModifiedDate - */ -Contract.prototype['LastModifiedDate'] = undefined; - -/** - * Contract Name - * @member {String} Name - */ -Contract.prototype['Name'] = undefined; - -/** - * Payment Method - * @member {String} PaymentMethodID - */ -Contract.prototype['PaymentMethodID'] = undefined; - -/** - * Payment Terms - * @member {String} PaymentTerms - */ -Contract.prototype['PaymentTerms'] = undefined; - -/** - * Perpetual Agreement? - * @member {Boolean} Perpetual - */ -Contract.prototype['Perpetual'] = undefined; - -/** - * @member {module:model/Address} ShippingAddress - */ -Contract.prototype['ShippingAddress'] = undefined; - -/** - * Shipping Contact - * @member {String} ShippingContactID - */ -Contract.prototype['ShippingContactID'] = undefined; - -/** - * Contract Start Date - * @member {String} StartDate - */ -Contract.prototype['StartDate'] = undefined; - -/** - * Status - * @member {String} Status - */ -Contract.prototype['Status'] = undefined; - -/** - * Tenant Identifier - * @member {String} TenantID - */ -Contract.prototype['TenantID'] = undefined; - - - - - - -export default Contract; - diff --git a/client/crm/src/model/ContractRequest.js b/client/crm/src/model/ContractRequest.js deleted file mode 100644 index b90a3ff..0000000 --- a/client/crm/src/model/ContractRequest.js +++ /dev/null @@ -1,72 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Contract from './Contract'; - -/** - * The ContractRequest model module. - * @module model/ContractRequest - * @version 0.0.2 - */ -class ContractRequest { - /** - * Constructs a new ContractRequest. - * @alias module:model/ContractRequest - */ - constructor() { - - ContractRequest.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 ContractRequest 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/ContractRequest} obj Optional instance to populate. - * @return {module:model/ContractRequest} The populated ContractRequest instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new ContractRequest(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Contract]); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -ContractRequest.prototype['Data'] = undefined; - - - - - - -export default ContractRequest; - diff --git a/client/crm/src/model/ContractResponse.js b/client/crm/src/model/ContractResponse.js deleted file mode 100644 index 9def005..0000000 --- a/client/crm/src/model/ContractResponse.js +++ /dev/null @@ -1,81 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Contract from './Contract'; -import ResponseMeta from './ResponseMeta'; - -/** - * The ContractResponse model module. - * @module model/ContractResponse - * @version 0.0.2 - */ -class ContractResponse { - /** - * Constructs a new ContractResponse. - * @alias module:model/ContractResponse - */ - constructor() { - - ContractResponse.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 ContractResponse 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/ContractResponse} obj Optional instance to populate. - * @return {module:model/ContractResponse} The populated ContractResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new ContractResponse(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Contract]); - } - if (data.hasOwnProperty('Meta')) { - obj['Meta'] = ResponseMeta.constructFromObject(data['Meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -ContractResponse.prototype['Data'] = undefined; - -/** - * @member {module:model/ResponseMeta} Meta - */ -ContractResponse.prototype['Meta'] = undefined; - - - - - - -export default ContractResponse; - diff --git a/client/crm/src/model/DeleteResponse.js b/client/crm/src/model/DeleteResponse.js deleted file mode 100644 index 1286933..0000000 --- a/client/crm/src/model/DeleteResponse.js +++ /dev/null @@ -1,81 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Message from './Message'; -import ResponseMeta from './ResponseMeta'; - -/** - * The DeleteResponse model module. - * @module model/DeleteResponse - * @version 0.0.2 - */ -class DeleteResponse { - /** - * Constructs a new DeleteResponse. - * @alias module:model/DeleteResponse - */ - constructor() { - - DeleteResponse.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 DeleteResponse 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/DeleteResponse} obj Optional instance to populate. - * @return {module:model/DeleteResponse} The populated DeleteResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new DeleteResponse(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Message]); - } - if (data.hasOwnProperty('Meta')) { - obj['Meta'] = ResponseMeta.constructFromObject(data['Meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -DeleteResponse.prototype['Data'] = undefined; - -/** - * @member {module:model/ResponseMeta} Meta - */ -DeleteResponse.prototype['Meta'] = undefined; - - - - - - -export default DeleteResponse; - diff --git a/client/crm/src/model/Error.js b/client/crm/src/model/Error.js deleted file mode 100644 index 6970300..0000000 --- a/client/crm/src/model/Error.js +++ /dev/null @@ -1,87 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Error model module. - * @module model/Error - * @version 0.0.2 - */ -class Error { - /** - * Constructs a new Error. - * @alias module:model/Error - */ - constructor() { - - Error.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 Error 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/Error} obj Optional instance to populate. - * @return {module:model/Error} The populated Error instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Error(); - - if (data.hasOwnProperty('Code')) { - obj['Code'] = ApiClient.convertToType(data['Code'], 'Number'); - } - if (data.hasOwnProperty('Fields')) { - obj['Fields'] = ApiClient.convertToType(data['Fields'], 'String'); - } - if (data.hasOwnProperty('Message')) { - obj['Message'] = ApiClient.convertToType(data['Message'], 'String'); - } - } - return obj; - } - - -} - -/** - * @member {Number} Code - */ -Error.prototype['Code'] = undefined; - -/** - * @member {String} Fields - */ -Error.prototype['Fields'] = undefined; - -/** - * @member {String} Message - */ -Error.prototype['Message'] = undefined; - - - - - - -export default Error; - diff --git a/client/crm/src/model/InvalidError.js b/client/crm/src/model/InvalidError.js deleted file mode 100644 index d83cd68..0000000 --- a/client/crm/src/model/InvalidError.js +++ /dev/null @@ -1,119 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Error from './Error'; -import InvalidErrorAllOf from './InvalidErrorAllOf'; - -/** - * The InvalidError model module. - * @module model/InvalidError - * @version 0.0.2 - */ -class InvalidError { - /** - * Constructs a new InvalidError. - * @alias module:model/InvalidError - * @implements module:model/Error - * @implements module:model/InvalidErrorAllOf - */ - constructor() { - Error.initialize(this);InvalidErrorAllOf.initialize(this); - InvalidError.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 InvalidError 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/InvalidError} obj Optional instance to populate. - * @return {module:model/InvalidError} The populated InvalidError instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new InvalidError(); - Error.constructFromObject(data, obj); - InvalidErrorAllOf.constructFromObject(data, obj); - - if (data.hasOwnProperty('Code')) { - obj['Code'] = ApiClient.convertToType(data['Code'], 'Number'); - } - if (data.hasOwnProperty('Fields')) { - obj['Fields'] = ApiClient.convertToType(data['Fields'], 'String'); - } - if (data.hasOwnProperty('Message')) { - obj['Message'] = ApiClient.convertToType(data['Message'], 'String'); - } - if (data.hasOwnProperty('details')) { - obj['details'] = ApiClient.convertToType(data['details'], ['String']); - } - } - return obj; - } - - -} - -/** - * @member {Number} Code - */ -InvalidError.prototype['Code'] = undefined; - -/** - * @member {String} Fields - */ -InvalidError.prototype['Fields'] = undefined; - -/** - * @member {String} Message - */ -InvalidError.prototype['Message'] = undefined; - -/** - * @member {Array.} details - */ -InvalidError.prototype['details'] = undefined; - - -// Implement Error interface: -/** - * @member {Number} Code - */ -Error.prototype['Code'] = undefined; -/** - * @member {String} Fields - */ -Error.prototype['Fields'] = undefined; -/** - * @member {String} Message - */ -Error.prototype['Message'] = undefined; -// Implement InvalidErrorAllOf interface: -/** - * @member {Array.} details - */ -InvalidErrorAllOf.prototype['details'] = undefined; - - - - -export default InvalidError; - diff --git a/client/crm/src/model/InvalidErrorAllOf.js b/client/crm/src/model/InvalidErrorAllOf.js deleted file mode 100644 index 50e4e36..0000000 --- a/client/crm/src/model/InvalidErrorAllOf.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 InvalidErrorAllOf model module. - * @module model/InvalidErrorAllOf - * @version 0.0.2 - */ -class InvalidErrorAllOf { - /** - * Constructs a new InvalidErrorAllOf. - * @alias module:model/InvalidErrorAllOf - */ - constructor() { - - InvalidErrorAllOf.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 InvalidErrorAllOf 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/InvalidErrorAllOf} obj Optional instance to populate. - * @return {module:model/InvalidErrorAllOf} The populated InvalidErrorAllOf instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new InvalidErrorAllOf(); - - if (data.hasOwnProperty('details')) { - obj['details'] = ApiClient.convertToType(data['details'], ['String']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} details - */ -InvalidErrorAllOf.prototype['details'] = undefined; - - - - - - -export default InvalidErrorAllOf; - diff --git a/client/crm/src/model/Lead.js b/client/crm/src/model/Lead.js deleted file mode 100644 index 94fa7e3..0000000 --- a/client/crm/src/model/Lead.js +++ /dev/null @@ -1,315 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Address from './Address'; - -/** - * The Lead model module. - * @module model/Lead - * @version 0.0.2 - */ -class Lead { - /** - * Constructs a new Lead. - * @alias module:model/Lead - */ - constructor() { - - Lead.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 Lead 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/Lead} obj Optional instance to populate. - * @return {module:model/Lead} The populated Lead instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Lead(); - - if (data.hasOwnProperty('Address')) { - obj['Address'] = Address.constructFromObject(data['Address']); - } - if (data.hasOwnProperty('Company')) { - obj['Company'] = ApiClient.convertToType(data['Company'], 'String'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('Description')) { - obj['Description'] = ApiClient.convertToType(data['Description'], 'String'); - } - if (data.hasOwnProperty('Email')) { - obj['Email'] = ApiClient.convertToType(data['Email'], 'String'); - } - if (data.hasOwnProperty('FirstName')) { - obj['FirstName'] = ApiClient.convertToType(data['FirstName'], 'String'); - } - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('LastName')) { - obj['LastName'] = ApiClient.convertToType(data['LastName'], 'String'); - } - if (data.hasOwnProperty('MobilePhone')) { - obj['MobilePhone'] = ApiClient.convertToType(data['MobilePhone'], 'String'); - } - if (data.hasOwnProperty('Name')) { - obj['Name'] = ApiClient.convertToType(data['Name'], 'String'); - } - if (data.hasOwnProperty('OwnerId')) { - obj['OwnerId'] = ApiClient.convertToType(data['OwnerId'], 'String'); - } - if (data.hasOwnProperty('PartnerAccountId')) { - obj['PartnerAccountId'] = ApiClient.convertToType(data['PartnerAccountId'], 'String'); - } - if (data.hasOwnProperty('Phone')) { - obj['Phone'] = ApiClient.convertToType(data['Phone'], 'String'); - } - if (data.hasOwnProperty('ProductID')) { - obj['ProductID'] = ApiClient.convertToType(data['ProductID'], 'String'); - } - if (data.hasOwnProperty('RefererURL')) { - obj['RefererURL'] = ApiClient.convertToType(data['RefererURL'], 'String'); - } - if (data.hasOwnProperty('Status')) { - obj['Status'] = ApiClient.convertToType(data['Status'], 'String'); - } - if (data.hasOwnProperty('TenantID')) { - obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String'); - } - if (data.hasOwnProperty('Title')) { - obj['Title'] = ApiClient.convertToType(data['Title'], 'String'); - } - if (data.hasOwnProperty('Type')) { - obj['Type'] = ApiClient.convertToType(data['Type'], 'String'); - } - if (data.hasOwnProperty('UTMCampaign')) { - obj['UTMCampaign'] = ApiClient.convertToType(data['UTMCampaign'], 'String'); - } - if (data.hasOwnProperty('UTMContent')) { - obj['UTMContent'] = ApiClient.convertToType(data['UTMContent'], 'String'); - } - if (data.hasOwnProperty('UTMMedium')) { - obj['UTMMedium'] = ApiClient.convertToType(data['UTMMedium'], 'String'); - } - if (data.hasOwnProperty('UTMSource')) { - obj['UTMSource'] = ApiClient.convertToType(data['UTMSource'], 'String'); - } - if (data.hasOwnProperty('UTMTerm')) { - obj['UTMTerm'] = ApiClient.convertToType(data['UTMTerm'], 'String'); - } - if (data.hasOwnProperty('Website')) { - obj['Website'] = ApiClient.convertToType(data['Website'], 'String'); - } - } - return obj; - } - - -} - -/** - * @member {module:model/Address} Address - */ -Lead.prototype['Address'] = undefined; - -/** - * Company - * @member {String} Company - */ -Lead.prototype['Company'] = undefined; - -/** - * Created By User ID - * @member {String} CreatedByID - */ -Lead.prototype['CreatedByID'] = undefined; - -/** - * Created Date - * @member {String} CreatedDate - */ -Lead.prototype['CreatedDate'] = undefined; - -/** - * Description - * @member {String} Description - */ -Lead.prototype['Description'] = undefined; - -/** - * Email - * @member {String} Email - */ -Lead.prototype['Email'] = undefined; - -/** - * First Name - * @member {String} FirstName - */ -Lead.prototype['FirstName'] = undefined; - -/** - * Taxnexus Record Id - * @member {String} ID - */ -Lead.prototype['ID'] = undefined; - -/** - * Last Modified By User ID - * @member {String} LastModifiedByID - */ -Lead.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modified Date - * @member {String} LastModifiedDate - */ -Lead.prototype['LastModifiedDate'] = undefined; - -/** - * Last Name - * @member {String} LastName - */ -Lead.prototype['LastName'] = undefined; - -/** - * Mobile - * @member {String} MobilePhone - */ -Lead.prototype['MobilePhone'] = undefined; - -/** - * Name - * @member {String} Name - */ -Lead.prototype['Name'] = undefined; - -/** - * LeadBasic Owner - * @member {String} OwnerId - */ -Lead.prototype['OwnerId'] = undefined; - -/** - * Partner Account - * @member {String} PartnerAccountId - */ -Lead.prototype['PartnerAccountId'] = undefined; - -/** - * Phone - * @member {String} Phone - */ -Lead.prototype['Phone'] = undefined; - -/** - * Product - * @member {String} ProductID - */ -Lead.prototype['ProductID'] = undefined; - -/** - * referer_url - * @member {String} RefererURL - */ -Lead.prototype['RefererURL'] = undefined; - -/** - * LeadBasic Status - * @member {String} Status - */ -Lead.prototype['Status'] = undefined; - -/** - * Tenant Identifier - * @member {String} TenantID - */ -Lead.prototype['TenantID'] = undefined; - -/** - * Title - * @member {String} Title - */ -Lead.prototype['Title'] = undefined; - -/** - * Type - * @member {String} Type - */ -Lead.prototype['Type'] = undefined; - -/** - * utm_campaign - * @member {String} UTMCampaign - */ -Lead.prototype['UTMCampaign'] = undefined; - -/** - * utm_content - * @member {String} UTMContent - */ -Lead.prototype['UTMContent'] = undefined; - -/** - * utm_medium - * @member {String} UTMMedium - */ -Lead.prototype['UTMMedium'] = undefined; - -/** - * utm_source - * @member {String} UTMSource - */ -Lead.prototype['UTMSource'] = undefined; - -/** - * utm_term - * @member {String} UTMTerm - */ -Lead.prototype['UTMTerm'] = undefined; - -/** - * Website - * @member {String} Website - */ -Lead.prototype['Website'] = undefined; - - - - - - -export default Lead; - diff --git a/client/crm/src/model/LeadRequest.js b/client/crm/src/model/LeadRequest.js deleted file mode 100644 index 5099ef9..0000000 --- a/client/crm/src/model/LeadRequest.js +++ /dev/null @@ -1,72 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Lead from './Lead'; - -/** - * The LeadRequest model module. - * @module model/LeadRequest - * @version 0.0.2 - */ -class LeadRequest { - /** - * Constructs a new LeadRequest. - * @alias module:model/LeadRequest - */ - constructor() { - - LeadRequest.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 LeadRequest 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/LeadRequest} obj Optional instance to populate. - * @return {module:model/LeadRequest} The populated LeadRequest instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new LeadRequest(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Lead]); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -LeadRequest.prototype['Data'] = undefined; - - - - - - -export default LeadRequest; - diff --git a/client/crm/src/model/LeadResponse.js b/client/crm/src/model/LeadResponse.js deleted file mode 100644 index b86f07f..0000000 --- a/client/crm/src/model/LeadResponse.js +++ /dev/null @@ -1,81 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Lead from './Lead'; -import ResponseMeta from './ResponseMeta'; - -/** - * The LeadResponse model module. - * @module model/LeadResponse - * @version 0.0.2 - */ -class LeadResponse { - /** - * Constructs a new LeadResponse. - * @alias module:model/LeadResponse - */ - constructor() { - - LeadResponse.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 LeadResponse 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/LeadResponse} obj Optional instance to populate. - * @return {module:model/LeadResponse} The populated LeadResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new LeadResponse(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Lead]); - } - if (data.hasOwnProperty('Meta')) { - obj['Meta'] = ResponseMeta.constructFromObject(data['Meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -LeadResponse.prototype['Data'] = undefined; - -/** - * @member {module:model/ResponseMeta} Meta - */ -LeadResponse.prototype['Meta'] = undefined; - - - - - - -export default LeadResponse; - diff --git a/client/crm/src/model/Message.js b/client/crm/src/model/Message.js deleted file mode 100644 index ce60ad8..0000000 --- a/client/crm/src/model/Message.js +++ /dev/null @@ -1,87 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Message model module. - * @module model/Message - * @version 0.0.2 - */ -class Message { - /** - * Constructs a new Message. - * @alias module:model/Message - */ - constructor() { - - Message.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 Message 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/Message} obj Optional instance to populate. - * @return {module:model/Message} The populated Message instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Message(); - - if (data.hasOwnProperty('message')) { - obj['message'] = ApiClient.convertToType(data['message'], 'String'); - } - if (data.hasOwnProperty('ref')) { - obj['ref'] = ApiClient.convertToType(data['ref'], 'String'); - } - if (data.hasOwnProperty('status')) { - obj['status'] = ApiClient.convertToType(data['status'], 'Number'); - } - } - return obj; - } - - -} - -/** - * @member {String} message - */ -Message.prototype['message'] = undefined; - -/** - * @member {String} ref - */ -Message.prototype['ref'] = undefined; - -/** - * @member {Number} status - */ -Message.prototype['status'] = undefined; - - - - - - -export default Message; - diff --git a/client/crm/src/model/Pagination.js b/client/crm/src/model/Pagination.js deleted file mode 100644 index a004ac5..0000000 --- a/client/crm/src/model/Pagination.js +++ /dev/null @@ -1,95 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Pagination model module. - * @module model/Pagination - * @version 0.0.2 - */ -class Pagination { - /** - * Constructs a new Pagination. - * @alias module:model/Pagination - */ - constructor() { - - Pagination.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 Pagination 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/Pagination} obj Optional instance to populate. - * @return {module:model/Pagination} The populated Pagination instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Pagination(); - - if (data.hasOwnProperty('limit')) { - obj['limit'] = ApiClient.convertToType(data['limit'], 'Number'); - } - if (data.hasOwnProperty('pagesize')) { - obj['pagesize'] = ApiClient.convertToType(data['pagesize'], 'Number'); - } - if (data.hasOwnProperty('poffset')) { - obj['poffset'] = ApiClient.convertToType(data['poffset'], 'Number'); - } - if (data.hasOwnProperty('setsize')) { - obj['setsize'] = ApiClient.convertToType(data['setsize'], 'Number'); - } - } - return obj; - } - - -} - -/** - * @member {Number} limit - */ -Pagination.prototype['limit'] = undefined; - -/** - * @member {Number} pagesize - */ -Pagination.prototype['pagesize'] = undefined; - -/** - * @member {Number} poffset - */ -Pagination.prototype['poffset'] = undefined; - -/** - * @member {Number} setsize - */ -Pagination.prototype['setsize'] = undefined; - - - - - - -export default Pagination; - diff --git a/client/crm/src/model/RequestMeta.js b/client/crm/src/model/RequestMeta.js deleted file mode 100644 index 7184d63..0000000 --- a/client/crm/src/model/RequestMeta.js +++ /dev/null @@ -1,74 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 RequestMeta model module. - * @module model/RequestMeta - * @version 0.0.2 - */ -class RequestMeta { - /** - * Constructs a new RequestMeta. - * @alias module:model/RequestMeta - * @param taxnexusAccount {String} Taxnexus Account Number of the Reseller or OEM - */ - constructor(taxnexusAccount) { - - RequestMeta.initialize(this, taxnexusAccount); - } - - /** - * 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, taxnexusAccount) { - obj['TaxnexusAccount'] = taxnexusAccount; - } - - /** - * Constructs a RequestMeta 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/RequestMeta} obj Optional instance to populate. - * @return {module:model/RequestMeta} The populated RequestMeta instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new RequestMeta(); - - if (data.hasOwnProperty('TaxnexusAccount')) { - obj['TaxnexusAccount'] = ApiClient.convertToType(data['TaxnexusAccount'], 'String'); - } - } - return obj; - } - - -} - -/** - * Taxnexus Account Number of the Reseller or OEM - * @member {String} TaxnexusAccount - */ -RequestMeta.prototype['TaxnexusAccount'] = undefined; - - - - - - -export default RequestMeta; - diff --git a/client/crm/src/model/ResponseMeta.js b/client/crm/src/model/ResponseMeta.js deleted file mode 100644 index 63628b5..0000000 --- a/client/crm/src/model/ResponseMeta.js +++ /dev/null @@ -1,171 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Pagination from './Pagination'; - -/** - * The ResponseMeta model module. - * @module model/ResponseMeta - * @version 0.0.2 - */ -class ResponseMeta { - /** - * Constructs a new ResponseMeta. - * @alias module:model/ResponseMeta - */ - constructor() { - - ResponseMeta.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 ResponseMeta 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/ResponseMeta} obj Optional instance to populate. - * @return {module:model/ResponseMeta} The populated ResponseMeta instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new ResponseMeta(); - - if (data.hasOwnProperty('Contact')) { - obj['Contact'] = ApiClient.convertToType(data['Contact'], 'String'); - } - if (data.hasOwnProperty('Copyright')) { - obj['Copyright'] = ApiClient.convertToType(data['Copyright'], 'String'); - } - if (data.hasOwnProperty('License')) { - obj['License'] = ApiClient.convertToType(data['License'], 'String'); - } - if (data.hasOwnProperty('OperationID')) { - obj['OperationID'] = ApiClient.convertToType(data['OperationID'], 'String'); - } - if (data.hasOwnProperty('Pagination')) { - obj['Pagination'] = Pagination.constructFromObject(data['Pagination']); - } - if (data.hasOwnProperty('RequestIP')) { - obj['RequestIP'] = ApiClient.convertToType(data['RequestIP'], 'String'); - } - if (data.hasOwnProperty('RequestType')) { - obj['RequestType'] = ApiClient.convertToType(data['RequestType'], 'String'); - } - if (data.hasOwnProperty('RequestURL')) { - obj['RequestURL'] = ApiClient.convertToType(data['RequestURL'], 'String'); - } - if (data.hasOwnProperty('ServerInfo')) { - obj['ServerInfo'] = ApiClient.convertToType(data['ServerInfo'], 'String'); - } - if (data.hasOwnProperty('ServerResponseTime')) { - obj['ServerResponseTime'] = ApiClient.convertToType(data['ServerResponseTime'], 'String'); - } - if (data.hasOwnProperty('ServerTimestamp')) { - obj['ServerTimestamp'] = ApiClient.convertToType(data['ServerTimestamp'], 'String'); - } - if (data.hasOwnProperty('TaxnexusAccount')) { - obj['TaxnexusAccount'] = ApiClient.convertToType(data['TaxnexusAccount'], 'String'); - } - } - return obj; - } - - -} - -/** - * Microservice Contact Info - * @member {String} Contact - */ -ResponseMeta.prototype['Contact'] = undefined; - -/** - * Copyright Info - * @member {String} Copyright - */ -ResponseMeta.prototype['Copyright'] = undefined; - -/** - * License Information and Restrictions - * @member {String} License - */ -ResponseMeta.prototype['License'] = undefined; - -/** - * Operation ID - * @member {String} OperationID - */ -ResponseMeta.prototype['OperationID'] = undefined; - -/** - * @member {module:model/Pagination} Pagination - */ -ResponseMeta.prototype['Pagination'] = undefined; - -/** - * Request IP Address - * @member {String} RequestIP - */ -ResponseMeta.prototype['RequestIP'] = undefined; - -/** - * Request Type - * @member {String} RequestType - */ -ResponseMeta.prototype['RequestType'] = undefined; - -/** - * Request URL - * @member {String} RequestURL - */ -ResponseMeta.prototype['RequestURL'] = undefined; - -/** - * Data Server Info - * @member {String} ServerInfo - */ -ResponseMeta.prototype['ServerInfo'] = undefined; - -/** - * Data Server Response Time (ms) - * @member {String} ServerResponseTime - */ -ResponseMeta.prototype['ServerResponseTime'] = undefined; - -/** - * Backend Server Timestamp - * @member {String} ServerTimestamp - */ -ResponseMeta.prototype['ServerTimestamp'] = undefined; - -/** - * Taxnexus Account Number used for recording transactions - * @member {String} TaxnexusAccount - */ -ResponseMeta.prototype['TaxnexusAccount'] = undefined; - - - - - - -export default ResponseMeta; - diff --git a/client/crm/test/api/AccountsApi.spec.js b/client/crm/test/api/AccountsApi.spec.js deleted file mode 100644 index a4ae6b5..0000000 --- a/client/crm/test/api/AccountsApi.spec.js +++ /dev/null @@ -1,103 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.AccountsApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('AccountsApi', function() { - describe('deleteAccount', function() { - it('should call deleteAccount successfully', function(done) { - //uncomment below and update the code to test deleteAccount - //instance.deleteAccount(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('getAccounts', function() { - it('should call getAccounts successfully', function(done) { - //uncomment below and update the code to test getAccounts - //instance.getAccounts(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('getAccountsObservable', function() { - it('should call getAccountsObservable successfully', function(done) { - //uncomment below and update the code to test getAccountsObservable - //instance.getAccountsObservable(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('postAccounts', function() { - it('should call postAccounts successfully', function(done) { - //uncomment below and update the code to test postAccounts - //instance.postAccounts(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('putAccount', function() { - it('should call putAccount successfully', function(done) { - //uncomment below and update the code to test putAccount - //instance.putAccount(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/crm/test/api/AssetsApi.spec.js b/client/crm/test/api/AssetsApi.spec.js deleted file mode 100644 index 0b865f4..0000000 --- a/client/crm/test/api/AssetsApi.spec.js +++ /dev/null @@ -1,103 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.AssetsApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('AssetsApi', function() { - describe('deleteAsset', function() { - it('should call deleteAsset successfully', function(done) { - //uncomment below and update the code to test deleteAsset - //instance.deleteAsset(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('getAssets', function() { - it('should call getAssets successfully', function(done) { - //uncomment below and update the code to test getAssets - //instance.getAssets(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('getAssetsObservable', function() { - it('should call getAssetsObservable successfully', function(done) { - //uncomment below and update the code to test getAssetsObservable - //instance.getAssetsObservable(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('postAssets', function() { - it('should call postAssets successfully', function(done) { - //uncomment below and update the code to test postAssets - //instance.postAssets(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('putAsset', function() { - it('should call putAsset successfully', function(done) { - //uncomment below and update the code to test putAsset - //instance.putAsset(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/crm/test/api/ContactsApi.spec.js b/client/crm/test/api/ContactsApi.spec.js deleted file mode 100644 index 767e068..0000000 --- a/client/crm/test/api/ContactsApi.spec.js +++ /dev/null @@ -1,103 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.ContactsApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('ContactsApi', function() { - describe('deleteContact', function() { - it('should call deleteContact successfully', function(done) { - //uncomment below and update the code to test deleteContact - //instance.deleteContact(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('getContacts', function() { - it('should call getContacts successfully', function(done) { - //uncomment below and update the code to test getContacts - //instance.getContacts(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('getContactsObservable', function() { - it('should call getContactsObservable successfully', function(done) { - //uncomment below and update the code to test getContactsObservable - //instance.getContactsObservable(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('postContacts', function() { - it('should call postContacts successfully', function(done) { - //uncomment below and update the code to test postContacts - //instance.postContacts(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('putContacts', function() { - it('should call putContacts successfully', function(done) { - //uncomment below and update the code to test putContacts - //instance.putContacts(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/crm/test/api/ContractsApi.spec.js b/client/crm/test/api/ContractsApi.spec.js deleted file mode 100644 index 2e4d795..0000000 --- a/client/crm/test/api/ContractsApi.spec.js +++ /dev/null @@ -1,103 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.ContractsApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('ContractsApi', function() { - describe('deleteContract', function() { - it('should call deleteContract successfully', function(done) { - //uncomment below and update the code to test deleteContract - //instance.deleteContract(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('getContracts', function() { - it('should call getContracts successfully', function(done) { - //uncomment below and update the code to test getContracts - //instance.getContracts(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('getContractsObservable', function() { - it('should call getContractsObservable successfully', function(done) { - //uncomment below and update the code to test getContractsObservable - //instance.getContractsObservable(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('postContracts', function() { - it('should call postContracts successfully', function(done) { - //uncomment below and update the code to test postContracts - //instance.postContracts(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('putContract', function() { - it('should call putContract successfully', function(done) { - //uncomment below and update the code to test putContract - //instance.putContract(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/crm/test/api/CorsApi.spec.js b/client/crm/test/api/CorsApi.spec.js deleted file mode 100644 index 151f4d3..0000000 --- a/client/crm/test/api/CorsApi.spec.js +++ /dev/null @@ -1,153 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.CorsApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('CorsApi', function() { - describe('accountOptions', function() { - it('should call accountOptions successfully', function(done) { - //uncomment below and update the code to test accountOptions - //instance.accountOptions(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('accountOptionsObservable', function() { - it('should call accountOptionsObservable successfully', function(done) { - //uncomment below and update the code to test accountOptionsObservable - //instance.accountOptionsObservable(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('assetOptions', function() { - it('should call assetOptions successfully', function(done) { - //uncomment below and update the code to test assetOptions - //instance.assetOptions(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('assetOptionsObservable', function() { - it('should call assetOptionsObservable successfully', function(done) { - //uncomment below and update the code to test assetOptionsObservable - //instance.assetOptionsObservable(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('contactOptions', function() { - it('should call contactOptions successfully', function(done) { - //uncomment below and update the code to test contactOptions - //instance.contactOptions(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('contactOptionsObservable', function() { - it('should call contactOptionsObservable successfully', function(done) { - //uncomment below and update the code to test contactOptionsObservable - //instance.contactOptionsObservable(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('contractOptions', function() { - it('should call contractOptions successfully', function(done) { - //uncomment below and update the code to test contractOptions - //instance.contractOptions(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('contractOptionsObservable', function() { - it('should call contractOptionsObservable successfully', function(done) { - //uncomment below and update the code to test contractOptionsObservable - //instance.contractOptionsObservable(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('leadOptions', function() { - it('should call leadOptions successfully', function(done) { - //uncomment below and update the code to test leadOptions - //instance.leadOptions(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('leadOptionsObservable', function() { - it('should call leadOptionsObservable successfully', function(done) { - //uncomment below and update the code to test leadOptionsObservable - //instance.leadOptionsObservable(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/crm/test/api/LeadsApi.spec.js b/client/crm/test/api/LeadsApi.spec.js deleted file mode 100644 index 7fa3b2e..0000000 --- a/client/crm/test/api/LeadsApi.spec.js +++ /dev/null @@ -1,103 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.LeadsApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('LeadsApi', function() { - describe('deleteLead', function() { - it('should call deleteLead successfully', function(done) { - //uncomment below and update the code to test deleteLead - //instance.deleteLead(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('getLeads', function() { - it('should call getLeads successfully', function(done) { - //uncomment below and update the code to test getLeads - //instance.getLeads(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('getLeadsObservable', function() { - it('should call getLeadsObservable successfully', function(done) { - //uncomment below and update the code to test getLeadsObservable - //instance.getLeadsObservable(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('postLeads', function() { - it('should call postLeads successfully', function(done) { - //uncomment below and update the code to test postLeads - //instance.postLeads(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('putLeads', function() { - it('should call putLeads successfully', function(done) { - //uncomment below and update the code to test putLeads - //instance.putLeads(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/crm/test/model/Account.spec.js b/client/crm/test/model/Account.spec.js deleted file mode 100644 index 61cfc3d..0000000 --- a/client/crm/test/model/Account.spec.js +++ /dev/null @@ -1,353 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.Account(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Account', function() { - it('should create an instance of Account', function() { - // uncomment below and update the code to test Account - //var instance = new Crm.Account(); - //expect(instance).to.be.a(Crm.Account); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property accountNumber (base name: "AccountNumber")', function() { - // uncomment below and update the code to test the property accountNumber - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property accountSource (base name: "AccountSource")', function() { - // uncomment below and update the code to test the property accountSource - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property annualRevenue (base name: "AnnualRevenue")', function() { - // uncomment below and update the code to test the property annualRevenue - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property billingAddress (base name: "BillingAddress")', function() { - // uncomment below and update the code to test the property billingAddress - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property billingContactID (base name: "BillingContactID")', function() { - // uncomment below and update the code to test the property billingContactID - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property closeDate (base name: "CloseDate")', function() { - // uncomment below and update the code to test the property closeDate - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property cloudType (base name: "CloudType")', function() { - // uncomment below and update the code to test the property cloudType - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property cloudYear (base name: "CloudYear")', function() { - // uncomment below and update the code to test the property cloudYear - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property crunchbaseURL (base name: "CrunchbaseURL")', function() { - // uncomment below and update the code to test the property crunchbaseURL - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "Description")', function() { - // uncomment below and update the code to test the property description - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property earningsCall (base name: "EarningsCall")', function() { - // uncomment below and update the code to test the property earningsCall - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property email (base name: "Email")', function() { - // uncomment below and update the code to test the property email - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property equityFunding (base name: "EquityFunding")', function() { - // uncomment below and update the code to test the property equityFunding - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property facebook (base name: "Facebook")', function() { - // uncomment below and update the code to test the property facebook - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property linkedIn (base name: "LinkedIn")', function() { - // uncomment below and update the code to test the property linkedIn - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property location (base name: "Location")', function() { - // uncomment below and update the code to test the property location - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property fax (base name: "Fax")', function() { - // uncomment below and update the code to test the property fax - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property foundedDate (base name: "FoundedDate")', function() { - // uncomment below and update the code to test the property foundedDate - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property industry (base name: "Industry")', function() { - // uncomment below and update the code to test the property industry - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property industries (base name: "Industries")', function() { - // uncomment below and update the code to test the property industries - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property iPODate (base name: "IPODate")', function() { - // uncomment below and update the code to test the property iPODate - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property logo (base name: "Logo")', function() { - // uncomment below and update the code to test the property logo - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property marketCapitalization (base name: "MarketCapitalization")', function() { - // uncomment below and update the code to test the property marketCapitalization - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "Name")', function() { - // uncomment below and update the code to test the property name - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property numberInvestments (base name: "NumberInvestments")', function() { - // uncomment below and update the code to test the property numberInvestments - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property numberOfEmployees (base name: "NumberOfEmployees")', function() { - // uncomment below and update the code to test the property numberOfEmployees - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property ownerID (base name: "OwnerID")', function() { - // uncomment below and update the code to test the property ownerID - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property ownership (base name: "Ownership")', function() { - // uncomment below and update the code to test the property ownership - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property publish (base name: "Publish")', function() { - // uncomment below and update the code to test the property publish - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property salesforceFirst (base name: "SalesforceFirst")', function() { - // uncomment below and update the code to test the property salesforceFirst - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property parentID (base name: "ParentID")', function() { - // uncomment below and update the code to test the property parentID - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property phone (base name: "Phone")', function() { - // uncomment below and update the code to test the property phone - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property SIC (base name: "SIC")', function() { - // uncomment below and update the code to test the property SIC - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property sICDesc (base name: "SICDesc")', function() { - // uncomment below and update the code to test the property sICDesc - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property shippingAddress (base name: "ShippingAddress")', function() { - // uncomment below and update the code to test the property shippingAddress - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property shippingContactID (base name: "ShippingContactID")', function() { - // uncomment below and update the code to test the property shippingContactID - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property site (base name: "Site")', function() { - // uncomment below and update the code to test the property site - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property tagLine (base name: "TagLine")', function() { - // uncomment below and update the code to test the property tagLine - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property tenantID (base name: "TenantID")', function() { - // uncomment below and update the code to test the property tenantID - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property tickerSymbol (base name: "TickerSymbol")', function() { - // uncomment below and update the code to test the property tickerSymbol - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property twitter (base name: "Twitter")', function() { - // uncomment below and update the code to test the property twitter - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property type (base name: "Type")', function() { - // uncomment below and update the code to test the property type - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property website (base name: "Website")', function() { - // uncomment below and update the code to test the property website - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - it('should have the property yearStarted (base name: "YearStarted")', function() { - // uncomment below and update the code to test the property yearStarted - //var instance = new Crm.Account(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/crm/test/model/AccountRequest.spec.js b/client/crm/test/model/AccountRequest.spec.js deleted file mode 100644 index 0b71c12..0000000 --- a/client/crm/test/model/AccountRequest.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.AccountRequest(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('AccountRequest', function() { - it('should create an instance of AccountRequest', function() { - // uncomment below and update the code to test AccountRequest - //var instance = new Crm.AccountRequest(); - //expect(instance).to.be.a(Crm.AccountRequest); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Crm.AccountRequest(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/crm/test/model/AccountResponse.spec.js b/client/crm/test/model/AccountResponse.spec.js deleted file mode 100644 index 80f0e2c..0000000 --- a/client/crm/test/model/AccountResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.AccountResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('AccountResponse', function() { - it('should create an instance of AccountResponse', function() { - // uncomment below and update the code to test AccountResponse - //var instance = new Crm.AccountResponse(); - //expect(instance).to.be.a(Crm.AccountResponse); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Crm.AccountResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "Meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new Crm.AccountResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/crm/test/model/Address.spec.js b/client/crm/test/model/Address.spec.js deleted file mode 100644 index 7c9240d..0000000 --- a/client/crm/test/model/Address.spec.js +++ /dev/null @@ -1,101 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.Address(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Address', function() { - it('should create an instance of Address', function() { - // uncomment below and update the code to test Address - //var instance = new Crm.Address(); - //expect(instance).to.be.a(Crm.Address); - }); - - it('should have the property city (base name: "City")', function() { - // uncomment below and update the code to test the property city - //var instance = new Crm.Address(); - //expect(instance).to.be(); - }); - - it('should have the property country (base name: "Country")', function() { - // uncomment below and update the code to test the property country - //var instance = new Crm.Address(); - //expect(instance).to.be(); - }); - - it('should have the property countryCode (base name: "CountryCode")', function() { - // uncomment below and update the code to test the property countryCode - //var instance = new Crm.Address(); - //expect(instance).to.be(); - }); - - it('should have the property postalCode (base name: "PostalCode")', function() { - // uncomment below and update the code to test the property postalCode - //var instance = new Crm.Address(); - //expect(instance).to.be(); - }); - - it('should have the property state (base name: "State")', function() { - // uncomment below and update the code to test the property state - //var instance = new Crm.Address(); - //expect(instance).to.be(); - }); - - it('should have the property stateCode (base name: "StateCode")', function() { - // uncomment below and update the code to test the property stateCode - //var instance = new Crm.Address(); - //expect(instance).to.be(); - }); - - it('should have the property street (base name: "Street")', function() { - // uncomment below and update the code to test the property street - //var instance = new Crm.Address(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/crm/test/model/Asset.spec.js b/client/crm/test/model/Asset.spec.js deleted file mode 100644 index ab74694..0000000 --- a/client/crm/test/model/Asset.spec.js +++ /dev/null @@ -1,341 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.Asset(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Asset', function() { - it('should create an instance of Asset', function() { - // uncomment below and update the code to test Asset - //var instance = new Crm.Asset(); - //expect(instance).to.be.a(Crm.Asset); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property accountID (base name: "AccountID")', function() { - // uncomment below and update the code to test the property accountID - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property address (base name: "Address")', function() { - // uncomment below and update the code to test the property address - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property assetLevel (base name: "AssetLevel")', function() { - // uncomment below and update the code to test the property assetLevel - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "Name")', function() { - // uncomment below and update the code to test the property name - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property assetProvidedByID (base name: "AssetProvidedByID")', function() { - // uncomment below and update the code to test the property assetProvidedByID - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property assetServicedByID (base name: "AssetServicedByID")', function() { - // uncomment below and update the code to test the property assetServicedByID - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property companyProductID (base name: "CompanyProductID")', function() { - // uncomment below and update the code to test the property companyProductID - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property isCompetitorProduct (base name: "IsCompetitorProduct")', function() { - // uncomment below and update the code to test the property isCompetitorProduct - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property consequenceOfFailure (base name: "ConsequenceOfFailure")', function() { - // uncomment below and update the code to test the property consequenceOfFailure - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property contactID (base name: "ContactID")', function() { - // uncomment below and update the code to test the property contactID - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property currentAmount (base name: "CurrentAmount")', function() { - // uncomment below and update the code to test the property currentAmount - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property currentLifecycleEndDate (base name: "CurrentLifecycleEndDate")', function() { - // uncomment below and update the code to test the property currentLifecycleEndDate - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property currentMrr (base name: "CurrentMrr")', function() { - // uncomment below and update the code to test the property currentMrr - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property currentQuantity (base name: "CurrentQuantity")', function() { - // uncomment below and update the code to test the property currentQuantity - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "Description")', function() { - // uncomment below and update the code to test the property description - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property digitalAssetStatus (base name: "DigitalAssetStatus")', function() { - // uncomment below and update the code to test the property digitalAssetStatus - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property externalIdentifier (base name: "ExternalIdentifier")', function() { - // uncomment below and update the code to test the property externalIdentifier - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property hasLifecycleManagement (base name: "HasLifecycleManagement")', function() { - // uncomment below and update the code to test the property hasLifecycleManagement - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property installDate (base name: "InstallDate")', function() { - // uncomment below and update the code to test the property installDate - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property isInternal (base name: "IsInternal")', function() { - // uncomment below and update the code to test the property isInternal - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property locationID (base name: "LocationID")', function() { - // uncomment below and update the code to test the property locationID - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property manufactureDate (base name: "ManufactureDate")', function() { - // uncomment below and update the code to test the property manufactureDate - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property mIMEType (base name: "MIMEType")', function() { - // uncomment below and update the code to test the property mIMEType - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property parentID (base name: "ParentID")', function() { - // uncomment below and update the code to test the property parentID - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property price (base name: "Price")', function() { - // uncomment below and update the code to test the property price - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property product2ID (base name: "Product2ID")', function() { - // uncomment below and update the code to test the property product2ID - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property productCode (base name: "ProductCode")', function() { - // uncomment below and update the code to test the property productCode - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property productDescription (base name: "ProductDescription")', function() { - // uncomment below and update the code to test the property productDescription - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property productFamily (base name: "ProductFamily")', function() { - // uncomment below and update the code to test the property productFamily - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property stockKeepingUnit (base name: "StockKeepingUnit")', function() { - // uncomment below and update the code to test the property stockKeepingUnit - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property purchaseDate (base name: "PurchaseDate")', function() { - // uncomment below and update the code to test the property purchaseDate - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property quantity (base name: "Quantity")', function() { - // uncomment below and update the code to test the property quantity - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property rootAssetID (base name: "RootAssetID")', function() { - // uncomment below and update the code to test the property rootAssetID - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property serialNumber (base name: "SerialNumber")', function() { - // uncomment below and update the code to test the property serialNumber - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property status (base name: "Status")', function() { - // uncomment below and update the code to test the property status - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property statusReason (base name: "StatusReason")', function() { - // uncomment below and update the code to test the property statusReason - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property tenantID (base name: "TenantID")', function() { - // uncomment below and update the code to test the property tenantID - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property totalLifecycleAmount (base name: "TotalLifecycleAmount")', function() { - // uncomment below and update the code to test the property totalLifecycleAmount - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property type (base name: "Type")', function() { - // uncomment below and update the code to test the property type - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property UUID (base name: "UUID")', function() { - // uncomment below and update the code to test the property UUID - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property URL (base name: "URL")', function() { - // uncomment below and update the code to test the property URL - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property usageEndDate (base name: "UsageEndDate")', function() { - // uncomment below and update the code to test the property usageEndDate - //var instance = new Crm.Asset(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/crm/test/model/AssetRequest.spec.js b/client/crm/test/model/AssetRequest.spec.js deleted file mode 100644 index a35eff2..0000000 --- a/client/crm/test/model/AssetRequest.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.AssetRequest(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('AssetRequest', function() { - it('should create an instance of AssetRequest', function() { - // uncomment below and update the code to test AssetRequest - //var instance = new Crm.AssetRequest(); - //expect(instance).to.be.a(Crm.AssetRequest); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Crm.AssetRequest(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/crm/test/model/AssetResponse.spec.js b/client/crm/test/model/AssetResponse.spec.js deleted file mode 100644 index 93dad17..0000000 --- a/client/crm/test/model/AssetResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.AssetResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('AssetResponse', function() { - it('should create an instance of AssetResponse', function() { - // uncomment below and update the code to test AssetResponse - //var instance = new Crm.AssetResponse(); - //expect(instance).to.be.a(Crm.AssetResponse); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Crm.AssetResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "Meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new Crm.AssetResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/crm/test/model/Contact.spec.js b/client/crm/test/model/Contact.spec.js deleted file mode 100644 index 5eb7ba4..0000000 --- a/client/crm/test/model/Contact.spec.js +++ /dev/null @@ -1,329 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.Contact(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Contact', function() { - it('should create an instance of Contact', function() { - // uncomment below and update the code to test Contact - //var instance = new Crm.Contact(); - //expect(instance).to.be.a(Crm.Contact); - }); - - it('should have the property accountID (base name: "AccountID")', function() { - // uncomment below and update the code to test the property accountID - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property assistantName (base name: "AssistantName")', function() { - // uncomment below and update the code to test the property assistantName - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property assistantPhone (base name: "AssistantPhone")', function() { - // uncomment below and update the code to test the property assistantPhone - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property birthDate (base name: "BirthDate")', function() { - // uncomment below and update the code to test the property birthDate - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property department (base name: "Department")', function() { - // uncomment below and update the code to test the property department - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "Description")', function() { - // uncomment below and update the code to test the property description - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property doNotCall (base name: "DoNotCall")', function() { - // uncomment below and update the code to test the property doNotCall - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property email (base name: "Email")', function() { - // uncomment below and update the code to test the property email - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property emailBounceDate (base name: "EmailBounceDate")', function() { - // uncomment below and update the code to test the property emailBounceDate - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property emailBouncedReason (base name: "EmailBouncedReason")', function() { - // uncomment below and update the code to test the property emailBouncedReason - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property enrollmentStatus (base name: "EnrollmentStatus")', function() { - // uncomment below and update the code to test the property enrollmentStatus - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property fax (base name: "Fax")', function() { - // uncomment below and update the code to test the property fax - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property firstName (base name: "FirstName")', function() { - // uncomment below and update the code to test the property firstName - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property hasOptedOutOfEmail (base name: "HasOptedOutOfEmail")', function() { - // uncomment below and update the code to test the property hasOptedOutOfEmail - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property hasOptedOutOfFax (base name: "HasOptedOutOfFax")', function() { - // uncomment below and update the code to test the property hasOptedOutOfFax - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property homePhone (base name: "HomePhone")', function() { - // uncomment below and update the code to test the property homePhone - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property isEmailBounced (base name: "IsEmailBounced")', function() { - // uncomment below and update the code to test the property isEmailBounced - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property isProvisioned (base name: "IsProvisioned")', function() { - // uncomment below and update the code to test the property isProvisioned - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property lastName (base name: "LastName")', function() { - // uncomment below and update the code to test the property lastName - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property leadSource (base name: "LeadSource")', function() { - // uncomment below and update the code to test the property leadSource - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property level (base name: "Level")', function() { - // uncomment below and update the code to test the property level - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property linkedIn (base name: "LinkedIn")', function() { - // uncomment below and update the code to test the property linkedIn - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property mailingAddress (base name: "MailingAddress")', function() { - // uncomment below and update the code to test the property mailingAddress - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property mailingLists (base name: "MailingLists")', function() { - // uncomment below and update the code to test the property mailingLists - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property mobilePhone (base name: "MobilePhone")', function() { - // uncomment below and update the code to test the property mobilePhone - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "Name")', function() { - // uncomment below and update the code to test the property name - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property otherAddress (base name: "OtherAddress")', function() { - // uncomment below and update the code to test the property otherAddress - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property otherPhone (base name: "OtherPhone")', function() { - // uncomment below and update the code to test the property otherPhone - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property ownerID (base name: "OwnerID")', function() { - // uncomment below and update the code to test the property ownerID - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property personalEmail (base name: "PersonalEmail")', function() { - // uncomment below and update the code to test the property personalEmail - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property phone (base name: "Phone")', function() { - // uncomment below and update the code to test the property phone - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property photoURL (base name: "PhotoURL")', function() { - // uncomment below and update the code to test the property photoURL - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property recruitingStatus (base name: "RecruitingStatus")', function() { - // uncomment below and update the code to test the property recruitingStatus - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property ref (base name: "Ref")', function() { - // uncomment below and update the code to test the property ref - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property reportsToID (base name: "ReportsToID")', function() { - // uncomment below and update the code to test the property reportsToID - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property salutation (base name: "Salutation")', function() { - // uncomment below and update the code to test the property salutation - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property status (base name: "Status")', function() { - // uncomment below and update the code to test the property status - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property tenantID (base name: "TenantID")', function() { - // uncomment below and update the code to test the property tenantID - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property title (base name: "Title")', function() { - // uncomment below and update the code to test the property title - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property type (base name: "Type")', function() { - // uncomment below and update the code to test the property type - //var instance = new Crm.Contact(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/crm/test/model/ContactRequest.spec.js b/client/crm/test/model/ContactRequest.spec.js deleted file mode 100644 index b24b40b..0000000 --- a/client/crm/test/model/ContactRequest.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.ContactRequest(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('ContactRequest', function() { - it('should create an instance of ContactRequest', function() { - // uncomment below and update the code to test ContactRequest - //var instance = new Crm.ContactRequest(); - //expect(instance).to.be.a(Crm.ContactRequest); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Crm.ContactRequest(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/crm/test/model/ContactResponse.spec.js b/client/crm/test/model/ContactResponse.spec.js deleted file mode 100644 index 3391afd..0000000 --- a/client/crm/test/model/ContactResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.ContactResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('ContactResponse', function() { - it('should create an instance of ContactResponse', function() { - // uncomment below and update the code to test ContactResponse - //var instance = new Crm.ContactResponse(); - //expect(instance).to.be.a(Crm.ContactResponse); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Crm.ContactResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "Meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new Crm.ContactResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/crm/test/model/Contract.spec.js b/client/crm/test/model/Contract.spec.js deleted file mode 100644 index 1c2a21b..0000000 --- a/client/crm/test/model/Contract.spec.js +++ /dev/null @@ -1,239 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.Contract(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Contract', function() { - it('should create an instance of Contract', function() { - // uncomment below and update the code to test Contract - //var instance = new Crm.Contract(); - //expect(instance).to.be.a(Crm.Contract); - }); - - it('should have the property accountID (base name: "AccountID")', function() { - // uncomment below and update the code to test the property accountID - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property activatedByID (base name: "ActivatedByID")', function() { - // uncomment below and update the code to test the property activatedByID - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property activatedDate (base name: "ActivatedDate")', function() { - // uncomment below and update the code to test the property activatedDate - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property billingAddress (base name: "BillingAddress")', function() { - // uncomment below and update the code to test the property billingAddress - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property billingContactID (base name: "BillingContactID")', function() { - // uncomment below and update the code to test the property billingContactID - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property companySignedDate (base name: "CompanySignedDate")', function() { - // uncomment below and update the code to test the property companySignedDate - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property companySignedID (base name: "CompanySignedID")', function() { - // uncomment below and update the code to test the property companySignedID - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property contractNumber (base name: "ContractNumber")', function() { - // uncomment below and update the code to test the property contractNumber - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property contractTerm (base name: "ContractTerm")', function() { - // uncomment below and update the code to test the property contractTerm - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property customerSignedDate (base name: "CustomerSignedDate")', function() { - // uncomment below and update the code to test the property customerSignedDate - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property customerSignedID (base name: "CustomerSignedID")', function() { - // uncomment below and update the code to test the property customerSignedID - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property customerSignedTitle (base name: "CustomerSignedTitle")', function() { - // uncomment below and update the code to test the property customerSignedTitle - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property defaultEndUserID (base name: "DefaultEndUserID")', function() { - // uncomment below and update the code to test the property defaultEndUserID - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "Description")', function() { - // uncomment below and update the code to test the property description - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property endDate (base name: "EndDate")', function() { - // uncomment below and update the code to test the property endDate - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property hourlyRate (base name: "HourlyRate")', function() { - // uncomment below and update the code to test the property hourlyRate - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "Name")', function() { - // uncomment below and update the code to test the property name - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property paymentMethodID (base name: "PaymentMethodID")', function() { - // uncomment below and update the code to test the property paymentMethodID - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property paymentTerms (base name: "PaymentTerms")', function() { - // uncomment below and update the code to test the property paymentTerms - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property perpetual (base name: "Perpetual")', function() { - // uncomment below and update the code to test the property perpetual - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property shippingAddress (base name: "ShippingAddress")', function() { - // uncomment below and update the code to test the property shippingAddress - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property shippingContactID (base name: "ShippingContactID")', function() { - // uncomment below and update the code to test the property shippingContactID - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property startDate (base name: "StartDate")', function() { - // uncomment below and update the code to test the property startDate - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property status (base name: "Status")', function() { - // uncomment below and update the code to test the property status - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property tenantID (base name: "TenantID")', function() { - // uncomment below and update the code to test the property tenantID - //var instance = new Crm.Contract(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/crm/test/model/ContractRequest.spec.js b/client/crm/test/model/ContractRequest.spec.js deleted file mode 100644 index 547c649..0000000 --- a/client/crm/test/model/ContractRequest.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.ContractRequest(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('ContractRequest', function() { - it('should create an instance of ContractRequest', function() { - // uncomment below and update the code to test ContractRequest - //var instance = new Crm.ContractRequest(); - //expect(instance).to.be.a(Crm.ContractRequest); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Crm.ContractRequest(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/crm/test/model/ContractResponse.spec.js b/client/crm/test/model/ContractResponse.spec.js deleted file mode 100644 index c0e19c2..0000000 --- a/client/crm/test/model/ContractResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.ContractResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('ContractResponse', function() { - it('should create an instance of ContractResponse', function() { - // uncomment below and update the code to test ContractResponse - //var instance = new Crm.ContractResponse(); - //expect(instance).to.be.a(Crm.ContractResponse); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Crm.ContractResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "Meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new Crm.ContractResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/crm/test/model/DeleteResponse.spec.js b/client/crm/test/model/DeleteResponse.spec.js deleted file mode 100644 index eab0e78..0000000 --- a/client/crm/test/model/DeleteResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.DeleteResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('DeleteResponse', function() { - it('should create an instance of DeleteResponse', function() { - // uncomment below and update the code to test DeleteResponse - //var instance = new Crm.DeleteResponse(); - //expect(instance).to.be.a(Crm.DeleteResponse); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Crm.DeleteResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "Meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new Crm.DeleteResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/crm/test/model/Error.spec.js b/client/crm/test/model/Error.spec.js deleted file mode 100644 index 1f75672..0000000 --- a/client/crm/test/model/Error.spec.js +++ /dev/null @@ -1,77 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.Error(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Error', function() { - it('should create an instance of Error', function() { - // uncomment below and update the code to test Error - //var instance = new Crm.Error(); - //expect(instance).to.be.a(Crm.Error); - }); - - it('should have the property code (base name: "Code")', function() { - // uncomment below and update the code to test the property code - //var instance = new Crm.Error(); - //expect(instance).to.be(); - }); - - it('should have the property fields (base name: "Fields")', function() { - // uncomment below and update the code to test the property fields - //var instance = new Crm.Error(); - //expect(instance).to.be(); - }); - - it('should have the property message (base name: "Message")', function() { - // uncomment below and update the code to test the property message - //var instance = new Crm.Error(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/crm/test/model/InvalidError.spec.js b/client/crm/test/model/InvalidError.spec.js deleted file mode 100644 index af2fd46..0000000 --- a/client/crm/test/model/InvalidError.spec.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.InvalidError(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('InvalidError', function() { - it('should create an instance of InvalidError', function() { - // uncomment below and update the code to test InvalidError - //var instance = new Crm.InvalidError(); - //expect(instance).to.be.a(Crm.InvalidError); - }); - - it('should have the property code (base name: "Code")', function() { - // uncomment below and update the code to test the property code - //var instance = new Crm.InvalidError(); - //expect(instance).to.be(); - }); - - it('should have the property fields (base name: "Fields")', function() { - // uncomment below and update the code to test the property fields - //var instance = new Crm.InvalidError(); - //expect(instance).to.be(); - }); - - it('should have the property message (base name: "Message")', function() { - // uncomment below and update the code to test the property message - //var instance = new Crm.InvalidError(); - //expect(instance).to.be(); - }); - - it('should have the property details (base name: "details")', function() { - // uncomment below and update the code to test the property details - //var instance = new Crm.InvalidError(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/crm/test/model/InvalidErrorAllOf.spec.js b/client/crm/test/model/InvalidErrorAllOf.spec.js deleted file mode 100644 index e634284..0000000 --- a/client/crm/test/model/InvalidErrorAllOf.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.InvalidErrorAllOf(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('InvalidErrorAllOf', function() { - it('should create an instance of InvalidErrorAllOf', function() { - // uncomment below and update the code to test InvalidErrorAllOf - //var instance = new Crm.InvalidErrorAllOf(); - //expect(instance).to.be.a(Crm.InvalidErrorAllOf); - }); - - it('should have the property details (base name: "details")', function() { - // uncomment below and update the code to test the property details - //var instance = new Crm.InvalidErrorAllOf(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/crm/test/model/Lead.spec.js b/client/crm/test/model/Lead.spec.js deleted file mode 100644 index c778317..0000000 --- a/client/crm/test/model/Lead.spec.js +++ /dev/null @@ -1,227 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.Lead(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Lead', function() { - it('should create an instance of Lead', function() { - // uncomment below and update the code to test Lead - //var instance = new Crm.Lead(); - //expect(instance).to.be.a(Crm.Lead); - }); - - it('should have the property address (base name: "Address")', function() { - // uncomment below and update the code to test the property address - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property company (base name: "Company")', function() { - // uncomment below and update the code to test the property company - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "Description")', function() { - // uncomment below and update the code to test the property description - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property email (base name: "Email")', function() { - // uncomment below and update the code to test the property email - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property firstName (base name: "FirstName")', function() { - // uncomment below and update the code to test the property firstName - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property lastName (base name: "LastName")', function() { - // uncomment below and update the code to test the property lastName - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property mobilePhone (base name: "MobilePhone")', function() { - // uncomment below and update the code to test the property mobilePhone - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "Name")', function() { - // uncomment below and update the code to test the property name - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property ownerId (base name: "OwnerId")', function() { - // uncomment below and update the code to test the property ownerId - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property partnerAccountId (base name: "PartnerAccountId")', function() { - // uncomment below and update the code to test the property partnerAccountId - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property phone (base name: "Phone")', function() { - // uncomment below and update the code to test the property phone - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property productID (base name: "ProductID")', function() { - // uncomment below and update the code to test the property productID - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property refererURL (base name: "RefererURL")', function() { - // uncomment below and update the code to test the property refererURL - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property status (base name: "Status")', function() { - // uncomment below and update the code to test the property status - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property tenantID (base name: "TenantID")', function() { - // uncomment below and update the code to test the property tenantID - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property title (base name: "Title")', function() { - // uncomment below and update the code to test the property title - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property type (base name: "Type")', function() { - // uncomment below and update the code to test the property type - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property uTMCampaign (base name: "UTMCampaign")', function() { - // uncomment below and update the code to test the property uTMCampaign - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property uTMContent (base name: "UTMContent")', function() { - // uncomment below and update the code to test the property uTMContent - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property uTMMedium (base name: "UTMMedium")', function() { - // uncomment below and update the code to test the property uTMMedium - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property uTMSource (base name: "UTMSource")', function() { - // uncomment below and update the code to test the property uTMSource - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property uTMTerm (base name: "UTMTerm")', function() { - // uncomment below and update the code to test the property uTMTerm - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - it('should have the property website (base name: "Website")', function() { - // uncomment below and update the code to test the property website - //var instance = new Crm.Lead(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/crm/test/model/LeadRequest.spec.js b/client/crm/test/model/LeadRequest.spec.js deleted file mode 100644 index 061a82c..0000000 --- a/client/crm/test/model/LeadRequest.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.LeadRequest(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('LeadRequest', function() { - it('should create an instance of LeadRequest', function() { - // uncomment below and update the code to test LeadRequest - //var instance = new Crm.LeadRequest(); - //expect(instance).to.be.a(Crm.LeadRequest); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Crm.LeadRequest(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/crm/test/model/LeadResponse.spec.js b/client/crm/test/model/LeadResponse.spec.js deleted file mode 100644 index e8dca97..0000000 --- a/client/crm/test/model/LeadResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.LeadResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('LeadResponse', function() { - it('should create an instance of LeadResponse', function() { - // uncomment below and update the code to test LeadResponse - //var instance = new Crm.LeadResponse(); - //expect(instance).to.be.a(Crm.LeadResponse); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Crm.LeadResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "Meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new Crm.LeadResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/crm/test/model/Message.spec.js b/client/crm/test/model/Message.spec.js deleted file mode 100644 index f9eee76..0000000 --- a/client/crm/test/model/Message.spec.js +++ /dev/null @@ -1,77 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.Message(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Message', function() { - it('should create an instance of Message', function() { - // uncomment below and update the code to test Message - //var instance = new Crm.Message(); - //expect(instance).to.be.a(Crm.Message); - }); - - it('should have the property message (base name: "message")', function() { - // uncomment below and update the code to test the property message - //var instance = new Crm.Message(); - //expect(instance).to.be(); - }); - - it('should have the property ref (base name: "ref")', function() { - // uncomment below and update the code to test the property ref - //var instance = new Crm.Message(); - //expect(instance).to.be(); - }); - - it('should have the property status (base name: "status")', function() { - // uncomment below and update the code to test the property status - //var instance = new Crm.Message(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/crm/test/model/Pagination.spec.js b/client/crm/test/model/Pagination.spec.js deleted file mode 100644 index bf1a14f..0000000 --- a/client/crm/test/model/Pagination.spec.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.Pagination(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Pagination', function() { - it('should create an instance of Pagination', function() { - // uncomment below and update the code to test Pagination - //var instance = new Crm.Pagination(); - //expect(instance).to.be.a(Crm.Pagination); - }); - - it('should have the property limit (base name: "limit")', function() { - // uncomment below and update the code to test the property limit - //var instance = new Crm.Pagination(); - //expect(instance).to.be(); - }); - - it('should have the property pagesize (base name: "pagesize")', function() { - // uncomment below and update the code to test the property pagesize - //var instance = new Crm.Pagination(); - //expect(instance).to.be(); - }); - - it('should have the property poffset (base name: "poffset")', function() { - // uncomment below and update the code to test the property poffset - //var instance = new Crm.Pagination(); - //expect(instance).to.be(); - }); - - it('should have the property setsize (base name: "setsize")', function() { - // uncomment below and update the code to test the property setsize - //var instance = new Crm.Pagination(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/crm/test/model/RequestMeta.spec.js b/client/crm/test/model/RequestMeta.spec.js deleted file mode 100644 index 4340f06..0000000 --- a/client/crm/test/model/RequestMeta.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.RequestMeta(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('RequestMeta', function() { - it('should create an instance of RequestMeta', function() { - // uncomment below and update the code to test RequestMeta - //var instance = new Crm.RequestMeta(); - //expect(instance).to.be.a(Crm.RequestMeta); - }); - - it('should have the property taxnexusAccount (base name: "TaxnexusAccount")', function() { - // uncomment below and update the code to test the property taxnexusAccount - //var instance = new Crm.RequestMeta(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/crm/test/model/ResponseMeta.spec.js b/client/crm/test/model/ResponseMeta.spec.js deleted file mode 100644 index 7176c83..0000000 --- a/client/crm/test/model/ResponseMeta.spec.js +++ /dev/null @@ -1,131 +0,0 @@ -/** - * crm - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Crm); - } -}(this, function(expect, Crm) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Crm.ResponseMeta(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('ResponseMeta', function() { - it('should create an instance of ResponseMeta', function() { - // uncomment below and update the code to test ResponseMeta - //var instance = new Crm.ResponseMeta(); - //expect(instance).to.be.a(Crm.ResponseMeta); - }); - - it('should have the property contact (base name: "Contact")', function() { - // uncomment below and update the code to test the property contact - //var instance = new Crm.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property copyright (base name: "Copyright")', function() { - // uncomment below and update the code to test the property copyright - //var instance = new Crm.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property license (base name: "License")', function() { - // uncomment below and update the code to test the property license - //var instance = new Crm.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property operationID (base name: "OperationID")', function() { - // uncomment below and update the code to test the property operationID - //var instance = new Crm.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property pagination (base name: "Pagination")', function() { - // uncomment below and update the code to test the property pagination - //var instance = new Crm.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property requestIP (base name: "RequestIP")', function() { - // uncomment below and update the code to test the property requestIP - //var instance = new Crm.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property requestType (base name: "RequestType")', function() { - // uncomment below and update the code to test the property requestType - //var instance = new Crm.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property requestURL (base name: "RequestURL")', function() { - // uncomment below and update the code to test the property requestURL - //var instance = new Crm.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property serverInfo (base name: "ServerInfo")', function() { - // uncomment below and update the code to test the property serverInfo - //var instance = new Crm.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property serverResponseTime (base name: "ServerResponseTime")', function() { - // uncomment below and update the code to test the property serverResponseTime - //var instance = new Crm.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property serverTimestamp (base name: "ServerTimestamp")', function() { - // uncomment below and update the code to test the property serverTimestamp - //var instance = new Crm.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property taxnexusAccount (base name: "TaxnexusAccount")', function() { - // uncomment below and update the code to test the property taxnexusAccount - //var instance = new Crm.ResponseMeta(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/devops/.babelrc b/client/devops/.babelrc deleted file mode 100644 index c73df9d..0000000 --- a/client/devops/.babelrc +++ /dev/null @@ -1,33 +0,0 @@ -{ - "presets": [ - "@babel/preset-env" - ], - "plugins": [ - "@babel/plugin-syntax-dynamic-import", - "@babel/plugin-syntax-import-meta", - "@babel/plugin-proposal-class-properties", - "@babel/plugin-proposal-json-strings", - [ - "@babel/plugin-proposal-decorators", - { - "legacy": true - } - ], - "@babel/plugin-proposal-function-sent", - "@babel/plugin-proposal-export-namespace-from", - "@babel/plugin-proposal-numeric-separator", - "@babel/plugin-proposal-throw-expressions", - "@babel/plugin-proposal-export-default-from", - "@babel/plugin-proposal-logical-assignment-operators", - "@babel/plugin-proposal-optional-chaining", - [ - "@babel/plugin-proposal-pipeline-operator", - { - "proposal": "minimal" - } - ], - "@babel/plugin-proposal-nullish-coalescing-operator", - "@babel/plugin-proposal-do-expressions", - "@babel/plugin-proposal-function-bind" - ] -} diff --git a/client/devops/.gitignore b/client/devops/.gitignore deleted file mode 100644 index e920c16..0000000 --- a/client/devops/.gitignore +++ /dev/null @@ -1,33 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* - -# Runtime data -pids -*.pid -*.seed - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage - -# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# node-waf configuration -.lock-wscript - -# Compiled binary addons (http://nodejs.org/api/addons.html) -build/Release - -# Dependency directory -node_modules - -# Optional npm cache directory -.npm - -# Optional REPL history -.node_repl_history diff --git a/client/devops/.openapi-generator-ignore b/client/devops/.openapi-generator-ignore deleted file mode 100644 index 7484ee5..0000000 --- a/client/devops/.openapi-generator-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# OpenAPI Generator Ignore -# Generated by openapi-generator https://github.com/openapitools/openapi-generator - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/client/devops/.openapi-generator/FILES b/client/devops/.openapi-generator/FILES deleted file mode 100644 index 9e5b17c..0000000 --- a/client/devops/.openapi-generator/FILES +++ /dev/null @@ -1,109 +0,0 @@ -.babelrc -.gitignore -.openapi-generator-ignore -.travis.yml -README.md -docs/Address.md -docs/Cluster.md -docs/ClusterApi.md -docs/ClusterRequest.md -docs/ClusterResponse.md -docs/CorsApi.md -docs/Database.md -docs/DatabaseApi.md -docs/DatabaseRequest.md -docs/DatabaseResponse.md -docs/DeleteResponse.md -docs/Error.md -docs/Message.md -docs/Pagination.md -docs/RequestMeta.md -docs/ResponseMeta.md -docs/Role.md -docs/RoleRequest.md -docs/RoleResponse.md -docs/Template.md -docs/TemplateApi.md -docs/TemplateRequest.md -docs/TemplateResponse.md -docs/Tenant.md -docs/TenantApi.md -docs/TenantRequest.md -docs/TenantResponse.md -docs/TenantUser.md -docs/User.md -docs/UserApi.md -docs/UserRequest.md -docs/UserResponse.md -docs/UserRole.md -git_push.sh -mocha.opts -package.json -src/ApiClient.js -src/api/ClusterApi.js -src/api/CorsApi.js -src/api/DatabaseApi.js -src/api/TemplateApi.js -src/api/TenantApi.js -src/api/UserApi.js -src/index.js -src/model/Address.js -src/model/Cluster.js -src/model/ClusterRequest.js -src/model/ClusterResponse.js -src/model/Database.js -src/model/DatabaseRequest.js -src/model/DatabaseResponse.js -src/model/DeleteResponse.js -src/model/Error.js -src/model/Message.js -src/model/Pagination.js -src/model/RequestMeta.js -src/model/ResponseMeta.js -src/model/Role.js -src/model/RoleRequest.js -src/model/RoleResponse.js -src/model/Template.js -src/model/TemplateRequest.js -src/model/TemplateResponse.js -src/model/Tenant.js -src/model/TenantRequest.js -src/model/TenantResponse.js -src/model/TenantUser.js -src/model/User.js -src/model/UserRequest.js -src/model/UserResponse.js -src/model/UserRole.js -test/api/ClusterApi.spec.js -test/api/CorsApi.spec.js -test/api/DatabaseApi.spec.js -test/api/TemplateApi.spec.js -test/api/TenantApi.spec.js -test/api/UserApi.spec.js -test/model/Address.spec.js -test/model/Cluster.spec.js -test/model/ClusterRequest.spec.js -test/model/ClusterResponse.spec.js -test/model/Database.spec.js -test/model/DatabaseRequest.spec.js -test/model/DatabaseResponse.spec.js -test/model/DeleteResponse.spec.js -test/model/Error.spec.js -test/model/Message.spec.js -test/model/Pagination.spec.js -test/model/RequestMeta.spec.js -test/model/ResponseMeta.spec.js -test/model/Role.spec.js -test/model/RoleRequest.spec.js -test/model/RoleResponse.spec.js -test/model/Template.spec.js -test/model/TemplateRequest.spec.js -test/model/TemplateResponse.spec.js -test/model/Tenant.spec.js -test/model/TenantRequest.spec.js -test/model/TenantResponse.spec.js -test/model/TenantUser.spec.js -test/model/User.spec.js -test/model/UserRequest.spec.js -test/model/UserResponse.spec.js -test/model/UserRole.spec.js diff --git a/client/devops/.openapi-generator/VERSION b/client/devops/.openapi-generator/VERSION deleted file mode 100644 index 6d54bbd..0000000 --- a/client/devops/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -6.0.1 \ No newline at end of file diff --git a/client/devops/.travis.yml b/client/devops/.travis.yml deleted file mode 100644 index 0968f7a..0000000 --- a/client/devops/.travis.yml +++ /dev/null @@ -1,5 +0,0 @@ -language: node_js -cache: npm -node_js: - - "6" - - "6.1" diff --git a/client/devops/README.md b/client/devops/README.md deleted file mode 100644 index 41b1d3c..0000000 --- a/client/devops/README.md +++ /dev/null @@ -1,206 +0,0 @@ -# devops - -Devops - JavaScript client for devops -System Operations Microservice -This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - -- API version: 0.0.2 -- Package version: 0.0.2 -- 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 devops --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 devops 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/GIT_USER_ID/GIT_REPO_ID -then install it via: - -```shell - npm install GIT_USER_ID/GIT_REPO_ID --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 Devops = require('devops'); - -var defaultClient = Devops.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -var ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = "YOUR API KEY" -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix['X-API-Key'] = "Token" - -var api = new Devops.ClusterApi() -var clusterIdPath = "clusterIdPath_example"; // {String} Taxnexus Record Id of a Cluster -var callback = function(error, data, response) { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}; -api.getCluster(clusterIdPath, callback); - -``` - -## Documentation for API Endpoints - -All URIs are relative to *http://devops.vernonkeenan.com:8080/v1* - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*Devops.ClusterApi* | [**getCluster**](docs/ClusterApi.md#getCluster) | **GET** /clusters/{clusterIdPath} | Get a single Cluster object -*Devops.ClusterApi* | [**getClusters**](docs/ClusterApi.md#getClusters) | **GET** /clusters | Get a list Clusters -*Devops.ClusterApi* | [**getClustersObservable**](docs/ClusterApi.md#getClustersObservable) | **GET** /clusters/observable | Get Clusters in an observable array -*Devops.ClusterApi* | [**postClusters**](docs/ClusterApi.md#postClusters) | **POST** /clusters | Create new Clusters -*Devops.ClusterApi* | [**putClusters**](docs/ClusterApi.md#putClusters) | **PUT** /clusters | Update Clustera -*Devops.CorsApi* | [**clusterOptions**](docs/CorsApi.md#clusterOptions) | **OPTIONS** /clusters/observable | -*Devops.CorsApi* | [**clustersOptions**](docs/CorsApi.md#clustersOptions) | **OPTIONS** /clusters | -*Devops.CorsApi* | [**databaseOptions**](docs/CorsApi.md#databaseOptions) | **OPTIONS** /databases/observable | -*Devops.CorsApi* | [**databasesOptions**](docs/CorsApi.md#databasesOptions) | **OPTIONS** /databases | -*Devops.CorsApi* | [**templateOptions**](docs/CorsApi.md#templateOptions) | **OPTIONS** /templates/observable | -*Devops.CorsApi* | [**templatesOptions**](docs/CorsApi.md#templatesOptions) | **OPTIONS** /templates | -*Devops.CorsApi* | [**tenantOptions**](docs/CorsApi.md#tenantOptions) | **OPTIONS** /tenants/observable | -*Devops.CorsApi* | [**tenantsOptions**](docs/CorsApi.md#tenantsOptions) | **OPTIONS** /tenants | -*Devops.CorsApi* | [**userOptions**](docs/CorsApi.md#userOptions) | **OPTIONS** /users/observable | -*Devops.CorsApi* | [**usersOptions**](docs/CorsApi.md#usersOptions) | **OPTIONS** /users | -*Devops.DatabaseApi* | [**getDatabase**](docs/DatabaseApi.md#getDatabase) | **GET** /databases/{databaseIdPath} | Get a single Database object -*Devops.DatabaseApi* | [**getDatabases**](docs/DatabaseApi.md#getDatabases) | **GET** /databases | Get a list Databases -*Devops.DatabaseApi* | [**getDatabasesObservable**](docs/DatabaseApi.md#getDatabasesObservable) | **GET** /databases/observable | Get Databases in an observable array -*Devops.DatabaseApi* | [**postDatabases**](docs/DatabaseApi.md#postDatabases) | **POST** /databases | Create new Databases -*Devops.DatabaseApi* | [**putDatabases**](docs/DatabaseApi.md#putDatabases) | **PUT** /databases | Update Databases -*Devops.TemplateApi* | [**getTemplate**](docs/TemplateApi.md#getTemplate) | **GET** /templates/{templateIdPath} | Get a single Template object -*Devops.TemplateApi* | [**getTemplates**](docs/TemplateApi.md#getTemplates) | **GET** /templates | Get a list Templates -*Devops.TemplateApi* | [**getTemplatesObservable**](docs/TemplateApi.md#getTemplatesObservable) | **GET** /templates/observable | Get Templates in an observable array -*Devops.TemplateApi* | [**postTemplates**](docs/TemplateApi.md#postTemplates) | **POST** /templates | Create new Templates -*Devops.TenantApi* | [**getTenant**](docs/TenantApi.md#getTenant) | **GET** /tenants/{tenantIdPath} | Get a single Tenant object -*Devops.TenantApi* | [**getTenants**](docs/TenantApi.md#getTenants) | **GET** /tenants | Get a list Tenants -*Devops.TenantApi* | [**getTenantsObservable**](docs/TenantApi.md#getTenantsObservable) | **GET** /tenants/observable | Get Tenants in an observable array -*Devops.TenantApi* | [**postTenants**](docs/TenantApi.md#postTenants) | **POST** /tenants | Create new Tenants -*Devops.TenantApi* | [**putTenants**](docs/TenantApi.md#putTenants) | **PUT** /tenants | Update Tenants -*Devops.UserApi* | [**getUser**](docs/UserApi.md#getUser) | **GET** /users/{userIdPath} | Get a single User object -*Devops.UserApi* | [**getUsers**](docs/UserApi.md#getUsers) | **GET** /users | Get a list Users -*Devops.UserApi* | [**getUsersObservable**](docs/UserApi.md#getUsersObservable) | **GET** /users/observable | Get Users in an observable array -*Devops.UserApi* | [**postUsers**](docs/UserApi.md#postUsers) | **POST** /users | Create new Users -*Devops.UserApi* | [**putUsers**](docs/UserApi.md#putUsers) | **PUT** /users | Update existing users - - -## Documentation for Models - - - [Devops.Address](docs/Address.md) - - [Devops.Cluster](docs/Cluster.md) - - [Devops.ClusterRequest](docs/ClusterRequest.md) - - [Devops.ClusterResponse](docs/ClusterResponse.md) - - [Devops.Database](docs/Database.md) - - [Devops.DatabaseRequest](docs/DatabaseRequest.md) - - [Devops.DatabaseResponse](docs/DatabaseResponse.md) - - [Devops.DeleteResponse](docs/DeleteResponse.md) - - [Devops.Error](docs/Error.md) - - [Devops.Message](docs/Message.md) - - [Devops.Pagination](docs/Pagination.md) - - [Devops.RequestMeta](docs/RequestMeta.md) - - [Devops.ResponseMeta](docs/ResponseMeta.md) - - [Devops.Role](docs/Role.md) - - [Devops.RoleRequest](docs/RoleRequest.md) - - [Devops.RoleResponse](docs/RoleResponse.md) - - [Devops.Template](docs/Template.md) - - [Devops.TemplateRequest](docs/TemplateRequest.md) - - [Devops.TemplateResponse](docs/TemplateResponse.md) - - [Devops.Tenant](docs/Tenant.md) - - [Devops.TenantRequest](docs/TenantRequest.md) - - [Devops.TenantResponse](docs/TenantResponse.md) - - [Devops.TenantUser](docs/TenantUser.md) - - [Devops.User](docs/User.md) - - [Devops.UserRequest](docs/UserRequest.md) - - [Devops.UserResponse](docs/UserResponse.md) - - [Devops.UserRole](docs/UserRole.md) - - -## Documentation for Authorization - - - -### ApiKeyAuth - - -- **Type**: API key -- **API key parameter name**: X-API-Key -- **Location**: HTTP header - diff --git a/client/devops/docs/Address.md b/client/devops/docs/Address.md deleted file mode 100644 index a4659f5..0000000 --- a/client/devops/docs/Address.md +++ /dev/null @@ -1,15 +0,0 @@ -# Devops.Address - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**city** | **String** | City | [optional] -**country** | **String** | Country full name | [optional] -**countryCode** | **String** | Country Code | [optional] -**postalCode** | **String** | Postal Code | [optional] -**state** | **String** | State full name | [optional] -**stateCode** | **String** | State Code | [optional] -**street** | **String** | Street number and name | [optional] - - diff --git a/client/devops/docs/Cluster.md b/client/devops/docs/Cluster.md deleted file mode 100644 index 7e49fd4..0000000 --- a/client/devops/docs/Cluster.md +++ /dev/null @@ -1,25 +0,0 @@ -# Devops.Cluster - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**createdByID** | **String** | Created By | [optional] -**createdDate** | **String** | Created Date | [optional] -**description** | **String** | Description | [optional] -**environment** | **String** | Environment | [optional] -**gateway** | **String** | Gateway | [optional] -**ID** | **String** | Taxnexus Record Id | [optional] -**iPAddress** | **String** | IP Address | [optional] -**lastModifiedByID** | **String** | Last Modified By | [optional] -**lastModifiedDate** | **String** | Last Modified Date | [optional] -**name** | **String** | Cluster Name | [optional] -**ownerID** | **String** | Owner | [optional] -**ref** | **String** | External Reference | [optional] -**status** | **String** | Status | [optional] -**subnet** | **String** | Subnet | [optional] -**type** | **String** | Type | [optional] -**tenantID** | **String** | The ID of the tenant who owns this Database | [optional] -**zone** | **String** | Zone | [optional] - - diff --git a/client/devops/docs/ClusterApi.md b/client/devops/docs/ClusterApi.md deleted file mode 100644 index 3ff31d6..0000000 --- a/client/devops/docs/ClusterApi.md +++ /dev/null @@ -1,272 +0,0 @@ -# Devops.ClusterApi - -All URIs are relative to *http://devops.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getCluster**](ClusterApi.md#getCluster) | **GET** /clusters/{clusterIdPath} | Get a single Cluster object -[**getClusters**](ClusterApi.md#getClusters) | **GET** /clusters | Get a list Clusters -[**getClustersObservable**](ClusterApi.md#getClustersObservable) | **GET** /clusters/observable | Get Clusters in an observable array -[**postClusters**](ClusterApi.md#postClusters) | **POST** /clusters | Create new Clusters -[**putClusters**](ClusterApi.md#putClusters) | **PUT** /clusters | Update Clustera - - - -## getCluster - -> Cluster getCluster(clusterIdPath) - -Get a single Cluster object - -Return a single Cluster object from datastore as a Singleton - -### Example - -```javascript -import Devops from 'devops'; -let defaultClient = Devops.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Devops.ClusterApi(); -let clusterIdPath = "clusterIdPath_example"; // String | Taxnexus Record Id of a Cluster -apiInstance.getCluster(clusterIdPath, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **clusterIdPath** | **String**| Taxnexus Record Id of a Cluster | - -### Return type - -[**Cluster**](Cluster.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## getClusters - -> ClusterResponse getClusters(opts) - -Get a list Clusters - -Return a list of Cluster records from the datastore - -### Example - -```javascript -import Devops from 'devops'; -let defaultClient = Devops.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Devops.ClusterApi(); -let opts = { - 'clusterId': "clusterId_example", // String | Taxnexus Record Id of a Cluster - 'companyId': "companyId_example", // String | Taxnexus Record Id of a Company - 'limit': 789, // Number | How many objects to return at one time - 'offset': 789 // Number | How many objects to skip? (default 0) -}; -apiInstance.getClusters(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **clusterId** | **String**| Taxnexus Record Id of a Cluster | [optional] - **companyId** | **String**| Taxnexus Record Id of a Company | [optional] - **limit** | **Number**| How many objects to return at one time | [optional] - **offset** | **Number**| How many objects to skip? (default 0) | [optional] - -### Return type - -[**ClusterResponse**](ClusterResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## getClustersObservable - -> [Cluster] getClustersObservable() - -Get Clusters in an observable array - -Returns a Cluster retrieval in a observable array - -### Example - -```javascript -import Devops from 'devops'; -let defaultClient = Devops.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Devops.ClusterApi(); -apiInstance.getClustersObservable((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 - -[**[Cluster]**](Cluster.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## postClusters - -> ClusterResponse postClusters(clusterRequest) - -Create new Clusters - -Create Clusters in Taxnexus - -### Example - -```javascript -import Devops from 'devops'; -let defaultClient = Devops.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Devops.ClusterApi(); -let clusterRequest = new Devops.ClusterRequest(); // ClusterRequest | An array of Cluster records -apiInstance.postClusters(clusterRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **clusterRequest** | [**ClusterRequest**](ClusterRequest.md)| An array of Cluster records | - -### Return type - -[**ClusterResponse**](ClusterResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - - -## putClusters - -> ClusterResponse putClusters(clusterRequest) - -Update Clustera - -Update Cluster in Taxnexus - -### Example - -```javascript -import Devops from 'devops'; -let defaultClient = Devops.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Devops.ClusterApi(); -let clusterRequest = new Devops.ClusterRequest(); // ClusterRequest | An array of Cluster records -apiInstance.putClusters(clusterRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **clusterRequest** | [**ClusterRequest**](ClusterRequest.md)| An array of Cluster records | - -### Return type - -[**ClusterResponse**](ClusterResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - diff --git a/client/devops/docs/ClusterRequest.md b/client/devops/docs/ClusterRequest.md deleted file mode 100644 index 125093e..0000000 --- a/client/devops/docs/ClusterRequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# Devops.ClusterRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Cluster]**](Cluster.md) | | [optional] - - diff --git a/client/devops/docs/ClusterResponse.md b/client/devops/docs/ClusterResponse.md deleted file mode 100644 index fa78869..0000000 --- a/client/devops/docs/ClusterResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# Devops.ClusterResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Cluster]**](Cluster.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/devops/docs/CorsApi.md b/client/devops/docs/CorsApi.md deleted file mode 100644 index 70b496b..0000000 --- a/client/devops/docs/CorsApi.md +++ /dev/null @@ -1,428 +0,0 @@ -# Devops.CorsApi - -All URIs are relative to *http://devops.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**clusterOptions**](CorsApi.md#clusterOptions) | **OPTIONS** /clusters/observable | -[**clustersOptions**](CorsApi.md#clustersOptions) | **OPTIONS** /clusters | -[**databaseOptions**](CorsApi.md#databaseOptions) | **OPTIONS** /databases/observable | -[**databasesOptions**](CorsApi.md#databasesOptions) | **OPTIONS** /databases | -[**templateOptions**](CorsApi.md#templateOptions) | **OPTIONS** /templates/observable | -[**templatesOptions**](CorsApi.md#templatesOptions) | **OPTIONS** /templates | -[**tenantOptions**](CorsApi.md#tenantOptions) | **OPTIONS** /tenants/observable | -[**tenantsOptions**](CorsApi.md#tenantsOptions) | **OPTIONS** /tenants | -[**userOptions**](CorsApi.md#userOptions) | **OPTIONS** /users/observable | -[**usersOptions**](CorsApi.md#usersOptions) | **OPTIONS** /users | - - - -## clusterOptions - -> clusterOptions() - - - -CORS support - -### Example - -```javascript -import Devops from 'devops'; - -let apiInstance = new Devops.CorsApi(); -apiInstance.clusterOptions((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - - -## clustersOptions - -> clustersOptions() - - - -CORS support - -### Example - -```javascript -import Devops from 'devops'; - -let apiInstance = new Devops.CorsApi(); -apiInstance.clustersOptions((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - - -## databaseOptions - -> databaseOptions() - - - -CORS support - -### Example - -```javascript -import Devops from 'devops'; - -let apiInstance = new Devops.CorsApi(); -apiInstance.databaseOptions((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - - -## databasesOptions - -> databasesOptions() - - - -CORS support - -### Example - -```javascript -import Devops from 'devops'; - -let apiInstance = new Devops.CorsApi(); -apiInstance.databasesOptions((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - - -## templateOptions - -> templateOptions() - - - -CORS support - -### Example - -```javascript -import Devops from 'devops'; - -let apiInstance = new Devops.CorsApi(); -apiInstance.templateOptions((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - - -## templatesOptions - -> templatesOptions() - - - -CORS support - -### Example - -```javascript -import Devops from 'devops'; - -let apiInstance = new Devops.CorsApi(); -apiInstance.templatesOptions((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - - -## tenantOptions - -> tenantOptions() - - - -CORS support - -### Example - -```javascript -import Devops from 'devops'; - -let apiInstance = new Devops.CorsApi(); -apiInstance.tenantOptions((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - - -## tenantsOptions - -> tenantsOptions() - - - -CORS support - -### Example - -```javascript -import Devops from 'devops'; - -let apiInstance = new Devops.CorsApi(); -apiInstance.tenantsOptions((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - - -## userOptions - -> userOptions() - - - -CORS support - -### Example - -```javascript -import Devops from 'devops'; - -let apiInstance = new Devops.CorsApi(); -apiInstance.userOptions((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - - -## usersOptions - -> usersOptions() - - - -CORS support - -### Example - -```javascript -import Devops from 'devops'; - -let apiInstance = new Devops.CorsApi(); -apiInstance.usersOptions((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - diff --git a/client/devops/docs/Database.md b/client/devops/docs/Database.md deleted file mode 100644 index 516d52f..0000000 --- a/client/devops/docs/Database.md +++ /dev/null @@ -1,20 +0,0 @@ -# Devops.Database - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**active** | **Boolean** | Is this database active? | [optional] -**clusterID** | **String** | The ID of the Cluster in which this database is deployed | [optional] -**createdByID** | **String** | Created By | [optional] -**createdDate** | **String** | Created Date | [optional] -**DSN** | **String** | Database connection string | [optional] -**databaseName** | **String** | The name of the physical database in the cluster | [optional] -**ID** | **String** | Record Id | [optional] -**lastModifiedByID** | **String** | Last Modified By | [optional] -**lastModifiedDate** | **String** | Last Modifed Date | [optional] -**status** | **String** | The current status of this Tenant | [optional] -**tenantID** | **String** | The ID of the tenant who owns this Database | [optional] -**type** | **String** | The type of Database (mysql, etc) | [optional] - - diff --git a/client/devops/docs/DatabaseApi.md b/client/devops/docs/DatabaseApi.md deleted file mode 100644 index cf8bd70..0000000 --- a/client/devops/docs/DatabaseApi.md +++ /dev/null @@ -1,272 +0,0 @@ -# Devops.DatabaseApi - -All URIs are relative to *http://devops.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getDatabase**](DatabaseApi.md#getDatabase) | **GET** /databases/{databaseIdPath} | Get a single Database object -[**getDatabases**](DatabaseApi.md#getDatabases) | **GET** /databases | Get a list Databases -[**getDatabasesObservable**](DatabaseApi.md#getDatabasesObservable) | **GET** /databases/observable | Get Databases in an observable array -[**postDatabases**](DatabaseApi.md#postDatabases) | **POST** /databases | Create new Databases -[**putDatabases**](DatabaseApi.md#putDatabases) | **PUT** /databases | Update Databases - - - -## getDatabase - -> Database getDatabase(databaseIdPath) - -Get a single Database object - -Return a single Database object from datastore as a Singleton - -### Example - -```javascript -import Devops from 'devops'; -let defaultClient = Devops.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Devops.DatabaseApi(); -let databaseIdPath = "databaseIdPath_example"; // String | Taxnexus Record Id of a Database -apiInstance.getDatabase(databaseIdPath, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **databaseIdPath** | **String**| Taxnexus Record Id of a Database | - -### Return type - -[**Database**](Database.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## getDatabases - -> DatabaseResponse getDatabases(opts) - -Get a list Databases - -Return a list of Database records from the datastore - -### Example - -```javascript -import Devops from 'devops'; -let defaultClient = Devops.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Devops.DatabaseApi(); -let opts = { - 'databaseId': "databaseId_example", // String | Taxnexus Record Id of a Database - 'companyId': "companyId_example", // String | Taxnexus Record Id of a Company - 'limit': 789, // Number | How many objects to return at one time - 'offset': 789 // Number | How many objects to skip? (default 0) -}; -apiInstance.getDatabases(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **databaseId** | **String**| Taxnexus Record Id of a Database | [optional] - **companyId** | **String**| Taxnexus Record Id of a Company | [optional] - **limit** | **Number**| How many objects to return at one time | [optional] - **offset** | **Number**| How many objects to skip? (default 0) | [optional] - -### Return type - -[**DatabaseResponse**](DatabaseResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## getDatabasesObservable - -> [Database] getDatabasesObservable() - -Get Databases in an observable array - -Returns a Database retrieval in a observable array - -### Example - -```javascript -import Devops from 'devops'; -let defaultClient = Devops.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Devops.DatabaseApi(); -apiInstance.getDatabasesObservable((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 - -[**[Database]**](Database.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## postDatabases - -> DatabaseResponse postDatabases(databaseRequest) - -Create new Databases - -Create Databases in Taxnexus - -### Example - -```javascript -import Devops from 'devops'; -let defaultClient = Devops.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Devops.DatabaseApi(); -let databaseRequest = new Devops.DatabaseRequest(); // DatabaseRequest | An array of Database records -apiInstance.postDatabases(databaseRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **databaseRequest** | [**DatabaseRequest**](DatabaseRequest.md)| An array of Database records | - -### Return type - -[**DatabaseResponse**](DatabaseResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - - -## putDatabases - -> DatabaseResponse putDatabases(databaseRequest) - -Update Databases - -Update Database in Taxnexus - -### Example - -```javascript -import Devops from 'devops'; -let defaultClient = Devops.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Devops.DatabaseApi(); -let databaseRequest = new Devops.DatabaseRequest(); // DatabaseRequest | An array of Database records -apiInstance.putDatabases(databaseRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **databaseRequest** | [**DatabaseRequest**](DatabaseRequest.md)| An array of Database records | - -### Return type - -[**DatabaseResponse**](DatabaseResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - diff --git a/client/devops/docs/DatabaseRequest.md b/client/devops/docs/DatabaseRequest.md deleted file mode 100644 index 74eede3..0000000 --- a/client/devops/docs/DatabaseRequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# Devops.DatabaseRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Database]**](Database.md) | | [optional] - - diff --git a/client/devops/docs/DatabaseResponse.md b/client/devops/docs/DatabaseResponse.md deleted file mode 100644 index b9a1ca5..0000000 --- a/client/devops/docs/DatabaseResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# Devops.DatabaseResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Database]**](Database.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/devops/docs/DeleteResponse.md b/client/devops/docs/DeleteResponse.md deleted file mode 100644 index 9c45ddb..0000000 --- a/client/devops/docs/DeleteResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# Devops.DeleteResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Message]**](Message.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/devops/docs/Error.md b/client/devops/docs/Error.md deleted file mode 100644 index 17ae446..0000000 --- a/client/devops/docs/Error.md +++ /dev/null @@ -1,11 +0,0 @@ -# Devops.Error - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **Number** | | [optional] -**fields** | **String** | | [optional] -**message** | **String** | | [optional] - - diff --git a/client/devops/docs/Message.md b/client/devops/docs/Message.md deleted file mode 100644 index 2f75c7f..0000000 --- a/client/devops/docs/Message.md +++ /dev/null @@ -1,11 +0,0 @@ -# Devops.Message - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **String** | | [optional] -**ref** | **String** | | [optional] -**status** | **Number** | | [optional] - - diff --git a/client/devops/docs/Pagination.md b/client/devops/docs/Pagination.md deleted file mode 100644 index acda41d..0000000 --- a/client/devops/docs/Pagination.md +++ /dev/null @@ -1,12 +0,0 @@ -# Devops.Pagination - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**limit** | **Number** | | [optional] -**pOffset** | **Number** | | [optional] -**pageSize** | **Number** | | [optional] -**setSize** | **Number** | | [optional] - - diff --git a/client/devops/docs/RequestMeta.md b/client/devops/docs/RequestMeta.md deleted file mode 100644 index 762ef9e..0000000 --- a/client/devops/docs/RequestMeta.md +++ /dev/null @@ -1,9 +0,0 @@ -# Devops.RequestMeta - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**taxnexusAccount** | **String** | Taxnexus Account Number of the Reseller or OEM | - - diff --git a/client/devops/docs/ResponseMeta.md b/client/devops/docs/ResponseMeta.md deleted file mode 100644 index 32e57cb..0000000 --- a/client/devops/docs/ResponseMeta.md +++ /dev/null @@ -1,20 +0,0 @@ -# Devops.ResponseMeta - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**contact** | **String** | Microservice Contact Info | [optional] -**copyright** | **String** | Copyright Info | [optional] -**license** | **String** | License Information and Restrictions | [optional] -**operationID** | **String** | Operation ID | [optional] -**pagination** | [**Pagination**](Pagination.md) | | [optional] -**requestIP** | **String** | Request IP Address | [optional] -**requestType** | **String** | Request Type | [optional] -**requestURL** | **String** | Request URL | [optional] -**serverInfo** | **String** | Data Server Info | [optional] -**serverResponseTime** | **String** | Data Server Response Time (ms) | [optional] -**serverTimestamp** | **String** | Backend Server Timestamp | [optional] -**taxnexusAccount** | **String** | Taxnexus Account Number used for recording transactions | [optional] - - diff --git a/client/devops/docs/Role.md b/client/devops/docs/Role.md deleted file mode 100644 index be49dfa..0000000 --- a/client/devops/docs/Role.md +++ /dev/null @@ -1,17 +0,0 @@ -# Devops.Role - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**auth0RoleID** | **String** | The corresponding Auth0 Role | [optional] -**createdByID** | **String** | Created By | [optional] -**createdDate** | **String** | Created Date | [optional] -**description** | **String** | Role Description | [optional] -**ID** | **String** | Record Id | [optional] -**lastModifiedByID** | **String** | Last Modified By | [optional] -**lastModifiedDate** | **String** | Last Modifed Date | [optional] -**roleName** | **String** | The name of this role | [optional] -**tenantID** | **String** | The ID of the Tenant that owns this Role | [optional] - - diff --git a/client/devops/docs/RoleRequest.md b/client/devops/docs/RoleRequest.md deleted file mode 100644 index efa4e9d..0000000 --- a/client/devops/docs/RoleRequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# Devops.RoleRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**date** | [**[Role]**](Role.md) | | [optional] - - diff --git a/client/devops/docs/RoleResponse.md b/client/devops/docs/RoleResponse.md deleted file mode 100644 index 2463a35..0000000 --- a/client/devops/docs/RoleResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# Devops.RoleResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Role]**](Role.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/devops/docs/Template.md b/client/devops/docs/Template.md deleted file mode 100644 index 0733de3..0000000 --- a/client/devops/docs/Template.md +++ /dev/null @@ -1,24 +0,0 @@ -# Devops.Template - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**companyID** | **String** | Company | [optional] -**createdByID** | **String** | | [optional] -**createdDate** | **String** | | [optional] -**description** | **String** | Description | [optional] -**HTML** | **Blob** | HTML Body | [optional] -**ID** | **String** | Taxnexus Record Id | [optional] -**isActive** | **Boolean** | Active? | [optional] -**isMaster** | **Boolean** | Master Template? | [optional] -**lastModifiedByID** | **String** | | [optional] -**lastModifiedDate** | **String** | | [optional] -**name** | **String** | Template Name | [optional] -**objectType** | **String** | Object | [optional] -**recordTypeName** | **String** | Record Type Name | [optional] -**tenantID** | **String** | Tenant that owns this object instance | [optional] -**type** | **String** | Type | [optional] -**URL** | **String** | URL | [optional] - - diff --git a/client/devops/docs/TemplateApi.md b/client/devops/docs/TemplateApi.md deleted file mode 100644 index d4effc6..0000000 --- a/client/devops/docs/TemplateApi.md +++ /dev/null @@ -1,224 +0,0 @@ -# Devops.TemplateApi - -All URIs are relative to *http://devops.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getTemplate**](TemplateApi.md#getTemplate) | **GET** /templates/{templateIdPath} | Get a single Template object -[**getTemplates**](TemplateApi.md#getTemplates) | **GET** /templates | Get a list Templates -[**getTemplatesObservable**](TemplateApi.md#getTemplatesObservable) | **GET** /templates/observable | Get Templates in an observable array -[**postTemplates**](TemplateApi.md#postTemplates) | **POST** /templates | Create new Templates - - - -## getTemplate - -> Template getTemplate(templateIdPath) - -Get a single Template object - -Return a single Template object from datastore as a Singleton - -### Example - -```javascript -import Devops from 'devops'; -let defaultClient = Devops.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Devops.TemplateApi(); -let templateIdPath = "templateIdPath_example"; // String | Taxnexus Record Id of a Template -apiInstance.getTemplate(templateIdPath, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **templateIdPath** | **String**| Taxnexus Record Id of a Template | - -### Return type - -[**Template**](Template.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## getTemplates - -> TemplateResponse getTemplates(opts) - -Get a list Templates - -Return a list of Templates from the datastore - -### Example - -```javascript -import Devops from 'devops'; -let defaultClient = Devops.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Devops.TemplateApi(); -let opts = { - 'limit': 789, // Number | How many objects to return at one time - 'offset': 789, // Number | How many objects to skip? (default 0) - 'active': true, // Boolean | Retrieve active records only? - 'templateId': "templateId_example", // String | Template ID - 'isMaster': true, // Boolean | Is Master Template? - 'objectType': "objectType_example" // String | Object Type Name -}; -apiInstance.getTemplates(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **limit** | **Number**| How many objects to return at one time | [optional] - **offset** | **Number**| How many objects to skip? (default 0) | [optional] - **active** | **Boolean**| Retrieve active records only? | [optional] - **templateId** | **String**| Template ID | [optional] - **isMaster** | **Boolean**| Is Master Template? | [optional] - **objectType** | **String**| Object Type Name | [optional] - -### Return type - -[**TemplateResponse**](TemplateResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## getTemplatesObservable - -> [Template] getTemplatesObservable() - -Get Templates in an observable array - -Returns a Template retrieval in a observable array - -### Example - -```javascript -import Devops from 'devops'; -let defaultClient = Devops.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Devops.TemplateApi(); -apiInstance.getTemplatesObservable((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 - -[**[Template]**](Template.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## postTemplates - -> TemplateResponse postTemplates(templateRequest) - -Create new Templates - -Create new Templates - -### Example - -```javascript -import Devops from 'devops'; -let defaultClient = Devops.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Devops.TemplateApi(); -let templateRequest = new Devops.TemplateRequest(); // TemplateRequest | An array of Template records -apiInstance.postTemplates(templateRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **templateRequest** | [**TemplateRequest**](TemplateRequest.md)| An array of Template records | - -### Return type - -[**TemplateResponse**](TemplateResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - diff --git a/client/devops/docs/TemplateRequest.md b/client/devops/docs/TemplateRequest.md deleted file mode 100644 index 928f62c..0000000 --- a/client/devops/docs/TemplateRequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# Devops.TemplateRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Template]**](Template.md) | | [optional] - - diff --git a/client/devops/docs/TemplateResponse.md b/client/devops/docs/TemplateResponse.md deleted file mode 100644 index cbb7a52..0000000 --- a/client/devops/docs/TemplateResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# Devops.TemplateResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Template]**](Template.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/devops/docs/Tenant.md b/client/devops/docs/Tenant.md deleted file mode 100644 index 9dc2668..0000000 --- a/client/devops/docs/Tenant.md +++ /dev/null @@ -1,22 +0,0 @@ -# Devops.Tenant - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**accountID** | **String** | The Account that owns this Tenant | [optional] -**active** | **Boolean** | Is this Tenant currently active? | [optional] -**createdByID** | **String** | Created By | [optional] -**createdDate** | **String** | Created Date | [optional] -**databases** | [**[Database]**](Database.md) | | [optional] -**ID** | **String** | Record Id | [optional] -**lastModifiedByID** | **String** | Last Modified By | [optional] -**lastModifiedDate** | **String** | Last Modifed Date | [optional] -**roles** | [**[Role]**](Role.md) | | [optional] -**status** | **String** | The current status of this Tenant | [optional] -**tenantName** | **String** | Name of the Tenant Resource | [optional] -**tenantUsers** | [**[TenantUser]**](TenantUser.md) | | [optional] -**type** | **String** | The type of Tenant | [optional] -**version** | **String** | The version number of the Tenant Onboarding system used to create this tenant | [optional] - - diff --git a/client/devops/docs/TenantApi.md b/client/devops/docs/TenantApi.md deleted file mode 100644 index 4c4c55c..0000000 --- a/client/devops/docs/TenantApi.md +++ /dev/null @@ -1,274 +0,0 @@ -# Devops.TenantApi - -All URIs are relative to *http://devops.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getTenant**](TenantApi.md#getTenant) | **GET** /tenants/{tenantIdPath} | Get a single Tenant object -[**getTenants**](TenantApi.md#getTenants) | **GET** /tenants | Get a list Tenants -[**getTenantsObservable**](TenantApi.md#getTenantsObservable) | **GET** /tenants/observable | Get Tenants in an observable array -[**postTenants**](TenantApi.md#postTenants) | **POST** /tenants | Create new Tenants -[**putTenants**](TenantApi.md#putTenants) | **PUT** /tenants | Update Tenants - - - -## getTenant - -> Tenant getTenant(tenantIdPath) - -Get a single Tenant object - -Return a single Tenant object from datastore as a Singleton - -### Example - -```javascript -import Devops from 'devops'; -let defaultClient = Devops.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Devops.TenantApi(); -let tenantIdPath = "tenantIdPath_example"; // String | Taxnexus Record Id of a Tenant -apiInstance.getTenant(tenantIdPath, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **tenantIdPath** | **String**| Taxnexus Record Id of a Tenant | - -### Return type - -[**Tenant**](Tenant.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## getTenants - -> TenantResponse getTenants(opts) - -Get a list Tenants - -Return a list of Tenant records from the datastore - -### Example - -```javascript -import Devops from 'devops'; -let defaultClient = Devops.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Devops.TenantApi(); -let opts = { - 'taxnexusAccount': "taxnexusAccount_example", // String | Taxnexus Account of a Tenant - 'tenantId': "tenantId_example", // String | Taxnexus Record Id of a Tenant - 'companyId': "companyId_example", // String | Taxnexus Record Id of a Company - 'limit': 789, // Number | How many objects to return at one time - 'offset': 789 // Number | How many objects to skip? (default 0) -}; -apiInstance.getTenants(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **taxnexusAccount** | **String**| Taxnexus Account of a Tenant | [optional] - **tenantId** | **String**| Taxnexus Record Id of a Tenant | [optional] - **companyId** | **String**| Taxnexus Record Id of a Company | [optional] - **limit** | **Number**| How many objects to return at one time | [optional] - **offset** | **Number**| How many objects to skip? (default 0) | [optional] - -### Return type - -[**TenantResponse**](TenantResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## getTenantsObservable - -> [Tenant] getTenantsObservable() - -Get Tenants in an observable array - -Returns a Tenant retrieval in a observable array - -### Example - -```javascript -import Devops from 'devops'; -let defaultClient = Devops.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Devops.TenantApi(); -apiInstance.getTenantsObservable((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 - -[**[Tenant]**](Tenant.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## postTenants - -> TenantResponse postTenants(tenantRequest) - -Create new Tenants - -Create Tenants in Taxnexus - -### Example - -```javascript -import Devops from 'devops'; -let defaultClient = Devops.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Devops.TenantApi(); -let tenantRequest = new Devops.TenantRequest(); // TenantRequest | An array of Tenant records -apiInstance.postTenants(tenantRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **tenantRequest** | [**TenantRequest**](TenantRequest.md)| An array of Tenant records | - -### Return type - -[**TenantResponse**](TenantResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - - -## putTenants - -> TenantResponse putTenants(tenantRequest) - -Update Tenants - -Update Tenant in Taxnexus - -### Example - -```javascript -import Devops from 'devops'; -let defaultClient = Devops.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Devops.TenantApi(); -let tenantRequest = new Devops.TenantRequest(); // TenantRequest | An array of Tenant records -apiInstance.putTenants(tenantRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **tenantRequest** | [**TenantRequest**](TenantRequest.md)| An array of Tenant records | - -### Return type - -[**TenantResponse**](TenantResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - diff --git a/client/devops/docs/TenantRequest.md b/client/devops/docs/TenantRequest.md deleted file mode 100644 index d315c11..0000000 --- a/client/devops/docs/TenantRequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# Devops.TenantRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Tenant]**](Tenant.md) | | [optional] - - diff --git a/client/devops/docs/TenantResponse.md b/client/devops/docs/TenantResponse.md deleted file mode 100644 index d803097..0000000 --- a/client/devops/docs/TenantResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# Devops.TenantResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Tenant]**](Tenant.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/devops/docs/TenantUser.md b/client/devops/docs/TenantUser.md deleted file mode 100644 index 4e99f19..0000000 --- a/client/devops/docs/TenantUser.md +++ /dev/null @@ -1,24 +0,0 @@ -# Devops.TenantUser - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**accessLevel** | **String** | The makeTenantUser access level for this User | [optional] -**accountID** | **String** | Account ID | [optional] -**auth0UserID** | **String** | Auth0 User ID | [optional] -**companyName** | **String** | Account Name | [optional] -**contactID** | **String** | Contact ID | [optional] -**taxnexusAccount** | **String** | Taxnexus Account | [optional] -**tenantActive** | **Boolean** | Tenant active? | [optional] -**tenantID** | **String** | The Tenant ID | [optional] -**tenantName** | **String** | Tenant Name | [optional] -**tenantStatus** | **String** | Tenant Status | [optional] -**tenantType** | **String** | Tenant type | [optional] -**tenantVersion** | **String** | Tenant Version | [optional] -**userEmail** | **String** | User Email Address | [optional] -**userFullName** | **String** | User Full Name | [optional] -**userID** | **String** | The User ID | [optional] -**username** | **String** | Username | [optional] - - diff --git a/client/devops/docs/User.md b/client/devops/docs/User.md deleted file mode 100644 index 42e1dd6..0000000 --- a/client/devops/docs/User.md +++ /dev/null @@ -1,66 +0,0 @@ -# Devops.User - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**aPIKey** | **String** | API Key | [optional] -**aboutMe** | **String** | About Me | [optional] -**accountID** | **String** | Account ID | [optional] -**address** | [**Address**](Address.md) | | [optional] -**alias** | **String** | Alias | [optional] -**auth0UserID** | **String** | Auth0 User Id | [optional] -**communityNickname** | **String** | Nickname | [optional] -**companyName** | **String** | Company Name | [optional] -**contactID** | **String** | Contact | [optional] -**createdByID** | **String** | Created User ID | [optional] -**createdDate** | **String** | Date Created | [optional] -**delegatedApproverID** | **String** | Delegated Approver | [optional] -**department** | **String** | Department | [optional] -**division** | **String** | Division | [optional] -**email** | **String** | Email address | [optional] -**employeeNumber** | **String** | Employee Number | [optional] -**endOfDay** | **String** | Time day ends | [optional] -**environment** | **String** | Environment | [optional] -**extension** | **String** | Extension | [optional] -**fabricAPIKey** | **String** | Fabric API Key | [optional] -**fax** | **String** | Fax | [optional] -**firstName** | **String** | The first name | [optional] -**forecastEnabled** | **Boolean** | Allow Forecasting | [optional] -**fullPhotoURL** | **String** | Full Photo URL | [optional] -**ID** | **String** | Taxnexus ID | [optional] -**isActive** | **Boolean** | Active | [optional] -**isPortalEnabled** | **Boolean** | Is the user enabled for Communities? | [optional] -**isProphilePhotoActive** | **Boolean** | Has Profile Photo | [optional] -**isSystemControlled** | **Boolean** | | [optional] -**lastIP** | **String** | IP address of last login | [optional] -**lastLogin** | **String** | Last login time | [optional] -**lastModifiedByID** | **String** | Last Modified User ID | [optional] -**lastModifiedDate** | **String** | Last Modified Date | [optional] -**lastName** | **String** | The Last Name | [optional] -**loginCount** | **Number** | Number of times user has logged in | [optional] -**managerID** | **String** | Manager | [optional] -**mobilePhone** | **String** | Mobile | [optional] -**name** | **String** | Name | [optional] -**outOfOfficeMessage** | **String** | Out of office message | [optional] -**phone** | **String** | Phone | [optional] -**portalRole** | **String** | Portal Role Level | [optional] -**profileID** | **String** | Profile | [optional] -**receivesAdminEmails** | **Boolean** | Info Emails | [optional] -**receivesAdminInfoEmails** | **Boolean** | Admin Info Emails | [optional] -**senderEmail** | **String** | Email Sender Address | [optional] -**senderName** | **String** | Email Sender Name | [optional] -**signature** | **String** | Email Signature | [optional] -**smallPhotoURL** | **String** | Small Photo URL | [optional] -**startOfDay** | **String** | The time day starts | [optional] -**taxnexusAccount** | **String** | Taxnexus Account | [optional] -**tenantID** | **String** | Tenant ID associated with this user | [optional] -**tenantUsers** | [**[TenantUser]**](TenantUser.md) | | [optional] -**timeZone** | **String** | Time Zone | [optional] -**title** | **String** | Title | [optional] -**userRoleID** | **String** | Role | [optional] -**userRoles** | [**[UserRole]**](UserRole.md) | | [optional] -**userType** | **String** | User Type | [optional] -**username** | **String** | Username | [optional] - - diff --git a/client/devops/docs/UserApi.md b/client/devops/docs/UserApi.md deleted file mode 100644 index 000f67a..0000000 --- a/client/devops/docs/UserApi.md +++ /dev/null @@ -1,280 +0,0 @@ -# Devops.UserApi - -All URIs are relative to *http://devops.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getUser**](UserApi.md#getUser) | **GET** /users/{userIdPath} | Get a single User object -[**getUsers**](UserApi.md#getUsers) | **GET** /users | Get a list Users -[**getUsersObservable**](UserApi.md#getUsersObservable) | **GET** /users/observable | Get Users in an observable array -[**postUsers**](UserApi.md#postUsers) | **POST** /users | Create new Users -[**putUsers**](UserApi.md#putUsers) | **PUT** /users | Update existing users - - - -## getUser - -> User getUser(userIdPath) - -Get a single User object - -Return a single User object from datastore as a Singleton - -### Example - -```javascript -import Devops from 'devops'; -let defaultClient = Devops.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Devops.UserApi(); -let userIdPath = "userIdPath_example"; // String | Taxnexus Record Id of a User -apiInstance.getUser(userIdPath, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **userIdPath** | **String**| Taxnexus Record Id of a User | - -### Return type - -[**User**](User.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## getUsers - -> UserResponse getUsers(opts) - -Get a list Users - -Return a list of User records from the datastore - -### Example - -```javascript -import Devops from 'devops'; -let defaultClient = Devops.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Devops.UserApi(); -let opts = { - 'limit': 789, // Number | How many objects to return at one time - 'offset': 789, // Number | How many objects to skip? (default 0) - 'accountId': "accountId_example", // String | Taxnexus Record Id of an Account - 'contactId': "contactId_example", // String | Taxnexus Record Id of a Contact - 'active': true, // Boolean | Retrieve active records only? - 'email': "email_example", // String | Email Address (not unique) - 'userId': "userId_example", // String | Taxnexus User ID (unique) - 'username': "username_example" // String | Username (unique) -}; -apiInstance.getUsers(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **limit** | **Number**| How many objects to return at one time | [optional] - **offset** | **Number**| How many objects to skip? (default 0) | [optional] - **accountId** | **String**| Taxnexus Record Id of an Account | [optional] - **contactId** | **String**| Taxnexus Record Id of a Contact | [optional] - **active** | **Boolean**| Retrieve active records only? | [optional] - **email** | **String**| Email Address (not unique) | [optional] - **userId** | **String**| Taxnexus User ID (unique) | [optional] - **username** | **String**| Username (unique) | [optional] - -### Return type - -[**UserResponse**](UserResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## getUsersObservable - -> [User] getUsersObservable() - -Get Users in an observable array - -Returns a User retrieval in a observable array - -### Example - -```javascript -import Devops from 'devops'; -let defaultClient = Devops.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Devops.UserApi(); -apiInstance.getUsersObservable((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 - -[**[User]**](User.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## postUsers - -> UserResponse postUsers(userRequest) - -Create new Users - -Create new Users - -### Example - -```javascript -import Devops from 'devops'; -let defaultClient = Devops.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Devops.UserApi(); -let userRequest = new Devops.UserRequest(); // UserRequest | An array of User records -apiInstance.postUsers(userRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **userRequest** | [**UserRequest**](UserRequest.md)| An array of User records | - -### Return type - -[**UserResponse**](UserResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - - -## putUsers - -> UserResponse putUsers(userRequest) - -Update existing users - -Update existing users - -### Example - -```javascript -import Devops from 'devops'; -let defaultClient = Devops.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Devops.UserApi(); -let userRequest = new Devops.UserRequest(); // UserRequest | An array of User records -apiInstance.putUsers(userRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **userRequest** | [**UserRequest**](UserRequest.md)| An array of User records | - -### Return type - -[**UserResponse**](UserResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - diff --git a/client/devops/docs/UserRequest.md b/client/devops/docs/UserRequest.md deleted file mode 100644 index fd65348..0000000 --- a/client/devops/docs/UserRequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# Devops.UserRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[User]**](User.md) | | [optional] - - diff --git a/client/devops/docs/UserResponse.md b/client/devops/docs/UserResponse.md deleted file mode 100644 index 50c5315..0000000 --- a/client/devops/docs/UserResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# Devops.UserResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[User]**](User.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/devops/docs/UserRole.md b/client/devops/docs/UserRole.md deleted file mode 100644 index b666147..0000000 --- a/client/devops/docs/UserRole.md +++ /dev/null @@ -1,21 +0,0 @@ -# Devops.UserRole - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**accountID** | **String** | Account Id | [optional] -**auth0RoleID** | **String** | Linked role ID | [optional] -**auth0UserID** | **String** | Auth0 User ID | [optional] -**companyName** | **String** | Company Name | [optional] -**contactID** | **String** | Contact ID | [optional] -**roleDescription** | **String** | Role description | [optional] -**roleID** | **String** | The Role ID | [optional] -**roleName** | **String** | Role Name | [optional] -**taxnexusAccount** | **String** | Taxnexus Account Number | [optional] -**userEmail** | **String** | User Email Address | [optional] -**userFullName** | **String** | User Full Name | [optional] -**userID** | **String** | The User ID | [optional] -**username** | **String** | Username | [optional] - - diff --git a/client/devops/git_push.sh b/client/devops/git_push.sh deleted file mode 100644 index f53a75d..0000000 --- a/client/devops/git_push.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh -# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ -# -# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com" - -git_user_id=$1 -git_repo_id=$2 -release_note=$3 -git_host=$4 - -if [ "$git_host" = "" ]; then - git_host="github.com" - echo "[INFO] No command line input provided. Set \$git_host to $git_host" -fi - -if [ "$git_user_id" = "" ]; then - git_user_id="GIT_USER_ID" - echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" -fi - -if [ "$git_repo_id" = "" ]; then - git_repo_id="GIT_REPO_ID" - echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" -fi - -if [ "$release_note" = "" ]; then - release_note="Minor update" - echo "[INFO] No command line input provided. Set \$release_note to $release_note" -fi - -# Initialize the local directory as a Git repository -git init - -# Adds the files in the local repository and stages them for commit. -git add . - -# Commits the tracked changes and prepares them to be pushed to a remote repository. -git commit -m "$release_note" - -# Sets the new remote -git_remote=$(git remote) -if [ "$git_remote" = "" ]; then # git remote not defined - - if [ "$GIT_TOKEN" = "" ]; then - echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." - git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git - else - git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git - fi - -fi - -git pull origin master - -# Pushes (Forces) the changes in the local repository up to the remote repository -echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git" -git push origin master 2>&1 | grep -v 'To https' diff --git a/client/devops/mocha.opts b/client/devops/mocha.opts deleted file mode 100644 index 9070118..0000000 --- a/client/devops/mocha.opts +++ /dev/null @@ -1 +0,0 @@ ---timeout 10000 diff --git a/client/devops/package.json b/client/devops/package.json deleted file mode 100644 index 313820c..0000000 --- a/client/devops/package.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "devops", - "version": "0.0.2", - "description": "System_Operations_Microservice", - "license": "Proprietary - Copyright (c) 2018-2021 by Taxnexus, Inc.", - "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/client/devops/src/ApiClient.js b/client/devops/src/ApiClient.js deleted file mode 100644 index 666260d..0000000 --- a/client/devops/src/ApiClient.js +++ /dev/null @@ -1,692 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * 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 0.0.2 -*/ - -/** -* 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 { - /** - * The base URL against which to resolve every API call's (relative) path. - * Overrides the default value set in spec file if present - * @param {String} basePath - */ - constructor(basePath = 'http://devops.vernonkeenan.com:8080/v1') { - /** - * The base URL against which to resolve every API call's (relative) path. - * @type {String} - * @default http://devops.vernonkeenan.com:8080/v1 - */ - this.basePath = basePath.replace(/\/+$/, ''); - - /** - * The authentication methods to be included for all API calls. - * @type {Array.} - */ - this.authentications = { - 'ApiKeyAuth': {type: 'apiKey', 'in': 'header', name: 'X-API-Key'} - } - - /** - * The default HTTP headers to be included for all API calls. - * @type {Array.} - * @default {} - */ - this.defaultHeaders = { - 'User-Agent': 'OpenAPI-Generator/0.0.2/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('text'); - } - - // 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': "http://devops.vernonkeenan.com:8080/v1", - '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/client/devops/src/api/ClusterApi.js b/client/devops/src/api/ClusterApi.js deleted file mode 100644 index 7246b71..0000000 --- a/client/devops/src/api/ClusterApi.js +++ /dev/null @@ -1,252 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Cluster from '../model/Cluster'; -import ClusterRequest from '../model/ClusterRequest'; -import ClusterResponse from '../model/ClusterResponse'; -import Error from '../model/Error'; - -/** -* Cluster service. -* @module api/ClusterApi -* @version 0.0.2 -*/ -export default class ClusterApi { - - /** - * Constructs a new ClusterApi. - * @alias module:api/ClusterApi - * @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 getCluster operation. - * @callback module:api/ClusterApi~getClusterCallback - * @param {String} error Error message, if any. - * @param {module:model/Cluster} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a single Cluster object - * Return a single Cluster object from datastore as a Singleton - * @param {String} clusterIdPath Taxnexus Record Id of a Cluster - * @param {module:api/ClusterApi~getClusterCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/Cluster} - */ - getCluster(clusterIdPath, callback) { - let postBody = null; - // verify the required parameter 'clusterIdPath' is set - if (clusterIdPath === undefined || clusterIdPath === null) { - throw new Error("Missing the required parameter 'clusterIdPath' when calling getCluster"); - } - - let pathParams = { - 'clusterIdPath': clusterIdPath - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = Cluster; - return this.apiClient.callApi( - '/clusters/{clusterIdPath}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the getClusters operation. - * @callback module:api/ClusterApi~getClustersCallback - * @param {String} error Error message, if any. - * @param {module:model/ClusterResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a list Clusters - * Return a list of Cluster records from the datastore - * @param {Object} opts Optional parameters - * @param {String} opts.clusterId Taxnexus Record Id of a Cluster - * @param {String} opts.companyId Taxnexus Record Id of a Company - * @param {Number} opts.limit How many objects to return at one time - * @param {Number} opts.offset How many objects to skip? (default 0) - * @param {module:api/ClusterApi~getClustersCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/ClusterResponse} - */ - getClusters(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'clusterId': opts['clusterId'], - 'companyId': opts['companyId'], - 'limit': opts['limit'], - 'offset': opts['offset'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = ClusterResponse; - return this.apiClient.callApi( - '/clusters', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the getClustersObservable operation. - * @callback module:api/ClusterApi~getClustersObservableCallback - * @param {String} error Error message, if any. - * @param {Array.} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get Clusters in an observable array - * Returns a Cluster retrieval in a observable array - * @param {module:api/ClusterApi~getClustersObservableCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link Array.} - */ - getClustersObservable(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = [Cluster]; - return this.apiClient.callApi( - '/clusters/observable', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the postClusters operation. - * @callback module:api/ClusterApi~postClustersCallback - * @param {String} error Error message, if any. - * @param {module:model/ClusterResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Create new Clusters - * Create Clusters in Taxnexus - * @param {module:model/ClusterRequest} clusterRequest An array of Cluster records - * @param {module:api/ClusterApi~postClustersCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/ClusterResponse} - */ - postClusters(clusterRequest, callback) { - let postBody = clusterRequest; - // verify the required parameter 'clusterRequest' is set - if (clusterRequest === undefined || clusterRequest === null) { - throw new Error("Missing the required parameter 'clusterRequest' when calling postClusters"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = ClusterResponse; - return this.apiClient.callApi( - '/clusters', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the putClusters operation. - * @callback module:api/ClusterApi~putClustersCallback - * @param {String} error Error message, if any. - * @param {module:model/ClusterResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Update Clustera - * Update Cluster in Taxnexus - * @param {module:model/ClusterRequest} clusterRequest An array of Cluster records - * @param {module:api/ClusterApi~putClustersCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/ClusterResponse} - */ - putClusters(clusterRequest, callback) { - let postBody = clusterRequest; - // verify the required parameter 'clusterRequest' is set - if (clusterRequest === undefined || clusterRequest === null) { - throw new Error("Missing the required parameter 'clusterRequest' when calling putClusters"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = ClusterResponse; - return this.apiClient.callApi( - '/clusters', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/devops/src/api/CorsApi.js b/client/devops/src/api/CorsApi.js deleted file mode 100644 index b1754b8..0000000 --- a/client/devops/src/api/CorsApi.js +++ /dev/null @@ -1,387 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - - -import ApiClient from "../ApiClient"; - -/** -* Cors service. -* @module api/CorsApi -* @version 0.0.2 -*/ -export default class CorsApi { - - /** - * Constructs a new CorsApi. - * @alias module:api/CorsApi - * @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 clusterOptions operation. - * @callback module:api/CorsApi~clusterOptionsCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~clusterOptionsCallback} callback The callback function, accepting three arguments: error, data, response - */ - clusterOptions(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/clusters/observable', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the clustersOptions operation. - * @callback module:api/CorsApi~clustersOptionsCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~clustersOptionsCallback} callback The callback function, accepting three arguments: error, data, response - */ - clustersOptions(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/clusters', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the databaseOptions operation. - * @callback module:api/CorsApi~databaseOptionsCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~databaseOptionsCallback} callback The callback function, accepting three arguments: error, data, response - */ - databaseOptions(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/databases/observable', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the databasesOptions operation. - * @callback module:api/CorsApi~databasesOptionsCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~databasesOptionsCallback} callback The callback function, accepting three arguments: error, data, response - */ - databasesOptions(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/databases', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the templateOptions operation. - * @callback module:api/CorsApi~templateOptionsCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~templateOptionsCallback} callback The callback function, accepting three arguments: error, data, response - */ - templateOptions(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/templates/observable', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the templatesOptions operation. - * @callback module:api/CorsApi~templatesOptionsCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~templatesOptionsCallback} callback The callback function, accepting three arguments: error, data, response - */ - templatesOptions(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/templates', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the tenantOptions operation. - * @callback module:api/CorsApi~tenantOptionsCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~tenantOptionsCallback} callback The callback function, accepting three arguments: error, data, response - */ - tenantOptions(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/tenants/observable', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the tenantsOptions operation. - * @callback module:api/CorsApi~tenantsOptionsCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~tenantsOptionsCallback} callback The callback function, accepting three arguments: error, data, response - */ - tenantsOptions(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/tenants', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the userOptions operation. - * @callback module:api/CorsApi~userOptionsCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~userOptionsCallback} callback The callback function, accepting three arguments: error, data, response - */ - userOptions(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/users/observable', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the usersOptions operation. - * @callback module:api/CorsApi~usersOptionsCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~usersOptionsCallback} callback The callback function, accepting three arguments: error, data, response - */ - usersOptions(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/users', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/devops/src/api/DatabaseApi.js b/client/devops/src/api/DatabaseApi.js deleted file mode 100644 index 9d0abba..0000000 --- a/client/devops/src/api/DatabaseApi.js +++ /dev/null @@ -1,252 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Database from '../model/Database'; -import DatabaseRequest from '../model/DatabaseRequest'; -import DatabaseResponse from '../model/DatabaseResponse'; -import Error from '../model/Error'; - -/** -* Database service. -* @module api/DatabaseApi -* @version 0.0.2 -*/ -export default class DatabaseApi { - - /** - * Constructs a new DatabaseApi. - * @alias module:api/DatabaseApi - * @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 getDatabase operation. - * @callback module:api/DatabaseApi~getDatabaseCallback - * @param {String} error Error message, if any. - * @param {module:model/Database} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a single Database object - * Return a single Database object from datastore as a Singleton - * @param {String} databaseIdPath Taxnexus Record Id of a Database - * @param {module:api/DatabaseApi~getDatabaseCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/Database} - */ - getDatabase(databaseIdPath, callback) { - let postBody = null; - // verify the required parameter 'databaseIdPath' is set - if (databaseIdPath === undefined || databaseIdPath === null) { - throw new Error("Missing the required parameter 'databaseIdPath' when calling getDatabase"); - } - - let pathParams = { - 'databaseIdPath': databaseIdPath - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = Database; - return this.apiClient.callApi( - '/databases/{databaseIdPath}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the getDatabases operation. - * @callback module:api/DatabaseApi~getDatabasesCallback - * @param {String} error Error message, if any. - * @param {module:model/DatabaseResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a list Databases - * Return a list of Database records from the datastore - * @param {Object} opts Optional parameters - * @param {String} opts.databaseId Taxnexus Record Id of a Database - * @param {String} opts.companyId Taxnexus Record Id of a Company - * @param {Number} opts.limit How many objects to return at one time - * @param {Number} opts.offset How many objects to skip? (default 0) - * @param {module:api/DatabaseApi~getDatabasesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/DatabaseResponse} - */ - getDatabases(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'databaseId': opts['databaseId'], - 'companyId': opts['companyId'], - 'limit': opts['limit'], - 'offset': opts['offset'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = DatabaseResponse; - return this.apiClient.callApi( - '/databases', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the getDatabasesObservable operation. - * @callback module:api/DatabaseApi~getDatabasesObservableCallback - * @param {String} error Error message, if any. - * @param {Array.} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get Databases in an observable array - * Returns a Database retrieval in a observable array - * @param {module:api/DatabaseApi~getDatabasesObservableCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link Array.} - */ - getDatabasesObservable(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = [Database]; - return this.apiClient.callApi( - '/databases/observable', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the postDatabases operation. - * @callback module:api/DatabaseApi~postDatabasesCallback - * @param {String} error Error message, if any. - * @param {module:model/DatabaseResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Create new Databases - * Create Databases in Taxnexus - * @param {module:model/DatabaseRequest} databaseRequest An array of Database records - * @param {module:api/DatabaseApi~postDatabasesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/DatabaseResponse} - */ - postDatabases(databaseRequest, callback) { - let postBody = databaseRequest; - // verify the required parameter 'databaseRequest' is set - if (databaseRequest === undefined || databaseRequest === null) { - throw new Error("Missing the required parameter 'databaseRequest' when calling postDatabases"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = DatabaseResponse; - return this.apiClient.callApi( - '/databases', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the putDatabases operation. - * @callback module:api/DatabaseApi~putDatabasesCallback - * @param {String} error Error message, if any. - * @param {module:model/DatabaseResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Update Databases - * Update Database in Taxnexus - * @param {module:model/DatabaseRequest} databaseRequest An array of Database records - * @param {module:api/DatabaseApi~putDatabasesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/DatabaseResponse} - */ - putDatabases(databaseRequest, callback) { - let postBody = databaseRequest; - // verify the required parameter 'databaseRequest' is set - if (databaseRequest === undefined || databaseRequest === null) { - throw new Error("Missing the required parameter 'databaseRequest' when calling putDatabases"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = DatabaseResponse; - return this.apiClient.callApi( - '/databases', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/devops/src/api/TemplateApi.js b/client/devops/src/api/TemplateApi.js deleted file mode 100644 index 91f3411..0000000 --- a/client/devops/src/api/TemplateApi.js +++ /dev/null @@ -1,214 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Error from '../model/Error'; -import Template from '../model/Template'; -import TemplateRequest from '../model/TemplateRequest'; -import TemplateResponse from '../model/TemplateResponse'; - -/** -* Template service. -* @module api/TemplateApi -* @version 0.0.2 -*/ -export default class TemplateApi { - - /** - * Constructs a new TemplateApi. - * @alias module:api/TemplateApi - * @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 getTemplate operation. - * @callback module:api/TemplateApi~getTemplateCallback - * @param {String} error Error message, if any. - * @param {module:model/Template} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a single Template object - * Return a single Template object from datastore as a Singleton - * @param {String} templateIdPath Taxnexus Record Id of a Template - * @param {module:api/TemplateApi~getTemplateCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/Template} - */ - getTemplate(templateIdPath, callback) { - let postBody = null; - // verify the required parameter 'templateIdPath' is set - if (templateIdPath === undefined || templateIdPath === null) { - throw new Error("Missing the required parameter 'templateIdPath' when calling getTemplate"); - } - - let pathParams = { - 'templateIdPath': templateIdPath - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = Template; - return this.apiClient.callApi( - '/templates/{templateIdPath}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the getTemplates operation. - * @callback module:api/TemplateApi~getTemplatesCallback - * @param {String} error Error message, if any. - * @param {module:model/TemplateResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a list Templates - * Return a list of Templates from the datastore - * @param {Object} opts Optional parameters - * @param {Number} opts.limit How many objects to return at one time - * @param {Number} opts.offset How many objects to skip? (default 0) - * @param {Boolean} opts.active Retrieve active records only? - * @param {String} opts.templateId Template ID - * @param {Boolean} opts.isMaster Is Master Template? - * @param {String} opts.objectType Object Type Name - * @param {module:api/TemplateApi~getTemplatesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/TemplateResponse} - */ - getTemplates(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'limit': opts['limit'], - 'offset': opts['offset'], - 'active': opts['active'], - 'templateId': opts['templateId'], - 'isMaster': opts['isMaster'], - 'objectType': opts['objectType'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = TemplateResponse; - return this.apiClient.callApi( - '/templates', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the getTemplatesObservable operation. - * @callback module:api/TemplateApi~getTemplatesObservableCallback - * @param {String} error Error message, if any. - * @param {Array.} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get Templates in an observable array - * Returns a Template retrieval in a observable array - * @param {module:api/TemplateApi~getTemplatesObservableCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link Array.} - */ - getTemplatesObservable(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = [Template]; - return this.apiClient.callApi( - '/templates/observable', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the postTemplates operation. - * @callback module:api/TemplateApi~postTemplatesCallback - * @param {String} error Error message, if any. - * @param {module:model/TemplateResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Create new Templates - * Create new Templates - * @param {module:model/TemplateRequest} templateRequest An array of Template records - * @param {module:api/TemplateApi~postTemplatesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/TemplateResponse} - */ - postTemplates(templateRequest, callback) { - let postBody = templateRequest; - // verify the required parameter 'templateRequest' is set - if (templateRequest === undefined || templateRequest === null) { - throw new Error("Missing the required parameter 'templateRequest' when calling postTemplates"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = TemplateResponse; - return this.apiClient.callApi( - '/templates', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/devops/src/api/TenantApi.js b/client/devops/src/api/TenantApi.js deleted file mode 100644 index d88ca7b..0000000 --- a/client/devops/src/api/TenantApi.js +++ /dev/null @@ -1,254 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Error from '../model/Error'; -import Tenant from '../model/Tenant'; -import TenantRequest from '../model/TenantRequest'; -import TenantResponse from '../model/TenantResponse'; - -/** -* Tenant service. -* @module api/TenantApi -* @version 0.0.2 -*/ -export default class TenantApi { - - /** - * Constructs a new TenantApi. - * @alias module:api/TenantApi - * @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 getTenant operation. - * @callback module:api/TenantApi~getTenantCallback - * @param {String} error Error message, if any. - * @param {module:model/Tenant} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a single Tenant object - * Return a single Tenant object from datastore as a Singleton - * @param {String} tenantIdPath Taxnexus Record Id of a Tenant - * @param {module:api/TenantApi~getTenantCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/Tenant} - */ - getTenant(tenantIdPath, callback) { - let postBody = null; - // verify the required parameter 'tenantIdPath' is set - if (tenantIdPath === undefined || tenantIdPath === null) { - throw new Error("Missing the required parameter 'tenantIdPath' when calling getTenant"); - } - - let pathParams = { - 'tenantIdPath': tenantIdPath - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = Tenant; - return this.apiClient.callApi( - '/tenants/{tenantIdPath}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the getTenants operation. - * @callback module:api/TenantApi~getTenantsCallback - * @param {String} error Error message, if any. - * @param {module:model/TenantResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a list Tenants - * Return a list of Tenant records from the datastore - * @param {Object} opts Optional parameters - * @param {String} opts.taxnexusAccount Taxnexus Account of a Tenant - * @param {String} opts.tenantId Taxnexus Record Id of a Tenant - * @param {String} opts.companyId Taxnexus Record Id of a Company - * @param {Number} opts.limit How many objects to return at one time - * @param {Number} opts.offset How many objects to skip? (default 0) - * @param {module:api/TenantApi~getTenantsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/TenantResponse} - */ - getTenants(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'taxnexusAccount': opts['taxnexusAccount'], - 'tenantId': opts['tenantId'], - 'companyId': opts['companyId'], - 'limit': opts['limit'], - 'offset': opts['offset'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = TenantResponse; - return this.apiClient.callApi( - '/tenants', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the getTenantsObservable operation. - * @callback module:api/TenantApi~getTenantsObservableCallback - * @param {String} error Error message, if any. - * @param {Array.} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get Tenants in an observable array - * Returns a Tenant retrieval in a observable array - * @param {module:api/TenantApi~getTenantsObservableCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link Array.} - */ - getTenantsObservable(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = [Tenant]; - return this.apiClient.callApi( - '/tenants/observable', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the postTenants operation. - * @callback module:api/TenantApi~postTenantsCallback - * @param {String} error Error message, if any. - * @param {module:model/TenantResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Create new Tenants - * Create Tenants in Taxnexus - * @param {module:model/TenantRequest} tenantRequest An array of Tenant records - * @param {module:api/TenantApi~postTenantsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/TenantResponse} - */ - postTenants(tenantRequest, callback) { - let postBody = tenantRequest; - // verify the required parameter 'tenantRequest' is set - if (tenantRequest === undefined || tenantRequest === null) { - throw new Error("Missing the required parameter 'tenantRequest' when calling postTenants"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = TenantResponse; - return this.apiClient.callApi( - '/tenants', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the putTenants operation. - * @callback module:api/TenantApi~putTenantsCallback - * @param {String} error Error message, if any. - * @param {module:model/TenantResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Update Tenants - * Update Tenant in Taxnexus - * @param {module:model/TenantRequest} tenantRequest An array of Tenant records - * @param {module:api/TenantApi~putTenantsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/TenantResponse} - */ - putTenants(tenantRequest, callback) { - let postBody = tenantRequest; - // verify the required parameter 'tenantRequest' is set - if (tenantRequest === undefined || tenantRequest === null) { - throw new Error("Missing the required parameter 'tenantRequest' when calling putTenants"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = TenantResponse; - return this.apiClient.callApi( - '/tenants', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/devops/src/api/UserApi.js b/client/devops/src/api/UserApi.js deleted file mode 100644 index 66a4861..0000000 --- a/client/devops/src/api/UserApi.js +++ /dev/null @@ -1,260 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Error from '../model/Error'; -import User from '../model/User'; -import UserRequest from '../model/UserRequest'; -import UserResponse from '../model/UserResponse'; - -/** -* User service. -* @module api/UserApi -* @version 0.0.2 -*/ -export default class UserApi { - - /** - * Constructs a new UserApi. - * @alias module:api/UserApi - * @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 getUser operation. - * @callback module:api/UserApi~getUserCallback - * @param {String} error Error message, if any. - * @param {module:model/User} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a single User object - * Return a single User object from datastore as a Singleton - * @param {String} userIdPath Taxnexus Record Id of a User - * @param {module:api/UserApi~getUserCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/User} - */ - getUser(userIdPath, callback) { - let postBody = null; - // verify the required parameter 'userIdPath' is set - if (userIdPath === undefined || userIdPath === null) { - throw new Error("Missing the required parameter 'userIdPath' when calling getUser"); - } - - let pathParams = { - 'userIdPath': userIdPath - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = User; - return this.apiClient.callApi( - '/users/{userIdPath}', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the getUsers operation. - * @callback module:api/UserApi~getUsersCallback - * @param {String} error Error message, if any. - * @param {module:model/UserResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a list Users - * Return a list of User records from the datastore - * @param {Object} opts Optional parameters - * @param {Number} opts.limit How many objects to return at one time - * @param {Number} opts.offset How many objects to skip? (default 0) - * @param {String} opts.accountId Taxnexus Record Id of an Account - * @param {String} opts.contactId Taxnexus Record Id of a Contact - * @param {Boolean} opts.active Retrieve active records only? - * @param {String} opts.email Email Address (not unique) - * @param {String} opts.userId Taxnexus User ID (unique) - * @param {String} opts.username Username (unique) - * @param {module:api/UserApi~getUsersCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/UserResponse} - */ - getUsers(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'limit': opts['limit'], - 'offset': opts['offset'], - 'accountId': opts['accountId'], - 'contactId': opts['contactId'], - 'active': opts['active'], - 'email': opts['email'], - 'userId': opts['userId'], - 'username': opts['username'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = UserResponse; - return this.apiClient.callApi( - '/users', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the getUsersObservable operation. - * @callback module:api/UserApi~getUsersObservableCallback - * @param {String} error Error message, if any. - * @param {Array.} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get Users in an observable array - * Returns a User retrieval in a observable array - * @param {module:api/UserApi~getUsersObservableCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link Array.} - */ - getUsersObservable(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = [User]; - return this.apiClient.callApi( - '/users/observable', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the postUsers operation. - * @callback module:api/UserApi~postUsersCallback - * @param {String} error Error message, if any. - * @param {module:model/UserResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Create new Users - * Create new Users - * @param {module:model/UserRequest} userRequest An array of User records - * @param {module:api/UserApi~postUsersCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/UserResponse} - */ - postUsers(userRequest, callback) { - let postBody = userRequest; - // verify the required parameter 'userRequest' is set - if (userRequest === undefined || userRequest === null) { - throw new Error("Missing the required parameter 'userRequest' when calling postUsers"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = UserResponse; - return this.apiClient.callApi( - '/users', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the putUsers operation. - * @callback module:api/UserApi~putUsersCallback - * @param {String} error Error message, if any. - * @param {module:model/UserResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Update existing users - * Update existing users - * @param {module:model/UserRequest} userRequest An array of User records - * @param {module:api/UserApi~putUsersCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/UserResponse} - */ - putUsers(userRequest, callback) { - let postBody = userRequest; - // verify the required parameter 'userRequest' is set - if (userRequest === undefined || userRequest === null) { - throw new Error("Missing the required parameter 'userRequest' when calling putUsers"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = UserResponse; - return this.apiClient.callApi( - '/users', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/devops/src/index.js b/client/devops/src/index.js deleted file mode 100644 index b920e0f..0000000 --- a/client/devops/src/index.js +++ /dev/null @@ -1,286 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Address from './model/Address'; -import Cluster from './model/Cluster'; -import ClusterRequest from './model/ClusterRequest'; -import ClusterResponse from './model/ClusterResponse'; -import Database from './model/Database'; -import DatabaseRequest from './model/DatabaseRequest'; -import DatabaseResponse from './model/DatabaseResponse'; -import DeleteResponse from './model/DeleteResponse'; -import Error from './model/Error'; -import Message from './model/Message'; -import Pagination from './model/Pagination'; -import RequestMeta from './model/RequestMeta'; -import ResponseMeta from './model/ResponseMeta'; -import Role from './model/Role'; -import RoleRequest from './model/RoleRequest'; -import RoleResponse from './model/RoleResponse'; -import Template from './model/Template'; -import TemplateRequest from './model/TemplateRequest'; -import TemplateResponse from './model/TemplateResponse'; -import Tenant from './model/Tenant'; -import TenantRequest from './model/TenantRequest'; -import TenantResponse from './model/TenantResponse'; -import TenantUser from './model/TenantUser'; -import User from './model/User'; -import UserRequest from './model/UserRequest'; -import UserResponse from './model/UserResponse'; -import UserRole from './model/UserRole'; -import ClusterApi from './api/ClusterApi'; -import CorsApi from './api/CorsApi'; -import DatabaseApi from './api/DatabaseApi'; -import TemplateApi from './api/TemplateApi'; -import TenantApi from './api/TenantApi'; -import UserApi from './api/UserApi'; - - -/** -* System_Operations_Microservice.
-* 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 Devops = require('index'); // See note below*.
-* var xxxSvc = new Devops.XxxApi(); // Allocate the API class we're going to use.
-* var yyyModel = new Devops.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 Devops.XxxApi(); // Allocate the API class we're going to use.
-* var yyy = new Devops.Yyy(); // Construct a model instance.
-* yyyModel.someProperty = 'someValue';
-* ...
-* var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
-* ...
-* 
-*

-* @module index -* @version 0.0.2 -*/ -export { - /** - * The ApiClient constructor. - * @property {module:ApiClient} - */ - ApiClient, - - /** - * The Address model constructor. - * @property {module:model/Address} - */ - Address, - - /** - * The Cluster model constructor. - * @property {module:model/Cluster} - */ - Cluster, - - /** - * The ClusterRequest model constructor. - * @property {module:model/ClusterRequest} - */ - ClusterRequest, - - /** - * The ClusterResponse model constructor. - * @property {module:model/ClusterResponse} - */ - ClusterResponse, - - /** - * The Database model constructor. - * @property {module:model/Database} - */ - Database, - - /** - * The DatabaseRequest model constructor. - * @property {module:model/DatabaseRequest} - */ - DatabaseRequest, - - /** - * The DatabaseResponse model constructor. - * @property {module:model/DatabaseResponse} - */ - DatabaseResponse, - - /** - * The DeleteResponse model constructor. - * @property {module:model/DeleteResponse} - */ - DeleteResponse, - - /** - * The Error model constructor. - * @property {module:model/Error} - */ - Error, - - /** - * The Message model constructor. - * @property {module:model/Message} - */ - Message, - - /** - * The Pagination model constructor. - * @property {module:model/Pagination} - */ - Pagination, - - /** - * The RequestMeta model constructor. - * @property {module:model/RequestMeta} - */ - RequestMeta, - - /** - * The ResponseMeta model constructor. - * @property {module:model/ResponseMeta} - */ - ResponseMeta, - - /** - * The Role model constructor. - * @property {module:model/Role} - */ - Role, - - /** - * The RoleRequest model constructor. - * @property {module:model/RoleRequest} - */ - RoleRequest, - - /** - * The RoleResponse model constructor. - * @property {module:model/RoleResponse} - */ - RoleResponse, - - /** - * The Template model constructor. - * @property {module:model/Template} - */ - Template, - - /** - * The TemplateRequest model constructor. - * @property {module:model/TemplateRequest} - */ - TemplateRequest, - - /** - * The TemplateResponse model constructor. - * @property {module:model/TemplateResponse} - */ - TemplateResponse, - - /** - * The Tenant model constructor. - * @property {module:model/Tenant} - */ - Tenant, - - /** - * The TenantRequest model constructor. - * @property {module:model/TenantRequest} - */ - TenantRequest, - - /** - * The TenantResponse model constructor. - * @property {module:model/TenantResponse} - */ - TenantResponse, - - /** - * The TenantUser model constructor. - * @property {module:model/TenantUser} - */ - TenantUser, - - /** - * The User model constructor. - * @property {module:model/User} - */ - User, - - /** - * The UserRequest model constructor. - * @property {module:model/UserRequest} - */ - UserRequest, - - /** - * The UserResponse model constructor. - * @property {module:model/UserResponse} - */ - UserResponse, - - /** - * The UserRole model constructor. - * @property {module:model/UserRole} - */ - UserRole, - - /** - * The ClusterApi service constructor. - * @property {module:api/ClusterApi} - */ - ClusterApi, - - /** - * The CorsApi service constructor. - * @property {module:api/CorsApi} - */ - CorsApi, - - /** - * The DatabaseApi service constructor. - * @property {module:api/DatabaseApi} - */ - DatabaseApi, - - /** - * The TemplateApi service constructor. - * @property {module:api/TemplateApi} - */ - TemplateApi, - - /** - * The TenantApi service constructor. - * @property {module:api/TenantApi} - */ - TenantApi, - - /** - * The UserApi service constructor. - * @property {module:api/UserApi} - */ - UserApi -}; diff --git a/client/devops/src/model/Address.js b/client/devops/src/model/Address.js deleted file mode 100644 index 177801e..0000000 --- a/client/devops/src/model/Address.js +++ /dev/null @@ -1,126 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Address model module. - * @module model/Address - * @version 0.0.2 - */ -class Address { - /** - * Constructs a new Address. - * @alias module:model/Address - */ - constructor() { - - Address.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 Address 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/Address} obj Optional instance to populate. - * @return {module:model/Address} The populated Address instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Address(); - - if (data.hasOwnProperty('City')) { - obj['City'] = ApiClient.convertToType(data['City'], 'String'); - } - if (data.hasOwnProperty('Country')) { - obj['Country'] = ApiClient.convertToType(data['Country'], 'String'); - } - if (data.hasOwnProperty('CountryCode')) { - obj['CountryCode'] = ApiClient.convertToType(data['CountryCode'], 'String'); - } - if (data.hasOwnProperty('PostalCode')) { - obj['PostalCode'] = ApiClient.convertToType(data['PostalCode'], 'String'); - } - if (data.hasOwnProperty('State')) { - obj['State'] = ApiClient.convertToType(data['State'], 'String'); - } - if (data.hasOwnProperty('StateCode')) { - obj['StateCode'] = ApiClient.convertToType(data['StateCode'], 'String'); - } - if (data.hasOwnProperty('Street')) { - obj['Street'] = ApiClient.convertToType(data['Street'], 'String'); - } - } - return obj; - } - - -} - -/** - * City - * @member {String} City - */ -Address.prototype['City'] = undefined; - -/** - * Country full name - * @member {String} Country - */ -Address.prototype['Country'] = undefined; - -/** - * Country Code - * @member {String} CountryCode - */ -Address.prototype['CountryCode'] = undefined; - -/** - * Postal Code - * @member {String} PostalCode - */ -Address.prototype['PostalCode'] = undefined; - -/** - * State full name - * @member {String} State - */ -Address.prototype['State'] = undefined; - -/** - * State Code - * @member {String} StateCode - */ -Address.prototype['StateCode'] = undefined; - -/** - * Street number and name - * @member {String} Street - */ -Address.prototype['Street'] = undefined; - - - - - - -export default Address; - diff --git a/client/devops/src/model/Cluster.js b/client/devops/src/model/Cluster.js deleted file mode 100644 index e08dfd2..0000000 --- a/client/devops/src/model/Cluster.js +++ /dev/null @@ -1,216 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Cluster model module. - * @module model/Cluster - * @version 0.0.2 - */ -class Cluster { - /** - * Constructs a new Cluster. - * @alias module:model/Cluster - */ - constructor() { - - Cluster.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 Cluster 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/Cluster} obj Optional instance to populate. - * @return {module:model/Cluster} The populated Cluster instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Cluster(); - - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('Description')) { - obj['Description'] = ApiClient.convertToType(data['Description'], 'String'); - } - if (data.hasOwnProperty('Environment')) { - obj['Environment'] = ApiClient.convertToType(data['Environment'], 'String'); - } - if (data.hasOwnProperty('Gateway')) { - obj['Gateway'] = ApiClient.convertToType(data['Gateway'], 'String'); - } - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('IPAddress')) { - obj['IPAddress'] = ApiClient.convertToType(data['IPAddress'], 'String'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('Name')) { - obj['Name'] = ApiClient.convertToType(data['Name'], 'String'); - } - if (data.hasOwnProperty('OwnerID')) { - obj['OwnerID'] = ApiClient.convertToType(data['OwnerID'], 'String'); - } - if (data.hasOwnProperty('Ref')) { - obj['Ref'] = ApiClient.convertToType(data['Ref'], 'String'); - } - if (data.hasOwnProperty('Status')) { - obj['Status'] = ApiClient.convertToType(data['Status'], 'String'); - } - if (data.hasOwnProperty('Subnet')) { - obj['Subnet'] = ApiClient.convertToType(data['Subnet'], 'String'); - } - if (data.hasOwnProperty('Type')) { - obj['Type'] = ApiClient.convertToType(data['Type'], 'String'); - } - if (data.hasOwnProperty('TenantID')) { - obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String'); - } - if (data.hasOwnProperty('Zone')) { - obj['Zone'] = ApiClient.convertToType(data['Zone'], 'String'); - } - } - return obj; - } - - -} - -/** - * Created By - * @member {String} CreatedByID - */ -Cluster.prototype['CreatedByID'] = undefined; - -/** - * Created Date - * @member {String} CreatedDate - */ -Cluster.prototype['CreatedDate'] = undefined; - -/** - * Description - * @member {String} Description - */ -Cluster.prototype['Description'] = undefined; - -/** - * Environment - * @member {String} Environment - */ -Cluster.prototype['Environment'] = undefined; - -/** - * Gateway - * @member {String} Gateway - */ -Cluster.prototype['Gateway'] = undefined; - -/** - * Taxnexus Record Id - * @member {String} ID - */ -Cluster.prototype['ID'] = undefined; - -/** - * IP Address - * @member {String} IPAddress - */ -Cluster.prototype['IPAddress'] = undefined; - -/** - * Last Modified By - * @member {String} LastModifiedByID - */ -Cluster.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modified Date - * @member {String} LastModifiedDate - */ -Cluster.prototype['LastModifiedDate'] = undefined; - -/** - * Cluster Name - * @member {String} Name - */ -Cluster.prototype['Name'] = undefined; - -/** - * Owner - * @member {String} OwnerID - */ -Cluster.prototype['OwnerID'] = undefined; - -/** - * External Reference - * @member {String} Ref - */ -Cluster.prototype['Ref'] = undefined; - -/** - * Status - * @member {String} Status - */ -Cluster.prototype['Status'] = undefined; - -/** - * Subnet - * @member {String} Subnet - */ -Cluster.prototype['Subnet'] = undefined; - -/** - * Type - * @member {String} Type - */ -Cluster.prototype['Type'] = undefined; - -/** - * The ID of the tenant who owns this Database - * @member {String} TenantID - */ -Cluster.prototype['TenantID'] = undefined; - -/** - * Zone - * @member {String} Zone - */ -Cluster.prototype['Zone'] = undefined; - - - - - - -export default Cluster; - diff --git a/client/devops/src/model/ClusterRequest.js b/client/devops/src/model/ClusterRequest.js deleted file mode 100644 index 847d247..0000000 --- a/client/devops/src/model/ClusterRequest.js +++ /dev/null @@ -1,72 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Cluster from './Cluster'; - -/** - * The ClusterRequest model module. - * @module model/ClusterRequest - * @version 0.0.2 - */ -class ClusterRequest { - /** - * Constructs a new ClusterRequest. - * @alias module:model/ClusterRequest - */ - constructor() { - - ClusterRequest.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 ClusterRequest 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/ClusterRequest} obj Optional instance to populate. - * @return {module:model/ClusterRequest} The populated ClusterRequest instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new ClusterRequest(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Cluster]); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -ClusterRequest.prototype['Data'] = undefined; - - - - - - -export default ClusterRequest; - diff --git a/client/devops/src/model/ClusterResponse.js b/client/devops/src/model/ClusterResponse.js deleted file mode 100644 index 7cdd2d7..0000000 --- a/client/devops/src/model/ClusterResponse.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Cluster from './Cluster'; -import ResponseMeta from './ResponseMeta'; - -/** - * The ClusterResponse model module. - * @module model/ClusterResponse - * @version 0.0.2 - */ -class ClusterResponse { - /** - * Constructs a new ClusterResponse. - * An array of cluster objects - * @alias module:model/ClusterResponse - */ - constructor() { - - ClusterResponse.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 ClusterResponse 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/ClusterResponse} obj Optional instance to populate. - * @return {module:model/ClusterResponse} The populated ClusterResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new ClusterResponse(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Cluster]); - } - if (data.hasOwnProperty('Meta')) { - obj['Meta'] = ResponseMeta.constructFromObject(data['Meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -ClusterResponse.prototype['Data'] = undefined; - -/** - * @member {module:model/ResponseMeta} Meta - */ -ClusterResponse.prototype['Meta'] = undefined; - - - - - - -export default ClusterResponse; - diff --git a/client/devops/src/model/Database.js b/client/devops/src/model/Database.js deleted file mode 100644 index 9af8e25..0000000 --- a/client/devops/src/model/Database.js +++ /dev/null @@ -1,172 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Database model module. - * @module model/Database - * @version 0.0.2 - */ -class Database { - /** - * Constructs a new Database. - * A Database provisioned and owned by a Tenant - * @alias module:model/Database - */ - constructor() { - - Database.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 Database 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/Database} obj Optional instance to populate. - * @return {module:model/Database} The populated Database instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Database(); - - if (data.hasOwnProperty('Active')) { - obj['Active'] = ApiClient.convertToType(data['Active'], 'Boolean'); - } - if (data.hasOwnProperty('ClusterID')) { - obj['ClusterID'] = ApiClient.convertToType(data['ClusterID'], 'String'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('DSN')) { - obj['DSN'] = ApiClient.convertToType(data['DSN'], 'String'); - } - if (data.hasOwnProperty('DatabaseName')) { - obj['DatabaseName'] = ApiClient.convertToType(data['DatabaseName'], 'String'); - } - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('Status')) { - obj['Status'] = ApiClient.convertToType(data['Status'], 'String'); - } - if (data.hasOwnProperty('TenantID')) { - obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String'); - } - if (data.hasOwnProperty('Type')) { - obj['Type'] = ApiClient.convertToType(data['Type'], 'String'); - } - } - return obj; - } - - -} - -/** - * Is this database active? - * @member {Boolean} Active - */ -Database.prototype['Active'] = undefined; - -/** - * The ID of the Cluster in which this database is deployed - * @member {String} ClusterID - */ -Database.prototype['ClusterID'] = undefined; - -/** - * Created By - * @member {String} CreatedByID - */ -Database.prototype['CreatedByID'] = undefined; - -/** - * Created Date - * @member {String} CreatedDate - */ -Database.prototype['CreatedDate'] = undefined; - -/** - * Database connection string - * @member {String} DSN - */ -Database.prototype['DSN'] = undefined; - -/** - * The name of the physical database in the cluster - * @member {String} DatabaseName - */ -Database.prototype['DatabaseName'] = undefined; - -/** - * Record Id - * @member {String} ID - */ -Database.prototype['ID'] = undefined; - -/** - * Last Modified By - * @member {String} LastModifiedByID - */ -Database.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modifed Date - * @member {String} LastModifiedDate - */ -Database.prototype['LastModifiedDate'] = undefined; - -/** - * The current status of this Tenant - * @member {String} Status - */ -Database.prototype['Status'] = undefined; - -/** - * The ID of the tenant who owns this Database - * @member {String} TenantID - */ -Database.prototype['TenantID'] = undefined; - -/** - * The type of Database (mysql, etc) - * @member {String} Type - */ -Database.prototype['Type'] = undefined; - - - - - - -export default Database; - diff --git a/client/devops/src/model/DatabaseRequest.js b/client/devops/src/model/DatabaseRequest.js deleted file mode 100644 index 5d79f98..0000000 --- a/client/devops/src/model/DatabaseRequest.js +++ /dev/null @@ -1,73 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Database from './Database'; - -/** - * The DatabaseRequest model module. - * @module model/DatabaseRequest - * @version 0.0.2 - */ -class DatabaseRequest { - /** - * Constructs a new DatabaseRequest. - * An array of Database objects - * @alias module:model/DatabaseRequest - */ - constructor() { - - DatabaseRequest.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 DatabaseRequest 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/DatabaseRequest} obj Optional instance to populate. - * @return {module:model/DatabaseRequest} The populated DatabaseRequest instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new DatabaseRequest(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Database]); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -DatabaseRequest.prototype['Data'] = undefined; - - - - - - -export default DatabaseRequest; - diff --git a/client/devops/src/model/DatabaseResponse.js b/client/devops/src/model/DatabaseResponse.js deleted file mode 100644 index 6d481d4..0000000 --- a/client/devops/src/model/DatabaseResponse.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Database from './Database'; -import ResponseMeta from './ResponseMeta'; - -/** - * The DatabaseResponse model module. - * @module model/DatabaseResponse - * @version 0.0.2 - */ -class DatabaseResponse { - /** - * Constructs a new DatabaseResponse. - * An array of Database objects - * @alias module:model/DatabaseResponse - */ - constructor() { - - DatabaseResponse.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 DatabaseResponse 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/DatabaseResponse} obj Optional instance to populate. - * @return {module:model/DatabaseResponse} The populated DatabaseResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new DatabaseResponse(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Database]); - } - if (data.hasOwnProperty('Meta')) { - obj['Meta'] = ResponseMeta.constructFromObject(data['Meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -DatabaseResponse.prototype['Data'] = undefined; - -/** - * @member {module:model/ResponseMeta} Meta - */ -DatabaseResponse.prototype['Meta'] = undefined; - - - - - - -export default DatabaseResponse; - diff --git a/client/devops/src/model/DeleteResponse.js b/client/devops/src/model/DeleteResponse.js deleted file mode 100644 index 52747b0..0000000 --- a/client/devops/src/model/DeleteResponse.js +++ /dev/null @@ -1,81 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Message from './Message'; -import ResponseMeta from './ResponseMeta'; - -/** - * The DeleteResponse model module. - * @module model/DeleteResponse - * @version 0.0.2 - */ -class DeleteResponse { - /** - * Constructs a new DeleteResponse. - * @alias module:model/DeleteResponse - */ - constructor() { - - DeleteResponse.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 DeleteResponse 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/DeleteResponse} obj Optional instance to populate. - * @return {module:model/DeleteResponse} The populated DeleteResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new DeleteResponse(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Message]); - } - if (data.hasOwnProperty('Meta')) { - obj['Meta'] = ResponseMeta.constructFromObject(data['Meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -DeleteResponse.prototype['Data'] = undefined; - -/** - * @member {module:model/ResponseMeta} Meta - */ -DeleteResponse.prototype['Meta'] = undefined; - - - - - - -export default DeleteResponse; - diff --git a/client/devops/src/model/Error.js b/client/devops/src/model/Error.js deleted file mode 100644 index fc28ef9..0000000 --- a/client/devops/src/model/Error.js +++ /dev/null @@ -1,87 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Error model module. - * @module model/Error - * @version 0.0.2 - */ -class Error { - /** - * Constructs a new Error. - * @alias module:model/Error - */ - constructor() { - - Error.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 Error 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/Error} obj Optional instance to populate. - * @return {module:model/Error} The populated Error instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Error(); - - if (data.hasOwnProperty('code')) { - obj['code'] = ApiClient.convertToType(data['code'], 'Number'); - } - if (data.hasOwnProperty('fields')) { - obj['fields'] = ApiClient.convertToType(data['fields'], 'String'); - } - if (data.hasOwnProperty('message')) { - obj['message'] = ApiClient.convertToType(data['message'], 'String'); - } - } - return obj; - } - - -} - -/** - * @member {Number} code - */ -Error.prototype['code'] = undefined; - -/** - * @member {String} fields - */ -Error.prototype['fields'] = undefined; - -/** - * @member {String} message - */ -Error.prototype['message'] = undefined; - - - - - - -export default Error; - diff --git a/client/devops/src/model/Message.js b/client/devops/src/model/Message.js deleted file mode 100644 index 96ea07a..0000000 --- a/client/devops/src/model/Message.js +++ /dev/null @@ -1,87 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Message model module. - * @module model/Message - * @version 0.0.2 - */ -class Message { - /** - * Constructs a new Message. - * @alias module:model/Message - */ - constructor() { - - Message.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 Message 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/Message} obj Optional instance to populate. - * @return {module:model/Message} The populated Message instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Message(); - - if (data.hasOwnProperty('Message')) { - obj['Message'] = ApiClient.convertToType(data['Message'], 'String'); - } - if (data.hasOwnProperty('Ref')) { - obj['Ref'] = ApiClient.convertToType(data['Ref'], 'String'); - } - if (data.hasOwnProperty('Status')) { - obj['Status'] = ApiClient.convertToType(data['Status'], 'Number'); - } - } - return obj; - } - - -} - -/** - * @member {String} Message - */ -Message.prototype['Message'] = undefined; - -/** - * @member {String} Ref - */ -Message.prototype['Ref'] = undefined; - -/** - * @member {Number} Status - */ -Message.prototype['Status'] = undefined; - - - - - - -export default Message; - diff --git a/client/devops/src/model/Pagination.js b/client/devops/src/model/Pagination.js deleted file mode 100644 index 09074ff..0000000 --- a/client/devops/src/model/Pagination.js +++ /dev/null @@ -1,95 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Pagination model module. - * @module model/Pagination - * @version 0.0.2 - */ -class Pagination { - /** - * Constructs a new Pagination. - * @alias module:model/Pagination - */ - constructor() { - - Pagination.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 Pagination 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/Pagination} obj Optional instance to populate. - * @return {module:model/Pagination} The populated Pagination instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Pagination(); - - if (data.hasOwnProperty('Limit')) { - obj['Limit'] = ApiClient.convertToType(data['Limit'], 'Number'); - } - if (data.hasOwnProperty('POffset')) { - obj['POffset'] = ApiClient.convertToType(data['POffset'], 'Number'); - } - if (data.hasOwnProperty('PageSize')) { - obj['PageSize'] = ApiClient.convertToType(data['PageSize'], 'Number'); - } - if (data.hasOwnProperty('SetSize')) { - obj['SetSize'] = ApiClient.convertToType(data['SetSize'], 'Number'); - } - } - return obj; - } - - -} - -/** - * @member {Number} Limit - */ -Pagination.prototype['Limit'] = undefined; - -/** - * @member {Number} POffset - */ -Pagination.prototype['POffset'] = undefined; - -/** - * @member {Number} PageSize - */ -Pagination.prototype['PageSize'] = undefined; - -/** - * @member {Number} SetSize - */ -Pagination.prototype['SetSize'] = undefined; - - - - - - -export default Pagination; - diff --git a/client/devops/src/model/RequestMeta.js b/client/devops/src/model/RequestMeta.js deleted file mode 100644 index 9e8bee0..0000000 --- a/client/devops/src/model/RequestMeta.js +++ /dev/null @@ -1,74 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 RequestMeta model module. - * @module model/RequestMeta - * @version 0.0.2 - */ -class RequestMeta { - /** - * Constructs a new RequestMeta. - * @alias module:model/RequestMeta - * @param taxnexusAccount {String} Taxnexus Account Number of the Reseller or OEM - */ - constructor(taxnexusAccount) { - - RequestMeta.initialize(this, taxnexusAccount); - } - - /** - * 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, taxnexusAccount) { - obj['TaxnexusAccount'] = taxnexusAccount; - } - - /** - * Constructs a RequestMeta 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/RequestMeta} obj Optional instance to populate. - * @return {module:model/RequestMeta} The populated RequestMeta instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new RequestMeta(); - - if (data.hasOwnProperty('TaxnexusAccount')) { - obj['TaxnexusAccount'] = ApiClient.convertToType(data['TaxnexusAccount'], 'String'); - } - } - return obj; - } - - -} - -/** - * Taxnexus Account Number of the Reseller or OEM - * @member {String} TaxnexusAccount - */ -RequestMeta.prototype['TaxnexusAccount'] = undefined; - - - - - - -export default RequestMeta; - diff --git a/client/devops/src/model/ResponseMeta.js b/client/devops/src/model/ResponseMeta.js deleted file mode 100644 index 07c2469..0000000 --- a/client/devops/src/model/ResponseMeta.js +++ /dev/null @@ -1,171 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Pagination from './Pagination'; - -/** - * The ResponseMeta model module. - * @module model/ResponseMeta - * @version 0.0.2 - */ -class ResponseMeta { - /** - * Constructs a new ResponseMeta. - * @alias module:model/ResponseMeta - */ - constructor() { - - ResponseMeta.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 ResponseMeta 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/ResponseMeta} obj Optional instance to populate. - * @return {module:model/ResponseMeta} The populated ResponseMeta instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new ResponseMeta(); - - if (data.hasOwnProperty('Contact')) { - obj['Contact'] = ApiClient.convertToType(data['Contact'], 'String'); - } - if (data.hasOwnProperty('Copyright')) { - obj['Copyright'] = ApiClient.convertToType(data['Copyright'], 'String'); - } - if (data.hasOwnProperty('License')) { - obj['License'] = ApiClient.convertToType(data['License'], 'String'); - } - if (data.hasOwnProperty('OperationID')) { - obj['OperationID'] = ApiClient.convertToType(data['OperationID'], 'String'); - } - if (data.hasOwnProperty('Pagination')) { - obj['Pagination'] = Pagination.constructFromObject(data['Pagination']); - } - if (data.hasOwnProperty('RequestIP')) { - obj['RequestIP'] = ApiClient.convertToType(data['RequestIP'], 'String'); - } - if (data.hasOwnProperty('RequestType')) { - obj['RequestType'] = ApiClient.convertToType(data['RequestType'], 'String'); - } - if (data.hasOwnProperty('RequestURL')) { - obj['RequestURL'] = ApiClient.convertToType(data['RequestURL'], 'String'); - } - if (data.hasOwnProperty('ServerInfo')) { - obj['ServerInfo'] = ApiClient.convertToType(data['ServerInfo'], 'String'); - } - if (data.hasOwnProperty('ServerResponseTime')) { - obj['ServerResponseTime'] = ApiClient.convertToType(data['ServerResponseTime'], 'String'); - } - if (data.hasOwnProperty('ServerTimestamp')) { - obj['ServerTimestamp'] = ApiClient.convertToType(data['ServerTimestamp'], 'String'); - } - if (data.hasOwnProperty('TaxnexusAccount')) { - obj['TaxnexusAccount'] = ApiClient.convertToType(data['TaxnexusAccount'], 'String'); - } - } - return obj; - } - - -} - -/** - * Microservice Contact Info - * @member {String} Contact - */ -ResponseMeta.prototype['Contact'] = undefined; - -/** - * Copyright Info - * @member {String} Copyright - */ -ResponseMeta.prototype['Copyright'] = undefined; - -/** - * License Information and Restrictions - * @member {String} License - */ -ResponseMeta.prototype['License'] = undefined; - -/** - * Operation ID - * @member {String} OperationID - */ -ResponseMeta.prototype['OperationID'] = undefined; - -/** - * @member {module:model/Pagination} Pagination - */ -ResponseMeta.prototype['Pagination'] = undefined; - -/** - * Request IP Address - * @member {String} RequestIP - */ -ResponseMeta.prototype['RequestIP'] = undefined; - -/** - * Request Type - * @member {String} RequestType - */ -ResponseMeta.prototype['RequestType'] = undefined; - -/** - * Request URL - * @member {String} RequestURL - */ -ResponseMeta.prototype['RequestURL'] = undefined; - -/** - * Data Server Info - * @member {String} ServerInfo - */ -ResponseMeta.prototype['ServerInfo'] = undefined; - -/** - * Data Server Response Time (ms) - * @member {String} ServerResponseTime - */ -ResponseMeta.prototype['ServerResponseTime'] = undefined; - -/** - * Backend Server Timestamp - * @member {String} ServerTimestamp - */ -ResponseMeta.prototype['ServerTimestamp'] = undefined; - -/** - * Taxnexus Account Number used for recording transactions - * @member {String} TaxnexusAccount - */ -ResponseMeta.prototype['TaxnexusAccount'] = undefined; - - - - - - -export default ResponseMeta; - diff --git a/client/devops/src/model/Role.js b/client/devops/src/model/Role.js deleted file mode 100644 index 21027a5..0000000 --- a/client/devops/src/model/Role.js +++ /dev/null @@ -1,145 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Role model module. - * @module model/Role - * @version 0.0.2 - */ -class Role { - /** - * Constructs a new Role. - * A functional role within a Tenant - * @alias module:model/Role - */ - constructor() { - - Role.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 Role 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/Role} obj Optional instance to populate. - * @return {module:model/Role} The populated Role instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Role(); - - if (data.hasOwnProperty('Auth0RoleID')) { - obj['Auth0RoleID'] = ApiClient.convertToType(data['Auth0RoleID'], 'String'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('Description')) { - obj['Description'] = ApiClient.convertToType(data['Description'], 'String'); - } - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('RoleName')) { - obj['RoleName'] = ApiClient.convertToType(data['RoleName'], 'String'); - } - if (data.hasOwnProperty('TenantID')) { - obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String'); - } - } - return obj; - } - - -} - -/** - * The corresponding Auth0 Role - * @member {String} Auth0RoleID - */ -Role.prototype['Auth0RoleID'] = undefined; - -/** - * Created By - * @member {String} CreatedByID - */ -Role.prototype['CreatedByID'] = undefined; - -/** - * Created Date - * @member {String} CreatedDate - */ -Role.prototype['CreatedDate'] = undefined; - -/** - * Role Description - * @member {String} Description - */ -Role.prototype['Description'] = undefined; - -/** - * Record Id - * @member {String} ID - */ -Role.prototype['ID'] = undefined; - -/** - * Last Modified By - * @member {String} LastModifiedByID - */ -Role.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modifed Date - * @member {String} LastModifiedDate - */ -Role.prototype['LastModifiedDate'] = undefined; - -/** - * The name of this role - * @member {String} RoleName - */ -Role.prototype['RoleName'] = undefined; - -/** - * The ID of the Tenant that owns this Role - * @member {String} TenantID - */ -Role.prototype['TenantID'] = undefined; - - - - - - -export default Role; - diff --git a/client/devops/src/model/RoleRequest.js b/client/devops/src/model/RoleRequest.js deleted file mode 100644 index 21f6ca1..0000000 --- a/client/devops/src/model/RoleRequest.js +++ /dev/null @@ -1,73 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Role from './Role'; - -/** - * The RoleRequest model module. - * @module model/RoleRequest - * @version 0.0.2 - */ -class RoleRequest { - /** - * Constructs a new RoleRequest. - * An array of Role objects - * @alias module:model/RoleRequest - */ - constructor() { - - RoleRequest.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 RoleRequest 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/RoleRequest} obj Optional instance to populate. - * @return {module:model/RoleRequest} The populated RoleRequest instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new RoleRequest(); - - if (data.hasOwnProperty('Date')) { - obj['Date'] = ApiClient.convertToType(data['Date'], [Role]); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Date - */ -RoleRequest.prototype['Date'] = undefined; - - - - - - -export default RoleRequest; - diff --git a/client/devops/src/model/RoleResponse.js b/client/devops/src/model/RoleResponse.js deleted file mode 100644 index 09b082a..0000000 --- a/client/devops/src/model/RoleResponse.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 ResponseMeta from './ResponseMeta'; -import Role from './Role'; - -/** - * The RoleResponse model module. - * @module model/RoleResponse - * @version 0.0.2 - */ -class RoleResponse { - /** - * Constructs a new RoleResponse. - * An array of Role objects - * @alias module:model/RoleResponse - */ - constructor() { - - RoleResponse.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 RoleResponse 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/RoleResponse} obj Optional instance to populate. - * @return {module:model/RoleResponse} The populated RoleResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new RoleResponse(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Role]); - } - if (data.hasOwnProperty('Meta')) { - obj['Meta'] = ResponseMeta.constructFromObject(data['Meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -RoleResponse.prototype['Data'] = undefined; - -/** - * @member {module:model/ResponseMeta} Meta - */ -RoleResponse.prototype['Meta'] = undefined; - - - - - - -export default RoleResponse; - diff --git a/client/devops/src/model/Template.js b/client/devops/src/model/Template.js deleted file mode 100644 index 251b301..0000000 --- a/client/devops/src/model/Template.js +++ /dev/null @@ -1,203 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Template model module. - * @module model/Template - * @version 0.0.2 - */ -class Template { - /** - * Constructs a new Template. - * @alias module:model/Template - */ - constructor() { - - Template.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 Template 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/Template} obj Optional instance to populate. - * @return {module:model/Template} The populated Template instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Template(); - - if (data.hasOwnProperty('CompanyID')) { - obj['CompanyID'] = ApiClient.convertToType(data['CompanyID'], 'String'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('Description')) { - obj['Description'] = ApiClient.convertToType(data['Description'], 'String'); - } - if (data.hasOwnProperty('HTML')) { - obj['HTML'] = ApiClient.convertToType(data['HTML'], 'Blob'); - } - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('IsActive')) { - obj['IsActive'] = ApiClient.convertToType(data['IsActive'], 'Boolean'); - } - if (data.hasOwnProperty('IsMaster')) { - obj['IsMaster'] = ApiClient.convertToType(data['IsMaster'], 'Boolean'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('Name')) { - obj['Name'] = ApiClient.convertToType(data['Name'], 'String'); - } - if (data.hasOwnProperty('ObjectType')) { - obj['ObjectType'] = ApiClient.convertToType(data['ObjectType'], 'String'); - } - if (data.hasOwnProperty('RecordTypeName')) { - obj['RecordTypeName'] = ApiClient.convertToType(data['RecordTypeName'], 'String'); - } - if (data.hasOwnProperty('TenantID')) { - obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String'); - } - if (data.hasOwnProperty('Type')) { - obj['Type'] = ApiClient.convertToType(data['Type'], 'String'); - } - if (data.hasOwnProperty('URL')) { - obj['URL'] = ApiClient.convertToType(data['URL'], 'String'); - } - } - return obj; - } - - -} - -/** - * Company - * @member {String} CompanyID - */ -Template.prototype['CompanyID'] = undefined; - -/** - * @member {String} CreatedByID - */ -Template.prototype['CreatedByID'] = undefined; - -/** - * @member {String} CreatedDate - */ -Template.prototype['CreatedDate'] = undefined; - -/** - * Description - * @member {String} Description - */ -Template.prototype['Description'] = undefined; - -/** - * HTML Body - * @member {Blob} HTML - */ -Template.prototype['HTML'] = undefined; - -/** - * Taxnexus Record Id - * @member {String} ID - */ -Template.prototype['ID'] = undefined; - -/** - * Active? - * @member {Boolean} IsActive - */ -Template.prototype['IsActive'] = undefined; - -/** - * Master Template? - * @member {Boolean} IsMaster - */ -Template.prototype['IsMaster'] = undefined; - -/** - * @member {String} LastModifiedByID - */ -Template.prototype['LastModifiedByID'] = undefined; - -/** - * @member {String} LastModifiedDate - */ -Template.prototype['LastModifiedDate'] = undefined; - -/** - * Template Name - * @member {String} Name - */ -Template.prototype['Name'] = undefined; - -/** - * Object - * @member {String} ObjectType - */ -Template.prototype['ObjectType'] = undefined; - -/** - * Record Type Name - * @member {String} RecordTypeName - */ -Template.prototype['RecordTypeName'] = undefined; - -/** - * Tenant that owns this object instance - * @member {String} TenantID - */ -Template.prototype['TenantID'] = undefined; - -/** - * Type - * @member {String} Type - */ -Template.prototype['Type'] = undefined; - -/** - * URL - * @member {String} URL - */ -Template.prototype['URL'] = undefined; - - - - - - -export default Template; - diff --git a/client/devops/src/model/TemplateRequest.js b/client/devops/src/model/TemplateRequest.js deleted file mode 100644 index e72c368..0000000 --- a/client/devops/src/model/TemplateRequest.js +++ /dev/null @@ -1,73 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Template from './Template'; - -/** - * The TemplateRequest model module. - * @module model/TemplateRequest - * @version 0.0.2 - */ -class TemplateRequest { - /** - * Constructs a new TemplateRequest. - * An array of Templates - * @alias module:model/TemplateRequest - */ - constructor() { - - TemplateRequest.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 TemplateRequest 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/TemplateRequest} obj Optional instance to populate. - * @return {module:model/TemplateRequest} The populated TemplateRequest instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new TemplateRequest(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Template]); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -TemplateRequest.prototype['Data'] = undefined; - - - - - - -export default TemplateRequest; - diff --git a/client/devops/src/model/TemplateResponse.js b/client/devops/src/model/TemplateResponse.js deleted file mode 100644 index c7c3a6e..0000000 --- a/client/devops/src/model/TemplateResponse.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 ResponseMeta from './ResponseMeta'; -import Template from './Template'; - -/** - * The TemplateResponse model module. - * @module model/TemplateResponse - * @version 0.0.2 - */ -class TemplateResponse { - /** - * Constructs a new TemplateResponse. - * An array of Templates - * @alias module:model/TemplateResponse - */ - constructor() { - - TemplateResponse.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 TemplateResponse 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/TemplateResponse} obj Optional instance to populate. - * @return {module:model/TemplateResponse} The populated TemplateResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new TemplateResponse(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Template]); - } - if (data.hasOwnProperty('Meta')) { - obj['Meta'] = ResponseMeta.constructFromObject(data['Meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -TemplateResponse.prototype['Data'] = undefined; - -/** - * @member {module:model/ResponseMeta} Meta - */ -TemplateResponse.prototype['Meta'] = undefined; - - - - - - -export default TemplateResponse; - diff --git a/client/devops/src/model/Tenant.js b/client/devops/src/model/Tenant.js deleted file mode 100644 index 05d3854..0000000 --- a/client/devops/src/model/Tenant.js +++ /dev/null @@ -1,190 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Database from './Database'; -import Role from './Role'; -import TenantUser from './TenantUser'; - -/** - * The Tenant model module. - * @module model/Tenant - * @version 0.0.2 - */ -class Tenant { - /** - * Constructs a new Tenant. - * Taxnexus Account Tenant - * @alias module:model/Tenant - */ - constructor() { - - Tenant.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 Tenant 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/Tenant} obj Optional instance to populate. - * @return {module:model/Tenant} The populated Tenant instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Tenant(); - - if (data.hasOwnProperty('AccountID')) { - obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String'); - } - if (data.hasOwnProperty('Active')) { - obj['Active'] = ApiClient.convertToType(data['Active'], 'Boolean'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('Databases')) { - obj['Databases'] = ApiClient.convertToType(data['Databases'], [Database]); - } - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('Roles')) { - obj['Roles'] = ApiClient.convertToType(data['Roles'], [Role]); - } - if (data.hasOwnProperty('Status')) { - obj['Status'] = ApiClient.convertToType(data['Status'], 'String'); - } - if (data.hasOwnProperty('TenantName')) { - obj['TenantName'] = ApiClient.convertToType(data['TenantName'], 'String'); - } - if (data.hasOwnProperty('TenantUsers')) { - obj['TenantUsers'] = ApiClient.convertToType(data['TenantUsers'], [TenantUser]); - } - if (data.hasOwnProperty('Type')) { - obj['Type'] = ApiClient.convertToType(data['Type'], 'String'); - } - if (data.hasOwnProperty('Version')) { - obj['Version'] = ApiClient.convertToType(data['Version'], 'String'); - } - } - return obj; - } - - -} - -/** - * The Account that owns this Tenant - * @member {String} AccountID - */ -Tenant.prototype['AccountID'] = undefined; - -/** - * Is this Tenant currently active? - * @member {Boolean} Active - */ -Tenant.prototype['Active'] = undefined; - -/** - * Created By - * @member {String} CreatedByID - */ -Tenant.prototype['CreatedByID'] = undefined; - -/** - * Created Date - * @member {String} CreatedDate - */ -Tenant.prototype['CreatedDate'] = undefined; - -/** - * @member {Array.} Databases - */ -Tenant.prototype['Databases'] = undefined; - -/** - * Record Id - * @member {String} ID - */ -Tenant.prototype['ID'] = undefined; - -/** - * Last Modified By - * @member {String} LastModifiedByID - */ -Tenant.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modifed Date - * @member {String} LastModifiedDate - */ -Tenant.prototype['LastModifiedDate'] = undefined; - -/** - * @member {Array.} Roles - */ -Tenant.prototype['Roles'] = undefined; - -/** - * The current status of this Tenant - * @member {String} Status - */ -Tenant.prototype['Status'] = undefined; - -/** - * Name of the Tenant Resource - * @member {String} TenantName - */ -Tenant.prototype['TenantName'] = undefined; - -/** - * @member {Array.} TenantUsers - */ -Tenant.prototype['TenantUsers'] = undefined; - -/** - * The type of Tenant - * @member {String} Type - */ -Tenant.prototype['Type'] = undefined; - -/** - * The version number of the Tenant Onboarding system used to create this tenant - * @member {String} Version - */ -Tenant.prototype['Version'] = undefined; - - - - - - -export default Tenant; - diff --git a/client/devops/src/model/TenantRequest.js b/client/devops/src/model/TenantRequest.js deleted file mode 100644 index 650e53b..0000000 --- a/client/devops/src/model/TenantRequest.js +++ /dev/null @@ -1,73 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Tenant from './Tenant'; - -/** - * The TenantRequest model module. - * @module model/TenantRequest - * @version 0.0.2 - */ -class TenantRequest { - /** - * Constructs a new TenantRequest. - * An array of Tenant objects - * @alias module:model/TenantRequest - */ - constructor() { - - TenantRequest.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 TenantRequest 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/TenantRequest} obj Optional instance to populate. - * @return {module:model/TenantRequest} The populated TenantRequest instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new TenantRequest(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Tenant]); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -TenantRequest.prototype['Data'] = undefined; - - - - - - -export default TenantRequest; - diff --git a/client/devops/src/model/TenantResponse.js b/client/devops/src/model/TenantResponse.js deleted file mode 100644 index db270a7..0000000 --- a/client/devops/src/model/TenantResponse.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 ResponseMeta from './ResponseMeta'; -import Tenant from './Tenant'; - -/** - * The TenantResponse model module. - * @module model/TenantResponse - * @version 0.0.2 - */ -class TenantResponse { - /** - * Constructs a new TenantResponse. - * An array of Tenant objects - * @alias module:model/TenantResponse - */ - constructor() { - - TenantResponse.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 TenantResponse 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/TenantResponse} obj Optional instance to populate. - * @return {module:model/TenantResponse} The populated TenantResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new TenantResponse(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Tenant]); - } - if (data.hasOwnProperty('Meta')) { - obj['Meta'] = ResponseMeta.constructFromObject(data['Meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -TenantResponse.prototype['Data'] = undefined; - -/** - * @member {module:model/ResponseMeta} Meta - */ -TenantResponse.prototype['Meta'] = undefined; - - - - - - -export default TenantResponse; - diff --git a/client/devops/src/model/TenantUser.js b/client/devops/src/model/TenantUser.js deleted file mode 100644 index 5505b12..0000000 --- a/client/devops/src/model/TenantUser.js +++ /dev/null @@ -1,208 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 TenantUser model module. - * @module model/TenantUser - * @version 0.0.2 - */ -class TenantUser { - /** - * Constructs a new TenantUser. - * Relationship object that connects users to a tenant - * @alias module:model/TenantUser - */ - constructor() { - - TenantUser.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 TenantUser 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/TenantUser} obj Optional instance to populate. - * @return {module:model/TenantUser} The populated TenantUser instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new TenantUser(); - - if (data.hasOwnProperty('AccessLevel')) { - obj['AccessLevel'] = ApiClient.convertToType(data['AccessLevel'], 'String'); - } - if (data.hasOwnProperty('AccountID')) { - obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String'); - } - if (data.hasOwnProperty('Auth0UserID')) { - obj['Auth0UserID'] = ApiClient.convertToType(data['Auth0UserID'], 'String'); - } - if (data.hasOwnProperty('CompanyName')) { - obj['CompanyName'] = ApiClient.convertToType(data['CompanyName'], 'String'); - } - if (data.hasOwnProperty('ContactID')) { - obj['ContactID'] = ApiClient.convertToType(data['ContactID'], 'String'); - } - if (data.hasOwnProperty('TaxnexusAccount')) { - obj['TaxnexusAccount'] = ApiClient.convertToType(data['TaxnexusAccount'], 'String'); - } - if (data.hasOwnProperty('TenantActive')) { - obj['TenantActive'] = ApiClient.convertToType(data['TenantActive'], 'Boolean'); - } - if (data.hasOwnProperty('TenantID')) { - obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String'); - } - if (data.hasOwnProperty('TenantName')) { - obj['TenantName'] = ApiClient.convertToType(data['TenantName'], 'String'); - } - if (data.hasOwnProperty('TenantStatus')) { - obj['TenantStatus'] = ApiClient.convertToType(data['TenantStatus'], 'String'); - } - if (data.hasOwnProperty('TenantType')) { - obj['TenantType'] = ApiClient.convertToType(data['TenantType'], 'String'); - } - if (data.hasOwnProperty('TenantVersion')) { - obj['TenantVersion'] = ApiClient.convertToType(data['TenantVersion'], 'String'); - } - if (data.hasOwnProperty('UserEmail')) { - obj['UserEmail'] = ApiClient.convertToType(data['UserEmail'], 'String'); - } - if (data.hasOwnProperty('UserFullName')) { - obj['UserFullName'] = ApiClient.convertToType(data['UserFullName'], 'String'); - } - if (data.hasOwnProperty('UserID')) { - obj['UserID'] = ApiClient.convertToType(data['UserID'], 'String'); - } - if (data.hasOwnProperty('Username')) { - obj['Username'] = ApiClient.convertToType(data['Username'], 'String'); - } - } - return obj; - } - - -} - -/** - * The makeTenantUser access level for this User - * @member {String} AccessLevel - */ -TenantUser.prototype['AccessLevel'] = undefined; - -/** - * Account ID - * @member {String} AccountID - */ -TenantUser.prototype['AccountID'] = undefined; - -/** - * Auth0 User ID - * @member {String} Auth0UserID - */ -TenantUser.prototype['Auth0UserID'] = undefined; - -/** - * Account Name - * @member {String} CompanyName - */ -TenantUser.prototype['CompanyName'] = undefined; - -/** - * Contact ID - * @member {String} ContactID - */ -TenantUser.prototype['ContactID'] = undefined; - -/** - * Taxnexus Account - * @member {String} TaxnexusAccount - */ -TenantUser.prototype['TaxnexusAccount'] = undefined; - -/** - * Tenant active? - * @member {Boolean} TenantActive - */ -TenantUser.prototype['TenantActive'] = undefined; - -/** - * The Tenant ID - * @member {String} TenantID - */ -TenantUser.prototype['TenantID'] = undefined; - -/** - * Tenant Name - * @member {String} TenantName - */ -TenantUser.prototype['TenantName'] = undefined; - -/** - * Tenant Status - * @member {String} TenantStatus - */ -TenantUser.prototype['TenantStatus'] = undefined; - -/** - * Tenant type - * @member {String} TenantType - */ -TenantUser.prototype['TenantType'] = undefined; - -/** - * Tenant Version - * @member {String} TenantVersion - */ -TenantUser.prototype['TenantVersion'] = undefined; - -/** - * User Email Address - * @member {String} UserEmail - */ -TenantUser.prototype['UserEmail'] = undefined; - -/** - * User Full Name - * @member {String} UserFullName - */ -TenantUser.prototype['UserFullName'] = undefined; - -/** - * The User ID - * @member {String} UserID - */ -TenantUser.prototype['UserID'] = undefined; - -/** - * Username - * @member {String} Username - */ -TenantUser.prototype['Username'] = undefined; - - - - - - -export default TenantUser; - diff --git a/client/devops/src/model/User.js b/client/devops/src/model/User.js deleted file mode 100644 index fa45a6f..0000000 --- a/client/devops/src/model/User.js +++ /dev/null @@ -1,584 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Address from './Address'; -import TenantUser from './TenantUser'; -import UserRole from './UserRole'; - -/** - * The User model module. - * @module model/User - * @version 0.0.2 - */ -class User { - /** - * Constructs a new User. - * @alias module:model/User - */ - constructor() { - - User.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 User 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/User} obj Optional instance to populate. - * @return {module:model/User} The populated User instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new User(); - - if (data.hasOwnProperty('APIKey')) { - obj['APIKey'] = ApiClient.convertToType(data['APIKey'], 'String'); - } - if (data.hasOwnProperty('AboutMe')) { - obj['AboutMe'] = ApiClient.convertToType(data['AboutMe'], 'String'); - } - if (data.hasOwnProperty('AccountID')) { - obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String'); - } - if (data.hasOwnProperty('Address')) { - obj['Address'] = Address.constructFromObject(data['Address']); - } - if (data.hasOwnProperty('Alias')) { - obj['Alias'] = ApiClient.convertToType(data['Alias'], 'String'); - } - if (data.hasOwnProperty('Auth0UserID')) { - obj['Auth0UserID'] = ApiClient.convertToType(data['Auth0UserID'], 'String'); - } - if (data.hasOwnProperty('CommunityNickname')) { - obj['CommunityNickname'] = ApiClient.convertToType(data['CommunityNickname'], 'String'); - } - if (data.hasOwnProperty('CompanyName')) { - obj['CompanyName'] = ApiClient.convertToType(data['CompanyName'], 'String'); - } - if (data.hasOwnProperty('ContactID')) { - obj['ContactID'] = ApiClient.convertToType(data['ContactID'], 'String'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('DelegatedApproverID')) { - obj['DelegatedApproverID'] = ApiClient.convertToType(data['DelegatedApproverID'], 'String'); - } - if (data.hasOwnProperty('Department')) { - obj['Department'] = ApiClient.convertToType(data['Department'], 'String'); - } - if (data.hasOwnProperty('Division')) { - obj['Division'] = ApiClient.convertToType(data['Division'], 'String'); - } - if (data.hasOwnProperty('Email')) { - obj['Email'] = ApiClient.convertToType(data['Email'], 'String'); - } - if (data.hasOwnProperty('EmployeeNumber')) { - obj['EmployeeNumber'] = ApiClient.convertToType(data['EmployeeNumber'], 'String'); - } - if (data.hasOwnProperty('EndOfDay')) { - obj['EndOfDay'] = ApiClient.convertToType(data['EndOfDay'], 'String'); - } - if (data.hasOwnProperty('Environment')) { - obj['Environment'] = ApiClient.convertToType(data['Environment'], 'String'); - } - if (data.hasOwnProperty('Extension')) { - obj['Extension'] = ApiClient.convertToType(data['Extension'], 'String'); - } - if (data.hasOwnProperty('FabricAPIKey')) { - obj['FabricAPIKey'] = ApiClient.convertToType(data['FabricAPIKey'], 'String'); - } - if (data.hasOwnProperty('Fax')) { - obj['Fax'] = ApiClient.convertToType(data['Fax'], 'String'); - } - if (data.hasOwnProperty('FirstName')) { - obj['FirstName'] = ApiClient.convertToType(data['FirstName'], 'String'); - } - if (data.hasOwnProperty('ForecastEnabled')) { - obj['ForecastEnabled'] = ApiClient.convertToType(data['ForecastEnabled'], 'Boolean'); - } - if (data.hasOwnProperty('FullPhotoURL')) { - obj['FullPhotoURL'] = ApiClient.convertToType(data['FullPhotoURL'], 'String'); - } - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('IsActive')) { - obj['IsActive'] = ApiClient.convertToType(data['IsActive'], 'Boolean'); - } - if (data.hasOwnProperty('IsPortalEnabled')) { - obj['IsPortalEnabled'] = ApiClient.convertToType(data['IsPortalEnabled'], 'Boolean'); - } - if (data.hasOwnProperty('IsProphilePhotoActive')) { - obj['IsProphilePhotoActive'] = ApiClient.convertToType(data['IsProphilePhotoActive'], 'Boolean'); - } - if (data.hasOwnProperty('IsSystemControlled')) { - obj['IsSystemControlled'] = ApiClient.convertToType(data['IsSystemControlled'], 'Boolean'); - } - if (data.hasOwnProperty('LastIP')) { - obj['LastIP'] = ApiClient.convertToType(data['LastIP'], 'String'); - } - if (data.hasOwnProperty('LastLogin')) { - obj['LastLogin'] = ApiClient.convertToType(data['LastLogin'], 'String'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('LastName')) { - obj['LastName'] = ApiClient.convertToType(data['LastName'], 'String'); - } - if (data.hasOwnProperty('LoginCount')) { - obj['LoginCount'] = ApiClient.convertToType(data['LoginCount'], 'Number'); - } - if (data.hasOwnProperty('ManagerID')) { - obj['ManagerID'] = ApiClient.convertToType(data['ManagerID'], 'String'); - } - if (data.hasOwnProperty('MobilePhone')) { - obj['MobilePhone'] = ApiClient.convertToType(data['MobilePhone'], 'String'); - } - if (data.hasOwnProperty('Name')) { - obj['Name'] = ApiClient.convertToType(data['Name'], 'String'); - } - if (data.hasOwnProperty('OutOfOfficeMessage')) { - obj['OutOfOfficeMessage'] = ApiClient.convertToType(data['OutOfOfficeMessage'], 'String'); - } - if (data.hasOwnProperty('Phone')) { - obj['Phone'] = ApiClient.convertToType(data['Phone'], 'String'); - } - if (data.hasOwnProperty('PortalRole')) { - obj['PortalRole'] = ApiClient.convertToType(data['PortalRole'], 'String'); - } - if (data.hasOwnProperty('ProfileID')) { - obj['ProfileID'] = ApiClient.convertToType(data['ProfileID'], 'String'); - } - if (data.hasOwnProperty('ReceivesAdminEmails')) { - obj['ReceivesAdminEmails'] = ApiClient.convertToType(data['ReceivesAdminEmails'], 'Boolean'); - } - if (data.hasOwnProperty('ReceivesAdminInfoEmails')) { - obj['ReceivesAdminInfoEmails'] = ApiClient.convertToType(data['ReceivesAdminInfoEmails'], 'Boolean'); - } - if (data.hasOwnProperty('SenderEmail')) { - obj['SenderEmail'] = ApiClient.convertToType(data['SenderEmail'], 'String'); - } - if (data.hasOwnProperty('SenderName')) { - obj['SenderName'] = ApiClient.convertToType(data['SenderName'], 'String'); - } - if (data.hasOwnProperty('Signature')) { - obj['Signature'] = ApiClient.convertToType(data['Signature'], 'String'); - } - if (data.hasOwnProperty('SmallPhotoURL')) { - obj['SmallPhotoURL'] = ApiClient.convertToType(data['SmallPhotoURL'], 'String'); - } - if (data.hasOwnProperty('StartOfDay')) { - obj['StartOfDay'] = ApiClient.convertToType(data['StartOfDay'], 'String'); - } - if (data.hasOwnProperty('TaxnexusAccount')) { - obj['TaxnexusAccount'] = ApiClient.convertToType(data['TaxnexusAccount'], 'String'); - } - if (data.hasOwnProperty('TenantID')) { - obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String'); - } - if (data.hasOwnProperty('TenantUsers')) { - obj['TenantUsers'] = ApiClient.convertToType(data['TenantUsers'], [TenantUser]); - } - if (data.hasOwnProperty('TimeZone')) { - obj['TimeZone'] = ApiClient.convertToType(data['TimeZone'], 'String'); - } - if (data.hasOwnProperty('Title')) { - obj['Title'] = ApiClient.convertToType(data['Title'], 'String'); - } - if (data.hasOwnProperty('UserRoleID')) { - obj['UserRoleID'] = ApiClient.convertToType(data['UserRoleID'], 'String'); - } - if (data.hasOwnProperty('UserRoles')) { - obj['UserRoles'] = ApiClient.convertToType(data['UserRoles'], [UserRole]); - } - if (data.hasOwnProperty('UserType')) { - obj['UserType'] = ApiClient.convertToType(data['UserType'], 'String'); - } - if (data.hasOwnProperty('Username')) { - obj['Username'] = ApiClient.convertToType(data['Username'], 'String'); - } - } - return obj; - } - - -} - -/** - * API Key - * @member {String} APIKey - */ -User.prototype['APIKey'] = undefined; - -/** - * About Me - * @member {String} AboutMe - */ -User.prototype['AboutMe'] = undefined; - -/** - * Account ID - * @member {String} AccountID - */ -User.prototype['AccountID'] = undefined; - -/** - * @member {module:model/Address} Address - */ -User.prototype['Address'] = undefined; - -/** - * Alias - * @member {String} Alias - */ -User.prototype['Alias'] = undefined; - -/** - * Auth0 User Id - * @member {String} Auth0UserID - */ -User.prototype['Auth0UserID'] = undefined; - -/** - * Nickname - * @member {String} CommunityNickname - */ -User.prototype['CommunityNickname'] = undefined; - -/** - * Company Name - * @member {String} CompanyName - */ -User.prototype['CompanyName'] = undefined; - -/** - * Contact - * @member {String} ContactID - */ -User.prototype['ContactID'] = undefined; - -/** - * Created User ID - * @member {String} CreatedByID - */ -User.prototype['CreatedByID'] = undefined; - -/** - * Date Created - * @member {String} CreatedDate - */ -User.prototype['CreatedDate'] = undefined; - -/** - * Delegated Approver - * @member {String} DelegatedApproverID - */ -User.prototype['DelegatedApproverID'] = undefined; - -/** - * Department - * @member {String} Department - */ -User.prototype['Department'] = undefined; - -/** - * Division - * @member {String} Division - */ -User.prototype['Division'] = undefined; - -/** - * Email address - * @member {String} Email - */ -User.prototype['Email'] = undefined; - -/** - * Employee Number - * @member {String} EmployeeNumber - */ -User.prototype['EmployeeNumber'] = undefined; - -/** - * Time day ends - * @member {String} EndOfDay - */ -User.prototype['EndOfDay'] = undefined; - -/** - * Environment - * @member {String} Environment - */ -User.prototype['Environment'] = undefined; - -/** - * Extension - * @member {String} Extension - */ -User.prototype['Extension'] = undefined; - -/** - * Fabric API Key - * @member {String} FabricAPIKey - */ -User.prototype['FabricAPIKey'] = undefined; - -/** - * Fax - * @member {String} Fax - */ -User.prototype['Fax'] = undefined; - -/** - * The first name - * @member {String} FirstName - */ -User.prototype['FirstName'] = undefined; - -/** - * Allow Forecasting - * @member {Boolean} ForecastEnabled - */ -User.prototype['ForecastEnabled'] = undefined; - -/** - * Full Photo URL - * @member {String} FullPhotoURL - */ -User.prototype['FullPhotoURL'] = undefined; - -/** - * Taxnexus ID - * @member {String} ID - */ -User.prototype['ID'] = undefined; - -/** - * Active - * @member {Boolean} IsActive - */ -User.prototype['IsActive'] = undefined; - -/** - * Is the user enabled for Communities? - * @member {Boolean} IsPortalEnabled - */ -User.prototype['IsPortalEnabled'] = undefined; - -/** - * Has Profile Photo - * @member {Boolean} IsProphilePhotoActive - */ -User.prototype['IsProphilePhotoActive'] = undefined; - -/** - * @member {Boolean} IsSystemControlled - */ -User.prototype['IsSystemControlled'] = undefined; - -/** - * IP address of last login - * @member {String} LastIP - */ -User.prototype['LastIP'] = undefined; - -/** - * Last login time - * @member {String} LastLogin - */ -User.prototype['LastLogin'] = undefined; - -/** - * Last Modified User ID - * @member {String} LastModifiedByID - */ -User.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modified Date - * @member {String} LastModifiedDate - */ -User.prototype['LastModifiedDate'] = undefined; - -/** - * The Last Name - * @member {String} LastName - */ -User.prototype['LastName'] = undefined; - -/** - * Number of times user has logged in - * @member {Number} LoginCount - */ -User.prototype['LoginCount'] = undefined; - -/** - * Manager - * @member {String} ManagerID - */ -User.prototype['ManagerID'] = undefined; - -/** - * Mobile - * @member {String} MobilePhone - */ -User.prototype['MobilePhone'] = undefined; - -/** - * Name - * @member {String} Name - */ -User.prototype['Name'] = undefined; - -/** - * Out of office message - * @member {String} OutOfOfficeMessage - */ -User.prototype['OutOfOfficeMessage'] = undefined; - -/** - * Phone - * @member {String} Phone - */ -User.prototype['Phone'] = undefined; - -/** - * Portal Role Level - * @member {String} PortalRole - */ -User.prototype['PortalRole'] = undefined; - -/** - * Profile - * @member {String} ProfileID - */ -User.prototype['ProfileID'] = undefined; - -/** - * Info Emails - * @member {Boolean} ReceivesAdminEmails - */ -User.prototype['ReceivesAdminEmails'] = undefined; - -/** - * Admin Info Emails - * @member {Boolean} ReceivesAdminInfoEmails - */ -User.prototype['ReceivesAdminInfoEmails'] = undefined; - -/** - * Email Sender Address - * @member {String} SenderEmail - */ -User.prototype['SenderEmail'] = undefined; - -/** - * Email Sender Name - * @member {String} SenderName - */ -User.prototype['SenderName'] = undefined; - -/** - * Email Signature - * @member {String} Signature - */ -User.prototype['Signature'] = undefined; - -/** - * Small Photo URL - * @member {String} SmallPhotoURL - */ -User.prototype['SmallPhotoURL'] = undefined; - -/** - * The time day starts - * @member {String} StartOfDay - */ -User.prototype['StartOfDay'] = undefined; - -/** - * Taxnexus Account - * @member {String} TaxnexusAccount - */ -User.prototype['TaxnexusAccount'] = undefined; - -/** - * Tenant ID associated with this user - * @member {String} TenantID - */ -User.prototype['TenantID'] = undefined; - -/** - * @member {Array.} TenantUsers - */ -User.prototype['TenantUsers'] = undefined; - -/** - * Time Zone - * @member {String} TimeZone - */ -User.prototype['TimeZone'] = undefined; - -/** - * Title - * @member {String} Title - */ -User.prototype['Title'] = undefined; - -/** - * Role - * @member {String} UserRoleID - */ -User.prototype['UserRoleID'] = undefined; - -/** - * @member {Array.} UserRoles - */ -User.prototype['UserRoles'] = undefined; - -/** - * User Type - * @member {String} UserType - */ -User.prototype['UserType'] = undefined; - -/** - * Username - * @member {String} Username - */ -User.prototype['Username'] = undefined; - - - - - - -export default User; - diff --git a/client/devops/src/model/UserRequest.js b/client/devops/src/model/UserRequest.js deleted file mode 100644 index 6b98e3c..0000000 --- a/client/devops/src/model/UserRequest.js +++ /dev/null @@ -1,72 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 User from './User'; - -/** - * The UserRequest model module. - * @module model/UserRequest - * @version 0.0.2 - */ -class UserRequest { - /** - * Constructs a new UserRequest. - * @alias module:model/UserRequest - */ - constructor() { - - UserRequest.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 UserRequest 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/UserRequest} obj Optional instance to populate. - * @return {module:model/UserRequest} The populated UserRequest instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new UserRequest(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [User]); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -UserRequest.prototype['Data'] = undefined; - - - - - - -export default UserRequest; - diff --git a/client/devops/src/model/UserResponse.js b/client/devops/src/model/UserResponse.js deleted file mode 100644 index 7813016..0000000 --- a/client/devops/src/model/UserResponse.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 ResponseMeta from './ResponseMeta'; -import User from './User'; - -/** - * The UserResponse model module. - * @module model/UserResponse - * @version 0.0.2 - */ -class UserResponse { - /** - * Constructs a new UserResponse. - * An array of Print-Ready ingest Objects - * @alias module:model/UserResponse - */ - constructor() { - - UserResponse.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 UserResponse 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/UserResponse} obj Optional instance to populate. - * @return {module:model/UserResponse} The populated UserResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new UserResponse(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [User]); - } - if (data.hasOwnProperty('Meta')) { - obj['Meta'] = ResponseMeta.constructFromObject(data['Meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -UserResponse.prototype['Data'] = undefined; - -/** - * @member {module:model/ResponseMeta} Meta - */ -UserResponse.prototype['Meta'] = undefined; - - - - - - -export default UserResponse; - diff --git a/client/devops/src/model/UserRole.js b/client/devops/src/model/UserRole.js deleted file mode 100644 index 43de432..0000000 --- a/client/devops/src/model/UserRole.js +++ /dev/null @@ -1,181 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 UserRole model module. - * @module model/UserRole - * @version 0.0.2 - */ -class UserRole { - /** - * Constructs a new UserRole. - * Relationship object that connects user to a role - * @alias module:model/UserRole - */ - constructor() { - - UserRole.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 UserRole 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/UserRole} obj Optional instance to populate. - * @return {module:model/UserRole} The populated UserRole instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new UserRole(); - - if (data.hasOwnProperty('AccountID')) { - obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String'); - } - if (data.hasOwnProperty('Auth0RoleID')) { - obj['Auth0RoleID'] = ApiClient.convertToType(data['Auth0RoleID'], 'String'); - } - if (data.hasOwnProperty('Auth0UserID')) { - obj['Auth0UserID'] = ApiClient.convertToType(data['Auth0UserID'], 'String'); - } - if (data.hasOwnProperty('CompanyName')) { - obj['CompanyName'] = ApiClient.convertToType(data['CompanyName'], 'String'); - } - if (data.hasOwnProperty('ContactID')) { - obj['ContactID'] = ApiClient.convertToType(data['ContactID'], 'String'); - } - if (data.hasOwnProperty('RoleDescription')) { - obj['RoleDescription'] = ApiClient.convertToType(data['RoleDescription'], 'String'); - } - if (data.hasOwnProperty('RoleID')) { - obj['RoleID'] = ApiClient.convertToType(data['RoleID'], 'String'); - } - if (data.hasOwnProperty('RoleName')) { - obj['RoleName'] = ApiClient.convertToType(data['RoleName'], 'String'); - } - if (data.hasOwnProperty('TaxnexusAccount')) { - obj['TaxnexusAccount'] = ApiClient.convertToType(data['TaxnexusAccount'], 'String'); - } - if (data.hasOwnProperty('UserEmail')) { - obj['UserEmail'] = ApiClient.convertToType(data['UserEmail'], 'String'); - } - if (data.hasOwnProperty('UserFullName')) { - obj['UserFullName'] = ApiClient.convertToType(data['UserFullName'], 'String'); - } - if (data.hasOwnProperty('UserID')) { - obj['UserID'] = ApiClient.convertToType(data['UserID'], 'String'); - } - if (data.hasOwnProperty('Username')) { - obj['Username'] = ApiClient.convertToType(data['Username'], 'String'); - } - } - return obj; - } - - -} - -/** - * Account Id - * @member {String} AccountID - */ -UserRole.prototype['AccountID'] = undefined; - -/** - * Linked role ID - * @member {String} Auth0RoleID - */ -UserRole.prototype['Auth0RoleID'] = undefined; - -/** - * Auth0 User ID - * @member {String} Auth0UserID - */ -UserRole.prototype['Auth0UserID'] = undefined; - -/** - * Company Name - * @member {String} CompanyName - */ -UserRole.prototype['CompanyName'] = undefined; - -/** - * Contact ID - * @member {String} ContactID - */ -UserRole.prototype['ContactID'] = undefined; - -/** - * Role description - * @member {String} RoleDescription - */ -UserRole.prototype['RoleDescription'] = undefined; - -/** - * The Role ID - * @member {String} RoleID - */ -UserRole.prototype['RoleID'] = undefined; - -/** - * Role Name - * @member {String} RoleName - */ -UserRole.prototype['RoleName'] = undefined; - -/** - * Taxnexus Account Number - * @member {String} TaxnexusAccount - */ -UserRole.prototype['TaxnexusAccount'] = undefined; - -/** - * User Email Address - * @member {String} UserEmail - */ -UserRole.prototype['UserEmail'] = undefined; - -/** - * User Full Name - * @member {String} UserFullName - */ -UserRole.prototype['UserFullName'] = undefined; - -/** - * The User ID - * @member {String} UserID - */ -UserRole.prototype['UserID'] = undefined; - -/** - * Username - * @member {String} Username - */ -UserRole.prototype['Username'] = undefined; - - - - - - -export default UserRole; - diff --git a/client/devops/test/api/ClusterApi.spec.js b/client/devops/test/api/ClusterApi.spec.js deleted file mode 100644 index 85c1cb8..0000000 --- a/client/devops/test/api/ClusterApi.spec.js +++ /dev/null @@ -1,103 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.ClusterApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('ClusterApi', function() { - describe('getCluster', function() { - it('should call getCluster successfully', function(done) { - //uncomment below and update the code to test getCluster - //instance.getCluster(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('getClusters', function() { - it('should call getClusters successfully', function(done) { - //uncomment below and update the code to test getClusters - //instance.getClusters(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('getClustersObservable', function() { - it('should call getClustersObservable successfully', function(done) { - //uncomment below and update the code to test getClustersObservable - //instance.getClustersObservable(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('postClusters', function() { - it('should call postClusters successfully', function(done) { - //uncomment below and update the code to test postClusters - //instance.postClusters(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('putClusters', function() { - it('should call putClusters successfully', function(done) { - //uncomment below and update the code to test putClusters - //instance.putClusters(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/devops/test/api/CorsApi.spec.js b/client/devops/test/api/CorsApi.spec.js deleted file mode 100644 index 429abba..0000000 --- a/client/devops/test/api/CorsApi.spec.js +++ /dev/null @@ -1,153 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.CorsApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('CorsApi', function() { - describe('clusterOptions', function() { - it('should call clusterOptions successfully', function(done) { - //uncomment below and update the code to test clusterOptions - //instance.clusterOptions(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('clustersOptions', function() { - it('should call clustersOptions successfully', function(done) { - //uncomment below and update the code to test clustersOptions - //instance.clustersOptions(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('databaseOptions', function() { - it('should call databaseOptions successfully', function(done) { - //uncomment below and update the code to test databaseOptions - //instance.databaseOptions(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('databasesOptions', function() { - it('should call databasesOptions successfully', function(done) { - //uncomment below and update the code to test databasesOptions - //instance.databasesOptions(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('templateOptions', function() { - it('should call templateOptions successfully', function(done) { - //uncomment below and update the code to test templateOptions - //instance.templateOptions(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('templatesOptions', function() { - it('should call templatesOptions successfully', function(done) { - //uncomment below and update the code to test templatesOptions - //instance.templatesOptions(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('tenantOptions', function() { - it('should call tenantOptions successfully', function(done) { - //uncomment below and update the code to test tenantOptions - //instance.tenantOptions(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('tenantsOptions', function() { - it('should call tenantsOptions successfully', function(done) { - //uncomment below and update the code to test tenantsOptions - //instance.tenantsOptions(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('userOptions', function() { - it('should call userOptions successfully', function(done) { - //uncomment below and update the code to test userOptions - //instance.userOptions(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('usersOptions', function() { - it('should call usersOptions successfully', function(done) { - //uncomment below and update the code to test usersOptions - //instance.usersOptions(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/devops/test/api/DatabaseApi.spec.js b/client/devops/test/api/DatabaseApi.spec.js deleted file mode 100644 index c888f51..0000000 --- a/client/devops/test/api/DatabaseApi.spec.js +++ /dev/null @@ -1,103 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.DatabaseApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('DatabaseApi', function() { - describe('getDatabase', function() { - it('should call getDatabase successfully', function(done) { - //uncomment below and update the code to test getDatabase - //instance.getDatabase(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('getDatabases', function() { - it('should call getDatabases successfully', function(done) { - //uncomment below and update the code to test getDatabases - //instance.getDatabases(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('getDatabasesObservable', function() { - it('should call getDatabasesObservable successfully', function(done) { - //uncomment below and update the code to test getDatabasesObservable - //instance.getDatabasesObservable(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('postDatabases', function() { - it('should call postDatabases successfully', function(done) { - //uncomment below and update the code to test postDatabases - //instance.postDatabases(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('putDatabases', function() { - it('should call putDatabases successfully', function(done) { - //uncomment below and update the code to test putDatabases - //instance.putDatabases(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/devops/test/api/TemplateApi.spec.js b/client/devops/test/api/TemplateApi.spec.js deleted file mode 100644 index cb2824b..0000000 --- a/client/devops/test/api/TemplateApi.spec.js +++ /dev/null @@ -1,93 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.TemplateApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('TemplateApi', function() { - describe('getTemplate', function() { - it('should call getTemplate successfully', function(done) { - //uncomment below and update the code to test getTemplate - //instance.getTemplate(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('getTemplates', function() { - it('should call getTemplates successfully', function(done) { - //uncomment below and update the code to test getTemplates - //instance.getTemplates(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('getTemplatesObservable', function() { - it('should call getTemplatesObservable successfully', function(done) { - //uncomment below and update the code to test getTemplatesObservable - //instance.getTemplatesObservable(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('postTemplates', function() { - it('should call postTemplates successfully', function(done) { - //uncomment below and update the code to test postTemplates - //instance.postTemplates(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/devops/test/api/TenantApi.spec.js b/client/devops/test/api/TenantApi.spec.js deleted file mode 100644 index 28ea9a3..0000000 --- a/client/devops/test/api/TenantApi.spec.js +++ /dev/null @@ -1,103 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.TenantApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('TenantApi', function() { - describe('getTenant', function() { - it('should call getTenant successfully', function(done) { - //uncomment below and update the code to test getTenant - //instance.getTenant(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('getTenants', function() { - it('should call getTenants successfully', function(done) { - //uncomment below and update the code to test getTenants - //instance.getTenants(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('getTenantsObservable', function() { - it('should call getTenantsObservable successfully', function(done) { - //uncomment below and update the code to test getTenantsObservable - //instance.getTenantsObservable(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('postTenants', function() { - it('should call postTenants successfully', function(done) { - //uncomment below and update the code to test postTenants - //instance.postTenants(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('putTenants', function() { - it('should call putTenants successfully', function(done) { - //uncomment below and update the code to test putTenants - //instance.putTenants(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/devops/test/api/UserApi.spec.js b/client/devops/test/api/UserApi.spec.js deleted file mode 100644 index afdfe00..0000000 --- a/client/devops/test/api/UserApi.spec.js +++ /dev/null @@ -1,103 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.UserApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('UserApi', function() { - describe('getUser', function() { - it('should call getUser successfully', function(done) { - //uncomment below and update the code to test getUser - //instance.getUser(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('getUsers', function() { - it('should call getUsers successfully', function(done) { - //uncomment below and update the code to test getUsers - //instance.getUsers(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('getUsersObservable', function() { - it('should call getUsersObservable successfully', function(done) { - //uncomment below and update the code to test getUsersObservable - //instance.getUsersObservable(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('postUsers', function() { - it('should call postUsers successfully', function(done) { - //uncomment below and update the code to test postUsers - //instance.postUsers(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('putUsers', function() { - it('should call putUsers successfully', function(done) { - //uncomment below and update the code to test putUsers - //instance.putUsers(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/devops/test/model/Address.spec.js b/client/devops/test/model/Address.spec.js deleted file mode 100644 index 10a024d..0000000 --- a/client/devops/test/model/Address.spec.js +++ /dev/null @@ -1,101 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.Address(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Address', function() { - it('should create an instance of Address', function() { - // uncomment below and update the code to test Address - //var instance = new Devops.Address(); - //expect(instance).to.be.a(Devops.Address); - }); - - it('should have the property city (base name: "City")', function() { - // uncomment below and update the code to test the property city - //var instance = new Devops.Address(); - //expect(instance).to.be(); - }); - - it('should have the property country (base name: "Country")', function() { - // uncomment below and update the code to test the property country - //var instance = new Devops.Address(); - //expect(instance).to.be(); - }); - - it('should have the property countryCode (base name: "CountryCode")', function() { - // uncomment below and update the code to test the property countryCode - //var instance = new Devops.Address(); - //expect(instance).to.be(); - }); - - it('should have the property postalCode (base name: "PostalCode")', function() { - // uncomment below and update the code to test the property postalCode - //var instance = new Devops.Address(); - //expect(instance).to.be(); - }); - - it('should have the property state (base name: "State")', function() { - // uncomment below and update the code to test the property state - //var instance = new Devops.Address(); - //expect(instance).to.be(); - }); - - it('should have the property stateCode (base name: "StateCode")', function() { - // uncomment below and update the code to test the property stateCode - //var instance = new Devops.Address(); - //expect(instance).to.be(); - }); - - it('should have the property street (base name: "Street")', function() { - // uncomment below and update the code to test the property street - //var instance = new Devops.Address(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/devops/test/model/Cluster.spec.js b/client/devops/test/model/Cluster.spec.js deleted file mode 100644 index 234d194..0000000 --- a/client/devops/test/model/Cluster.spec.js +++ /dev/null @@ -1,161 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.Cluster(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Cluster', function() { - it('should create an instance of Cluster', function() { - // uncomment below and update the code to test Cluster - //var instance = new Devops.Cluster(); - //expect(instance).to.be.a(Devops.Cluster); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new Devops.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new Devops.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "Description")', function() { - // uncomment below and update the code to test the property description - //var instance = new Devops.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property environment (base name: "Environment")', function() { - // uncomment below and update the code to test the property environment - //var instance = new Devops.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property gateway (base name: "Gateway")', function() { - // uncomment below and update the code to test the property gateway - //var instance = new Devops.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Devops.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property iPAddress (base name: "IPAddress")', function() { - // uncomment below and update the code to test the property iPAddress - //var instance = new Devops.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new Devops.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new Devops.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "Name")', function() { - // uncomment below and update the code to test the property name - //var instance = new Devops.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property ownerID (base name: "OwnerID")', function() { - // uncomment below and update the code to test the property ownerID - //var instance = new Devops.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property ref (base name: "Ref")', function() { - // uncomment below and update the code to test the property ref - //var instance = new Devops.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property status (base name: "Status")', function() { - // uncomment below and update the code to test the property status - //var instance = new Devops.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property subnet (base name: "Subnet")', function() { - // uncomment below and update the code to test the property subnet - //var instance = new Devops.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property type (base name: "Type")', function() { - // uncomment below and update the code to test the property type - //var instance = new Devops.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property tenantID (base name: "TenantID")', function() { - // uncomment below and update the code to test the property tenantID - //var instance = new Devops.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property zone (base name: "Zone")', function() { - // uncomment below and update the code to test the property zone - //var instance = new Devops.Cluster(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/devops/test/model/ClusterRequest.spec.js b/client/devops/test/model/ClusterRequest.spec.js deleted file mode 100644 index c5617e6..0000000 --- a/client/devops/test/model/ClusterRequest.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.ClusterRequest(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('ClusterRequest', function() { - it('should create an instance of ClusterRequest', function() { - // uncomment below and update the code to test ClusterRequest - //var instance = new Devops.ClusterRequest(); - //expect(instance).to.be.a(Devops.ClusterRequest); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Devops.ClusterRequest(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/devops/test/model/ClusterResponse.spec.js b/client/devops/test/model/ClusterResponse.spec.js deleted file mode 100644 index b8d63f6..0000000 --- a/client/devops/test/model/ClusterResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.ClusterResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('ClusterResponse', function() { - it('should create an instance of ClusterResponse', function() { - // uncomment below and update the code to test ClusterResponse - //var instance = new Devops.ClusterResponse(); - //expect(instance).to.be.a(Devops.ClusterResponse); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Devops.ClusterResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "Meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new Devops.ClusterResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/devops/test/model/Database.spec.js b/client/devops/test/model/Database.spec.js deleted file mode 100644 index c32fabe..0000000 --- a/client/devops/test/model/Database.spec.js +++ /dev/null @@ -1,131 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.Database(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Database', function() { - it('should create an instance of Database', function() { - // uncomment below and update the code to test Database - //var instance = new Devops.Database(); - //expect(instance).to.be.a(Devops.Database); - }); - - it('should have the property active (base name: "Active")', function() { - // uncomment below and update the code to test the property active - //var instance = new Devops.Database(); - //expect(instance).to.be(); - }); - - it('should have the property clusterID (base name: "ClusterID")', function() { - // uncomment below and update the code to test the property clusterID - //var instance = new Devops.Database(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new Devops.Database(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new Devops.Database(); - //expect(instance).to.be(); - }); - - it('should have the property DSN (base name: "DSN")', function() { - // uncomment below and update the code to test the property DSN - //var instance = new Devops.Database(); - //expect(instance).to.be(); - }); - - it('should have the property databaseName (base name: "DatabaseName")', function() { - // uncomment below and update the code to test the property databaseName - //var instance = new Devops.Database(); - //expect(instance).to.be(); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Devops.Database(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new Devops.Database(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new Devops.Database(); - //expect(instance).to.be(); - }); - - it('should have the property status (base name: "Status")', function() { - // uncomment below and update the code to test the property status - //var instance = new Devops.Database(); - //expect(instance).to.be(); - }); - - it('should have the property tenantID (base name: "TenantID")', function() { - // uncomment below and update the code to test the property tenantID - //var instance = new Devops.Database(); - //expect(instance).to.be(); - }); - - it('should have the property type (base name: "Type")', function() { - // uncomment below and update the code to test the property type - //var instance = new Devops.Database(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/devops/test/model/DatabaseRequest.spec.js b/client/devops/test/model/DatabaseRequest.spec.js deleted file mode 100644 index da39684..0000000 --- a/client/devops/test/model/DatabaseRequest.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.DatabaseRequest(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('DatabaseRequest', function() { - it('should create an instance of DatabaseRequest', function() { - // uncomment below and update the code to test DatabaseRequest - //var instance = new Devops.DatabaseRequest(); - //expect(instance).to.be.a(Devops.DatabaseRequest); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Devops.DatabaseRequest(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/devops/test/model/DatabaseResponse.spec.js b/client/devops/test/model/DatabaseResponse.spec.js deleted file mode 100644 index 7140cc9..0000000 --- a/client/devops/test/model/DatabaseResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.DatabaseResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('DatabaseResponse', function() { - it('should create an instance of DatabaseResponse', function() { - // uncomment below and update the code to test DatabaseResponse - //var instance = new Devops.DatabaseResponse(); - //expect(instance).to.be.a(Devops.DatabaseResponse); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Devops.DatabaseResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "Meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new Devops.DatabaseResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/devops/test/model/DeleteResponse.spec.js b/client/devops/test/model/DeleteResponse.spec.js deleted file mode 100644 index a017524..0000000 --- a/client/devops/test/model/DeleteResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.DeleteResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('DeleteResponse', function() { - it('should create an instance of DeleteResponse', function() { - // uncomment below and update the code to test DeleteResponse - //var instance = new Devops.DeleteResponse(); - //expect(instance).to.be.a(Devops.DeleteResponse); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Devops.DeleteResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "Meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new Devops.DeleteResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/devops/test/model/Error.spec.js b/client/devops/test/model/Error.spec.js deleted file mode 100644 index 7aa6d78..0000000 --- a/client/devops/test/model/Error.spec.js +++ /dev/null @@ -1,77 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.Error(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Error', function() { - it('should create an instance of Error', function() { - // uncomment below and update the code to test Error - //var instance = new Devops.Error(); - //expect(instance).to.be.a(Devops.Error); - }); - - it('should have the property code (base name: "code")', function() { - // uncomment below and update the code to test the property code - //var instance = new Devops.Error(); - //expect(instance).to.be(); - }); - - it('should have the property fields (base name: "fields")', function() { - // uncomment below and update the code to test the property fields - //var instance = new Devops.Error(); - //expect(instance).to.be(); - }); - - it('should have the property message (base name: "message")', function() { - // uncomment below and update the code to test the property message - //var instance = new Devops.Error(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/devops/test/model/Message.spec.js b/client/devops/test/model/Message.spec.js deleted file mode 100644 index ec36665..0000000 --- a/client/devops/test/model/Message.spec.js +++ /dev/null @@ -1,77 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.Message(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Message', function() { - it('should create an instance of Message', function() { - // uncomment below and update the code to test Message - //var instance = new Devops.Message(); - //expect(instance).to.be.a(Devops.Message); - }); - - it('should have the property message (base name: "Message")', function() { - // uncomment below and update the code to test the property message - //var instance = new Devops.Message(); - //expect(instance).to.be(); - }); - - it('should have the property ref (base name: "Ref")', function() { - // uncomment below and update the code to test the property ref - //var instance = new Devops.Message(); - //expect(instance).to.be(); - }); - - it('should have the property status (base name: "Status")', function() { - // uncomment below and update the code to test the property status - //var instance = new Devops.Message(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/devops/test/model/Pagination.spec.js b/client/devops/test/model/Pagination.spec.js deleted file mode 100644 index fbb9fc2..0000000 --- a/client/devops/test/model/Pagination.spec.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.Pagination(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Pagination', function() { - it('should create an instance of Pagination', function() { - // uncomment below and update the code to test Pagination - //var instance = new Devops.Pagination(); - //expect(instance).to.be.a(Devops.Pagination); - }); - - it('should have the property limit (base name: "Limit")', function() { - // uncomment below and update the code to test the property limit - //var instance = new Devops.Pagination(); - //expect(instance).to.be(); - }); - - it('should have the property pOffset (base name: "POffset")', function() { - // uncomment below and update the code to test the property pOffset - //var instance = new Devops.Pagination(); - //expect(instance).to.be(); - }); - - it('should have the property pageSize (base name: "PageSize")', function() { - // uncomment below and update the code to test the property pageSize - //var instance = new Devops.Pagination(); - //expect(instance).to.be(); - }); - - it('should have the property setSize (base name: "SetSize")', function() { - // uncomment below and update the code to test the property setSize - //var instance = new Devops.Pagination(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/devops/test/model/RequestMeta.spec.js b/client/devops/test/model/RequestMeta.spec.js deleted file mode 100644 index 67f8c44..0000000 --- a/client/devops/test/model/RequestMeta.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.RequestMeta(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('RequestMeta', function() { - it('should create an instance of RequestMeta', function() { - // uncomment below and update the code to test RequestMeta - //var instance = new Devops.RequestMeta(); - //expect(instance).to.be.a(Devops.RequestMeta); - }); - - it('should have the property taxnexusAccount (base name: "TaxnexusAccount")', function() { - // uncomment below and update the code to test the property taxnexusAccount - //var instance = new Devops.RequestMeta(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/devops/test/model/ResponseMeta.spec.js b/client/devops/test/model/ResponseMeta.spec.js deleted file mode 100644 index 934c2f3..0000000 --- a/client/devops/test/model/ResponseMeta.spec.js +++ /dev/null @@ -1,131 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.ResponseMeta(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('ResponseMeta', function() { - it('should create an instance of ResponseMeta', function() { - // uncomment below and update the code to test ResponseMeta - //var instance = new Devops.ResponseMeta(); - //expect(instance).to.be.a(Devops.ResponseMeta); - }); - - it('should have the property contact (base name: "Contact")', function() { - // uncomment below and update the code to test the property contact - //var instance = new Devops.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property copyright (base name: "Copyright")', function() { - // uncomment below and update the code to test the property copyright - //var instance = new Devops.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property license (base name: "License")', function() { - // uncomment below and update the code to test the property license - //var instance = new Devops.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property operationID (base name: "OperationID")', function() { - // uncomment below and update the code to test the property operationID - //var instance = new Devops.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property pagination (base name: "Pagination")', function() { - // uncomment below and update the code to test the property pagination - //var instance = new Devops.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property requestIP (base name: "RequestIP")', function() { - // uncomment below and update the code to test the property requestIP - //var instance = new Devops.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property requestType (base name: "RequestType")', function() { - // uncomment below and update the code to test the property requestType - //var instance = new Devops.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property requestURL (base name: "RequestURL")', function() { - // uncomment below and update the code to test the property requestURL - //var instance = new Devops.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property serverInfo (base name: "ServerInfo")', function() { - // uncomment below and update the code to test the property serverInfo - //var instance = new Devops.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property serverResponseTime (base name: "ServerResponseTime")', function() { - // uncomment below and update the code to test the property serverResponseTime - //var instance = new Devops.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property serverTimestamp (base name: "ServerTimestamp")', function() { - // uncomment below and update the code to test the property serverTimestamp - //var instance = new Devops.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property taxnexusAccount (base name: "TaxnexusAccount")', function() { - // uncomment below and update the code to test the property taxnexusAccount - //var instance = new Devops.ResponseMeta(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/devops/test/model/Role.spec.js b/client/devops/test/model/Role.spec.js deleted file mode 100644 index c7c0044..0000000 --- a/client/devops/test/model/Role.spec.js +++ /dev/null @@ -1,113 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.Role(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Role', function() { - it('should create an instance of Role', function() { - // uncomment below and update the code to test Role - //var instance = new Devops.Role(); - //expect(instance).to.be.a(Devops.Role); - }); - - it('should have the property auth0RoleID (base name: "Auth0RoleID")', function() { - // uncomment below and update the code to test the property auth0RoleID - //var instance = new Devops.Role(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new Devops.Role(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new Devops.Role(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "Description")', function() { - // uncomment below and update the code to test the property description - //var instance = new Devops.Role(); - //expect(instance).to.be(); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Devops.Role(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new Devops.Role(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new Devops.Role(); - //expect(instance).to.be(); - }); - - it('should have the property roleName (base name: "RoleName")', function() { - // uncomment below and update the code to test the property roleName - //var instance = new Devops.Role(); - //expect(instance).to.be(); - }); - - it('should have the property tenantID (base name: "TenantID")', function() { - // uncomment below and update the code to test the property tenantID - //var instance = new Devops.Role(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/devops/test/model/RoleRequest.spec.js b/client/devops/test/model/RoleRequest.spec.js deleted file mode 100644 index e304930..0000000 --- a/client/devops/test/model/RoleRequest.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.RoleRequest(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('RoleRequest', function() { - it('should create an instance of RoleRequest', function() { - // uncomment below and update the code to test RoleRequest - //var instance = new Devops.RoleRequest(); - //expect(instance).to.be.a(Devops.RoleRequest); - }); - - it('should have the property date (base name: "Date")', function() { - // uncomment below and update the code to test the property date - //var instance = new Devops.RoleRequest(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/devops/test/model/RoleResponse.spec.js b/client/devops/test/model/RoleResponse.spec.js deleted file mode 100644 index 91eda72..0000000 --- a/client/devops/test/model/RoleResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.RoleResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('RoleResponse', function() { - it('should create an instance of RoleResponse', function() { - // uncomment below and update the code to test RoleResponse - //var instance = new Devops.RoleResponse(); - //expect(instance).to.be.a(Devops.RoleResponse); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Devops.RoleResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "Meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new Devops.RoleResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/devops/test/model/Template.spec.js b/client/devops/test/model/Template.spec.js deleted file mode 100644 index f5cb093..0000000 --- a/client/devops/test/model/Template.spec.js +++ /dev/null @@ -1,155 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.Template(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Template', function() { - it('should create an instance of Template', function() { - // uncomment below and update the code to test Template - //var instance = new Devops.Template(); - //expect(instance).to.be.a(Devops.Template); - }); - - it('should have the property companyID (base name: "CompanyID")', function() { - // uncomment below and update the code to test the property companyID - //var instance = new Devops.Template(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new Devops.Template(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new Devops.Template(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "Description")', function() { - // uncomment below and update the code to test the property description - //var instance = new Devops.Template(); - //expect(instance).to.be(); - }); - - it('should have the property HTML (base name: "HTML")', function() { - // uncomment below and update the code to test the property HTML - //var instance = new Devops.Template(); - //expect(instance).to.be(); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Devops.Template(); - //expect(instance).to.be(); - }); - - it('should have the property isActive (base name: "IsActive")', function() { - // uncomment below and update the code to test the property isActive - //var instance = new Devops.Template(); - //expect(instance).to.be(); - }); - - it('should have the property isMaster (base name: "IsMaster")', function() { - // uncomment below and update the code to test the property isMaster - //var instance = new Devops.Template(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new Devops.Template(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new Devops.Template(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "Name")', function() { - // uncomment below and update the code to test the property name - //var instance = new Devops.Template(); - //expect(instance).to.be(); - }); - - it('should have the property objectType (base name: "ObjectType")', function() { - // uncomment below and update the code to test the property objectType - //var instance = new Devops.Template(); - //expect(instance).to.be(); - }); - - it('should have the property recordTypeName (base name: "RecordTypeName")', function() { - // uncomment below and update the code to test the property recordTypeName - //var instance = new Devops.Template(); - //expect(instance).to.be(); - }); - - it('should have the property tenantID (base name: "TenantID")', function() { - // uncomment below and update the code to test the property tenantID - //var instance = new Devops.Template(); - //expect(instance).to.be(); - }); - - it('should have the property type (base name: "Type")', function() { - // uncomment below and update the code to test the property type - //var instance = new Devops.Template(); - //expect(instance).to.be(); - }); - - it('should have the property URL (base name: "URL")', function() { - // uncomment below and update the code to test the property URL - //var instance = new Devops.Template(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/devops/test/model/TemplateRequest.spec.js b/client/devops/test/model/TemplateRequest.spec.js deleted file mode 100644 index ae96e3e..0000000 --- a/client/devops/test/model/TemplateRequest.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.TemplateRequest(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('TemplateRequest', function() { - it('should create an instance of TemplateRequest', function() { - // uncomment below and update the code to test TemplateRequest - //var instance = new Devops.TemplateRequest(); - //expect(instance).to.be.a(Devops.TemplateRequest); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Devops.TemplateRequest(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/devops/test/model/TemplateResponse.spec.js b/client/devops/test/model/TemplateResponse.spec.js deleted file mode 100644 index e12026b..0000000 --- a/client/devops/test/model/TemplateResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.TemplateResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('TemplateResponse', function() { - it('should create an instance of TemplateResponse', function() { - // uncomment below and update the code to test TemplateResponse - //var instance = new Devops.TemplateResponse(); - //expect(instance).to.be.a(Devops.TemplateResponse); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Devops.TemplateResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "Meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new Devops.TemplateResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/devops/test/model/Tenant.spec.js b/client/devops/test/model/Tenant.spec.js deleted file mode 100644 index 3adf6f3..0000000 --- a/client/devops/test/model/Tenant.spec.js +++ /dev/null @@ -1,143 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.Tenant(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Tenant', function() { - it('should create an instance of Tenant', function() { - // uncomment below and update the code to test Tenant - //var instance = new Devops.Tenant(); - //expect(instance).to.be.a(Devops.Tenant); - }); - - it('should have the property accountID (base name: "AccountID")', function() { - // uncomment below and update the code to test the property accountID - //var instance = new Devops.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property active (base name: "Active")', function() { - // uncomment below and update the code to test the property active - //var instance = new Devops.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new Devops.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new Devops.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property databases (base name: "Databases")', function() { - // uncomment below and update the code to test the property databases - //var instance = new Devops.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Devops.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new Devops.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new Devops.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property roles (base name: "Roles")', function() { - // uncomment below and update the code to test the property roles - //var instance = new Devops.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property status (base name: "Status")', function() { - // uncomment below and update the code to test the property status - //var instance = new Devops.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property tenantName (base name: "TenantName")', function() { - // uncomment below and update the code to test the property tenantName - //var instance = new Devops.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property tenantUsers (base name: "TenantUsers")', function() { - // uncomment below and update the code to test the property tenantUsers - //var instance = new Devops.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property type (base name: "Type")', function() { - // uncomment below and update the code to test the property type - //var instance = new Devops.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property version (base name: "Version")', function() { - // uncomment below and update the code to test the property version - //var instance = new Devops.Tenant(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/devops/test/model/TenantRequest.spec.js b/client/devops/test/model/TenantRequest.spec.js deleted file mode 100644 index ab409bb..0000000 --- a/client/devops/test/model/TenantRequest.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.TenantRequest(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('TenantRequest', function() { - it('should create an instance of TenantRequest', function() { - // uncomment below and update the code to test TenantRequest - //var instance = new Devops.TenantRequest(); - //expect(instance).to.be.a(Devops.TenantRequest); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Devops.TenantRequest(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/devops/test/model/TenantResponse.spec.js b/client/devops/test/model/TenantResponse.spec.js deleted file mode 100644 index fc59383..0000000 --- a/client/devops/test/model/TenantResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.TenantResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('TenantResponse', function() { - it('should create an instance of TenantResponse', function() { - // uncomment below and update the code to test TenantResponse - //var instance = new Devops.TenantResponse(); - //expect(instance).to.be.a(Devops.TenantResponse); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Devops.TenantResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "Meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new Devops.TenantResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/devops/test/model/TenantUser.spec.js b/client/devops/test/model/TenantUser.spec.js deleted file mode 100644 index fcf92b8..0000000 --- a/client/devops/test/model/TenantUser.spec.js +++ /dev/null @@ -1,155 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.TenantUser(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('TenantUser', function() { - it('should create an instance of TenantUser', function() { - // uncomment below and update the code to test TenantUser - //var instance = new Devops.TenantUser(); - //expect(instance).to.be.a(Devops.TenantUser); - }); - - it('should have the property accessLevel (base name: "AccessLevel")', function() { - // uncomment below and update the code to test the property accessLevel - //var instance = new Devops.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property accountID (base name: "AccountID")', function() { - // uncomment below and update the code to test the property accountID - //var instance = new Devops.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property auth0UserID (base name: "Auth0UserID")', function() { - // uncomment below and update the code to test the property auth0UserID - //var instance = new Devops.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property companyName (base name: "CompanyName")', function() { - // uncomment below and update the code to test the property companyName - //var instance = new Devops.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property contactID (base name: "ContactID")', function() { - // uncomment below and update the code to test the property contactID - //var instance = new Devops.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property taxnexusAccount (base name: "TaxnexusAccount")', function() { - // uncomment below and update the code to test the property taxnexusAccount - //var instance = new Devops.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property tenantActive (base name: "TenantActive")', function() { - // uncomment below and update the code to test the property tenantActive - //var instance = new Devops.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property tenantID (base name: "TenantID")', function() { - // uncomment below and update the code to test the property tenantID - //var instance = new Devops.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property tenantName (base name: "TenantName")', function() { - // uncomment below and update the code to test the property tenantName - //var instance = new Devops.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property tenantStatus (base name: "TenantStatus")', function() { - // uncomment below and update the code to test the property tenantStatus - //var instance = new Devops.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property tenantType (base name: "TenantType")', function() { - // uncomment below and update the code to test the property tenantType - //var instance = new Devops.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property tenantVersion (base name: "TenantVersion")', function() { - // uncomment below and update the code to test the property tenantVersion - //var instance = new Devops.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property userEmail (base name: "UserEmail")', function() { - // uncomment below and update the code to test the property userEmail - //var instance = new Devops.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property userFullName (base name: "UserFullName")', function() { - // uncomment below and update the code to test the property userFullName - //var instance = new Devops.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property userID (base name: "UserID")', function() { - // uncomment below and update the code to test the property userID - //var instance = new Devops.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property username (base name: "Username")', function() { - // uncomment below and update the code to test the property username - //var instance = new Devops.TenantUser(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/devops/test/model/User.spec.js b/client/devops/test/model/User.spec.js deleted file mode 100644 index 1dcc101..0000000 --- a/client/devops/test/model/User.spec.js +++ /dev/null @@ -1,407 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.User(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('User', function() { - it('should create an instance of User', function() { - // uncomment below and update the code to test User - //var instance = new Devops.User(); - //expect(instance).to.be.a(Devops.User); - }); - - it('should have the property aPIKey (base name: "APIKey")', function() { - // uncomment below and update the code to test the property aPIKey - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property aboutMe (base name: "AboutMe")', function() { - // uncomment below and update the code to test the property aboutMe - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property accountID (base name: "AccountID")', function() { - // uncomment below and update the code to test the property accountID - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property address (base name: "Address")', function() { - // uncomment below and update the code to test the property address - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property alias (base name: "Alias")', function() { - // uncomment below and update the code to test the property alias - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property auth0UserID (base name: "Auth0UserID")', function() { - // uncomment below and update the code to test the property auth0UserID - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property communityNickname (base name: "CommunityNickname")', function() { - // uncomment below and update the code to test the property communityNickname - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property companyName (base name: "CompanyName")', function() { - // uncomment below and update the code to test the property companyName - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property contactID (base name: "ContactID")', function() { - // uncomment below and update the code to test the property contactID - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property delegatedApproverID (base name: "DelegatedApproverID")', function() { - // uncomment below and update the code to test the property delegatedApproverID - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property department (base name: "Department")', function() { - // uncomment below and update the code to test the property department - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property division (base name: "Division")', function() { - // uncomment below and update the code to test the property division - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property email (base name: "Email")', function() { - // uncomment below and update the code to test the property email - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property employeeNumber (base name: "EmployeeNumber")', function() { - // uncomment below and update the code to test the property employeeNumber - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property endOfDay (base name: "EndOfDay")', function() { - // uncomment below and update the code to test the property endOfDay - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property environment (base name: "Environment")', function() { - // uncomment below and update the code to test the property environment - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property extension (base name: "Extension")', function() { - // uncomment below and update the code to test the property extension - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property fabricAPIKey (base name: "FabricAPIKey")', function() { - // uncomment below and update the code to test the property fabricAPIKey - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property fax (base name: "Fax")', function() { - // uncomment below and update the code to test the property fax - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property firstName (base name: "FirstName")', function() { - // uncomment below and update the code to test the property firstName - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property forecastEnabled (base name: "ForecastEnabled")', function() { - // uncomment below and update the code to test the property forecastEnabled - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property fullPhotoURL (base name: "FullPhotoURL")', function() { - // uncomment below and update the code to test the property fullPhotoURL - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property isActive (base name: "IsActive")', function() { - // uncomment below and update the code to test the property isActive - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property isPortalEnabled (base name: "IsPortalEnabled")', function() { - // uncomment below and update the code to test the property isPortalEnabled - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property isProphilePhotoActive (base name: "IsProphilePhotoActive")', function() { - // uncomment below and update the code to test the property isProphilePhotoActive - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property isSystemControlled (base name: "IsSystemControlled")', function() { - // uncomment below and update the code to test the property isSystemControlled - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property lastIP (base name: "LastIP")', function() { - // uncomment below and update the code to test the property lastIP - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property lastLogin (base name: "LastLogin")', function() { - // uncomment below and update the code to test the property lastLogin - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property lastName (base name: "LastName")', function() { - // uncomment below and update the code to test the property lastName - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property loginCount (base name: "LoginCount")', function() { - // uncomment below and update the code to test the property loginCount - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property managerID (base name: "ManagerID")', function() { - // uncomment below and update the code to test the property managerID - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property mobilePhone (base name: "MobilePhone")', function() { - // uncomment below and update the code to test the property mobilePhone - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "Name")', function() { - // uncomment below and update the code to test the property name - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property outOfOfficeMessage (base name: "OutOfOfficeMessage")', function() { - // uncomment below and update the code to test the property outOfOfficeMessage - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property phone (base name: "Phone")', function() { - // uncomment below and update the code to test the property phone - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property portalRole (base name: "PortalRole")', function() { - // uncomment below and update the code to test the property portalRole - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property profileID (base name: "ProfileID")', function() { - // uncomment below and update the code to test the property profileID - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property receivesAdminEmails (base name: "ReceivesAdminEmails")', function() { - // uncomment below and update the code to test the property receivesAdminEmails - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property receivesAdminInfoEmails (base name: "ReceivesAdminInfoEmails")', function() { - // uncomment below and update the code to test the property receivesAdminInfoEmails - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property senderEmail (base name: "SenderEmail")', function() { - // uncomment below and update the code to test the property senderEmail - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property senderName (base name: "SenderName")', function() { - // uncomment below and update the code to test the property senderName - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property signature (base name: "Signature")', function() { - // uncomment below and update the code to test the property signature - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property smallPhotoURL (base name: "SmallPhotoURL")', function() { - // uncomment below and update the code to test the property smallPhotoURL - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property startOfDay (base name: "StartOfDay")', function() { - // uncomment below and update the code to test the property startOfDay - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property taxnexusAccount (base name: "TaxnexusAccount")', function() { - // uncomment below and update the code to test the property taxnexusAccount - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property tenantID (base name: "TenantID")', function() { - // uncomment below and update the code to test the property tenantID - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property tenantUsers (base name: "TenantUsers")', function() { - // uncomment below and update the code to test the property tenantUsers - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property timeZone (base name: "TimeZone")', function() { - // uncomment below and update the code to test the property timeZone - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property title (base name: "Title")', function() { - // uncomment below and update the code to test the property title - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property userRoleID (base name: "UserRoleID")', function() { - // uncomment below and update the code to test the property userRoleID - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property userRoles (base name: "UserRoles")', function() { - // uncomment below and update the code to test the property userRoles - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property userType (base name: "UserType")', function() { - // uncomment below and update the code to test the property userType - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - it('should have the property username (base name: "Username")', function() { - // uncomment below and update the code to test the property username - //var instance = new Devops.User(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/devops/test/model/UserRequest.spec.js b/client/devops/test/model/UserRequest.spec.js deleted file mode 100644 index 3176d9d..0000000 --- a/client/devops/test/model/UserRequest.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.UserRequest(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('UserRequest', function() { - it('should create an instance of UserRequest', function() { - // uncomment below and update the code to test UserRequest - //var instance = new Devops.UserRequest(); - //expect(instance).to.be.a(Devops.UserRequest); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Devops.UserRequest(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/devops/test/model/UserResponse.spec.js b/client/devops/test/model/UserResponse.spec.js deleted file mode 100644 index 8625226..0000000 --- a/client/devops/test/model/UserResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.UserResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('UserResponse', function() { - it('should create an instance of UserResponse', function() { - // uncomment below and update the code to test UserResponse - //var instance = new Devops.UserResponse(); - //expect(instance).to.be.a(Devops.UserResponse); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Devops.UserResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "Meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new Devops.UserResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/devops/test/model/UserRole.spec.js b/client/devops/test/model/UserRole.spec.js deleted file mode 100644 index 97add63..0000000 --- a/client/devops/test/model/UserRole.spec.js +++ /dev/null @@ -1,137 +0,0 @@ -/** - * devops - * System Operations Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Devops); - } -}(this, function(expect, Devops) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Devops.UserRole(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('UserRole', function() { - it('should create an instance of UserRole', function() { - // uncomment below and update the code to test UserRole - //var instance = new Devops.UserRole(); - //expect(instance).to.be.a(Devops.UserRole); - }); - - it('should have the property accountID (base name: "AccountID")', function() { - // uncomment below and update the code to test the property accountID - //var instance = new Devops.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property auth0RoleID (base name: "Auth0RoleID")', function() { - // uncomment below and update the code to test the property auth0RoleID - //var instance = new Devops.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property auth0UserID (base name: "Auth0UserID")', function() { - // uncomment below and update the code to test the property auth0UserID - //var instance = new Devops.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property companyName (base name: "CompanyName")', function() { - // uncomment below and update the code to test the property companyName - //var instance = new Devops.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property contactID (base name: "ContactID")', function() { - // uncomment below and update the code to test the property contactID - //var instance = new Devops.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property roleDescription (base name: "RoleDescription")', function() { - // uncomment below and update the code to test the property roleDescription - //var instance = new Devops.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property roleID (base name: "RoleID")', function() { - // uncomment below and update the code to test the property roleID - //var instance = new Devops.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property roleName (base name: "RoleName")', function() { - // uncomment below and update the code to test the property roleName - //var instance = new Devops.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property taxnexusAccount (base name: "TaxnexusAccount")', function() { - // uncomment below and update the code to test the property taxnexusAccount - //var instance = new Devops.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property userEmail (base name: "UserEmail")', function() { - // uncomment below and update the code to test the property userEmail - //var instance = new Devops.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property userFullName (base name: "UserFullName")', function() { - // uncomment below and update the code to test the property userFullName - //var instance = new Devops.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property userID (base name: "UserID")', function() { - // uncomment below and update the code to test the property userID - //var instance = new Devops.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property username (base name: "Username")', function() { - // uncomment below and update the code to test the property username - //var instance = new Devops.UserRole(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/research/.babelrc b/client/research/.babelrc deleted file mode 100644 index c73df9d..0000000 --- a/client/research/.babelrc +++ /dev/null @@ -1,33 +0,0 @@ -{ - "presets": [ - "@babel/preset-env" - ], - "plugins": [ - "@babel/plugin-syntax-dynamic-import", - "@babel/plugin-syntax-import-meta", - "@babel/plugin-proposal-class-properties", - "@babel/plugin-proposal-json-strings", - [ - "@babel/plugin-proposal-decorators", - { - "legacy": true - } - ], - "@babel/plugin-proposal-function-sent", - "@babel/plugin-proposal-export-namespace-from", - "@babel/plugin-proposal-numeric-separator", - "@babel/plugin-proposal-throw-expressions", - "@babel/plugin-proposal-export-default-from", - "@babel/plugin-proposal-logical-assignment-operators", - "@babel/plugin-proposal-optional-chaining", - [ - "@babel/plugin-proposal-pipeline-operator", - { - "proposal": "minimal" - } - ], - "@babel/plugin-proposal-nullish-coalescing-operator", - "@babel/plugin-proposal-do-expressions", - "@babel/plugin-proposal-function-bind" - ] -} diff --git a/client/research/.gitignore b/client/research/.gitignore deleted file mode 100644 index e920c16..0000000 --- a/client/research/.gitignore +++ /dev/null @@ -1,33 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* - -# Runtime data -pids -*.pid -*.seed - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage - -# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# node-waf configuration -.lock-wscript - -# Compiled binary addons (http://nodejs.org/api/addons.html) -build/Release - -# Dependency directory -node_modules - -# Optional npm cache directory -.npm - -# Optional REPL history -.node_repl_history diff --git a/client/research/.openapi-generator-ignore b/client/research/.openapi-generator-ignore deleted file mode 100644 index 7484ee5..0000000 --- a/client/research/.openapi-generator-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# OpenAPI Generator Ignore -# Generated by openapi-generator https://github.com/openapitools/openapi-generator - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/client/research/.openapi-generator/FILES b/client/research/.openapi-generator/FILES deleted file mode 100644 index 57abd84..0000000 --- a/client/research/.openapi-generator/FILES +++ /dev/null @@ -1,73 +0,0 @@ -.babelrc -.gitignore -.openapi-generator-ignore -.travis.yml -README.md -docs/Address.md -docs/CompanyProduct.md -docs/CorsApi.md -docs/DeleteResponse.md -docs/Error.md -docs/Factor.md -docs/Industry.md -docs/IndustryApi.md -docs/IndustryRequest.md -docs/IndustryResponse.md -docs/InvalidError.md -docs/InvalidErrorAllOf.md -docs/Message.md -docs/Observation.md -docs/Pagination.md -docs/RequestMeta.md -docs/ResponseMeta.md -docs/Topic.md -docs/TopicApi.md -docs/TopicRequest.md -docs/TopicResponse.md -git_push.sh -mocha.opts -package.json -src/ApiClient.js -src/api/CorsApi.js -src/api/IndustryApi.js -src/api/TopicApi.js -src/index.js -src/model/Address.js -src/model/CompanyProduct.js -src/model/DeleteResponse.js -src/model/Error.js -src/model/Factor.js -src/model/Industry.js -src/model/IndustryRequest.js -src/model/IndustryResponse.js -src/model/InvalidError.js -src/model/InvalidErrorAllOf.js -src/model/Message.js -src/model/Observation.js -src/model/Pagination.js -src/model/RequestMeta.js -src/model/ResponseMeta.js -src/model/Topic.js -src/model/TopicRequest.js -src/model/TopicResponse.js -test/api/CorsApi.spec.js -test/api/IndustryApi.spec.js -test/api/TopicApi.spec.js -test/model/Address.spec.js -test/model/CompanyProduct.spec.js -test/model/DeleteResponse.spec.js -test/model/Error.spec.js -test/model/Factor.spec.js -test/model/Industry.spec.js -test/model/IndustryRequest.spec.js -test/model/IndustryResponse.spec.js -test/model/InvalidError.spec.js -test/model/InvalidErrorAllOf.spec.js -test/model/Message.spec.js -test/model/Observation.spec.js -test/model/Pagination.spec.js -test/model/RequestMeta.spec.js -test/model/ResponseMeta.spec.js -test/model/Topic.spec.js -test/model/TopicRequest.spec.js -test/model/TopicResponse.spec.js diff --git a/client/research/.openapi-generator/VERSION b/client/research/.openapi-generator/VERSION deleted file mode 100644 index 6d54bbd..0000000 --- a/client/research/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -6.0.1 \ No newline at end of file diff --git a/client/research/.travis.yml b/client/research/.travis.yml deleted file mode 100644 index 0968f7a..0000000 --- a/client/research/.travis.yml +++ /dev/null @@ -1,5 +0,0 @@ -language: node_js -cache: npm -node_js: - - "6" - - "6.1" diff --git a/client/research/README.md b/client/research/README.md deleted file mode 100644 index e2a8aab..0000000 --- a/client/research/README.md +++ /dev/null @@ -1,166 +0,0 @@ -# research - -Research - JavaScript client for research -Customer Information Microservice -This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - -- API version: 0.0.2 -- Package version: 0.0.2 -- 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 research --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 research 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/GIT_USER_ID/GIT_REPO_ID -then install it via: - -```shell - npm install GIT_USER_ID/GIT_REPO_ID --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 Research = require('research'); - - -var api = new Research.CorsApi() -var callback = function(error, data, response) { - if (error) { - console.error(error); - } else { - console.log('API called successfully.'); - } -}; -api.industryObservableOptions(callback); - -``` - -## Documentation for API Endpoints - -All URIs are relative to *http://research.vernonkeenan.com:8080/v1* - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*Research.CorsApi* | [**industryObservableOptions**](docs/CorsApi.md#industryObservableOptions) | **OPTIONS** /industries/observable | -*Research.CorsApi* | [**industryOptions**](docs/CorsApi.md#industryOptions) | **OPTIONS** /industries | -*Research.CorsApi* | [**topicObservableOptions**](docs/CorsApi.md#topicObservableOptions) | **OPTIONS** /topics/observable | -*Research.CorsApi* | [**topicOptions**](docs/CorsApi.md#topicOptions) | **OPTIONS** /topics | -*Research.IndustryApi* | [**getIndustries**](docs/IndustryApi.md#getIndustries) | **GET** /industries | Get Industry records -*Research.IndustryApi* | [**getIndustriesObservable**](docs/IndustryApi.md#getIndustriesObservable) | **GET** /industries/observable | Get Taxnexus Companies in an observable array -*Research.IndustryApi* | [**postIndustries**](docs/IndustryApi.md#postIndustries) | **POST** /industries | Add new companies -*Research.TopicApi* | [**getTopics**](docs/TopicApi.md#getTopics) | **GET** /topics | Get Topic records -*Research.TopicApi* | [**getTopicsObservable**](docs/TopicApi.md#getTopicsObservable) | **GET** /topics/observable | Get Taxnexus Companies in an observable array -*Research.TopicApi* | [**postTopics**](docs/TopicApi.md#postTopics) | **POST** /topics | Add new companies - - -## Documentation for Models - - - [Research.Address](docs/Address.md) - - [Research.CompanyProduct](docs/CompanyProduct.md) - - [Research.DeleteResponse](docs/DeleteResponse.md) - - [Research.Error](docs/Error.md) - - [Research.Factor](docs/Factor.md) - - [Research.Industry](docs/Industry.md) - - [Research.IndustryRequest](docs/IndustryRequest.md) - - [Research.IndustryResponse](docs/IndustryResponse.md) - - [Research.InvalidError](docs/InvalidError.md) - - [Research.InvalidErrorAllOf](docs/InvalidErrorAllOf.md) - - [Research.Message](docs/Message.md) - - [Research.Observation](docs/Observation.md) - - [Research.Pagination](docs/Pagination.md) - - [Research.RequestMeta](docs/RequestMeta.md) - - [Research.ResponseMeta](docs/ResponseMeta.md) - - [Research.Topic](docs/Topic.md) - - [Research.TopicRequest](docs/TopicRequest.md) - - [Research.TopicResponse](docs/TopicResponse.md) - - -## Documentation for Authorization - - - -### ApiKeyAuth - - -- **Type**: API key -- **API key parameter name**: X-API-Key -- **Location**: HTTP header - diff --git a/client/research/docs/Address.md b/client/research/docs/Address.md deleted file mode 100644 index 7f0ffa9..0000000 --- a/client/research/docs/Address.md +++ /dev/null @@ -1,15 +0,0 @@ -# Research.Address - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**city** | **String** | City | [optional] -**country** | **String** | Country full name | [optional] -**countryCode** | **String** | Country Code | [optional] -**postalCode** | **String** | Postal Code | [optional] -**state** | **String** | State full name | [optional] -**stateCode** | **String** | State Code | [optional] -**street** | **String** | Street number and name | [optional] - - diff --git a/client/research/docs/CompanyProduct.md b/client/research/docs/CompanyProduct.md deleted file mode 100644 index 1293bd1..0000000 --- a/client/research/docs/CompanyProduct.md +++ /dev/null @@ -1,18 +0,0 @@ -# Research.CompanyProduct - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ID** | **String** | Taxnexus Record Id | [optional] -**createdByID** | **String** | Created By User ID | [optional] -**createdDate** | **String** | Created Date | [optional] -**lastModifiedByID** | **String** | Last Modified By User ID | [optional] -**lastModifiedDate** | **String** | Last Modified Date | [optional] -**accountID** | **String** | Taxnexus ID of the Company that owns this Product | [optional] -**description** | **String** | Description of product | [optional] -**name** | **String** | Product Name | [optional] -**tagLine** | **String** | TagLine | [optional] -**URL** | **String** | Website | [optional] - - diff --git a/client/research/docs/CorsApi.md b/client/research/docs/CorsApi.md deleted file mode 100644 index 3c78359..0000000 --- a/client/research/docs/CorsApi.md +++ /dev/null @@ -1,176 +0,0 @@ -# Research.CorsApi - -All URIs are relative to *http://research.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**industryObservableOptions**](CorsApi.md#industryObservableOptions) | **OPTIONS** /industries/observable | -[**industryOptions**](CorsApi.md#industryOptions) | **OPTIONS** /industries | -[**topicObservableOptions**](CorsApi.md#topicObservableOptions) | **OPTIONS** /topics/observable | -[**topicOptions**](CorsApi.md#topicOptions) | **OPTIONS** /topics | - - - -## industryObservableOptions - -> industryObservableOptions() - - - -CORS support - -### Example - -```javascript -import Research from 'research'; - -let apiInstance = new Research.CorsApi(); -apiInstance.industryObservableOptions((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - - -## industryOptions - -> industryOptions() - - - -CORS support - -### Example - -```javascript -import Research from 'research'; - -let apiInstance = new Research.CorsApi(); -apiInstance.industryOptions((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - - -## topicObservableOptions - -> topicObservableOptions() - - - -CORS support - -### Example - -```javascript -import Research from 'research'; - -let apiInstance = new Research.CorsApi(); -apiInstance.topicObservableOptions((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - - -## topicOptions - -> topicOptions() - - - -CORS support - -### Example - -```javascript -import Research from 'research'; - -let apiInstance = new Research.CorsApi(); -apiInstance.topicOptions((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 - -No authorization required - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: Not defined - diff --git a/client/research/docs/DeleteResponse.md b/client/research/docs/DeleteResponse.md deleted file mode 100644 index 8aadf9b..0000000 --- a/client/research/docs/DeleteResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# Research.DeleteResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Message]**](Message.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/research/docs/Error.md b/client/research/docs/Error.md deleted file mode 100644 index 7909ba6..0000000 --- a/client/research/docs/Error.md +++ /dev/null @@ -1,11 +0,0 @@ -# Research.Error - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **Number** | | [optional] -**fields** | **String** | | [optional] -**message** | **String** | | [optional] - - diff --git a/client/research/docs/Factor.md b/client/research/docs/Factor.md deleted file mode 100644 index 127120d..0000000 --- a/client/research/docs/Factor.md +++ /dev/null @@ -1,18 +0,0 @@ -# Research.Factor - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ID** | **String** | Taxnexus Record Id | [optional] -**createdByID** | **String** | Created By User ID | [optional] -**createdDate** | **String** | Created Date | [optional] -**lastModifiedByID** | **String** | Last Modified By User ID | [optional] -**lastModifiedDate** | **String** | Last Modified Date | [optional] -**name** | **String** | Factor Name | [optional] -**description** | **String** | Topic Description | [optional] -**siteURL** | **String** | The URL of the corresponding page on the CMS | [optional] -**topicID** | **String** | The ID of the Topic that owns this Factor | [optional] -**observations** | [**[Observation]**](Observation.md) | The list of Observations used to analyze this industry | [optional] - - diff --git a/client/research/docs/Industry.md b/client/research/docs/Industry.md deleted file mode 100644 index ec3a96a..0000000 --- a/client/research/docs/Industry.md +++ /dev/null @@ -1,22 +0,0 @@ -# Research.Industry - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ID** | **String** | Taxnexus Record Id | [optional] -**createdByID** | **String** | Created By User ID | [optional] -**createdDate** | **String** | Created Date | [optional] -**lastModifiedByID** | **String** | Last Modified By User ID | [optional] -**lastModifiedDate** | **String** | Last Modified Date | [optional] -**name** | **String** | Industry Name | [optional] -**description** | **String** | Industry Description | [optional] -**parentIndustryID** | **String** | The ID of the Parent Industry | [optional] -**level** | **String** | The hierarchical level of this Industry | [optional] -**path** | **String** | The full path of this industry, including Parent | [optional] -**slug** | **String** | The CMS Slug for this Industry | [optional] -**siteURL** | **String** | The URL of the corresponding page on the CMS | [optional] -**companies** | **[String]** | The AccountIDs of the Companies in this Industry | [optional] -**companyProducts** | [**[CompanyProduct]**](CompanyProduct.md) | The list of Products in this industry | [optional] - - diff --git a/client/research/docs/IndustryApi.md b/client/research/docs/IndustryApi.md deleted file mode 100644 index c82deca..0000000 --- a/client/research/docs/IndustryApi.md +++ /dev/null @@ -1,168 +0,0 @@ -# Research.IndustryApi - -All URIs are relative to *http://research.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getIndustries**](IndustryApi.md#getIndustries) | **GET** /industries | Get Industry records -[**getIndustriesObservable**](IndustryApi.md#getIndustriesObservable) | **GET** /industries/observable | Get Taxnexus Companies in an observable array -[**postIndustries**](IndustryApi.md#postIndustries) | **POST** /industries | Add new companies - - - -## getIndustries - -> IndustryResponse getIndustries(opts) - -Get Industry records - -Retrieve Industry records from the datastore - -### Example - -```javascript -import Research from 'research'; -let defaultClient = Research.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Research.IndustryApi(); -let opts = { - 'industryId': "industryId_example" // String | Taxnexus Industry record ID -}; -apiInstance.getIndustries(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **industryId** | **String**| Taxnexus Industry record ID | [optional] - -### Return type - -[**IndustryResponse**](IndustryResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## getIndustriesObservable - -> [Industry] getIndustriesObservable(opts) - -Get Taxnexus Companies in an observable array - -A list of companies in a simple JSON array - -### Example - -```javascript -import Research from 'research'; -let defaultClient = Research.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Research.IndustryApi(); -let opts = { - 'industryId': "industryId_example" // String | Taxnexus Industry record ID -}; -apiInstance.getIndustriesObservable(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **industryId** | **String**| Taxnexus Industry record ID | [optional] - -### Return type - -[**[Industry]**](Industry.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## postIndustries - -> IndustryResponse postIndustries(industryRequest) - -Add new companies - -Add new companies - -### Example - -```javascript -import Research from 'research'; -let defaultClient = Research.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Research.IndustryApi(); -let industryRequest = new Research.IndustryRequest(); // IndustryRequest | An array of new Industry records -apiInstance.postIndustries(industryRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **industryRequest** | [**IndustryRequest**](IndustryRequest.md)| An array of new Industry records | - -### Return type - -[**IndustryResponse**](IndustryResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - diff --git a/client/research/docs/IndustryRequest.md b/client/research/docs/IndustryRequest.md deleted file mode 100644 index f645bb9..0000000 --- a/client/research/docs/IndustryRequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# Research.IndustryRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Industry]**](Industry.md) | | [optional] - - diff --git a/client/research/docs/IndustryResponse.md b/client/research/docs/IndustryResponse.md deleted file mode 100644 index bee36a8..0000000 --- a/client/research/docs/IndustryResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# Research.IndustryResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Industry]**](Industry.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/research/docs/InvalidError.md b/client/research/docs/InvalidError.md deleted file mode 100644 index 7fa6247..0000000 --- a/client/research/docs/InvalidError.md +++ /dev/null @@ -1,12 +0,0 @@ -# Research.InvalidError - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **Number** | | [optional] -**fields** | **String** | | [optional] -**message** | **String** | | [optional] -**details** | **[String]** | | [optional] - - diff --git a/client/research/docs/InvalidErrorAllOf.md b/client/research/docs/InvalidErrorAllOf.md deleted file mode 100644 index 03994bc..0000000 --- a/client/research/docs/InvalidErrorAllOf.md +++ /dev/null @@ -1,9 +0,0 @@ -# Research.InvalidErrorAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**details** | **[String]** | | [optional] - - diff --git a/client/research/docs/Message.md b/client/research/docs/Message.md deleted file mode 100644 index 2560086..0000000 --- a/client/research/docs/Message.md +++ /dev/null @@ -1,11 +0,0 @@ -# Research.Message - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **String** | | [optional] -**ref** | **String** | | [optional] -**status** | **Number** | | [optional] - - diff --git a/client/research/docs/Observation.md b/client/research/docs/Observation.md deleted file mode 100644 index 6fcbbe8..0000000 --- a/client/research/docs/Observation.md +++ /dev/null @@ -1,19 +0,0 @@ -# Research.Observation - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ID** | **String** | Taxnexus Record Id | [optional] -**createdByID** | **String** | Created By User ID | [optional] -**createdDate** | **String** | Created Date | [optional] -**lastModifiedByID** | **String** | Last Modified By User ID | [optional] -**lastModifiedDate** | **String** | Last Modified Date | [optional] -**factorID** | **String** | The ID of the Factor that owns this Observation | [optional] -**subjectType** | **Object** | Is the subject a Company or a Product? | [optional] -**accountID** | **String** | The ID of the Company being analyzed | [optional] -**companyProductID** | **String** | The ID of the Product being analyzed | [optional] -**description** | **String** | Notes concerning data collection | [optional] -**value** | **String** | The data point collected | [optional] - - diff --git a/client/research/docs/Pagination.md b/client/research/docs/Pagination.md deleted file mode 100644 index fee7220..0000000 --- a/client/research/docs/Pagination.md +++ /dev/null @@ -1,12 +0,0 @@ -# Research.Pagination - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**limit** | **Number** | | [optional] -**pagesize** | **Number** | | [optional] -**poffset** | **Number** | | [optional] -**setsize** | **Number** | | [optional] - - diff --git a/client/research/docs/RequestMeta.md b/client/research/docs/RequestMeta.md deleted file mode 100644 index 9b6713a..0000000 --- a/client/research/docs/RequestMeta.md +++ /dev/null @@ -1,9 +0,0 @@ -# Research.RequestMeta - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**taxnexusAccount** | **String** | Taxnexus Account Number of the Reseller or OEM | - - diff --git a/client/research/docs/ResponseMeta.md b/client/research/docs/ResponseMeta.md deleted file mode 100644 index 6f2ed81..0000000 --- a/client/research/docs/ResponseMeta.md +++ /dev/null @@ -1,20 +0,0 @@ -# Research.ResponseMeta - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**contact** | **String** | Microservice Contact Info | [optional] -**copyright** | **String** | Copyright Info | [optional] -**license** | **String** | License Information and Restrictions | [optional] -**operationID** | **String** | Operation ID | [optional] -**pagination** | [**Pagination**](Pagination.md) | | [optional] -**requestIP** | **String** | Request IP Address | [optional] -**requestType** | **String** | Request Type | [optional] -**requestURL** | **String** | Request URL | [optional] -**serverInfo** | **String** | Data Server Info | [optional] -**serverResponseTime** | **String** | Data Server Response Time (ms) | [optional] -**serverTimestamp** | **String** | Backend Server Timestamp | [optional] -**taxnexusAccount** | **String** | Taxnexus Account Number used for recording transactions | [optional] - - diff --git a/client/research/docs/Topic.md b/client/research/docs/Topic.md deleted file mode 100644 index 94bf8da..0000000 --- a/client/research/docs/Topic.md +++ /dev/null @@ -1,18 +0,0 @@ -# Research.Topic - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ID** | **String** | Taxnexus Record Id | [optional] -**createdByID** | **String** | Created By User ID | [optional] -**createdDate** | **String** | Created Date | [optional] -**lastModifiedByID** | **String** | Last Modified By User ID | [optional] -**lastModifiedDate** | **String** | Last Modified Date | [optional] -**name** | **String** | Topic Name | [optional] -**description** | **String** | Topic Description | [optional] -**siteURL** | **String** | The URL of the corresponding page on the CMS | [optional] -**parentTopicID** | **String** | The ID of the Parent Topic | [optional] -**factors** | [**[Factor]**](Factor.md) | The list of Factors used to analyze this industry | [optional] - - diff --git a/client/research/docs/TopicApi.md b/client/research/docs/TopicApi.md deleted file mode 100644 index 6c6bf0c..0000000 --- a/client/research/docs/TopicApi.md +++ /dev/null @@ -1,168 +0,0 @@ -# Research.TopicApi - -All URIs are relative to *http://research.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getTopics**](TopicApi.md#getTopics) | **GET** /topics | Get Topic records -[**getTopicsObservable**](TopicApi.md#getTopicsObservable) | **GET** /topics/observable | Get Taxnexus Companies in an observable array -[**postTopics**](TopicApi.md#postTopics) | **POST** /topics | Add new companies - - - -## getTopics - -> TopicResponse getTopics(opts) - -Get Topic records - -Retrieve Topic records from the datastore - -### Example - -```javascript -import Research from 'research'; -let defaultClient = Research.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Research.TopicApi(); -let opts = { - 'topicId': "topicId_example" // String | Taxnexus Topic record ID -}; -apiInstance.getTopics(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **topicId** | **String**| Taxnexus Topic record ID | [optional] - -### Return type - -[**TopicResponse**](TopicResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## getTopicsObservable - -> [Topic] getTopicsObservable(opts) - -Get Taxnexus Companies in an observable array - -A list of companies in a simple JSON array - -### Example - -```javascript -import Research from 'research'; -let defaultClient = Research.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Research.TopicApi(); -let opts = { - 'topicId': "topicId_example" // String | Taxnexus Topic record ID -}; -apiInstance.getTopicsObservable(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **topicId** | **String**| Taxnexus Topic record ID | [optional] - -### Return type - -[**[Topic]**](Topic.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## postTopics - -> TopicResponse postTopics(topicRequest) - -Add new companies - -Add new companies - -### Example - -```javascript -import Research from 'research'; -let defaultClient = Research.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Research.TopicApi(); -let topicRequest = new Research.TopicRequest(); // TopicRequest | An array of new Topic records -apiInstance.postTopics(topicRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **topicRequest** | [**TopicRequest**](TopicRequest.md)| An array of new Topic records | - -### Return type - -[**TopicResponse**](TopicResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - diff --git a/client/research/docs/TopicRequest.md b/client/research/docs/TopicRequest.md deleted file mode 100644 index 2e637bf..0000000 --- a/client/research/docs/TopicRequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# Research.TopicRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Topic]**](Topic.md) | | [optional] - - diff --git a/client/research/docs/TopicResponse.md b/client/research/docs/TopicResponse.md deleted file mode 100644 index 66426cf..0000000 --- a/client/research/docs/TopicResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# Research.TopicResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Topic]**](Topic.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/research/git_push.sh b/client/research/git_push.sh deleted file mode 100644 index f53a75d..0000000 --- a/client/research/git_push.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh -# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ -# -# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com" - -git_user_id=$1 -git_repo_id=$2 -release_note=$3 -git_host=$4 - -if [ "$git_host" = "" ]; then - git_host="github.com" - echo "[INFO] No command line input provided. Set \$git_host to $git_host" -fi - -if [ "$git_user_id" = "" ]; then - git_user_id="GIT_USER_ID" - echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" -fi - -if [ "$git_repo_id" = "" ]; then - git_repo_id="GIT_REPO_ID" - echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" -fi - -if [ "$release_note" = "" ]; then - release_note="Minor update" - echo "[INFO] No command line input provided. Set \$release_note to $release_note" -fi - -# Initialize the local directory as a Git repository -git init - -# Adds the files in the local repository and stages them for commit. -git add . - -# Commits the tracked changes and prepares them to be pushed to a remote repository. -git commit -m "$release_note" - -# Sets the new remote -git_remote=$(git remote) -if [ "$git_remote" = "" ]; then # git remote not defined - - if [ "$GIT_TOKEN" = "" ]; then - echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." - git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git - else - git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git - fi - -fi - -git pull origin master - -# Pushes (Forces) the changes in the local repository up to the remote repository -echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git" -git push origin master 2>&1 | grep -v 'To https' diff --git a/client/research/mocha.opts b/client/research/mocha.opts deleted file mode 100644 index 9070118..0000000 --- a/client/research/mocha.opts +++ /dev/null @@ -1 +0,0 @@ ---timeout 10000 diff --git a/client/research/package.json b/client/research/package.json deleted file mode 100644 index bb8fa1c..0000000 --- a/client/research/package.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "research", - "version": "0.0.2", - "description": "Customer_Information_Microservice", - "license": "Proprietary - Copyright (c) 2018-2021 by Taxnexus, Inc.", - "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/client/research/src/ApiClient.js b/client/research/src/ApiClient.js deleted file mode 100644 index c9ab2a9..0000000 --- a/client/research/src/ApiClient.js +++ /dev/null @@ -1,692 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * 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 0.0.2 -*/ - -/** -* 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 { - /** - * The base URL against which to resolve every API call's (relative) path. - * Overrides the default value set in spec file if present - * @param {String} basePath - */ - constructor(basePath = 'http://research.vernonkeenan.com:8080/v1') { - /** - * The base URL against which to resolve every API call's (relative) path. - * @type {String} - * @default http://research.vernonkeenan.com:8080/v1 - */ - this.basePath = basePath.replace(/\/+$/, ''); - - /** - * The authentication methods to be included for all API calls. - * @type {Array.} - */ - this.authentications = { - 'ApiKeyAuth': {type: 'apiKey', 'in': 'header', name: 'X-API-Key'} - } - - /** - * The default HTTP headers to be included for all API calls. - * @type {Array.} - * @default {} - */ - this.defaultHeaders = { - 'User-Agent': 'OpenAPI-Generator/0.0.2/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('text'); - } - - // 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': "http://research.vernonkeenan.com:8080/v1", - '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/client/research/src/api/CorsApi.js b/client/research/src/api/CorsApi.js deleted file mode 100644 index 034f070..0000000 --- a/client/research/src/api/CorsApi.js +++ /dev/null @@ -1,177 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - - -import ApiClient from "../ApiClient"; - -/** -* Cors service. -* @module api/CorsApi -* @version 0.0.2 -*/ -export default class CorsApi { - - /** - * Constructs a new CorsApi. - * @alias module:api/CorsApi - * @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 industryObservableOptions operation. - * @callback module:api/CorsApi~industryObservableOptionsCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~industryObservableOptionsCallback} callback The callback function, accepting three arguments: error, data, response - */ - industryObservableOptions(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/industries/observable', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the industryOptions operation. - * @callback module:api/CorsApi~industryOptionsCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~industryOptionsCallback} callback The callback function, accepting three arguments: error, data, response - */ - industryOptions(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/industries', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the topicObservableOptions operation. - * @callback module:api/CorsApi~topicObservableOptionsCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~topicObservableOptionsCallback} callback The callback function, accepting three arguments: error, data, response - */ - topicObservableOptions(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/topics/observable', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the topicOptions operation. - * @callback module:api/CorsApi~topicOptionsCallback - * @param {String} error Error message, if any. - * @param data This operation does not return a value. - * @param {String} response The complete HTTP response. - */ - - /** - * CORS support - * @param {module:api/CorsApi~topicOptionsCallback} callback The callback function, accepting three arguments: error, data, response - */ - topicOptions(callback) { - let postBody = null; - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = []; - let accepts = []; - let returnType = null; - return this.apiClient.callApi( - '/topics', 'OPTIONS', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/research/src/api/IndustryApi.js b/client/research/src/api/IndustryApi.js deleted file mode 100644 index d8fbb9c..0000000 --- a/client/research/src/api/IndustryApi.js +++ /dev/null @@ -1,165 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Error from '../model/Error'; -import Industry from '../model/Industry'; -import IndustryRequest from '../model/IndustryRequest'; -import IndustryResponse from '../model/IndustryResponse'; - -/** -* Industry service. -* @module api/IndustryApi -* @version 0.0.2 -*/ -export default class IndustryApi { - - /** - * Constructs a new IndustryApi. - * @alias module:api/IndustryApi - * @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 getIndustries operation. - * @callback module:api/IndustryApi~getIndustriesCallback - * @param {String} error Error message, if any. - * @param {module:model/IndustryResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get Industry records - * Retrieve Industry records from the datastore - * @param {Object} opts Optional parameters - * @param {String} opts.industryId Taxnexus Industry record ID - * @param {module:api/IndustryApi~getIndustriesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/IndustryResponse} - */ - getIndustries(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'industryId': opts['industryId'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = IndustryResponse; - return this.apiClient.callApi( - '/industries', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the getIndustriesObservable operation. - * @callback module:api/IndustryApi~getIndustriesObservableCallback - * @param {String} error Error message, if any. - * @param {Array.} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get Taxnexus Companies in an observable array - * A list of companies in a simple JSON array - * @param {Object} opts Optional parameters - * @param {String} opts.industryId Taxnexus Industry record ID - * @param {module:api/IndustryApi~getIndustriesObservableCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link Array.} - */ - getIndustriesObservable(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'industryId': opts['industryId'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = [Industry]; - return this.apiClient.callApi( - '/industries/observable', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the postIndustries operation. - * @callback module:api/IndustryApi~postIndustriesCallback - * @param {String} error Error message, if any. - * @param {module:model/IndustryResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Add new companies - * Add new companies - * @param {module:model/IndustryRequest} industryRequest An array of new Industry records - * @param {module:api/IndustryApi~postIndustriesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/IndustryResponse} - */ - postIndustries(industryRequest, callback) { - let postBody = industryRequest; - // verify the required parameter 'industryRequest' is set - if (industryRequest === undefined || industryRequest === null) { - throw new Error("Missing the required parameter 'industryRequest' when calling postIndustries"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = IndustryResponse; - return this.apiClient.callApi( - '/industries', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/research/src/api/TopicApi.js b/client/research/src/api/TopicApi.js deleted file mode 100644 index 1f15ed0..0000000 --- a/client/research/src/api/TopicApi.js +++ /dev/null @@ -1,165 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Error from '../model/Error'; -import Topic from '../model/Topic'; -import TopicRequest from '../model/TopicRequest'; -import TopicResponse from '../model/TopicResponse'; - -/** -* Topic service. -* @module api/TopicApi -* @version 0.0.2 -*/ -export default class TopicApi { - - /** - * Constructs a new TopicApi. - * @alias module:api/TopicApi - * @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 getTopics operation. - * @callback module:api/TopicApi~getTopicsCallback - * @param {String} error Error message, if any. - * @param {module:model/TopicResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get Topic records - * Retrieve Topic records from the datastore - * @param {Object} opts Optional parameters - * @param {String} opts.topicId Taxnexus Topic record ID - * @param {module:api/TopicApi~getTopicsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/TopicResponse} - */ - getTopics(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'topicId': opts['topicId'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = TopicResponse; - return this.apiClient.callApi( - '/topics', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the getTopicsObservable operation. - * @callback module:api/TopicApi~getTopicsObservableCallback - * @param {String} error Error message, if any. - * @param {Array.} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get Taxnexus Companies in an observable array - * A list of companies in a simple JSON array - * @param {Object} opts Optional parameters - * @param {String} opts.topicId Taxnexus Topic record ID - * @param {module:api/TopicApi~getTopicsObservableCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link Array.} - */ - getTopicsObservable(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'topicId': opts['topicId'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = [Topic]; - return this.apiClient.callApi( - '/topics/observable', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the postTopics operation. - * @callback module:api/TopicApi~postTopicsCallback - * @param {String} error Error message, if any. - * @param {module:model/TopicResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Add new companies - * Add new companies - * @param {module:model/TopicRequest} topicRequest An array of new Topic records - * @param {module:api/TopicApi~postTopicsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/TopicResponse} - */ - postTopics(topicRequest, callback) { - let postBody = topicRequest; - // verify the required parameter 'topicRequest' is set - if (topicRequest === undefined || topicRequest === null) { - throw new Error("Missing the required parameter 'topicRequest' when calling postTopics"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = TopicResponse; - return this.apiClient.callApi( - '/topics', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/research/src/index.js b/client/research/src/index.js deleted file mode 100644 index d93aa9d..0000000 --- a/client/research/src/index.js +++ /dev/null @@ -1,202 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Address from './model/Address'; -import CompanyProduct from './model/CompanyProduct'; -import DeleteResponse from './model/DeleteResponse'; -import Error from './model/Error'; -import Factor from './model/Factor'; -import Industry from './model/Industry'; -import IndustryRequest from './model/IndustryRequest'; -import IndustryResponse from './model/IndustryResponse'; -import InvalidError from './model/InvalidError'; -import InvalidErrorAllOf from './model/InvalidErrorAllOf'; -import Message from './model/Message'; -import Observation from './model/Observation'; -import Pagination from './model/Pagination'; -import RequestMeta from './model/RequestMeta'; -import ResponseMeta from './model/ResponseMeta'; -import Topic from './model/Topic'; -import TopicRequest from './model/TopicRequest'; -import TopicResponse from './model/TopicResponse'; -import CorsApi from './api/CorsApi'; -import IndustryApi from './api/IndustryApi'; -import TopicApi from './api/TopicApi'; - - -/** -* Customer_Information_Microservice.
-* 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 Research = require('index'); // See note below*.
-* var xxxSvc = new Research.XxxApi(); // Allocate the API class we're going to use.
-* var yyyModel = new Research.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 Research.XxxApi(); // Allocate the API class we're going to use.
-* var yyy = new Research.Yyy(); // Construct a model instance.
-* yyyModel.someProperty = 'someValue';
-* ...
-* var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
-* ...
-* 
-*

-* @module index -* @version 0.0.2 -*/ -export { - /** - * The ApiClient constructor. - * @property {module:ApiClient} - */ - ApiClient, - - /** - * The Address model constructor. - * @property {module:model/Address} - */ - Address, - - /** - * The CompanyProduct model constructor. - * @property {module:model/CompanyProduct} - */ - CompanyProduct, - - /** - * The DeleteResponse model constructor. - * @property {module:model/DeleteResponse} - */ - DeleteResponse, - - /** - * The Error model constructor. - * @property {module:model/Error} - */ - Error, - - /** - * The Factor model constructor. - * @property {module:model/Factor} - */ - Factor, - - /** - * The Industry model constructor. - * @property {module:model/Industry} - */ - Industry, - - /** - * The IndustryRequest model constructor. - * @property {module:model/IndustryRequest} - */ - IndustryRequest, - - /** - * The IndustryResponse model constructor. - * @property {module:model/IndustryResponse} - */ - IndustryResponse, - - /** - * The InvalidError model constructor. - * @property {module:model/InvalidError} - */ - InvalidError, - - /** - * The InvalidErrorAllOf model constructor. - * @property {module:model/InvalidErrorAllOf} - */ - InvalidErrorAllOf, - - /** - * The Message model constructor. - * @property {module:model/Message} - */ - Message, - - /** - * The Observation model constructor. - * @property {module:model/Observation} - */ - Observation, - - /** - * The Pagination model constructor. - * @property {module:model/Pagination} - */ - Pagination, - - /** - * The RequestMeta model constructor. - * @property {module:model/RequestMeta} - */ - RequestMeta, - - /** - * The ResponseMeta model constructor. - * @property {module:model/ResponseMeta} - */ - ResponseMeta, - - /** - * The Topic model constructor. - * @property {module:model/Topic} - */ - Topic, - - /** - * The TopicRequest model constructor. - * @property {module:model/TopicRequest} - */ - TopicRequest, - - /** - * The TopicResponse model constructor. - * @property {module:model/TopicResponse} - */ - TopicResponse, - - /** - * The CorsApi service constructor. - * @property {module:api/CorsApi} - */ - CorsApi, - - /** - * The IndustryApi service constructor. - * @property {module:api/IndustryApi} - */ - IndustryApi, - - /** - * The TopicApi service constructor. - * @property {module:api/TopicApi} - */ - TopicApi -}; diff --git a/client/research/src/model/Address.js b/client/research/src/model/Address.js deleted file mode 100644 index 3383ee3..0000000 --- a/client/research/src/model/Address.js +++ /dev/null @@ -1,126 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Address model module. - * @module model/Address - * @version 0.0.2 - */ -class Address { - /** - * Constructs a new Address. - * @alias module:model/Address - */ - constructor() { - - Address.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 Address 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/Address} obj Optional instance to populate. - * @return {module:model/Address} The populated Address instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Address(); - - if (data.hasOwnProperty('City')) { - obj['City'] = ApiClient.convertToType(data['City'], 'String'); - } - if (data.hasOwnProperty('Country')) { - obj['Country'] = ApiClient.convertToType(data['Country'], 'String'); - } - if (data.hasOwnProperty('CountryCode')) { - obj['CountryCode'] = ApiClient.convertToType(data['CountryCode'], 'String'); - } - if (data.hasOwnProperty('PostalCode')) { - obj['PostalCode'] = ApiClient.convertToType(data['PostalCode'], 'String'); - } - if (data.hasOwnProperty('State')) { - obj['State'] = ApiClient.convertToType(data['State'], 'String'); - } - if (data.hasOwnProperty('StateCode')) { - obj['StateCode'] = ApiClient.convertToType(data['StateCode'], 'String'); - } - if (data.hasOwnProperty('Street')) { - obj['Street'] = ApiClient.convertToType(data['Street'], 'String'); - } - } - return obj; - } - - -} - -/** - * City - * @member {String} City - */ -Address.prototype['City'] = undefined; - -/** - * Country full name - * @member {String} Country - */ -Address.prototype['Country'] = undefined; - -/** - * Country Code - * @member {String} CountryCode - */ -Address.prototype['CountryCode'] = undefined; - -/** - * Postal Code - * @member {String} PostalCode - */ -Address.prototype['PostalCode'] = undefined; - -/** - * State full name - * @member {String} State - */ -Address.prototype['State'] = undefined; - -/** - * State Code - * @member {String} StateCode - */ -Address.prototype['StateCode'] = undefined; - -/** - * Street number and name - * @member {String} Street - */ -Address.prototype['Street'] = undefined; - - - - - - -export default Address; - diff --git a/client/research/src/model/CompanyProduct.js b/client/research/src/model/CompanyProduct.js deleted file mode 100644 index 4055794..0000000 --- a/client/research/src/model/CompanyProduct.js +++ /dev/null @@ -1,154 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 CompanyProduct model module. - * @module model/CompanyProduct - * @version 0.0.2 - */ -class CompanyProduct { - /** - * Constructs a new CompanyProduct. - * A software product or service vended by a Company - * @alias module:model/CompanyProduct - */ - constructor() { - - CompanyProduct.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 CompanyProduct 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/CompanyProduct} obj Optional instance to populate. - * @return {module:model/CompanyProduct} The populated CompanyProduct instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new CompanyProduct(); - - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('AccountID')) { - obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String'); - } - if (data.hasOwnProperty('Description')) { - obj['Description'] = ApiClient.convertToType(data['Description'], 'String'); - } - if (data.hasOwnProperty('Name')) { - obj['Name'] = ApiClient.convertToType(data['Name'], 'String'); - } - if (data.hasOwnProperty('TagLine')) { - obj['TagLine'] = ApiClient.convertToType(data['TagLine'], 'String'); - } - if (data.hasOwnProperty('URL')) { - obj['URL'] = ApiClient.convertToType(data['URL'], 'String'); - } - } - return obj; - } - - -} - -/** - * Taxnexus Record Id - * @member {String} ID - */ -CompanyProduct.prototype['ID'] = undefined; - -/** - * Created By User ID - * @member {String} CreatedByID - */ -CompanyProduct.prototype['CreatedByID'] = undefined; - -/** - * Created Date - * @member {String} CreatedDate - */ -CompanyProduct.prototype['CreatedDate'] = undefined; - -/** - * Last Modified By User ID - * @member {String} LastModifiedByID - */ -CompanyProduct.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modified Date - * @member {String} LastModifiedDate - */ -CompanyProduct.prototype['LastModifiedDate'] = undefined; - -/** - * Taxnexus ID of the Company that owns this Product - * @member {String} AccountID - */ -CompanyProduct.prototype['AccountID'] = undefined; - -/** - * Description of product - * @member {String} Description - */ -CompanyProduct.prototype['Description'] = undefined; - -/** - * Product Name - * @member {String} Name - */ -CompanyProduct.prototype['Name'] = undefined; - -/** - * TagLine - * @member {String} TagLine - */ -CompanyProduct.prototype['TagLine'] = undefined; - -/** - * Website - * @member {String} URL - */ -CompanyProduct.prototype['URL'] = undefined; - - - - - - -export default CompanyProduct; - diff --git a/client/research/src/model/DeleteResponse.js b/client/research/src/model/DeleteResponse.js deleted file mode 100644 index 5ce1640..0000000 --- a/client/research/src/model/DeleteResponse.js +++ /dev/null @@ -1,81 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Message from './Message'; -import ResponseMeta from './ResponseMeta'; - -/** - * The DeleteResponse model module. - * @module model/DeleteResponse - * @version 0.0.2 - */ -class DeleteResponse { - /** - * Constructs a new DeleteResponse. - * @alias module:model/DeleteResponse - */ - constructor() { - - DeleteResponse.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 DeleteResponse 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/DeleteResponse} obj Optional instance to populate. - * @return {module:model/DeleteResponse} The populated DeleteResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new DeleteResponse(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Message]); - } - if (data.hasOwnProperty('Meta')) { - obj['Meta'] = ResponseMeta.constructFromObject(data['Meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -DeleteResponse.prototype['Data'] = undefined; - -/** - * @member {module:model/ResponseMeta} Meta - */ -DeleteResponse.prototype['Meta'] = undefined; - - - - - - -export default DeleteResponse; - diff --git a/client/research/src/model/Error.js b/client/research/src/model/Error.js deleted file mode 100644 index 9d03eff..0000000 --- a/client/research/src/model/Error.js +++ /dev/null @@ -1,87 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Error model module. - * @module model/Error - * @version 0.0.2 - */ -class Error { - /** - * Constructs a new Error. - * @alias module:model/Error - */ - constructor() { - - Error.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 Error 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/Error} obj Optional instance to populate. - * @return {module:model/Error} The populated Error instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Error(); - - if (data.hasOwnProperty('Code')) { - obj['Code'] = ApiClient.convertToType(data['Code'], 'Number'); - } - if (data.hasOwnProperty('Fields')) { - obj['Fields'] = ApiClient.convertToType(data['Fields'], 'String'); - } - if (data.hasOwnProperty('Message')) { - obj['Message'] = ApiClient.convertToType(data['Message'], 'String'); - } - } - return obj; - } - - -} - -/** - * @member {Number} Code - */ -Error.prototype['Code'] = undefined; - -/** - * @member {String} Fields - */ -Error.prototype['Fields'] = undefined; - -/** - * @member {String} Message - */ -Error.prototype['Message'] = undefined; - - - - - - -export default Error; - diff --git a/client/research/src/model/Factor.js b/client/research/src/model/Factor.js deleted file mode 100644 index bf36006..0000000 --- a/client/research/src/model/Factor.js +++ /dev/null @@ -1,155 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Observation from './Observation'; - -/** - * The Factor model module. - * @module model/Factor - * @version 0.0.2 - */ -class Factor { - /** - * Constructs a new Factor. - * A Factor of analysis within a research topic - * @alias module:model/Factor - */ - constructor() { - - Factor.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 Factor 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/Factor} obj Optional instance to populate. - * @return {module:model/Factor} The populated Factor instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Factor(); - - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], '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('SiteURL')) { - obj['SiteURL'] = ApiClient.convertToType(data['SiteURL'], 'String'); - } - if (data.hasOwnProperty('TopicID')) { - obj['TopicID'] = ApiClient.convertToType(data['TopicID'], 'String'); - } - if (data.hasOwnProperty('Observations')) { - obj['Observations'] = ApiClient.convertToType(data['Observations'], [Observation]); - } - } - return obj; - } - - -} - -/** - * Taxnexus Record Id - * @member {String} ID - */ -Factor.prototype['ID'] = undefined; - -/** - * Created By User ID - * @member {String} CreatedByID - */ -Factor.prototype['CreatedByID'] = undefined; - -/** - * Created Date - * @member {String} CreatedDate - */ -Factor.prototype['CreatedDate'] = undefined; - -/** - * Last Modified By User ID - * @member {String} LastModifiedByID - */ -Factor.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modified Date - * @member {String} LastModifiedDate - */ -Factor.prototype['LastModifiedDate'] = undefined; - -/** - * Factor Name - * @member {String} Name - */ -Factor.prototype['Name'] = undefined; - -/** - * Topic Description - * @member {String} Description - */ -Factor.prototype['Description'] = undefined; - -/** - * The URL of the corresponding page on the CMS - * @member {String} SiteURL - */ -Factor.prototype['SiteURL'] = undefined; - -/** - * The ID of the Topic that owns this Factor - * @member {String} TopicID - */ -Factor.prototype['TopicID'] = undefined; - -/** - * The list of Observations used to analyze this industry - * @member {Array.} Observations - */ -Factor.prototype['Observations'] = undefined; - - - - - - -export default Factor; - diff --git a/client/research/src/model/Industry.js b/client/research/src/model/Industry.js deleted file mode 100644 index 512b043..0000000 --- a/client/research/src/model/Industry.js +++ /dev/null @@ -1,191 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 CompanyProduct from './CompanyProduct'; - -/** - * The Industry model module. - * @module model/Industry - * @version 0.0.2 - */ -class Industry { - /** - * Constructs a new Industry. - * An industry that is being researched - * @alias module:model/Industry - */ - constructor() { - - Industry.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 Industry 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/Industry} obj Optional instance to populate. - * @return {module:model/Industry} The populated Industry instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Industry(); - - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], '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('ParentIndustryID')) { - obj['ParentIndustryID'] = ApiClient.convertToType(data['ParentIndustryID'], 'String'); - } - if (data.hasOwnProperty('Level')) { - obj['Level'] = ApiClient.convertToType(data['Level'], 'String'); - } - if (data.hasOwnProperty('Path')) { - obj['Path'] = ApiClient.convertToType(data['Path'], 'String'); - } - if (data.hasOwnProperty('Slug')) { - obj['Slug'] = ApiClient.convertToType(data['Slug'], 'String'); - } - if (data.hasOwnProperty('SiteURL')) { - obj['SiteURL'] = ApiClient.convertToType(data['SiteURL'], 'String'); - } - if (data.hasOwnProperty('Companies')) { - obj['Companies'] = ApiClient.convertToType(data['Companies'], ['String']); - } - if (data.hasOwnProperty('CompanyProducts')) { - obj['CompanyProducts'] = ApiClient.convertToType(data['CompanyProducts'], [CompanyProduct]); - } - } - return obj; - } - - -} - -/** - * Taxnexus Record Id - * @member {String} ID - */ -Industry.prototype['ID'] = undefined; - -/** - * Created By User ID - * @member {String} CreatedByID - */ -Industry.prototype['CreatedByID'] = undefined; - -/** - * Created Date - * @member {String} CreatedDate - */ -Industry.prototype['CreatedDate'] = undefined; - -/** - * Last Modified By User ID - * @member {String} LastModifiedByID - */ -Industry.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modified Date - * @member {String} LastModifiedDate - */ -Industry.prototype['LastModifiedDate'] = undefined; - -/** - * Industry Name - * @member {String} Name - */ -Industry.prototype['Name'] = undefined; - -/** - * Industry Description - * @member {String} Description - */ -Industry.prototype['Description'] = undefined; - -/** - * The ID of the Parent Industry - * @member {String} ParentIndustryID - */ -Industry.prototype['ParentIndustryID'] = undefined; - -/** - * The hierarchical level of this Industry - * @member {String} Level - */ -Industry.prototype['Level'] = undefined; - -/** - * The full path of this industry, including Parent - * @member {String} Path - */ -Industry.prototype['Path'] = undefined; - -/** - * The CMS Slug for this Industry - * @member {String} Slug - */ -Industry.prototype['Slug'] = undefined; - -/** - * The URL of the corresponding page on the CMS - * @member {String} SiteURL - */ -Industry.prototype['SiteURL'] = undefined; - -/** - * The AccountIDs of the Companies in this Industry - * @member {Array.} Companies - */ -Industry.prototype['Companies'] = undefined; - -/** - * The list of Products in this industry - * @member {Array.} CompanyProducts - */ -Industry.prototype['CompanyProducts'] = undefined; - - - - - - -export default Industry; - diff --git a/client/research/src/model/IndustryRequest.js b/client/research/src/model/IndustryRequest.js deleted file mode 100644 index 73adc33..0000000 --- a/client/research/src/model/IndustryRequest.js +++ /dev/null @@ -1,73 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Industry from './Industry'; - -/** - * The IndustryRequest model module. - * @module model/IndustryRequest - * @version 0.0.2 - */ -class IndustryRequest { - /** - * Constructs a new IndustryRequest. - * An array of Industry objects submitted for processing - * @alias module:model/IndustryRequest - */ - constructor() { - - IndustryRequest.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 IndustryRequest 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/IndustryRequest} obj Optional instance to populate. - * @return {module:model/IndustryRequest} The populated IndustryRequest instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new IndustryRequest(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Industry]); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -IndustryRequest.prototype['Data'] = undefined; - - - - - - -export default IndustryRequest; - diff --git a/client/research/src/model/IndustryResponse.js b/client/research/src/model/IndustryResponse.js deleted file mode 100644 index 5cfec10..0000000 --- a/client/research/src/model/IndustryResponse.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Industry from './Industry'; -import ResponseMeta from './ResponseMeta'; - -/** - * The IndustryResponse model module. - * @module model/IndustryResponse - * @version 0.0.2 - */ -class IndustryResponse { - /** - * Constructs a new IndustryResponse. - * An array of Industry objects produced in response to a request - * @alias module:model/IndustryResponse - */ - constructor() { - - IndustryResponse.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 IndustryResponse 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/IndustryResponse} obj Optional instance to populate. - * @return {module:model/IndustryResponse} The populated IndustryResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new IndustryResponse(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Industry]); - } - if (data.hasOwnProperty('Meta')) { - obj['Meta'] = ResponseMeta.constructFromObject(data['Meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -IndustryResponse.prototype['Data'] = undefined; - -/** - * @member {module:model/ResponseMeta} Meta - */ -IndustryResponse.prototype['Meta'] = undefined; - - - - - - -export default IndustryResponse; - diff --git a/client/research/src/model/InvalidError.js b/client/research/src/model/InvalidError.js deleted file mode 100644 index 61a17e6..0000000 --- a/client/research/src/model/InvalidError.js +++ /dev/null @@ -1,119 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Error from './Error'; -import InvalidErrorAllOf from './InvalidErrorAllOf'; - -/** - * The InvalidError model module. - * @module model/InvalidError - * @version 0.0.2 - */ -class InvalidError { - /** - * Constructs a new InvalidError. - * @alias module:model/InvalidError - * @implements module:model/Error - * @implements module:model/InvalidErrorAllOf - */ - constructor() { - Error.initialize(this);InvalidErrorAllOf.initialize(this); - InvalidError.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 InvalidError 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/InvalidError} obj Optional instance to populate. - * @return {module:model/InvalidError} The populated InvalidError instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new InvalidError(); - Error.constructFromObject(data, obj); - InvalidErrorAllOf.constructFromObject(data, obj); - - if (data.hasOwnProperty('Code')) { - obj['Code'] = ApiClient.convertToType(data['Code'], 'Number'); - } - if (data.hasOwnProperty('Fields')) { - obj['Fields'] = ApiClient.convertToType(data['Fields'], 'String'); - } - if (data.hasOwnProperty('Message')) { - obj['Message'] = ApiClient.convertToType(data['Message'], 'String'); - } - if (data.hasOwnProperty('details')) { - obj['details'] = ApiClient.convertToType(data['details'], ['String']); - } - } - return obj; - } - - -} - -/** - * @member {Number} Code - */ -InvalidError.prototype['Code'] = undefined; - -/** - * @member {String} Fields - */ -InvalidError.prototype['Fields'] = undefined; - -/** - * @member {String} Message - */ -InvalidError.prototype['Message'] = undefined; - -/** - * @member {Array.} details - */ -InvalidError.prototype['details'] = undefined; - - -// Implement Error interface: -/** - * @member {Number} Code - */ -Error.prototype['Code'] = undefined; -/** - * @member {String} Fields - */ -Error.prototype['Fields'] = undefined; -/** - * @member {String} Message - */ -Error.prototype['Message'] = undefined; -// Implement InvalidErrorAllOf interface: -/** - * @member {Array.} details - */ -InvalidErrorAllOf.prototype['details'] = undefined; - - - - -export default InvalidError; - diff --git a/client/research/src/model/InvalidErrorAllOf.js b/client/research/src/model/InvalidErrorAllOf.js deleted file mode 100644 index b16d924..0000000 --- a/client/research/src/model/InvalidErrorAllOf.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 InvalidErrorAllOf model module. - * @module model/InvalidErrorAllOf - * @version 0.0.2 - */ -class InvalidErrorAllOf { - /** - * Constructs a new InvalidErrorAllOf. - * @alias module:model/InvalidErrorAllOf - */ - constructor() { - - InvalidErrorAllOf.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 InvalidErrorAllOf 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/InvalidErrorAllOf} obj Optional instance to populate. - * @return {module:model/InvalidErrorAllOf} The populated InvalidErrorAllOf instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new InvalidErrorAllOf(); - - if (data.hasOwnProperty('details')) { - obj['details'] = ApiClient.convertToType(data['details'], ['String']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} details - */ -InvalidErrorAllOf.prototype['details'] = undefined; - - - - - - -export default InvalidErrorAllOf; - diff --git a/client/research/src/model/Message.js b/client/research/src/model/Message.js deleted file mode 100644 index 03bdfe1..0000000 --- a/client/research/src/model/Message.js +++ /dev/null @@ -1,87 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Message model module. - * @module model/Message - * @version 0.0.2 - */ -class Message { - /** - * Constructs a new Message. - * @alias module:model/Message - */ - constructor() { - - Message.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 Message 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/Message} obj Optional instance to populate. - * @return {module:model/Message} The populated Message instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Message(); - - if (data.hasOwnProperty('message')) { - obj['message'] = ApiClient.convertToType(data['message'], 'String'); - } - if (data.hasOwnProperty('ref')) { - obj['ref'] = ApiClient.convertToType(data['ref'], 'String'); - } - if (data.hasOwnProperty('status')) { - obj['status'] = ApiClient.convertToType(data['status'], 'Number'); - } - } - return obj; - } - - -} - -/** - * @member {String} message - */ -Message.prototype['message'] = undefined; - -/** - * @member {String} ref - */ -Message.prototype['ref'] = undefined; - -/** - * @member {Number} status - */ -Message.prototype['status'] = undefined; - - - - - - -export default Message; - diff --git a/client/research/src/model/Observation.js b/client/research/src/model/Observation.js deleted file mode 100644 index fddf742..0000000 --- a/client/research/src/model/Observation.js +++ /dev/null @@ -1,163 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Observation model module. - * @module model/Observation - * @version 0.0.2 - */ -class Observation { - /** - * Constructs a new Observation. - * A data point collected while analyzing a Factor - * @alias module:model/Observation - */ - constructor() { - - Observation.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 Observation 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/Observation} obj Optional instance to populate. - * @return {module:model/Observation} The populated Observation instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Observation(); - - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('FactorID')) { - obj['FactorID'] = ApiClient.convertToType(data['FactorID'], 'String'); - } - if (data.hasOwnProperty('SubjectType')) { - obj['SubjectType'] = ApiClient.convertToType(data['SubjectType'], Object); - } - if (data.hasOwnProperty('AccountID')) { - obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String'); - } - if (data.hasOwnProperty('companyProductID')) { - obj['companyProductID'] = ApiClient.convertToType(data['companyProductID'], 'String'); - } - if (data.hasOwnProperty('Description')) { - obj['Description'] = ApiClient.convertToType(data['Description'], 'String'); - } - if (data.hasOwnProperty('Value')) { - obj['Value'] = ApiClient.convertToType(data['Value'], 'String'); - } - } - return obj; - } - - -} - -/** - * Taxnexus Record Id - * @member {String} ID - */ -Observation.prototype['ID'] = undefined; - -/** - * Created By User ID - * @member {String} CreatedByID - */ -Observation.prototype['CreatedByID'] = undefined; - -/** - * Created Date - * @member {String} CreatedDate - */ -Observation.prototype['CreatedDate'] = undefined; - -/** - * Last Modified By User ID - * @member {String} LastModifiedByID - */ -Observation.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modified Date - * @member {String} LastModifiedDate - */ -Observation.prototype['LastModifiedDate'] = undefined; - -/** - * The ID of the Factor that owns this Observation - * @member {String} FactorID - */ -Observation.prototype['FactorID'] = undefined; - -/** - * Is the subject a Company or a Product? - * @member {Object} SubjectType - */ -Observation.prototype['SubjectType'] = undefined; - -/** - * The ID of the Company being analyzed - * @member {String} AccountID - */ -Observation.prototype['AccountID'] = undefined; - -/** - * The ID of the Product being analyzed - * @member {String} companyProductID - */ -Observation.prototype['companyProductID'] = undefined; - -/** - * Notes concerning data collection - * @member {String} Description - */ -Observation.prototype['Description'] = undefined; - -/** - * The data point collected - * @member {String} Value - */ -Observation.prototype['Value'] = undefined; - - - - - - -export default Observation; - diff --git a/client/research/src/model/Pagination.js b/client/research/src/model/Pagination.js deleted file mode 100644 index 2df41b2..0000000 --- a/client/research/src/model/Pagination.js +++ /dev/null @@ -1,95 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Pagination model module. - * @module model/Pagination - * @version 0.0.2 - */ -class Pagination { - /** - * Constructs a new Pagination. - * @alias module:model/Pagination - */ - constructor() { - - Pagination.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 Pagination 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/Pagination} obj Optional instance to populate. - * @return {module:model/Pagination} The populated Pagination instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Pagination(); - - if (data.hasOwnProperty('limit')) { - obj['limit'] = ApiClient.convertToType(data['limit'], 'Number'); - } - if (data.hasOwnProperty('pagesize')) { - obj['pagesize'] = ApiClient.convertToType(data['pagesize'], 'Number'); - } - if (data.hasOwnProperty('poffset')) { - obj['poffset'] = ApiClient.convertToType(data['poffset'], 'Number'); - } - if (data.hasOwnProperty('setsize')) { - obj['setsize'] = ApiClient.convertToType(data['setsize'], 'Number'); - } - } - return obj; - } - - -} - -/** - * @member {Number} limit - */ -Pagination.prototype['limit'] = undefined; - -/** - * @member {Number} pagesize - */ -Pagination.prototype['pagesize'] = undefined; - -/** - * @member {Number} poffset - */ -Pagination.prototype['poffset'] = undefined; - -/** - * @member {Number} setsize - */ -Pagination.prototype['setsize'] = undefined; - - - - - - -export default Pagination; - diff --git a/client/research/src/model/RequestMeta.js b/client/research/src/model/RequestMeta.js deleted file mode 100644 index eef5c11..0000000 --- a/client/research/src/model/RequestMeta.js +++ /dev/null @@ -1,74 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 RequestMeta model module. - * @module model/RequestMeta - * @version 0.0.2 - */ -class RequestMeta { - /** - * Constructs a new RequestMeta. - * @alias module:model/RequestMeta - * @param taxnexusAccount {String} Taxnexus Account Number of the Reseller or OEM - */ - constructor(taxnexusAccount) { - - RequestMeta.initialize(this, taxnexusAccount); - } - - /** - * 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, taxnexusAccount) { - obj['TaxnexusAccount'] = taxnexusAccount; - } - - /** - * Constructs a RequestMeta 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/RequestMeta} obj Optional instance to populate. - * @return {module:model/RequestMeta} The populated RequestMeta instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new RequestMeta(); - - if (data.hasOwnProperty('TaxnexusAccount')) { - obj['TaxnexusAccount'] = ApiClient.convertToType(data['TaxnexusAccount'], 'String'); - } - } - return obj; - } - - -} - -/** - * Taxnexus Account Number of the Reseller or OEM - * @member {String} TaxnexusAccount - */ -RequestMeta.prototype['TaxnexusAccount'] = undefined; - - - - - - -export default RequestMeta; - diff --git a/client/research/src/model/ResponseMeta.js b/client/research/src/model/ResponseMeta.js deleted file mode 100644 index 5682ce3..0000000 --- a/client/research/src/model/ResponseMeta.js +++ /dev/null @@ -1,171 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Pagination from './Pagination'; - -/** - * The ResponseMeta model module. - * @module model/ResponseMeta - * @version 0.0.2 - */ -class ResponseMeta { - /** - * Constructs a new ResponseMeta. - * @alias module:model/ResponseMeta - */ - constructor() { - - ResponseMeta.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 ResponseMeta 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/ResponseMeta} obj Optional instance to populate. - * @return {module:model/ResponseMeta} The populated ResponseMeta instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new ResponseMeta(); - - if (data.hasOwnProperty('Contact')) { - obj['Contact'] = ApiClient.convertToType(data['Contact'], 'String'); - } - if (data.hasOwnProperty('Copyright')) { - obj['Copyright'] = ApiClient.convertToType(data['Copyright'], 'String'); - } - if (data.hasOwnProperty('License')) { - obj['License'] = ApiClient.convertToType(data['License'], 'String'); - } - if (data.hasOwnProperty('OperationID')) { - obj['OperationID'] = ApiClient.convertToType(data['OperationID'], 'String'); - } - if (data.hasOwnProperty('Pagination')) { - obj['Pagination'] = Pagination.constructFromObject(data['Pagination']); - } - if (data.hasOwnProperty('RequestIP')) { - obj['RequestIP'] = ApiClient.convertToType(data['RequestIP'], 'String'); - } - if (data.hasOwnProperty('RequestType')) { - obj['RequestType'] = ApiClient.convertToType(data['RequestType'], 'String'); - } - if (data.hasOwnProperty('RequestURL')) { - obj['RequestURL'] = ApiClient.convertToType(data['RequestURL'], 'String'); - } - if (data.hasOwnProperty('ServerInfo')) { - obj['ServerInfo'] = ApiClient.convertToType(data['ServerInfo'], 'String'); - } - if (data.hasOwnProperty('ServerResponseTime')) { - obj['ServerResponseTime'] = ApiClient.convertToType(data['ServerResponseTime'], 'String'); - } - if (data.hasOwnProperty('ServerTimestamp')) { - obj['ServerTimestamp'] = ApiClient.convertToType(data['ServerTimestamp'], 'String'); - } - if (data.hasOwnProperty('TaxnexusAccount')) { - obj['TaxnexusAccount'] = ApiClient.convertToType(data['TaxnexusAccount'], 'String'); - } - } - return obj; - } - - -} - -/** - * Microservice Contact Info - * @member {String} Contact - */ -ResponseMeta.prototype['Contact'] = undefined; - -/** - * Copyright Info - * @member {String} Copyright - */ -ResponseMeta.prototype['Copyright'] = undefined; - -/** - * License Information and Restrictions - * @member {String} License - */ -ResponseMeta.prototype['License'] = undefined; - -/** - * Operation ID - * @member {String} OperationID - */ -ResponseMeta.prototype['OperationID'] = undefined; - -/** - * @member {module:model/Pagination} Pagination - */ -ResponseMeta.prototype['Pagination'] = undefined; - -/** - * Request IP Address - * @member {String} RequestIP - */ -ResponseMeta.prototype['RequestIP'] = undefined; - -/** - * Request Type - * @member {String} RequestType - */ -ResponseMeta.prototype['RequestType'] = undefined; - -/** - * Request URL - * @member {String} RequestURL - */ -ResponseMeta.prototype['RequestURL'] = undefined; - -/** - * Data Server Info - * @member {String} ServerInfo - */ -ResponseMeta.prototype['ServerInfo'] = undefined; - -/** - * Data Server Response Time (ms) - * @member {String} ServerResponseTime - */ -ResponseMeta.prototype['ServerResponseTime'] = undefined; - -/** - * Backend Server Timestamp - * @member {String} ServerTimestamp - */ -ResponseMeta.prototype['ServerTimestamp'] = undefined; - -/** - * Taxnexus Account Number used for recording transactions - * @member {String} TaxnexusAccount - */ -ResponseMeta.prototype['TaxnexusAccount'] = undefined; - - - - - - -export default ResponseMeta; - diff --git a/client/research/src/model/Topic.js b/client/research/src/model/Topic.js deleted file mode 100644 index 576be59..0000000 --- a/client/research/src/model/Topic.js +++ /dev/null @@ -1,155 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Factor from './Factor'; - -/** - * The Topic model module. - * @module model/Topic - * @version 0.0.2 - */ -class Topic { - /** - * Constructs a new Topic. - * A research topic that collects data - * @alias module:model/Topic - */ - constructor() { - - Topic.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 Topic 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/Topic} obj Optional instance to populate. - * @return {module:model/Topic} The populated Topic instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Topic(); - - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], '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('SiteURL')) { - obj['SiteURL'] = ApiClient.convertToType(data['SiteURL'], 'String'); - } - if (data.hasOwnProperty('ParentTopicID')) { - obj['ParentTopicID'] = ApiClient.convertToType(data['ParentTopicID'], 'String'); - } - if (data.hasOwnProperty('Factors')) { - obj['Factors'] = ApiClient.convertToType(data['Factors'], [Factor]); - } - } - return obj; - } - - -} - -/** - * Taxnexus Record Id - * @member {String} ID - */ -Topic.prototype['ID'] = undefined; - -/** - * Created By User ID - * @member {String} CreatedByID - */ -Topic.prototype['CreatedByID'] = undefined; - -/** - * Created Date - * @member {String} CreatedDate - */ -Topic.prototype['CreatedDate'] = undefined; - -/** - * Last Modified By User ID - * @member {String} LastModifiedByID - */ -Topic.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modified Date - * @member {String} LastModifiedDate - */ -Topic.prototype['LastModifiedDate'] = undefined; - -/** - * Topic Name - * @member {String} Name - */ -Topic.prototype['Name'] = undefined; - -/** - * Topic Description - * @member {String} Description - */ -Topic.prototype['Description'] = undefined; - -/** - * The URL of the corresponding page on the CMS - * @member {String} SiteURL - */ -Topic.prototype['SiteURL'] = undefined; - -/** - * The ID of the Parent Topic - * @member {String} ParentTopicID - */ -Topic.prototype['ParentTopicID'] = undefined; - -/** - * The list of Factors used to analyze this industry - * @member {Array.} Factors - */ -Topic.prototype['Factors'] = undefined; - - - - - - -export default Topic; - diff --git a/client/research/src/model/TopicRequest.js b/client/research/src/model/TopicRequest.js deleted file mode 100644 index 727b850..0000000 --- a/client/research/src/model/TopicRequest.js +++ /dev/null @@ -1,73 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Topic from './Topic'; - -/** - * The TopicRequest model module. - * @module model/TopicRequest - * @version 0.0.2 - */ -class TopicRequest { - /** - * Constructs a new TopicRequest. - * An array of Topic objects submitted for processing - * @alias module:model/TopicRequest - */ - constructor() { - - TopicRequest.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 TopicRequest 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/TopicRequest} obj Optional instance to populate. - * @return {module:model/TopicRequest} The populated TopicRequest instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new TopicRequest(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Topic]); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -TopicRequest.prototype['Data'] = undefined; - - - - - - -export default TopicRequest; - diff --git a/client/research/src/model/TopicResponse.js b/client/research/src/model/TopicResponse.js deleted file mode 100644 index 43e5eff..0000000 --- a/client/research/src/model/TopicResponse.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 ResponseMeta from './ResponseMeta'; -import Topic from './Topic'; - -/** - * The TopicResponse model module. - * @module model/TopicResponse - * @version 0.0.2 - */ -class TopicResponse { - /** - * Constructs a new TopicResponse. - * An array of Topic objects produced in response to a request - * @alias module:model/TopicResponse - */ - constructor() { - - TopicResponse.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 TopicResponse 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/TopicResponse} obj Optional instance to populate. - * @return {module:model/TopicResponse} The populated TopicResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new TopicResponse(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Topic]); - } - if (data.hasOwnProperty('Meta')) { - obj['Meta'] = ResponseMeta.constructFromObject(data['Meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -TopicResponse.prototype['Data'] = undefined; - -/** - * @member {module:model/ResponseMeta} Meta - */ -TopicResponse.prototype['Meta'] = undefined; - - - - - - -export default TopicResponse; - diff --git a/client/research/test/api/CorsApi.spec.js b/client/research/test/api/CorsApi.spec.js deleted file mode 100644 index 3d94379..0000000 --- a/client/research/test/api/CorsApi.spec.js +++ /dev/null @@ -1,93 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Research); - } -}(this, function(expect, Research) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Research.CorsApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('CorsApi', function() { - describe('industryObservableOptions', function() { - it('should call industryObservableOptions successfully', function(done) { - //uncomment below and update the code to test industryObservableOptions - //instance.industryObservableOptions(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('industryOptions', function() { - it('should call industryOptions successfully', function(done) { - //uncomment below and update the code to test industryOptions - //instance.industryOptions(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('topicObservableOptions', function() { - it('should call topicObservableOptions successfully', function(done) { - //uncomment below and update the code to test topicObservableOptions - //instance.topicObservableOptions(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('topicOptions', function() { - it('should call topicOptions successfully', function(done) { - //uncomment below and update the code to test topicOptions - //instance.topicOptions(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/research/test/api/IndustryApi.spec.js b/client/research/test/api/IndustryApi.spec.js deleted file mode 100644 index ff25cad..0000000 --- a/client/research/test/api/IndustryApi.spec.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Research); - } -}(this, function(expect, Research) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Research.IndustryApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('IndustryApi', function() { - describe('getIndustries', function() { - it('should call getIndustries successfully', function(done) { - //uncomment below and update the code to test getIndustries - //instance.getIndustries(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('getIndustriesObservable', function() { - it('should call getIndustriesObservable successfully', function(done) { - //uncomment below and update the code to test getIndustriesObservable - //instance.getIndustriesObservable(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('postIndustries', function() { - it('should call postIndustries successfully', function(done) { - //uncomment below and update the code to test postIndustries - //instance.postIndustries(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/research/test/api/TopicApi.spec.js b/client/research/test/api/TopicApi.spec.js deleted file mode 100644 index 6dff4d3..0000000 --- a/client/research/test/api/TopicApi.spec.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Research); - } -}(this, function(expect, Research) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Research.TopicApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('TopicApi', function() { - describe('getTopics', function() { - it('should call getTopics successfully', function(done) { - //uncomment below and update the code to test getTopics - //instance.getTopics(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('getTopicsObservable', function() { - it('should call getTopicsObservable successfully', function(done) { - //uncomment below and update the code to test getTopicsObservable - //instance.getTopicsObservable(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('postTopics', function() { - it('should call postTopics successfully', function(done) { - //uncomment below and update the code to test postTopics - //instance.postTopics(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/research/test/model/Address.spec.js b/client/research/test/model/Address.spec.js deleted file mode 100644 index 7360f59..0000000 --- a/client/research/test/model/Address.spec.js +++ /dev/null @@ -1,101 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Research); - } -}(this, function(expect, Research) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Research.Address(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Address', function() { - it('should create an instance of Address', function() { - // uncomment below and update the code to test Address - //var instance = new Research.Address(); - //expect(instance).to.be.a(Research.Address); - }); - - it('should have the property city (base name: "City")', function() { - // uncomment below and update the code to test the property city - //var instance = new Research.Address(); - //expect(instance).to.be(); - }); - - it('should have the property country (base name: "Country")', function() { - // uncomment below and update the code to test the property country - //var instance = new Research.Address(); - //expect(instance).to.be(); - }); - - it('should have the property countryCode (base name: "CountryCode")', function() { - // uncomment below and update the code to test the property countryCode - //var instance = new Research.Address(); - //expect(instance).to.be(); - }); - - it('should have the property postalCode (base name: "PostalCode")', function() { - // uncomment below and update the code to test the property postalCode - //var instance = new Research.Address(); - //expect(instance).to.be(); - }); - - it('should have the property state (base name: "State")', function() { - // uncomment below and update the code to test the property state - //var instance = new Research.Address(); - //expect(instance).to.be(); - }); - - it('should have the property stateCode (base name: "StateCode")', function() { - // uncomment below and update the code to test the property stateCode - //var instance = new Research.Address(); - //expect(instance).to.be(); - }); - - it('should have the property street (base name: "Street")', function() { - // uncomment below and update the code to test the property street - //var instance = new Research.Address(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/research/test/model/CompanyProduct.spec.js b/client/research/test/model/CompanyProduct.spec.js deleted file mode 100644 index d7ab9ec..0000000 --- a/client/research/test/model/CompanyProduct.spec.js +++ /dev/null @@ -1,119 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Research); - } -}(this, function(expect, Research) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Research.CompanyProduct(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('CompanyProduct', function() { - it('should create an instance of CompanyProduct', function() { - // uncomment below and update the code to test CompanyProduct - //var instance = new Research.CompanyProduct(); - //expect(instance).to.be.a(Research.CompanyProduct); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Research.CompanyProduct(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new Research.CompanyProduct(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new Research.CompanyProduct(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new Research.CompanyProduct(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new Research.CompanyProduct(); - //expect(instance).to.be(); - }); - - it('should have the property accountID (base name: "AccountID")', function() { - // uncomment below and update the code to test the property accountID - //var instance = new Research.CompanyProduct(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "Description")', function() { - // uncomment below and update the code to test the property description - //var instance = new Research.CompanyProduct(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "Name")', function() { - // uncomment below and update the code to test the property name - //var instance = new Research.CompanyProduct(); - //expect(instance).to.be(); - }); - - it('should have the property tagLine (base name: "TagLine")', function() { - // uncomment below and update the code to test the property tagLine - //var instance = new Research.CompanyProduct(); - //expect(instance).to.be(); - }); - - it('should have the property URL (base name: "URL")', function() { - // uncomment below and update the code to test the property URL - //var instance = new Research.CompanyProduct(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/research/test/model/DeleteResponse.spec.js b/client/research/test/model/DeleteResponse.spec.js deleted file mode 100644 index 8e24381..0000000 --- a/client/research/test/model/DeleteResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Research); - } -}(this, function(expect, Research) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Research.DeleteResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('DeleteResponse', function() { - it('should create an instance of DeleteResponse', function() { - // uncomment below and update the code to test DeleteResponse - //var instance = new Research.DeleteResponse(); - //expect(instance).to.be.a(Research.DeleteResponse); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Research.DeleteResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "Meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new Research.DeleteResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/research/test/model/Error.spec.js b/client/research/test/model/Error.spec.js deleted file mode 100644 index a546b50..0000000 --- a/client/research/test/model/Error.spec.js +++ /dev/null @@ -1,77 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Research); - } -}(this, function(expect, Research) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Research.Error(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Error', function() { - it('should create an instance of Error', function() { - // uncomment below and update the code to test Error - //var instance = new Research.Error(); - //expect(instance).to.be.a(Research.Error); - }); - - it('should have the property code (base name: "Code")', function() { - // uncomment below and update the code to test the property code - //var instance = new Research.Error(); - //expect(instance).to.be(); - }); - - it('should have the property fields (base name: "Fields")', function() { - // uncomment below and update the code to test the property fields - //var instance = new Research.Error(); - //expect(instance).to.be(); - }); - - it('should have the property message (base name: "Message")', function() { - // uncomment below and update the code to test the property message - //var instance = new Research.Error(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/research/test/model/Factor.spec.js b/client/research/test/model/Factor.spec.js deleted file mode 100644 index 3ff8d6b..0000000 --- a/client/research/test/model/Factor.spec.js +++ /dev/null @@ -1,119 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Research); - } -}(this, function(expect, Research) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Research.Factor(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Factor', function() { - it('should create an instance of Factor', function() { - // uncomment below and update the code to test Factor - //var instance = new Research.Factor(); - //expect(instance).to.be.a(Research.Factor); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Research.Factor(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new Research.Factor(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new Research.Factor(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new Research.Factor(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new Research.Factor(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "Name")', function() { - // uncomment below and update the code to test the property name - //var instance = new Research.Factor(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "Description")', function() { - // uncomment below and update the code to test the property description - //var instance = new Research.Factor(); - //expect(instance).to.be(); - }); - - it('should have the property siteURL (base name: "SiteURL")', function() { - // uncomment below and update the code to test the property siteURL - //var instance = new Research.Factor(); - //expect(instance).to.be(); - }); - - it('should have the property topicID (base name: "TopicID")', function() { - // uncomment below and update the code to test the property topicID - //var instance = new Research.Factor(); - //expect(instance).to.be(); - }); - - it('should have the property observations (base name: "Observations")', function() { - // uncomment below and update the code to test the property observations - //var instance = new Research.Factor(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/research/test/model/Industry.spec.js b/client/research/test/model/Industry.spec.js deleted file mode 100644 index 7533713..0000000 --- a/client/research/test/model/Industry.spec.js +++ /dev/null @@ -1,143 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Research); - } -}(this, function(expect, Research) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Research.Industry(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Industry', function() { - it('should create an instance of Industry', function() { - // uncomment below and update the code to test Industry - //var instance = new Research.Industry(); - //expect(instance).to.be.a(Research.Industry); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Research.Industry(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new Research.Industry(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new Research.Industry(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new Research.Industry(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new Research.Industry(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "Name")', function() { - // uncomment below and update the code to test the property name - //var instance = new Research.Industry(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "Description")', function() { - // uncomment below and update the code to test the property description - //var instance = new Research.Industry(); - //expect(instance).to.be(); - }); - - it('should have the property parentIndustryID (base name: "ParentIndustryID")', function() { - // uncomment below and update the code to test the property parentIndustryID - //var instance = new Research.Industry(); - //expect(instance).to.be(); - }); - - it('should have the property level (base name: "Level")', function() { - // uncomment below and update the code to test the property level - //var instance = new Research.Industry(); - //expect(instance).to.be(); - }); - - it('should have the property path (base name: "Path")', function() { - // uncomment below and update the code to test the property path - //var instance = new Research.Industry(); - //expect(instance).to.be(); - }); - - it('should have the property slug (base name: "Slug")', function() { - // uncomment below and update the code to test the property slug - //var instance = new Research.Industry(); - //expect(instance).to.be(); - }); - - it('should have the property siteURL (base name: "SiteURL")', function() { - // uncomment below and update the code to test the property siteURL - //var instance = new Research.Industry(); - //expect(instance).to.be(); - }); - - it('should have the property companies (base name: "Companies")', function() { - // uncomment below and update the code to test the property companies - //var instance = new Research.Industry(); - //expect(instance).to.be(); - }); - - it('should have the property companyProducts (base name: "CompanyProducts")', function() { - // uncomment below and update the code to test the property companyProducts - //var instance = new Research.Industry(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/research/test/model/IndustryRequest.spec.js b/client/research/test/model/IndustryRequest.spec.js deleted file mode 100644 index e88a47d..0000000 --- a/client/research/test/model/IndustryRequest.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Research); - } -}(this, function(expect, Research) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Research.IndustryRequest(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('IndustryRequest', function() { - it('should create an instance of IndustryRequest', function() { - // uncomment below and update the code to test IndustryRequest - //var instance = new Research.IndustryRequest(); - //expect(instance).to.be.a(Research.IndustryRequest); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Research.IndustryRequest(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/research/test/model/IndustryResponse.spec.js b/client/research/test/model/IndustryResponse.spec.js deleted file mode 100644 index 7b085de..0000000 --- a/client/research/test/model/IndustryResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Research); - } -}(this, function(expect, Research) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Research.IndustryResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('IndustryResponse', function() { - it('should create an instance of IndustryResponse', function() { - // uncomment below and update the code to test IndustryResponse - //var instance = new Research.IndustryResponse(); - //expect(instance).to.be.a(Research.IndustryResponse); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Research.IndustryResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "Meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new Research.IndustryResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/research/test/model/InvalidError.spec.js b/client/research/test/model/InvalidError.spec.js deleted file mode 100644 index 215d2ff..0000000 --- a/client/research/test/model/InvalidError.spec.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Research); - } -}(this, function(expect, Research) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Research.InvalidError(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('InvalidError', function() { - it('should create an instance of InvalidError', function() { - // uncomment below and update the code to test InvalidError - //var instance = new Research.InvalidError(); - //expect(instance).to.be.a(Research.InvalidError); - }); - - it('should have the property code (base name: "Code")', function() { - // uncomment below and update the code to test the property code - //var instance = new Research.InvalidError(); - //expect(instance).to.be(); - }); - - it('should have the property fields (base name: "Fields")', function() { - // uncomment below and update the code to test the property fields - //var instance = new Research.InvalidError(); - //expect(instance).to.be(); - }); - - it('should have the property message (base name: "Message")', function() { - // uncomment below and update the code to test the property message - //var instance = new Research.InvalidError(); - //expect(instance).to.be(); - }); - - it('should have the property details (base name: "details")', function() { - // uncomment below and update the code to test the property details - //var instance = new Research.InvalidError(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/research/test/model/InvalidErrorAllOf.spec.js b/client/research/test/model/InvalidErrorAllOf.spec.js deleted file mode 100644 index 40e52ca..0000000 --- a/client/research/test/model/InvalidErrorAllOf.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Research); - } -}(this, function(expect, Research) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Research.InvalidErrorAllOf(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('InvalidErrorAllOf', function() { - it('should create an instance of InvalidErrorAllOf', function() { - // uncomment below and update the code to test InvalidErrorAllOf - //var instance = new Research.InvalidErrorAllOf(); - //expect(instance).to.be.a(Research.InvalidErrorAllOf); - }); - - it('should have the property details (base name: "details")', function() { - // uncomment below and update the code to test the property details - //var instance = new Research.InvalidErrorAllOf(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/research/test/model/Message.spec.js b/client/research/test/model/Message.spec.js deleted file mode 100644 index 8b85941..0000000 --- a/client/research/test/model/Message.spec.js +++ /dev/null @@ -1,77 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Research); - } -}(this, function(expect, Research) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Research.Message(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Message', function() { - it('should create an instance of Message', function() { - // uncomment below and update the code to test Message - //var instance = new Research.Message(); - //expect(instance).to.be.a(Research.Message); - }); - - it('should have the property message (base name: "message")', function() { - // uncomment below and update the code to test the property message - //var instance = new Research.Message(); - //expect(instance).to.be(); - }); - - it('should have the property ref (base name: "ref")', function() { - // uncomment below and update the code to test the property ref - //var instance = new Research.Message(); - //expect(instance).to.be(); - }); - - it('should have the property status (base name: "status")', function() { - // uncomment below and update the code to test the property status - //var instance = new Research.Message(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/research/test/model/Observation.spec.js b/client/research/test/model/Observation.spec.js deleted file mode 100644 index 26678eb..0000000 --- a/client/research/test/model/Observation.spec.js +++ /dev/null @@ -1,125 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Research); - } -}(this, function(expect, Research) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Research.Observation(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Observation', function() { - it('should create an instance of Observation', function() { - // uncomment below and update the code to test Observation - //var instance = new Research.Observation(); - //expect(instance).to.be.a(Research.Observation); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Research.Observation(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new Research.Observation(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new Research.Observation(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new Research.Observation(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new Research.Observation(); - //expect(instance).to.be(); - }); - - it('should have the property factorID (base name: "FactorID")', function() { - // uncomment below and update the code to test the property factorID - //var instance = new Research.Observation(); - //expect(instance).to.be(); - }); - - it('should have the property subjectType (base name: "SubjectType")', function() { - // uncomment below and update the code to test the property subjectType - //var instance = new Research.Observation(); - //expect(instance).to.be(); - }); - - it('should have the property accountID (base name: "AccountID")', function() { - // uncomment below and update the code to test the property accountID - //var instance = new Research.Observation(); - //expect(instance).to.be(); - }); - - it('should have the property companyProductID (base name: "companyProductID")', function() { - // uncomment below and update the code to test the property companyProductID - //var instance = new Research.Observation(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "Description")', function() { - // uncomment below and update the code to test the property description - //var instance = new Research.Observation(); - //expect(instance).to.be(); - }); - - it('should have the property value (base name: "Value")', function() { - // uncomment below and update the code to test the property value - //var instance = new Research.Observation(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/research/test/model/Pagination.spec.js b/client/research/test/model/Pagination.spec.js deleted file mode 100644 index dd02690..0000000 --- a/client/research/test/model/Pagination.spec.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Research); - } -}(this, function(expect, Research) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Research.Pagination(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Pagination', function() { - it('should create an instance of Pagination', function() { - // uncomment below and update the code to test Pagination - //var instance = new Research.Pagination(); - //expect(instance).to.be.a(Research.Pagination); - }); - - it('should have the property limit (base name: "limit")', function() { - // uncomment below and update the code to test the property limit - //var instance = new Research.Pagination(); - //expect(instance).to.be(); - }); - - it('should have the property pagesize (base name: "pagesize")', function() { - // uncomment below and update the code to test the property pagesize - //var instance = new Research.Pagination(); - //expect(instance).to.be(); - }); - - it('should have the property poffset (base name: "poffset")', function() { - // uncomment below and update the code to test the property poffset - //var instance = new Research.Pagination(); - //expect(instance).to.be(); - }); - - it('should have the property setsize (base name: "setsize")', function() { - // uncomment below and update the code to test the property setsize - //var instance = new Research.Pagination(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/research/test/model/RequestMeta.spec.js b/client/research/test/model/RequestMeta.spec.js deleted file mode 100644 index 7144080..0000000 --- a/client/research/test/model/RequestMeta.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Research); - } -}(this, function(expect, Research) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Research.RequestMeta(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('RequestMeta', function() { - it('should create an instance of RequestMeta', function() { - // uncomment below and update the code to test RequestMeta - //var instance = new Research.RequestMeta(); - //expect(instance).to.be.a(Research.RequestMeta); - }); - - it('should have the property taxnexusAccount (base name: "TaxnexusAccount")', function() { - // uncomment below and update the code to test the property taxnexusAccount - //var instance = new Research.RequestMeta(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/research/test/model/ResponseMeta.spec.js b/client/research/test/model/ResponseMeta.spec.js deleted file mode 100644 index 722dff3..0000000 --- a/client/research/test/model/ResponseMeta.spec.js +++ /dev/null @@ -1,131 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Research); - } -}(this, function(expect, Research) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Research.ResponseMeta(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('ResponseMeta', function() { - it('should create an instance of ResponseMeta', function() { - // uncomment below and update the code to test ResponseMeta - //var instance = new Research.ResponseMeta(); - //expect(instance).to.be.a(Research.ResponseMeta); - }); - - it('should have the property contact (base name: "Contact")', function() { - // uncomment below and update the code to test the property contact - //var instance = new Research.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property copyright (base name: "Copyright")', function() { - // uncomment below and update the code to test the property copyright - //var instance = new Research.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property license (base name: "License")', function() { - // uncomment below and update the code to test the property license - //var instance = new Research.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property operationID (base name: "OperationID")', function() { - // uncomment below and update the code to test the property operationID - //var instance = new Research.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property pagination (base name: "Pagination")', function() { - // uncomment below and update the code to test the property pagination - //var instance = new Research.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property requestIP (base name: "RequestIP")', function() { - // uncomment below and update the code to test the property requestIP - //var instance = new Research.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property requestType (base name: "RequestType")', function() { - // uncomment below and update the code to test the property requestType - //var instance = new Research.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property requestURL (base name: "RequestURL")', function() { - // uncomment below and update the code to test the property requestURL - //var instance = new Research.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property serverInfo (base name: "ServerInfo")', function() { - // uncomment below and update the code to test the property serverInfo - //var instance = new Research.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property serverResponseTime (base name: "ServerResponseTime")', function() { - // uncomment below and update the code to test the property serverResponseTime - //var instance = new Research.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property serverTimestamp (base name: "ServerTimestamp")', function() { - // uncomment below and update the code to test the property serverTimestamp - //var instance = new Research.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property taxnexusAccount (base name: "TaxnexusAccount")', function() { - // uncomment below and update the code to test the property taxnexusAccount - //var instance = new Research.ResponseMeta(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/research/test/model/Topic.spec.js b/client/research/test/model/Topic.spec.js deleted file mode 100644 index bd101e8..0000000 --- a/client/research/test/model/Topic.spec.js +++ /dev/null @@ -1,119 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Research); - } -}(this, function(expect, Research) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Research.Topic(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Topic', function() { - it('should create an instance of Topic', function() { - // uncomment below and update the code to test Topic - //var instance = new Research.Topic(); - //expect(instance).to.be.a(Research.Topic); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Research.Topic(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new Research.Topic(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new Research.Topic(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new Research.Topic(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new Research.Topic(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "Name")', function() { - // uncomment below and update the code to test the property name - //var instance = new Research.Topic(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "Description")', function() { - // uncomment below and update the code to test the property description - //var instance = new Research.Topic(); - //expect(instance).to.be(); - }); - - it('should have the property siteURL (base name: "SiteURL")', function() { - // uncomment below and update the code to test the property siteURL - //var instance = new Research.Topic(); - //expect(instance).to.be(); - }); - - it('should have the property parentTopicID (base name: "ParentTopicID")', function() { - // uncomment below and update the code to test the property parentTopicID - //var instance = new Research.Topic(); - //expect(instance).to.be(); - }); - - it('should have the property factors (base name: "Factors")', function() { - // uncomment below and update the code to test the property factors - //var instance = new Research.Topic(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/research/test/model/TopicRequest.spec.js b/client/research/test/model/TopicRequest.spec.js deleted file mode 100644 index 9842475..0000000 --- a/client/research/test/model/TopicRequest.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Research); - } -}(this, function(expect, Research) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Research.TopicRequest(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('TopicRequest', function() { - it('should create an instance of TopicRequest', function() { - // uncomment below and update the code to test TopicRequest - //var instance = new Research.TopicRequest(); - //expect(instance).to.be.a(Research.TopicRequest); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Research.TopicRequest(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/research/test/model/TopicResponse.spec.js b/client/research/test/model/TopicResponse.spec.js deleted file mode 100644 index 31794d8..0000000 --- a/client/research/test/model/TopicResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * research - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Research); - } -}(this, function(expect, Research) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Research.TopicResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('TopicResponse', function() { - it('should create an instance of TopicResponse', function() { - // uncomment below and update the code to test TopicResponse - //var instance = new Research.TopicResponse(); - //expect(instance).to.be.a(Research.TopicResponse); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Research.TopicResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "Meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new Research.TopicResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/.babelrc b/client/sf-gate/.babelrc deleted file mode 100644 index c73df9d..0000000 --- a/client/sf-gate/.babelrc +++ /dev/null @@ -1,33 +0,0 @@ -{ - "presets": [ - "@babel/preset-env" - ], - "plugins": [ - "@babel/plugin-syntax-dynamic-import", - "@babel/plugin-syntax-import-meta", - "@babel/plugin-proposal-class-properties", - "@babel/plugin-proposal-json-strings", - [ - "@babel/plugin-proposal-decorators", - { - "legacy": true - } - ], - "@babel/plugin-proposal-function-sent", - "@babel/plugin-proposal-export-namespace-from", - "@babel/plugin-proposal-numeric-separator", - "@babel/plugin-proposal-throw-expressions", - "@babel/plugin-proposal-export-default-from", - "@babel/plugin-proposal-logical-assignment-operators", - "@babel/plugin-proposal-optional-chaining", - [ - "@babel/plugin-proposal-pipeline-operator", - { - "proposal": "minimal" - } - ], - "@babel/plugin-proposal-nullish-coalescing-operator", - "@babel/plugin-proposal-do-expressions", - "@babel/plugin-proposal-function-bind" - ] -} diff --git a/client/sf-gate/.gitignore b/client/sf-gate/.gitignore deleted file mode 100644 index e920c16..0000000 --- a/client/sf-gate/.gitignore +++ /dev/null @@ -1,33 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* - -# Runtime data -pids -*.pid -*.seed - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage - -# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# node-waf configuration -.lock-wscript - -# Compiled binary addons (http://nodejs.org/api/addons.html) -build/Release - -# Dependency directory -node_modules - -# Optional npm cache directory -.npm - -# Optional REPL history -.node_repl_history diff --git a/client/sf-gate/.openapi-generator-ignore b/client/sf-gate/.openapi-generator-ignore deleted file mode 100644 index 7484ee5..0000000 --- a/client/sf-gate/.openapi-generator-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# OpenAPI Generator Ignore -# Generated by openapi-generator https://github.com/openapitools/openapi-generator - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/client/sf-gate/.openapi-generator/FILES b/client/sf-gate/.openapi-generator/FILES deleted file mode 100644 index f300ad6..0000000 --- a/client/sf-gate/.openapi-generator/FILES +++ /dev/null @@ -1,196 +0,0 @@ -.babelrc -.gitignore -.openapi-generator-ignore -.travis.yml -README.md -docs/Account.md -docs/AccountRequest.md -docs/AccountResponse.md -docs/AccountsApi.md -docs/Address.md -docs/Asset.md -docs/AssetRequest.md -docs/AssetResponse.md -docs/AssetsApi.md -docs/Cluster.md -docs/ClusterRequest.md -docs/ClusterResponse.md -docs/ClustersApi.md -docs/CompanyProduct.md -docs/CompanyProductRequest.md -docs/CompanyProductResponse.md -docs/CompanyProductsApi.md -docs/Contact.md -docs/ContactRequest.md -docs/ContactResponse.md -docs/ContactsApi.md -docs/Contract.md -docs/ContractRequest.md -docs/ContractResponse.md -docs/ContractsApi.md -docs/Database.md -docs/DatabaseRequest.md -docs/DatabaseResponse.md -docs/DatabasesApi.md -docs/DeleteResponse.md -docs/Error.md -docs/IndustriesApi.md -docs/Industry.md -docs/IndustryProduct.md -docs/IndustryProductRequest.md -docs/IndustryProductResponse.md -docs/IndustryProductsApi.md -docs/IndustryRequest.md -docs/IndustryResponse.md -docs/IndustryproductsApi.md -docs/InvalidError.md -docs/InvalidErrorAllOf.md -docs/Message.md -docs/Pagination.md -docs/RequestMeta.md -docs/ResponseMeta.md -docs/Role.md -docs/RoleRequest.md -docs/RoleResponse.md -docs/RolesApi.md -docs/Template.md -docs/TemplateResponse.md -docs/TemplatesApi.md -docs/Tenant.md -docs/TenantRequest.md -docs/TenantResponse.md -docs/TenantUser.md -docs/TenantsApi.md -docs/User.md -docs/UserResponse.md -docs/UserRole.md -docs/UsersApi.md -git_push.sh -mocha.opts -package.json -src/ApiClient.js -src/api/AccountsApi.js -src/api/AssetsApi.js -src/api/ClustersApi.js -src/api/CompanyProductsApi.js -src/api/ContactsApi.js -src/api/ContractsApi.js -src/api/DatabasesApi.js -src/api/IndustriesApi.js -src/api/IndustryProductsApi.js -src/api/IndustryproductsApi.js -src/api/RolesApi.js -src/api/TemplatesApi.js -src/api/TenantsApi.js -src/api/UsersApi.js -src/index.js -src/model/Account.js -src/model/AccountRequest.js -src/model/AccountResponse.js -src/model/Address.js -src/model/Asset.js -src/model/AssetRequest.js -src/model/AssetResponse.js -src/model/Cluster.js -src/model/ClusterRequest.js -src/model/ClusterResponse.js -src/model/CompanyProduct.js -src/model/CompanyProductRequest.js -src/model/CompanyProductResponse.js -src/model/Contact.js -src/model/ContactRequest.js -src/model/ContactResponse.js -src/model/Contract.js -src/model/ContractRequest.js -src/model/ContractResponse.js -src/model/Database.js -src/model/DatabaseRequest.js -src/model/DatabaseResponse.js -src/model/DeleteResponse.js -src/model/Error.js -src/model/Industry.js -src/model/IndustryProduct.js -src/model/IndustryProductRequest.js -src/model/IndustryProductResponse.js -src/model/IndustryRequest.js -src/model/IndustryResponse.js -src/model/InvalidError.js -src/model/InvalidErrorAllOf.js -src/model/Message.js -src/model/Pagination.js -src/model/RequestMeta.js -src/model/ResponseMeta.js -src/model/Role.js -src/model/RoleRequest.js -src/model/RoleResponse.js -src/model/Template.js -src/model/TemplateResponse.js -src/model/Tenant.js -src/model/TenantRequest.js -src/model/TenantResponse.js -src/model/TenantUser.js -src/model/User.js -src/model/UserResponse.js -src/model/UserRole.js -test/api/AccountsApi.spec.js -test/api/AssetsApi.spec.js -test/api/ClustersApi.spec.js -test/api/CompanyProductsApi.spec.js -test/api/ContactsApi.spec.js -test/api/ContractsApi.spec.js -test/api/DatabasesApi.spec.js -test/api/IndustriesApi.spec.js -test/api/IndustryProductsApi.spec.js -test/api/IndustryproductsApi.spec.js -test/api/RolesApi.spec.js -test/api/TemplatesApi.spec.js -test/api/TenantsApi.spec.js -test/api/UsersApi.spec.js -test/model/Account.spec.js -test/model/AccountRequest.spec.js -test/model/AccountResponse.spec.js -test/model/Address.spec.js -test/model/Asset.spec.js -test/model/AssetRequest.spec.js -test/model/AssetResponse.spec.js -test/model/Cluster.spec.js -test/model/ClusterRequest.spec.js -test/model/ClusterResponse.spec.js -test/model/CompanyProduct.spec.js -test/model/CompanyProductRequest.spec.js -test/model/CompanyProductResponse.spec.js -test/model/Contact.spec.js -test/model/ContactRequest.spec.js -test/model/ContactResponse.spec.js -test/model/Contract.spec.js -test/model/ContractRequest.spec.js -test/model/ContractResponse.spec.js -test/model/Database.spec.js -test/model/DatabaseRequest.spec.js -test/model/DatabaseResponse.spec.js -test/model/DeleteResponse.spec.js -test/model/Error.spec.js -test/model/Industry.spec.js -test/model/IndustryProduct.spec.js -test/model/IndustryProductRequest.spec.js -test/model/IndustryProductResponse.spec.js -test/model/IndustryRequest.spec.js -test/model/IndustryResponse.spec.js -test/model/InvalidError.spec.js -test/model/InvalidErrorAllOf.spec.js -test/model/Message.spec.js -test/model/Pagination.spec.js -test/model/RequestMeta.spec.js -test/model/ResponseMeta.spec.js -test/model/Role.spec.js -test/model/RoleRequest.spec.js -test/model/RoleResponse.spec.js -test/model/Template.spec.js -test/model/TemplateResponse.spec.js -test/model/Tenant.spec.js -test/model/TenantRequest.spec.js -test/model/TenantResponse.spec.js -test/model/TenantUser.spec.js -test/model/User.spec.js -test/model/UserResponse.spec.js -test/model/UserRole.spec.js diff --git a/client/sf-gate/.openapi-generator/VERSION b/client/sf-gate/.openapi-generator/VERSION deleted file mode 100644 index 6d54bbd..0000000 --- a/client/sf-gate/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -6.0.1 \ No newline at end of file diff --git a/client/sf-gate/.travis.yml b/client/sf-gate/.travis.yml deleted file mode 100644 index 0968f7a..0000000 --- a/client/sf-gate/.travis.yml +++ /dev/null @@ -1,5 +0,0 @@ -language: node_js -cache: npm -node_js: - - "6" - - "6.1" diff --git a/client/sf-gate/README.md b/client/sf-gate/README.md deleted file mode 100644 index 80a9a9d..0000000 --- a/client/sf-gate/README.md +++ /dev/null @@ -1,223 +0,0 @@ -# sf_gate - -SfGate - JavaScript client for sf_gate -Customer Information Microservice -This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - -- API version: 0.0.2 -- Package version: 0.0.2 -- 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 sf_gate --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 sf_gate 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/GIT_USER_ID/GIT_REPO_ID -then install it via: - -```shell - npm install GIT_USER_ID/GIT_REPO_ID --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 SfGate = require('sf_gate'); - -var defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -var ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = "YOUR API KEY" -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix['X-API-Key'] = "Token" - -var api = new SfGate.AccountsApi() -var opts = { - 'accountId': "accountId_example" // {String} Taxnexus Record Id of an Account -}; -var callback = function(error, data, response) { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}; -api.deleteAccount(opts, callback); - -``` - -## Documentation for API Endpoints - -All URIs are relative to *http://sf-gate.vernonkeenan.com:8080/v1* - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*SfGate.AccountsApi* | [**deleteAccount**](docs/AccountsApi.md#deleteAccount) | **DELETE** /accounts | Delete An Account -*SfGate.AccountsApi* | [**getAccounts**](docs/AccountsApi.md#getAccounts) | **GET** /accounts | Get a list of accounts -*SfGate.AccountsApi* | [**postAccounts**](docs/AccountsApi.md#postAccounts) | **POST** /accounts | Add a new account to Taxnexus -*SfGate.AccountsApi* | [**putAccount**](docs/AccountsApi.md#putAccount) | **PUT** /accounts | Update a single account -*SfGate.AssetsApi* | [**getAssets**](docs/AssetsApi.md#getAssets) | **GET** /assets | Get a list of assets -*SfGate.AssetsApi* | [**postAssets**](docs/AssetsApi.md#postAssets) | **POST** /assets | Add a new asset to Taxnexus -*SfGate.ClustersApi* | [**getClusters**](docs/ClustersApi.md#getClusters) | **GET** /clusters | Get a list Clusters -*SfGate.ClustersApi* | [**postClusters**](docs/ClustersApi.md#postClusters) | **POST** /clusters | Create new Clusters -*SfGate.ClustersApi* | [**putClusters**](docs/ClustersApi.md#putClusters) | **PUT** /clusters | Update Clusters -*SfGate.CompanyProductsApi* | [**getCompanyProducts**](docs/CompanyProductsApi.md#getCompanyProducts) | **GET** /companyproducts | Get a list of companyproducts -*SfGate.CompanyProductsApi* | [**postCompanyProducts**](docs/CompanyProductsApi.md#postCompanyProducts) | **POST** /companyproducts | Add a new companyproduct to Taxnexus -*SfGate.ContactsApi* | [**getContacts**](docs/ContactsApi.md#getContacts) | **GET** /contacts | Get a Contact record -*SfGate.ContactsApi* | [**postContacts**](docs/ContactsApi.md#postContacts) | **POST** /contacts | Add a new Contacts to Taxnexus -*SfGate.ContractsApi* | [**getContracts**](docs/ContractsApi.md#getContracts) | **GET** /contracts | Get a list of contracts -*SfGate.ContractsApi* | [**postContracts**](docs/ContractsApi.md#postContracts) | **POST** /contracts | Add a new contract to Taxnexus -*SfGate.DatabasesApi* | [**getDatabases**](docs/DatabasesApi.md#getDatabases) | **GET** /databases | Get a list Databases -*SfGate.DatabasesApi* | [**postDatabases**](docs/DatabasesApi.md#postDatabases) | **POST** /databases | Create new Databases -*SfGate.DatabasesApi* | [**putDatabases**](docs/DatabasesApi.md#putDatabases) | **PUT** /databases | Update Databases -*SfGate.IndustriesApi* | [**getIndustries**](docs/IndustriesApi.md#getIndustries) | **GET** /industries | Get a list of industries -*SfGate.IndustriesApi* | [**postIndustries**](docs/IndustriesApi.md#postIndustries) | **POST** /industries | Add a new industry to Taxnexus -*SfGate.IndustryProductsApi* | [**postIndustryproducts**](docs/IndustryProductsApi.md#postIndustryproducts) | **POST** /industryproducts | Add a new industryproduct to Taxnexus -*SfGate.IndustryproductsApi* | [**getIndustryProducts**](docs/IndustryproductsApi.md#getIndustryProducts) | **GET** /industryproducts | Get a list of industryproducts -*SfGate.RolesApi* | [**getRoles**](docs/RolesApi.md#getRoles) | **GET** /roles | Get a list of Roles -*SfGate.TemplatesApi* | [**getTemplates**](docs/TemplatesApi.md#getTemplates) | **GET** /templates | Get PDF Rendering Templates -*SfGate.TenantsApi* | [**getTenants**](docs/TenantsApi.md#getTenants) | **GET** /tenants | Get a list Tenants -*SfGate.TenantsApi* | [**putTenants**](docs/TenantsApi.md#putTenants) | **PUT** /tenants | Update Tenants -*SfGate.TenantsApi* | [**tenants**](docs/TenantsApi.md#tenants) | **POST** /tenants | Create new Tenants -*SfGate.UsersApi* | [**getUsers**](docs/UsersApi.md#getUsers) | **GET** /users | Get a list Users - - -## Documentation for Models - - - [SfGate.Account](docs/Account.md) - - [SfGate.AccountRequest](docs/AccountRequest.md) - - [SfGate.AccountResponse](docs/AccountResponse.md) - - [SfGate.Address](docs/Address.md) - - [SfGate.Asset](docs/Asset.md) - - [SfGate.AssetRequest](docs/AssetRequest.md) - - [SfGate.AssetResponse](docs/AssetResponse.md) - - [SfGate.Cluster](docs/Cluster.md) - - [SfGate.ClusterRequest](docs/ClusterRequest.md) - - [SfGate.ClusterResponse](docs/ClusterResponse.md) - - [SfGate.CompanyProduct](docs/CompanyProduct.md) - - [SfGate.CompanyProductRequest](docs/CompanyProductRequest.md) - - [SfGate.CompanyProductResponse](docs/CompanyProductResponse.md) - - [SfGate.Contact](docs/Contact.md) - - [SfGate.ContactRequest](docs/ContactRequest.md) - - [SfGate.ContactResponse](docs/ContactResponse.md) - - [SfGate.Contract](docs/Contract.md) - - [SfGate.ContractRequest](docs/ContractRequest.md) - - [SfGate.ContractResponse](docs/ContractResponse.md) - - [SfGate.Database](docs/Database.md) - - [SfGate.DatabaseRequest](docs/DatabaseRequest.md) - - [SfGate.DatabaseResponse](docs/DatabaseResponse.md) - - [SfGate.DeleteResponse](docs/DeleteResponse.md) - - [SfGate.Error](docs/Error.md) - - [SfGate.Industry](docs/Industry.md) - - [SfGate.IndustryProduct](docs/IndustryProduct.md) - - [SfGate.IndustryProductRequest](docs/IndustryProductRequest.md) - - [SfGate.IndustryProductResponse](docs/IndustryProductResponse.md) - - [SfGate.IndustryRequest](docs/IndustryRequest.md) - - [SfGate.IndustryResponse](docs/IndustryResponse.md) - - [SfGate.InvalidError](docs/InvalidError.md) - - [SfGate.InvalidErrorAllOf](docs/InvalidErrorAllOf.md) - - [SfGate.Message](docs/Message.md) - - [SfGate.Pagination](docs/Pagination.md) - - [SfGate.RequestMeta](docs/RequestMeta.md) - - [SfGate.ResponseMeta](docs/ResponseMeta.md) - - [SfGate.Role](docs/Role.md) - - [SfGate.RoleRequest](docs/RoleRequest.md) - - [SfGate.RoleResponse](docs/RoleResponse.md) - - [SfGate.Template](docs/Template.md) - - [SfGate.TemplateResponse](docs/TemplateResponse.md) - - [SfGate.Tenant](docs/Tenant.md) - - [SfGate.TenantRequest](docs/TenantRequest.md) - - [SfGate.TenantResponse](docs/TenantResponse.md) - - [SfGate.TenantUser](docs/TenantUser.md) - - [SfGate.User](docs/User.md) - - [SfGate.UserResponse](docs/UserResponse.md) - - [SfGate.UserRole](docs/UserRole.md) - - -## Documentation for Authorization - - - -### ApiKeyAuth - - -- **Type**: API key -- **API key parameter name**: X-API-Key -- **Location**: HTTP header - diff --git a/client/sf-gate/docs/Account.md b/client/sf-gate/docs/Account.md deleted file mode 100644 index 83f002d..0000000 --- a/client/sf-gate/docs/Account.md +++ /dev/null @@ -1,57 +0,0 @@ -# SfGate.Account - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**tenantID** | **String** | tenant identifier | [optional] -**ID** | **String** | Taxnexus Account Id | [optional] -**accountNumber** | **String** | Account Number | [optional] -**accountSource** | **String** | The marketing orgin of this account | [optional] -**annualRevenue** | **Number** | Annual Revenue Estimate | [optional] -**billingAddress** | [**Address**](Address.md) | | [optional] -**billingContactID** | **String** | Contact ID | [optional] -**createdByID** | **String** | Created By User ID | [optional] -**createdDate** | **String** | Created Date | [optional] -**closeDate** | **String** | Date company closed | [optional] -**cloudRevenueTotal** | **Number** | | [optional] -**cloudType** | **String** | | [optional] -**cloudYear** | **String** | | [optional] -**crunchbaseURL** | **String** | | [optional] -**description** | **String** | Description | [optional] -**earningsCall** | **String** | | [optional] -**email** | **String** | Main Account Email | [optional] -**equityFunding** | **Number** | | [optional] -**fax** | **String** | Fax | [optional] -**foundedDate** | **String** | | [optional] -**industry** | **String** | Industry | [optional] -**facebook** | **String** | | [optional] -**industries** | **String** | | [optional] -**iPODate** | **String** | | [optional] -**lastModifiedByID** | **String** | Last Modified By User ID | [optional] -**lastModifiedDate** | **String** | Last Modified Date | [optional] -**linkedIn** | **String** | | [optional] -**location** | **String** | | [optional] -**marketCapitalization** | **Number** | | [optional] -**name** | **String** | Account Name | [optional] -**numberOfEmployees** | **Number** | Employee Count Estimate | [optional] -**numberInvestments** | **Number** | Number of Locations Estimate | [optional] -**ownerID** | **String** | Account Owner User ID | [optional] -**ownership** | **String** | Ownership | [optional] -**parentID** | **String** | Parent Account | [optional] -**phone** | **String** | Phone | [optional] -**publish** | **Boolean** | | [optional] -**salesforceFirst** | **Boolean** | | [optional] -**shippingAddress** | [**Address**](Address.md) | | [optional] -**shippingContactID** | **String** | | [optional] -**SIC** | **String** | SIC Code | [optional] -**sICDesc** | **String** | SIC Description | [optional] -**site** | **String** | Account Site | [optional] -**tagLine** | **String** | | [optional] -**tickerSymbol** | **String** | | [optional] -**type** | **String** | Type | [optional] -**twitter** | **String** | | [optional] -**website** | **String** | Website | [optional] -**yearStarted** | **String** | Year Started | [optional] - - diff --git a/client/sf-gate/docs/AccountRequest.md b/client/sf-gate/docs/AccountRequest.md deleted file mode 100644 index 9f0bcb2..0000000 --- a/client/sf-gate/docs/AccountRequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# SfGate.AccountRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Account]**](Account.md) | | [optional] -**meta** | [**RequestMeta**](RequestMeta.md) | | [optional] - - diff --git a/client/sf-gate/docs/AccountResponse.md b/client/sf-gate/docs/AccountResponse.md deleted file mode 100644 index 49cb340..0000000 --- a/client/sf-gate/docs/AccountResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# SfGate.AccountResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Account]**](Account.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/sf-gate/docs/AccountsApi.md b/client/sf-gate/docs/AccountsApi.md deleted file mode 100644 index 1461242..0000000 --- a/client/sf-gate/docs/AccountsApi.md +++ /dev/null @@ -1,230 +0,0 @@ -# SfGate.AccountsApi - -All URIs are relative to *http://sf-gate.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**deleteAccount**](AccountsApi.md#deleteAccount) | **DELETE** /accounts | Delete An Account -[**getAccounts**](AccountsApi.md#getAccounts) | **GET** /accounts | Get a list of accounts -[**postAccounts**](AccountsApi.md#postAccounts) | **POST** /accounts | Add a new account to Taxnexus -[**putAccount**](AccountsApi.md#putAccount) | **PUT** /accounts | Update a single account - - - -## deleteAccount - -> DeleteResponse deleteAccount(opts) - -Delete An Account - -Delete Taxnexus Account record - -### Example - -```javascript -import SfGate from 'sf_gate'; -let defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new SfGate.AccountsApi(); -let opts = { - 'accountId': "accountId_example" // String | Taxnexus Record Id of an Account -}; -apiInstance.deleteAccount(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **accountId** | **String**| Taxnexus Record Id of an Account | [optional] - -### Return type - -[**DeleteResponse**](DeleteResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## getAccounts - -> AccountResponse getAccounts(opts) - -Get a list of accounts - -Return a list of all available Accounts - -### Example - -```javascript -import SfGate from 'sf_gate'; -let defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new SfGate.AccountsApi(); -let opts = { - 'limit': 789, // Number | How many objects to return at one time - 'name': "name_example", // String | The Name of this Object - 'offset': 789, // Number | How many objects to skip? - 'active': true, // Boolean | Only retrieve active records? - 'accountId': "accountId_example", // String | Taxnexus Record Id of an Account - 'email': "email_example" // String | Email address used for identity lookup -}; -apiInstance.getAccounts(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **limit** | **Number**| How many objects to return at one time | [optional] - **name** | **String**| The Name of this Object | [optional] - **offset** | **Number**| How many objects to skip? | [optional] - **active** | **Boolean**| Only retrieve active records? | [optional] - **accountId** | **String**| Taxnexus Record Id of an Account | [optional] - **email** | **String**| Email address used for identity lookup | [optional] - -### Return type - -[**AccountResponse**](AccountResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## postAccounts - -> AccountResponse postAccounts(accountRequest) - -Add a new account to Taxnexus - -Account record to be added - -### Example - -```javascript -import SfGate from 'sf_gate'; -let defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new SfGate.AccountsApi(); -let accountRequest = new SfGate.AccountRequest(); // AccountRequest | A request with an array of Account Objects -apiInstance.postAccounts(accountRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **accountRequest** | [**AccountRequest**](AccountRequest.md)| A request with an array of Account Objects | - -### Return type - -[**AccountResponse**](AccountResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - - -## putAccount - -> AccountResponse putAccount(accountRequest) - -Update a single account - -Update a single account specified by accountId - -### Example - -```javascript -import SfGate from 'sf_gate'; -let defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new SfGate.AccountsApi(); -let accountRequest = new SfGate.AccountRequest(); // AccountRequest | A request with an array of Account Objects -apiInstance.putAccount(accountRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **accountRequest** | [**AccountRequest**](AccountRequest.md)| A request with an array of Account Objects | - -### Return type - -[**AccountResponse**](AccountResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - diff --git a/client/sf-gate/docs/Address.md b/client/sf-gate/docs/Address.md deleted file mode 100644 index 649084c..0000000 --- a/client/sf-gate/docs/Address.md +++ /dev/null @@ -1,15 +0,0 @@ -# SfGate.Address - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**city** | **String** | City | -**country** | **String** | Country full name | [optional] -**countrycode** | **String** | Country Code | [optional] -**postalcode** | **String** | Postal Code | [optional] -**state** | **String** | State full name | [optional] -**statecode** | **String** | State Code | -**street** | **String** | Street number and name | [optional] - - diff --git a/client/sf-gate/docs/Asset.md b/client/sf-gate/docs/Asset.md deleted file mode 100644 index 6488c6d..0000000 --- a/client/sf-gate/docs/Asset.md +++ /dev/null @@ -1,55 +0,0 @@ -# SfGate.Asset - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ID** | **String** | Taxnexus Record Id | [optional] -**accountID** | **String** | Account | [optional] -**address** | [**Address**](Address.md) | | [optional] -**assetLevel** | **Number** | Asset Level | [optional] -**name** | **String** | Asset Name | [optional] -**assetProvidedByID** | **String** | Asset Provided By | [optional] -**assetServicedByID** | **String** | Asset Serviced By | [optional] -**companyProductID** | **String** | Company Product | [optional] -**isCompetitorProduct** | **Boolean** | Competitor Asset | [optional] -**consequenceOfFailure** | **String** | Consequence Of Failure | [optional] -**contactID** | **String** | Contact | [optional] -**createdByID** | **String** | Created By | [optional] -**createdDate** | **String** | Created Date | [optional] -**currentAmount** | **Number** | Current Amount | [optional] -**currentLifecycleEndDate** | **String** | Current Lifecycle End Date | [optional] -**currentMrr** | **Number** | Current Monthly Recurring Revenue | [optional] -**currentQuantity** | **Number** | Current Quantity | [optional] -**description** | **String** | Description | [optional] -**digitalAssetStatus** | **String** | Digital Asset Status | [optional] -**externalIdentifier** | **String** | External Id | [optional] -**hasLifecycleManagement** | **Boolean** | Has Lifecycle Management | [optional] -**installDate** | **String** | Install Date | [optional] -**isInternal** | **Boolean** | Internal Asset | [optional] -**lastModifiedByID** | **String** | Last Modified By | [optional] -**lastModifiedDate** | **String** | Last Modified Date | [optional] -**locationID** | **String** | Location | [optional] -**manufactureDate** | **String** | Manufacture Date | [optional] -**mIMEType** | **String** | MIME Type | [optional] -**parentID** | **String** | Parent Asset | [optional] -**price** | **Number** | Price | [optional] -**product2ID** | **String** | Product | [optional] -**productCode** | **String** | Product Code | [optional] -**productDescription** | **String** | Product Description | [optional] -**productFamily** | **String** | Product Family | [optional] -**stockKeepingUnit** | **String** | Product SKU | [optional] -**purchaseDate** | **String** | Purchase Date | [optional] -**quantity** | **Number** | Quantity | [optional] -**rootAssetID** | **String** | Root Asset | [optional] -**serialNumber** | **String** | Serial Number | [optional] -**status** | **String** | Status | [optional] -**statusReason** | **String** | Status Reason | [optional] -**tenantID** | **String** | Tenant ID | [optional] -**totalLifecycleAmount** | **Number** | Total Lifecycle Amount | [optional] -**type** | **String** | Type | [optional] -**UUID** | **String** | Unique Identifier | [optional] -**URL** | **String** | URL | [optional] -**usageEndDate** | **String** | Usage End Date | [optional] - - diff --git a/client/sf-gate/docs/AssetRequest.md b/client/sf-gate/docs/AssetRequest.md deleted file mode 100644 index 0fddab4..0000000 --- a/client/sf-gate/docs/AssetRequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# SfGate.AssetRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Asset]**](Asset.md) | | [optional] - - diff --git a/client/sf-gate/docs/AssetResponse.md b/client/sf-gate/docs/AssetResponse.md deleted file mode 100644 index c9d63b9..0000000 --- a/client/sf-gate/docs/AssetResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# SfGate.AssetResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Asset]**](Asset.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/sf-gate/docs/AssetsApi.md b/client/sf-gate/docs/AssetsApi.md deleted file mode 100644 index c595896..0000000 --- a/client/sf-gate/docs/AssetsApi.md +++ /dev/null @@ -1,120 +0,0 @@ -# SfGate.AssetsApi - -All URIs are relative to *http://sf-gate.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getAssets**](AssetsApi.md#getAssets) | **GET** /assets | Get a list of assets -[**postAssets**](AssetsApi.md#postAssets) | **POST** /assets | Add a new asset to Taxnexus - - - -## getAssets - -> AssetResponse getAssets(opts) - -Get a list of assets - -Return a list of all available Assets - -### Example - -```javascript -import SfGate from 'sf_gate'; -let defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new SfGate.AssetsApi(); -let opts = { - 'limit': 789, // Number | How many objects to return at one time - 'offset': 789, // Number | How many objects to skip? - 'active': true, // Boolean | Only retrieve active records? - 'assetId': "assetId_example" // String | Taxnexus Record Id of an Asset -}; -apiInstance.getAssets(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **limit** | **Number**| How many objects to return at one time | [optional] - **offset** | **Number**| How many objects to skip? | [optional] - **active** | **Boolean**| Only retrieve active records? | [optional] - **assetId** | **String**| Taxnexus Record Id of an Asset | [optional] - -### Return type - -[**AssetResponse**](AssetResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## postAssets - -> AssetResponse postAssets(assetRequest) - -Add a new asset to Taxnexus - -Industry record to be added - -### Example - -```javascript -import SfGate from 'sf_gate'; -let defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new SfGate.AssetsApi(); -let assetRequest = new SfGate.AssetRequest(); // AssetRequest | An array of new Asset records -apiInstance.postAssets(assetRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **assetRequest** | [**AssetRequest**](AssetRequest.md)| An array of new Asset records | - -### Return type - -[**AssetResponse**](AssetResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - diff --git a/client/sf-gate/docs/Cluster.md b/client/sf-gate/docs/Cluster.md deleted file mode 100644 index fe518fc..0000000 --- a/client/sf-gate/docs/Cluster.md +++ /dev/null @@ -1,25 +0,0 @@ -# SfGate.Cluster - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | Taxnexus Record Id | [optional] -**name** | **String** | Cluster Name | [optional] -**createdbyid** | **String** | Created By | [optional] -**createddate** | **String** | Created Date | [optional] -**description** | **String** | Description | [optional] -**environment** | **String** | Environment | [optional] -**ref** | **String** | External Reference | [optional] -**gateway** | **String** | Gateway | [optional] -**ipAddress** | **String** | IP Address | [optional] -**lastmodifiedbyid** | **String** | Last Modified By | [optional] -**lastmodifieddate** | **String** | Last Modified Date | [optional] -**ownerid** | **String** | Owner | [optional] -**status** | **String** | Status | [optional] -**subnet** | **String** | Subnet | [optional] -**tenantid** | **String** | tenantid | [optional] -**type** | **String** | Type | [optional] -**zone** | **String** | Zone | [optional] - - diff --git a/client/sf-gate/docs/ClusterRequest.md b/client/sf-gate/docs/ClusterRequest.md deleted file mode 100644 index 658eb21..0000000 --- a/client/sf-gate/docs/ClusterRequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# SfGate.ClusterRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Cluster]**](Cluster.md) | | -**meta** | [**RequestMeta**](RequestMeta.md) | | - - diff --git a/client/sf-gate/docs/ClusterResponse.md b/client/sf-gate/docs/ClusterResponse.md deleted file mode 100644 index e386e23..0000000 --- a/client/sf-gate/docs/ClusterResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# SfGate.ClusterResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Cluster]**](Cluster.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/sf-gate/docs/ClustersApi.md b/client/sf-gate/docs/ClustersApi.md deleted file mode 100644 index c889a33..0000000 --- a/client/sf-gate/docs/ClustersApi.md +++ /dev/null @@ -1,170 +0,0 @@ -# SfGate.ClustersApi - -All URIs are relative to *http://sf-gate.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getClusters**](ClustersApi.md#getClusters) | **GET** /clusters | Get a list Clusters -[**postClusters**](ClustersApi.md#postClusters) | **POST** /clusters | Create new Clusters -[**putClusters**](ClustersApi.md#putClusters) | **PUT** /clusters | Update Clusters - - - -## getClusters - -> ClusterResponse getClusters(opts) - -Get a list Clusters - -Return a list of Cluster records from the datastore - -### Example - -```javascript -import SfGate from 'sf_gate'; -let defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new SfGate.ClustersApi(); -let opts = { - 'clusterId': "clusterId_example", // String | Taxnexus Record Id of a Cluster - 'limit': 789, // Number | How many objects to return at one time - 'offset': 789 // Number | How many objects to skip? -}; -apiInstance.getClusters(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **clusterId** | **String**| Taxnexus Record Id of a Cluster | [optional] - **limit** | **Number**| How many objects to return at one time | [optional] - **offset** | **Number**| How many objects to skip? | [optional] - -### Return type - -[**ClusterResponse**](ClusterResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## postClusters - -> ClusterResponse postClusters(clusterRequest) - -Create new Clusters - -Create Clusters in Taxnexus - -### Example - -```javascript -import SfGate from 'sf_gate'; -let defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new SfGate.ClustersApi(); -let clusterRequest = new SfGate.ClusterRequest(); // ClusterRequest | An array of Cluster records -apiInstance.postClusters(clusterRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **clusterRequest** | [**ClusterRequest**](ClusterRequest.md)| An array of Cluster records | - -### Return type - -[**ClusterResponse**](ClusterResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - - -## putClusters - -> ClusterResponse putClusters(clusterRequest) - -Update Clusters - -Update Cluster in Taxnexus - -### Example - -```javascript -import SfGate from 'sf_gate'; -let defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new SfGate.ClustersApi(); -let clusterRequest = new SfGate.ClusterRequest(); // ClusterRequest | An array of Cluster records -apiInstance.putClusters(clusterRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **clusterRequest** | [**ClusterRequest**](ClusterRequest.md)| An array of Cluster records | - -### Return type - -[**ClusterResponse**](ClusterResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - diff --git a/client/sf-gate/docs/CompanyProduct.md b/client/sf-gate/docs/CompanyProduct.md deleted file mode 100644 index 346780f..0000000 --- a/client/sf-gate/docs/CompanyProduct.md +++ /dev/null @@ -1,18 +0,0 @@ -# SfGate.CompanyProduct - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ID** | **String** | Taxnexus Record Id | [optional] -**createdByID** | **String** | Created By User ID | [optional] -**createdDate** | **String** | Created Date | [optional] -**lastModifiedByID** | **String** | Last Modified By User ID | [optional] -**lastModifiedDate** | **String** | Last Modified Date | [optional] -**accountID** | **String** | Taxnexus ID of the Company that owns this Product | [optional] -**description** | **String** | Description of product | [optional] -**name** | **String** | Product Name | [optional] -**tagLine** | **String** | TagLine | [optional] -**URL** | **String** | Website | [optional] - - diff --git a/client/sf-gate/docs/CompanyProductRequest.md b/client/sf-gate/docs/CompanyProductRequest.md deleted file mode 100644 index 5d672a3..0000000 --- a/client/sf-gate/docs/CompanyProductRequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# SfGate.CompanyProductRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[CompanyProduct]**](CompanyProduct.md) | | -**meta** | [**RequestMeta**](RequestMeta.md) | | - - diff --git a/client/sf-gate/docs/CompanyProductResponse.md b/client/sf-gate/docs/CompanyProductResponse.md deleted file mode 100644 index bf2275a..0000000 --- a/client/sf-gate/docs/CompanyProductResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# SfGate.CompanyProductResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[CompanyProduct]**](CompanyProduct.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/sf-gate/docs/CompanyProductsApi.md b/client/sf-gate/docs/CompanyProductsApi.md deleted file mode 100644 index d913323..0000000 --- a/client/sf-gate/docs/CompanyProductsApi.md +++ /dev/null @@ -1,120 +0,0 @@ -# SfGate.CompanyProductsApi - -All URIs are relative to *http://sf-gate.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getCompanyProducts**](CompanyProductsApi.md#getCompanyProducts) | **GET** /companyproducts | Get a list of companyproducts -[**postCompanyProducts**](CompanyProductsApi.md#postCompanyProducts) | **POST** /companyproducts | Add a new companyproduct to Taxnexus - - - -## getCompanyProducts - -> CompanyProductResponse getCompanyProducts(opts) - -Get a list of companyproducts - -Return a list of all available CompanyProducts - -### Example - -```javascript -import SfGate from 'sf_gate'; -let defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new SfGate.CompanyProductsApi(); -let opts = { - 'limit': 789, // Number | How many objects to return at one time - 'offset': 789, // Number | How many objects to skip? - 'active': true, // Boolean | Only retrieve active records? - 'companyProductId': "companyProductId_example" // String | Taxnexus CompanyProduct record ID -}; -apiInstance.getCompanyProducts(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **limit** | **Number**| How many objects to return at one time | [optional] - **offset** | **Number**| How many objects to skip? | [optional] - **active** | **Boolean**| Only retrieve active records? | [optional] - **companyProductId** | **String**| Taxnexus CompanyProduct record ID | [optional] - -### Return type - -[**CompanyProductResponse**](CompanyProductResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## postCompanyProducts - -> CompanyProductResponse postCompanyProducts(contactRequest) - -Add a new companyproduct to Taxnexus - -Industry record to be added - -### Example - -```javascript -import SfGate from 'sf_gate'; -let defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new SfGate.CompanyProductsApi(); -let contactRequest = new SfGate.CompanyProductRequest(); // CompanyProductRequest | An array of new Contact records -apiInstance.postCompanyProducts(contactRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **contactRequest** | [**CompanyProductRequest**](CompanyProductRequest.md)| An array of new Contact records | - -### Return type - -[**CompanyProductResponse**](CompanyProductResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - diff --git a/client/sf-gate/docs/Contact.md b/client/sf-gate/docs/Contact.md deleted file mode 100644 index 9885641..0000000 --- a/client/sf-gate/docs/Contact.md +++ /dev/null @@ -1,45 +0,0 @@ -# SfGate.Contact - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**tenantID** | **String** | tenant identifier | [optional] -**ID** | **String** | Taxnexus Record Id | [optional] -**accountID** | **String** | The primary account ID of this contact | [optional] -**assistantName** | **String** | Assistant Name | [optional] -**assistantPhone** | **String** | Asst. Phone | [optional] -**birthDate** | **String** | Birthdate | [optional] -**createdByID** | **String** | Created By User ID | [optional] -**createdDate** | **String** | Created Date | [optional] -**department** | **String** | Department | [optional] -**description** | **String** | Description | [optional] -**doNotCall** | **Boolean** | Do Not Call? | [optional] -**email** | **String** | Email address | [optional] -**emailBounceDate** | **String** | Email Bounce Date | [optional] -**emailBounceReason** | **String** | Email Bounce Reason | [optional] -**fax** | **String** | | [optional] -**facebook** | **String** | Fax Number | [optional] -**firstName** | **String** | First Name | [optional] -**hasOptedOutOfEmail** | **Boolean** | Email Opt Out | [optional] -**hasOptedOutOfFax** | **Boolean** | Fax Opt Out | [optional] -**homePhone** | **String** | Home Phone | [optional] -**isEmailBounced** | **Boolean** | Does this contact have bounced emails? | [optional] -**lastModifiedByID** | **String** | Last Modified By User ID | [optional] -**lastModifiedDate** | **String** | Last Modified Date | [optional] -**lastName** | **String** | Last Name | [optional] -**leadSource** | **String** | Lead Source | [optional] -**linkedIn** | **String** | LinkedIn Page | [optional] -**mailingAddress** | [**Address**](Address.md) | | [optional] -**mobilePhone** | **String** | Mobile Phone | [optional] -**name** | **String** | Full Name | [optional] -**otherAddress** | [**Address**](Address.md) | | [optional] -**otherPhone** | **String** | Other Phone | [optional] -**ownerID** | **String** | The User ID of the user who owns this Contact | [optional] -**personalEmail** | **String** | Personal Email Address for this Contact | [optional] -**phone** | **String** | Phone Number | [optional] -**photoURL** | **String** | URL of a photograph of this User | [optional] -**title** | **String** | Contact Title | [optional] -**twitter** | **String** | | [optional] - - diff --git a/client/sf-gate/docs/ContactRequest.md b/client/sf-gate/docs/ContactRequest.md deleted file mode 100644 index 855a40d..0000000 --- a/client/sf-gate/docs/ContactRequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# SfGate.ContactRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Contact]**](Contact.md) | | -**meta** | [**RequestMeta**](RequestMeta.md) | | - - diff --git a/client/sf-gate/docs/ContactResponse.md b/client/sf-gate/docs/ContactResponse.md deleted file mode 100644 index 25f9b3f..0000000 --- a/client/sf-gate/docs/ContactResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# SfGate.ContactResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Contact]**](Contact.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/sf-gate/docs/ContactsApi.md b/client/sf-gate/docs/ContactsApi.md deleted file mode 100644 index 8a7134d..0000000 --- a/client/sf-gate/docs/ContactsApi.md +++ /dev/null @@ -1,126 +0,0 @@ -# SfGate.ContactsApi - -All URIs are relative to *http://sf-gate.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getContacts**](ContactsApi.md#getContacts) | **GET** /contacts | Get a Contact record -[**postContacts**](ContactsApi.md#postContacts) | **POST** /contacts | Add a new Contacts to Taxnexus - - - -## getContacts - -> ContactResponse getContacts(opts) - -Get a Contact record - -Retrieve Contact records from the datastore - -### Example - -```javascript -import SfGate from 'sf_gate'; -let defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new SfGate.ContactsApi(); -let opts = { - 'contactId': "contactId_example", // String | Taxnexus Record Id of a Contact - 'limit': 789, // Number | How many objects to return at one time - 'name': "name_example", // String | The Name of this Object - 'offset': 789, // Number | How many objects to skip? - 'active': true, // Boolean | Only retrieve active records? - 'accountId': "accountId_example", // String | Taxnexus Record Id of an Account - 'email': "email_example" // String | Email address used for identity lookup -}; -apiInstance.getContacts(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **contactId** | **String**| Taxnexus Record Id of a Contact | [optional] - **limit** | **Number**| How many objects to return at one time | [optional] - **name** | **String**| The Name of this Object | [optional] - **offset** | **Number**| How many objects to skip? | [optional] - **active** | **Boolean**| Only retrieve active records? | [optional] - **accountId** | **String**| Taxnexus Record Id of an Account | [optional] - **email** | **String**| Email address used for identity lookup | [optional] - -### Return type - -[**ContactResponse**](ContactResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## postContacts - -> ContactResponse postContacts(contactRequest) - -Add a new Contacts to Taxnexus - -Contacts record to be added - -### Example - -```javascript -import SfGate from 'sf_gate'; -let defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new SfGate.ContactsApi(); -let contactRequest = new SfGate.ContactRequest(); // ContactRequest | An array of new Contact records -apiInstance.postContacts(contactRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **contactRequest** | [**ContactRequest**](ContactRequest.md)| An array of new Contact records | - -### Return type - -[**ContactResponse**](ContactResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - diff --git a/client/sf-gate/docs/Contract.md b/client/sf-gate/docs/Contract.md deleted file mode 100644 index d45e64a..0000000 --- a/client/sf-gate/docs/Contract.md +++ /dev/null @@ -1,38 +0,0 @@ -# SfGate.Contract - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**accountID** | **String** | Account | [optional] -**activatedByID** | **String** | Activated By | [optional] -**activatedDate** | **String** | Activated Date | [optional] -**billingAddress** | [**Address**](Address.md) | | [optional] -**billingContactID** | **String** | Billing Contact | [optional] -**companySignedDate** | **String** | Company Signed Date | [optional] -**companySignedID** | **String** | Company Signed By | [optional] -**contractNumber** | **String** | Contract Number | [optional] -**contractTerm** | **Number** | Contract Term (months) | [optional] -**createdByID** | **String** | Created By User ID | [optional] -**createdDate** | **String** | Created Date | [optional] -**customerSignedDate** | **String** | Customer Signed Date | [optional] -**customerSignedID** | **String** | Customer Signed By | [optional] -**customerSignedTitle** | **String** | Customer Signed Title | [optional] -**defaultEndUserID** | **String** | End User | [optional] -**description** | **String** | Description | [optional] -**endDate** | **String** | Contract End Date | [optional] -**hourlyRate** | **Number** | Hourly Rate | [optional] -**ID** | **String** | Telnexus Record Id | [optional] -**lastModifiedByID** | **String** | Last Modified By User ID | [optional] -**lastModifiedDate** | **String** | Last Modified Date | [optional] -**name** | **String** | Contract Name | [optional] -**paymentMethodID** | **String** | Payment Method | [optional] -**paymentTerms** | **String** | Payment Terms | [optional] -**perpetual** | **Boolean** | Perpetual Agreement? | [optional] -**shippingAddress** | [**Address**](Address.md) | | [optional] -**shippingContactID** | **String** | Shipping Contact | [optional] -**startDate** | **String** | Contract Start Date | [optional] -**status** | **String** | Status | [optional] -**tenantID** | **String** | Tenant Identifier | [optional] - - diff --git a/client/sf-gate/docs/ContractRequest.md b/client/sf-gate/docs/ContractRequest.md deleted file mode 100644 index ad84209..0000000 --- a/client/sf-gate/docs/ContractRequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# SfGate.ContractRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Contract]**](Contract.md) | | [optional] - - diff --git a/client/sf-gate/docs/ContractResponse.md b/client/sf-gate/docs/ContractResponse.md deleted file mode 100644 index fefe700..0000000 --- a/client/sf-gate/docs/ContractResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# SfGate.ContractResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Contract]**](Contract.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/sf-gate/docs/ContractsApi.md b/client/sf-gate/docs/ContractsApi.md deleted file mode 100644 index d11067e..0000000 --- a/client/sf-gate/docs/ContractsApi.md +++ /dev/null @@ -1,120 +0,0 @@ -# SfGate.ContractsApi - -All URIs are relative to *http://sf-gate.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getContracts**](ContractsApi.md#getContracts) | **GET** /contracts | Get a list of contracts -[**postContracts**](ContractsApi.md#postContracts) | **POST** /contracts | Add a new contract to Taxnexus - - - -## getContracts - -> ContractResponse getContracts(opts) - -Get a list of contracts - -Return a list of all available Contracts - -### Example - -```javascript -import SfGate from 'sf_gate'; -let defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new SfGate.ContractsApi(); -let opts = { - 'limit': 789, // Number | How many objects to return at one time - 'offset': 789, // Number | How many objects to skip? - 'active': true, // Boolean | Only retrieve active records? - 'contractId': "contractId_example" // String | Taxnexus Contact record ID -}; -apiInstance.getContracts(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **limit** | **Number**| How many objects to return at one time | [optional] - **offset** | **Number**| How many objects to skip? | [optional] - **active** | **Boolean**| Only retrieve active records? | [optional] - **contractId** | **String**| Taxnexus Contact record ID | [optional] - -### Return type - -[**ContractResponse**](ContractResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## postContracts - -> ContractResponse postContracts(contractsRequest) - -Add a new contract to Taxnexus - -Contract record to be added - -### Example - -```javascript -import SfGate from 'sf_gate'; -let defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new SfGate.ContractsApi(); -let contractsRequest = new SfGate.ContractRequest(); // ContractRequest | An array of new Contract records -apiInstance.postContracts(contractsRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **contractsRequest** | [**ContractRequest**](ContractRequest.md)| An array of new Contract records | - -### Return type - -[**ContractResponse**](ContractResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - diff --git a/client/sf-gate/docs/Database.md b/client/sf-gate/docs/Database.md deleted file mode 100644 index 696d5bd..0000000 --- a/client/sf-gate/docs/Database.md +++ /dev/null @@ -1,21 +0,0 @@ -# SfGate.Database - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**active** | **Boolean** | Is this database active? | [optional] -**clusterid** | **String** | The ID of the Cluster in which this database is deployed | [optional] -**createdbyid** | **String** | Created By | [optional] -**createddate** | **String** | Created Date | [optional] -**databasename** | **String** | The name of the physical database in the cluster | [optional] -**dsn** | **String** | Database connection string | [optional] -**id** | **String** | Record Id | [optional] -**lastmodifiedbyid** | **String** | Last Modified By | [optional] -**lastmodifieddate** | **String** | Last Modifed Date | [optional] -**microservices** | **String** | List of Taxnexus microservices implemented by this Database | [optional] -**status** | **String** | The current status of this Tenant | [optional] -**tenantid** | **String** | The ID of the tenant who owns this Database | [optional] -**type** | **String** | The type of Database (mysql, etc) | [optional] - - diff --git a/client/sf-gate/docs/DatabaseRequest.md b/client/sf-gate/docs/DatabaseRequest.md deleted file mode 100644 index d5025ec..0000000 --- a/client/sf-gate/docs/DatabaseRequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# SfGate.DatabaseRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Database]**](Database.md) | | [optional] -**meta** | [**RequestMeta**](RequestMeta.md) | | [optional] - - diff --git a/client/sf-gate/docs/DatabaseResponse.md b/client/sf-gate/docs/DatabaseResponse.md deleted file mode 100644 index cd0e5f7..0000000 --- a/client/sf-gate/docs/DatabaseResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# SfGate.DatabaseResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Database]**](Database.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/sf-gate/docs/DatabasesApi.md b/client/sf-gate/docs/DatabasesApi.md deleted file mode 100644 index 0965f44..0000000 --- a/client/sf-gate/docs/DatabasesApi.md +++ /dev/null @@ -1,170 +0,0 @@ -# SfGate.DatabasesApi - -All URIs are relative to *http://sf-gate.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getDatabases**](DatabasesApi.md#getDatabases) | **GET** /databases | Get a list Databases -[**postDatabases**](DatabasesApi.md#postDatabases) | **POST** /databases | Create new Databases -[**putDatabases**](DatabasesApi.md#putDatabases) | **PUT** /databases | Update Databases - - - -## getDatabases - -> DatabaseResponse getDatabases(opts) - -Get a list Databases - -Return a list of Database records from the datastore - -### Example - -```javascript -import SfGate from 'sf_gate'; -let defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new SfGate.DatabasesApi(); -let opts = { - 'databaseId': "databaseId_example", // String | Taxnexus Record Id of a Database - 'limit': 789, // Number | How many objects to return at one time - 'offset': 789 // Number | How many objects to skip? -}; -apiInstance.getDatabases(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **databaseId** | **String**| Taxnexus Record Id of a Database | [optional] - **limit** | **Number**| How many objects to return at one time | [optional] - **offset** | **Number**| How many objects to skip? | [optional] - -### Return type - -[**DatabaseResponse**](DatabaseResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## postDatabases - -> DatabaseResponse postDatabases(databaseRequest) - -Create new Databases - -Create Databases in Taxnexus - -### Example - -```javascript -import SfGate from 'sf_gate'; -let defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new SfGate.DatabasesApi(); -let databaseRequest = new SfGate.DatabaseRequest(); // DatabaseRequest | An array of Database records -apiInstance.postDatabases(databaseRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **databaseRequest** | [**DatabaseRequest**](DatabaseRequest.md)| An array of Database records | - -### Return type - -[**DatabaseResponse**](DatabaseResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - - -## putDatabases - -> DatabaseResponse putDatabases(databaseRequest) - -Update Databases - -Update Database in Taxnexus - -### Example - -```javascript -import SfGate from 'sf_gate'; -let defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new SfGate.DatabasesApi(); -let databaseRequest = new SfGate.DatabaseRequest(); // DatabaseRequest | An array of Database records -apiInstance.putDatabases(databaseRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **databaseRequest** | [**DatabaseRequest**](DatabaseRequest.md)| An array of Database records | - -### Return type - -[**DatabaseResponse**](DatabaseResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - diff --git a/client/sf-gate/docs/DeleteResponse.md b/client/sf-gate/docs/DeleteResponse.md deleted file mode 100644 index 714f865..0000000 --- a/client/sf-gate/docs/DeleteResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# SfGate.DeleteResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Message]**](Message.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/sf-gate/docs/Error.md b/client/sf-gate/docs/Error.md deleted file mode 100644 index 267e89f..0000000 --- a/client/sf-gate/docs/Error.md +++ /dev/null @@ -1,11 +0,0 @@ -# SfGate.Error - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **Number** | | [optional] -**fields** | **String** | | [optional] -**message** | **String** | | [optional] - - diff --git a/client/sf-gate/docs/IndustriesApi.md b/client/sf-gate/docs/IndustriesApi.md deleted file mode 100644 index 32128ca..0000000 --- a/client/sf-gate/docs/IndustriesApi.md +++ /dev/null @@ -1,120 +0,0 @@ -# SfGate.IndustriesApi - -All URIs are relative to *http://sf-gate.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getIndustries**](IndustriesApi.md#getIndustries) | **GET** /industries | Get a list of industries -[**postIndustries**](IndustriesApi.md#postIndustries) | **POST** /industries | Add a new industry to Taxnexus - - - -## getIndustries - -> IndustryResponse getIndustries(opts) - -Get a list of industries - -Return a list of all available Industries - -### Example - -```javascript -import SfGate from 'sf_gate'; -let defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new SfGate.IndustriesApi(); -let opts = { - 'limit': 789, // Number | How many objects to return at one time - 'offset': 789, // Number | How many objects to skip? - 'active': true, // Boolean | Only retrieve active records? - 'industryId': "industryId_example" // String | Taxnexus Industry record ID -}; -apiInstance.getIndustries(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **limit** | **Number**| How many objects to return at one time | [optional] - **offset** | **Number**| How many objects to skip? | [optional] - **active** | **Boolean**| Only retrieve active records? | [optional] - **industryId** | **String**| Taxnexus Industry record ID | [optional] - -### Return type - -[**IndustryResponse**](IndustryResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## postIndustries - -> IndustryResponse postIndustries(industryRequest) - -Add a new industry to Taxnexus - -Industry record to be added - -### Example - -```javascript -import SfGate from 'sf_gate'; -let defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new SfGate.IndustriesApi(); -let industryRequest = new SfGate.IndustryRequest(); // IndustryRequest | An array of new Industry records -apiInstance.postIndustries(industryRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **industryRequest** | [**IndustryRequest**](IndustryRequest.md)| An array of new Industry records | - -### Return type - -[**IndustryResponse**](IndustryResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - diff --git a/client/sf-gate/docs/Industry.md b/client/sf-gate/docs/Industry.md deleted file mode 100644 index f198fcc..0000000 --- a/client/sf-gate/docs/Industry.md +++ /dev/null @@ -1,20 +0,0 @@ -# SfGate.Industry - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ID** | **String** | Taxnexus Record Id | [optional] -**createdByID** | **String** | Created By User ID | [optional] -**createdDate** | **String** | Created Date | [optional] -**lastModifiedByID** | **String** | Last Modified By User ID | [optional] -**lastModifiedDate** | **String** | Last Modified Date | [optional] -**name** | **String** | Industry Name | [optional] -**description** | **String** | Industry Description | [optional] -**parentIndustryID** | **String** | The ID of the Parent Industry | [optional] -**level** | **String** | The hierarchical level of this Industry | [optional] -**path** | **String** | The full path of this industry, including Parent | [optional] -**slug** | **String** | The CMS Slug for this Industry | [optional] -**siteURL** | **String** | The URL of the corresponding page on the CMS | [optional] - - diff --git a/client/sf-gate/docs/IndustryProduct.md b/client/sf-gate/docs/IndustryProduct.md deleted file mode 100644 index 56ece57..0000000 --- a/client/sf-gate/docs/IndustryProduct.md +++ /dev/null @@ -1,16 +0,0 @@ -# SfGate.IndustryProduct - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ID** | **String** | Taxnexus Record Id | [optional] -**createdByID** | **String** | Created By User ID | [optional] -**createdDate** | **String** | Created Date | [optional] -**lastModifiedByID** | **String** | Last Modified By User ID | [optional] -**lastModifiedDate** | **String** | Last Modified Date | [optional] -**industryID** | **String** | | [optional] -**HTML** | **String** | | [optional] -**companyProductID** | **String** | | [optional] - - diff --git a/client/sf-gate/docs/IndustryProductRequest.md b/client/sf-gate/docs/IndustryProductRequest.md deleted file mode 100644 index 3da678d..0000000 --- a/client/sf-gate/docs/IndustryProductRequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# SfGate.IndustryProductRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[IndustryProduct]**](IndustryProduct.md) | | [optional] - - diff --git a/client/sf-gate/docs/IndustryProductResponse.md b/client/sf-gate/docs/IndustryProductResponse.md deleted file mode 100644 index abfdf4f..0000000 --- a/client/sf-gate/docs/IndustryProductResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# SfGate.IndustryProductResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[IndustryProduct]**](IndustryProduct.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/sf-gate/docs/IndustryProductsApi.md b/client/sf-gate/docs/IndustryProductsApi.md deleted file mode 100644 index ea0d87a..0000000 --- a/client/sf-gate/docs/IndustryProductsApi.md +++ /dev/null @@ -1,60 +0,0 @@ -# SfGate.IndustryProductsApi - -All URIs are relative to *http://sf-gate.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**postIndustryproducts**](IndustryProductsApi.md#postIndustryproducts) | **POST** /industryproducts | Add a new industryproduct to Taxnexus - - - -## postIndustryproducts - -> IndustryProductResponse postIndustryproducts(industryRequest) - -Add a new industryproduct to Taxnexus - -Industry record to be added - -### Example - -```javascript -import SfGate from 'sf_gate'; -let defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new SfGate.IndustryProductsApi(); -let industryRequest = new SfGate.IndustryProductRequest(); // IndustryProductRequest | An array of new Industry records -apiInstance.postIndustryproducts(industryRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **industryRequest** | [**IndustryProductRequest**](IndustryProductRequest.md)| An array of new Industry records | - -### Return type - -[**IndustryProductResponse**](IndustryProductResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - diff --git a/client/sf-gate/docs/IndustryRequest.md b/client/sf-gate/docs/IndustryRequest.md deleted file mode 100644 index 0736351..0000000 --- a/client/sf-gate/docs/IndustryRequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# SfGate.IndustryRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Industry]**](Industry.md) | | [optional] - - diff --git a/client/sf-gate/docs/IndustryResponse.md b/client/sf-gate/docs/IndustryResponse.md deleted file mode 100644 index 2bff767..0000000 --- a/client/sf-gate/docs/IndustryResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# SfGate.IndustryResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Industry]**](Industry.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/sf-gate/docs/IndustryproductsApi.md b/client/sf-gate/docs/IndustryproductsApi.md deleted file mode 100644 index fae3f00..0000000 --- a/client/sf-gate/docs/IndustryproductsApi.md +++ /dev/null @@ -1,68 +0,0 @@ -# SfGate.IndustryproductsApi - -All URIs are relative to *http://sf-gate.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getIndustryProducts**](IndustryproductsApi.md#getIndustryProducts) | **GET** /industryproducts | Get a list of industryproducts - - - -## getIndustryProducts - -> IndustryProductResponse getIndustryProducts(opts) - -Get a list of industryproducts - -Return a list of all available IndustryProducts - -### Example - -```javascript -import SfGate from 'sf_gate'; -let defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new SfGate.IndustryproductsApi(); -let opts = { - 'limit': 789, // Number | How many objects to return at one time - 'offset': 789, // Number | How many objects to skip? - 'active': true, // Boolean | Only retrieve active records? - 'industryProductId': "industryProductId_example" // String | Taxnexus IndustryProduct record ID -}; -apiInstance.getIndustryProducts(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **limit** | **Number**| How many objects to return at one time | [optional] - **offset** | **Number**| How many objects to skip? | [optional] - **active** | **Boolean**| Only retrieve active records? | [optional] - **industryProductId** | **String**| Taxnexus IndustryProduct record ID | [optional] - -### Return type - -[**IndustryProductResponse**](IndustryProductResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - diff --git a/client/sf-gate/docs/InvalidError.md b/client/sf-gate/docs/InvalidError.md deleted file mode 100644 index 8acae25..0000000 --- a/client/sf-gate/docs/InvalidError.md +++ /dev/null @@ -1,12 +0,0 @@ -# SfGate.InvalidError - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **Number** | | [optional] -**fields** | **String** | | [optional] -**message** | **String** | | [optional] -**details** | **[String]** | | [optional] - - diff --git a/client/sf-gate/docs/InvalidErrorAllOf.md b/client/sf-gate/docs/InvalidErrorAllOf.md deleted file mode 100644 index e6215f0..0000000 --- a/client/sf-gate/docs/InvalidErrorAllOf.md +++ /dev/null @@ -1,9 +0,0 @@ -# SfGate.InvalidErrorAllOf - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**details** | **[String]** | | [optional] - - diff --git a/client/sf-gate/docs/Message.md b/client/sf-gate/docs/Message.md deleted file mode 100644 index 1b55f1a..0000000 --- a/client/sf-gate/docs/Message.md +++ /dev/null @@ -1,11 +0,0 @@ -# SfGate.Message - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**message** | **String** | | [optional] -**ref** | **String** | | [optional] -**status** | **Number** | | [optional] - - diff --git a/client/sf-gate/docs/Pagination.md b/client/sf-gate/docs/Pagination.md deleted file mode 100644 index 7e970b7..0000000 --- a/client/sf-gate/docs/Pagination.md +++ /dev/null @@ -1,12 +0,0 @@ -# SfGate.Pagination - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**limit** | **Number** | | [optional] -**pagesize** | **Number** | | [optional] -**poffset** | **Number** | | [optional] -**setsize** | **Number** | | [optional] - - diff --git a/client/sf-gate/docs/RequestMeta.md b/client/sf-gate/docs/RequestMeta.md deleted file mode 100644 index 135c722..0000000 --- a/client/sf-gate/docs/RequestMeta.md +++ /dev/null @@ -1,9 +0,0 @@ -# SfGate.RequestMeta - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**taxnexusAccount** | **String** | Taxnexus Account Number of the Reseller or OEM | - - diff --git a/client/sf-gate/docs/ResponseMeta.md b/client/sf-gate/docs/ResponseMeta.md deleted file mode 100644 index 940f880..0000000 --- a/client/sf-gate/docs/ResponseMeta.md +++ /dev/null @@ -1,20 +0,0 @@ -# SfGate.ResponseMeta - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**contact** | **String** | Microservice Contact Info | [optional] -**copyright** | **String** | Copyright Info | [optional] -**license** | **String** | License Information and Restrictions | [optional] -**operationID** | **String** | Operation ID | [optional] -**pagination** | [**Pagination**](Pagination.md) | | [optional] -**requestIP** | **String** | Request IP Address | [optional] -**requestType** | **String** | Request Type | [optional] -**requestURL** | **String** | Request URL | [optional] -**serverInfo** | **String** | Data Server Info | [optional] -**serverResponseTime** | **String** | Data Server Response Time (ms) | [optional] -**serverTimestamp** | **String** | Backend Server Timestamp | [optional] -**taxnexusAccount** | **String** | Taxnexus Account Number used for recording transactions | [optional] - - diff --git a/client/sf-gate/docs/Role.md b/client/sf-gate/docs/Role.md deleted file mode 100644 index d0afb3c..0000000 --- a/client/sf-gate/docs/Role.md +++ /dev/null @@ -1,17 +0,0 @@ -# SfGate.Role - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | record id | [optional] -**auth0roleid** | **String** | the corresponding auth0 role | [optional] -**createdbyid** | **String** | created by | [optional] -**createddate** | **String** | created date | [optional] -**description** | **String** | role description | [optional] -**lastmodifiedbyid** | **String** | last modified by | [optional] -**lastmodifieddate** | **String** | last modifed date | [optional] -**rolename** | **String** | the name of this role | [optional] -**tenantid** | **String** | the id of the tenant that owns this role | [optional] - - diff --git a/client/sf-gate/docs/RoleRequest.md b/client/sf-gate/docs/RoleRequest.md deleted file mode 100644 index ce7d213..0000000 --- a/client/sf-gate/docs/RoleRequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# SfGate.RoleRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Role]**](Role.md) | | [optional] -**meta** | [**RequestMeta**](RequestMeta.md) | | [optional] - - diff --git a/client/sf-gate/docs/RoleResponse.md b/client/sf-gate/docs/RoleResponse.md deleted file mode 100644 index 6017ae3..0000000 --- a/client/sf-gate/docs/RoleResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# SfGate.RoleResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Role]**](Role.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/sf-gate/docs/RolesApi.md b/client/sf-gate/docs/RolesApi.md deleted file mode 100644 index d78c062..0000000 --- a/client/sf-gate/docs/RolesApi.md +++ /dev/null @@ -1,66 +0,0 @@ -# SfGate.RolesApi - -All URIs are relative to *http://sf-gate.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getRoles**](RolesApi.md#getRoles) | **GET** /roles | Get a list of Roles - - - -## getRoles - -> RoleResponse getRoles(opts) - -Get a list of Roles - -Return a list of Roles - -### Example - -```javascript -import SfGate from 'sf_gate'; -let defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new SfGate.RolesApi(); -let opts = { - 'limit': 789, // Number | How many objects to return at one time - 'offset': 789, // Number | How many objects to skip? - 'roleId': "roleId_example" // String | Taxnexus Id of the Role to be retrieved -}; -apiInstance.getRoles(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **limit** | **Number**| How many objects to return at one time | [optional] - **offset** | **Number**| How many objects to skip? | [optional] - **roleId** | **String**| Taxnexus Id of the Role to be retrieved | [optional] - -### Return type - -[**RoleResponse**](RoleResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - diff --git a/client/sf-gate/docs/Template.md b/client/sf-gate/docs/Template.md deleted file mode 100644 index 3a8119f..0000000 --- a/client/sf-gate/docs/Template.md +++ /dev/null @@ -1,24 +0,0 @@ -# SfGate.Template - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**tenantid** | **String** | tenant identifier | [optional] -**companyID** | **String** | Company | [optional] -**createdByID** | **String** | | [optional] -**createdDate** | **String** | | [optional] -**description** | **String** | Description | [optional] -**HTML** | **Blob** | HTML Body | [optional] -**ID** | **String** | Taxnexus Record Id | [optional] -**isActive** | **Boolean** | Active? | [optional] -**isMaster** | **Boolean** | Master Template? | [optional] -**lastModifiedByID** | **String** | | [optional] -**lastModifiedDate** | **String** | | [optional] -**name** | **String** | Template Name | [optional] -**objectType** | **String** | Object | [optional] -**recordTypeName** | **String** | Record Type Name | [optional] -**type** | **String** | Type | [optional] -**URL** | **String** | URL | [optional] - - diff --git a/client/sf-gate/docs/TemplateResponse.md b/client/sf-gate/docs/TemplateResponse.md deleted file mode 100644 index bb9d8d4..0000000 --- a/client/sf-gate/docs/TemplateResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# SfGate.TemplateResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Template]**](Template.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/sf-gate/docs/TemplatesApi.md b/client/sf-gate/docs/TemplatesApi.md deleted file mode 100644 index dbc1c0f..0000000 --- a/client/sf-gate/docs/TemplatesApi.md +++ /dev/null @@ -1,66 +0,0 @@ -# SfGate.TemplatesApi - -All URIs are relative to *http://sf-gate.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getTemplates**](TemplatesApi.md#getTemplates) | **GET** /templates | Get PDF Rendering Templates - - - -## getTemplates - -> TemplateResponse getTemplates(opts) - -Get PDF Rendering Templates - -Returns the PDF rendering template, or a link to where to get the template - -### Example - -```javascript -import SfGate from 'sf_gate'; -let defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new SfGate.TemplatesApi(); -let opts = { - 'limit': 789, // Number | How many objects to return at one time - 'offset': 789, // Number | How many objects to skip? - 'templateId': "templateId_example" // String | Taxnexus Record Id of a Template -}; -apiInstance.getTemplates(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **limit** | **Number**| How many objects to return at one time | [optional] - **offset** | **Number**| How many objects to skip? | [optional] - **templateId** | **String**| Taxnexus Record Id of a Template | [optional] - -### Return type - -[**TemplateResponse**](TemplateResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - diff --git a/client/sf-gate/docs/Tenant.md b/client/sf-gate/docs/Tenant.md deleted file mode 100644 index ffea94c..0000000 --- a/client/sf-gate/docs/Tenant.md +++ /dev/null @@ -1,22 +0,0 @@ -# SfGate.Tenant - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | Record Id | [optional] -**accountid** | **String** | The Account that owns this Tenant | [optional] -**active** | **Boolean** | Is this Tenant currently active? | [optional] -**createdbyid** | **String** | Created By | [optional] -**createddate** | **String** | Created Date | [optional] -**lastmodifiedbyid** | **String** | Last Modified By | [optional] -**lastmodifieddate** | **String** | Last Modifed Date | [optional] -**status** | **String** | The current status of this Tenant | [optional] -**tenantname** | **String** | Name of the Tenant Resource | [optional] -**type** | **String** | Type of tenant | [optional] -**version** | **String** | The version number of the Tenant Onboarding system used to create this tenant | [optional] -**databases** | [**[Database]**](Database.md) | | [optional] -**roles** | [**[Role]**](Role.md) | | [optional] -**tenantusers** | [**[TenantUser]**](TenantUser.md) | | [optional] - - diff --git a/client/sf-gate/docs/TenantRequest.md b/client/sf-gate/docs/TenantRequest.md deleted file mode 100644 index ecbe249..0000000 --- a/client/sf-gate/docs/TenantRequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# SfGate.TenantRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Tenant]**](Tenant.md) | | [optional] -**meta** | [**RequestMeta**](RequestMeta.md) | | [optional] - - diff --git a/client/sf-gate/docs/TenantResponse.md b/client/sf-gate/docs/TenantResponse.md deleted file mode 100644 index a1b82a0..0000000 --- a/client/sf-gate/docs/TenantResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# SfGate.TenantResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Tenant]**](Tenant.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/sf-gate/docs/TenantUser.md b/client/sf-gate/docs/TenantUser.md deleted file mode 100644 index fe36320..0000000 --- a/client/sf-gate/docs/TenantUser.md +++ /dev/null @@ -1,11 +0,0 @@ -# SfGate.TenantUser - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**accesslevel** | **String** | The Tenant access level for this User | [optional] -**tenantid** | **String** | The Tenant ID | [optional] -**userid** | **String** | The User ID | [optional] - - diff --git a/client/sf-gate/docs/TenantsApi.md b/client/sf-gate/docs/TenantsApi.md deleted file mode 100644 index 71e0826..0000000 --- a/client/sf-gate/docs/TenantsApi.md +++ /dev/null @@ -1,164 +0,0 @@ -# SfGate.TenantsApi - -All URIs are relative to *http://sf-gate.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getTenants**](TenantsApi.md#getTenants) | **GET** /tenants | Get a list Tenants -[**putTenants**](TenantsApi.md#putTenants) | **PUT** /tenants | Update Tenants -[**tenants**](TenantsApi.md#tenants) | **POST** /tenants | Create new Tenants - - - -## getTenants - -> TenantResponse getTenants(opts) - -Get a list Tenants - -Return a list of Tenant records from the datastore - -### Example - -```javascript -import SfGate from 'sf_gate'; -let defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new SfGate.TenantsApi(); -let opts = { - 'tenantId': "tenantId_example", // String | Taxnexus Record Id of a Tenant - 'limit': 789, // Number | How many objects to return at one time - 'offset': 789 // Number | How many objects to skip? -}; -apiInstance.getTenants(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **tenantId** | **String**| Taxnexus Record Id of a Tenant | [optional] - **limit** | **Number**| How many objects to return at one time | [optional] - **offset** | **Number**| How many objects to skip? | [optional] - -### Return type - -[**TenantResponse**](TenantResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - - -## putTenants - -> TenantResponse putTenants(cTenantRequest) - -Update Tenants - -Update Tenant in Taxnexus - -### Example - -```javascript -import SfGate from 'sf_gate'; -let defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new SfGate.TenantsApi(); -let cTenantRequest = new SfGate.TenantRequest(); // TenantRequest | An array of Tenant records -apiInstance.putTenants(cTenantRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **cTenantRequest** | [**TenantRequest**](TenantRequest.md)| An array of Tenant records | - -### Return type - -[**TenantResponse**](TenantResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - - -## tenants - -> TenantResponse tenants(cTenantRequest) - -Create new Tenants - -Create Tenants in Taxnexus - -### Example - -```javascript -import SfGate from 'sf_gate'; - -let apiInstance = new SfGate.TenantsApi(); -let cTenantRequest = new SfGate.TenantRequest(); // TenantRequest | An array of Tenant records -apiInstance.tenants(cTenantRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **cTenantRequest** | [**TenantRequest**](TenantRequest.md)| An array of Tenant records | - -### Return type - -[**TenantResponse**](TenantResponse.md) - -### Authorization - -No authorization required - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - diff --git a/client/sf-gate/docs/User.md b/client/sf-gate/docs/User.md deleted file mode 100644 index a4ec8d7..0000000 --- a/client/sf-gate/docs/User.md +++ /dev/null @@ -1,66 +0,0 @@ -# SfGate.User - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**tenantid** | **String** | | [optional] -**aboutme** | **String** | About Me | [optional] -**accountid** | **String** | Account ID | [optional] -**address** | [**Address**](Address.md) | | [optional] -**alias** | **String** | Alias | [optional] -**apikey** | **String** | API Key | [optional] -**auth0userid** | **String** | Auth0 User ID | [optional] -**communitynickname** | **String** | Nickname | [optional] -**companyname** | **String** | Company Name | [optional] -**contactid** | **String** | Contact | [optional] -**createdbyid** | **String** | Created User ID | [optional] -**createddate** | **String** | Date Created | [optional] -**delegatedapproverid** | **String** | Delegated Approver | [optional] -**department** | **String** | Department | [optional] -**division** | **String** | Division | [optional] -**email** | **String** | Email address | [optional] -**employeenumber** | **String** | Employee Number | [optional] -**endday** | **String** | Time day ends | [optional] -**environment** | **String** | Environment | [optional] -**extension** | **String** | Extension | [optional] -**fabricapikey** | **String** | Fabric API Key | [optional] -**fax** | **String** | Fax | [optional] -**firstname** | **String** | The first name | [optional] -**forecastenabled** | **Boolean** | Allow Forecasting | [optional] -**fullphotourl** | **String** | Full Photo URL | [optional] -**id** | **String** | Taxnexus ID | [optional] -**isactive** | **Boolean** | Active | [optional] -**isportalenabled** | **Boolean** | Is the user enabled for Communities? | [optional] -**isprofilephotoactive** | **Boolean** | Has Profile Photo | [optional] -**issystemcontrolled** | **Boolean** | | [optional] -**lastip** | **String** | ip address of last login | [optional] -**lastlogin** | **String** | last login time | [optional] -**lastmodifiedbyid** | **String** | Last Modified User ID | [optional] -**lastmodifieddate** | **String** | Last Modified Date | [optional] -**lastname** | **String** | The Last Name | [optional] -**logincount** | **Number** | number of times user has logged in | [optional] -**managerid** | **String** | Manager | [optional] -**mobilephone** | **String** | Mobile | [optional] -**name** | **String** | Name | [optional] -**outofofficemessage** | **String** | Out of office message | [optional] -**phone** | **String** | Phone | [optional] -**portalrole** | **String** | Portal Role Level | [optional] -**profileid** | **String** | Profile | [optional] -**receivesadmininfoemails** | **Boolean** | Admin Info Emails | [optional] -**receivesinfoemails** | **Boolean** | Info Emails | [optional] -**senderemail** | **String** | Email Sender Address | [optional] -**sendername** | **String** | Email Sender Name | [optional] -**signature** | **String** | Email Signature | [optional] -**smallphotourl** | **String** | Small Photo URL | [optional] -**startday** | **String** | The time day starts | [optional] -**taxnexusaccount** | **String** | Taxnexus Account | [optional] -**timezonesidkey** | **String** | Time Zone | [optional] -**title** | **String** | Title | [optional] -**username** | **String** | Username | [optional] -**userroleid** | **String** | Role | [optional] -**usertype** | **String** | User Type | [optional] -**userroles** | [**[UserRole]**](UserRole.md) | | [optional] -**tenantusers** | [**[TenantUser]**](TenantUser.md) | | [optional] - - diff --git a/client/sf-gate/docs/UserResponse.md b/client/sf-gate/docs/UserResponse.md deleted file mode 100644 index b2c1901..0000000 --- a/client/sf-gate/docs/UserResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# SfGate.UserResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[User]**](User.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/sf-gate/docs/UserRole.md b/client/sf-gate/docs/UserRole.md deleted file mode 100644 index e02ebb7..0000000 --- a/client/sf-gate/docs/UserRole.md +++ /dev/null @@ -1,13 +0,0 @@ -# SfGate.UserRole - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**description** | **String** | Role description | [optional] -**roleid** | **String** | The Role ID | [optional] -**userid** | **String** | The User ID | [optional] -**name** | **String** | Role Name | [optional] -**auth0roleid** | **String** | Linked role ID | [optional] - - diff --git a/client/sf-gate/docs/UsersApi.md b/client/sf-gate/docs/UsersApi.md deleted file mode 100644 index 5d6058a..0000000 --- a/client/sf-gate/docs/UsersApi.md +++ /dev/null @@ -1,70 +0,0 @@ -# SfGate.UsersApi - -All URIs are relative to *http://sf-gate.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**getUsers**](UsersApi.md#getUsers) | **GET** /users | Get a list Users - - - -## getUsers - -> UserResponse getUsers(opts) - -Get a list Users - -Return a list of User records from the datastore - -### Example - -```javascript -import SfGate from 'sf_gate'; -let defaultClient = SfGate.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new SfGate.UsersApi(); -let opts = { - 'limit': 789, // Number | How many objects to return at one time - 'offset': 789, // Number | How many objects to skip? - 'userId': "userId_example", // String | Taxnexus Id of the User to be retrieved - 'active': true, // Boolean | Only retrieve active records? - 'apikey': "apikey_example" // String | Taxnexus Id of the User to be retrieved -}; -apiInstance.getUsers(opts, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **limit** | **Number**| How many objects to return at one time | [optional] - **offset** | **Number**| How many objects to skip? | [optional] - **userId** | **String**| Taxnexus Id of the User to be retrieved | [optional] - **active** | **Boolean**| Only retrieve active records? | [optional] - **apikey** | **String**| Taxnexus Id of the User to be retrieved | [optional] - -### Return type - -[**UserResponse**](UserResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: Not defined -- **Accept**: application/json - diff --git a/client/sf-gate/git_push.sh b/client/sf-gate/git_push.sh deleted file mode 100644 index f53a75d..0000000 --- a/client/sf-gate/git_push.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh -# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ -# -# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com" - -git_user_id=$1 -git_repo_id=$2 -release_note=$3 -git_host=$4 - -if [ "$git_host" = "" ]; then - git_host="github.com" - echo "[INFO] No command line input provided. Set \$git_host to $git_host" -fi - -if [ "$git_user_id" = "" ]; then - git_user_id="GIT_USER_ID" - echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" -fi - -if [ "$git_repo_id" = "" ]; then - git_repo_id="GIT_REPO_ID" - echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" -fi - -if [ "$release_note" = "" ]; then - release_note="Minor update" - echo "[INFO] No command line input provided. Set \$release_note to $release_note" -fi - -# Initialize the local directory as a Git repository -git init - -# Adds the files in the local repository and stages them for commit. -git add . - -# Commits the tracked changes and prepares them to be pushed to a remote repository. -git commit -m "$release_note" - -# Sets the new remote -git_remote=$(git remote) -if [ "$git_remote" = "" ]; then # git remote not defined - - if [ "$GIT_TOKEN" = "" ]; then - echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." - git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git - else - git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git - fi - -fi - -git pull origin master - -# Pushes (Forces) the changes in the local repository up to the remote repository -echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git" -git push origin master 2>&1 | grep -v 'To https' diff --git a/client/sf-gate/mocha.opts b/client/sf-gate/mocha.opts deleted file mode 100644 index 9070118..0000000 --- a/client/sf-gate/mocha.opts +++ /dev/null @@ -1 +0,0 @@ ---timeout 10000 diff --git a/client/sf-gate/package.json b/client/sf-gate/package.json deleted file mode 100644 index 49e0aa1..0000000 --- a/client/sf-gate/package.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "sf_gate", - "version": "0.0.2", - "description": "Customer_Information_Microservice", - "license": "Proprietary - Copyright (c) 2018-2021 by Taxnexus, Inc.", - "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/client/sf-gate/src/ApiClient.js b/client/sf-gate/src/ApiClient.js deleted file mode 100644 index 46b0f4d..0000000 --- a/client/sf-gate/src/ApiClient.js +++ /dev/null @@ -1,692 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * 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 0.0.2 -*/ - -/** -* 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 { - /** - * The base URL against which to resolve every API call's (relative) path. - * Overrides the default value set in spec file if present - * @param {String} basePath - */ - constructor(basePath = 'http://sf-gate.vernonkeenan.com:8080/v1') { - /** - * The base URL against which to resolve every API call's (relative) path. - * @type {String} - * @default http://sf-gate.vernonkeenan.com:8080/v1 - */ - this.basePath = basePath.replace(/\/+$/, ''); - - /** - * The authentication methods to be included for all API calls. - * @type {Array.} - */ - this.authentications = { - 'ApiKeyAuth': {type: 'apiKey', 'in': 'header', name: 'X-API-Key'} - } - - /** - * The default HTTP headers to be included for all API calls. - * @type {Array.} - * @default {} - */ - this.defaultHeaders = { - 'User-Agent': 'OpenAPI-Generator/0.0.2/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('text'); - } - - // 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': "http://sf-gate.vernonkeenan.com:8080/v1", - '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/client/sf-gate/src/api/AccountsApi.js b/client/sf-gate/src/api/AccountsApi.js deleted file mode 100644 index 3cbd08c..0000000 --- a/client/sf-gate/src/api/AccountsApi.js +++ /dev/null @@ -1,217 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 AccountRequest from '../model/AccountRequest'; -import AccountResponse from '../model/AccountResponse'; -import DeleteResponse from '../model/DeleteResponse'; -import Error from '../model/Error'; - -/** -* Accounts service. -* @module api/AccountsApi -* @version 0.0.2 -*/ -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 deleteAccount operation. - * @callback module:api/AccountsApi~deleteAccountCallback - * @param {String} error Error message, if any. - * @param {module:model/DeleteResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Delete An Account - * Delete Taxnexus Account record - * @param {Object} opts Optional parameters - * @param {String} opts.accountId Taxnexus Record Id of an Account - * @param {module:api/AccountsApi~deleteAccountCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/DeleteResponse} - */ - deleteAccount(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'accountId': opts['accountId'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = DeleteResponse; - return this.apiClient.callApi( - '/accounts', 'DELETE', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the getAccounts operation. - * @callback module:api/AccountsApi~getAccountsCallback - * @param {String} error Error message, if any. - * @param {module:model/AccountResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a list of accounts - * Return a list of all available Accounts - * @param {Object} opts Optional parameters - * @param {Number} opts.limit How many objects to return at one time - * @param {String} opts.name The Name of this Object - * @param {Number} opts.offset How many objects to skip? - * @param {Boolean} opts.active Only retrieve active records? - * @param {String} opts.accountId Taxnexus Record Id of an Account - * @param {String} opts.email Email address used for identity lookup - * @param {module:api/AccountsApi~getAccountsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/AccountResponse} - */ - getAccounts(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'limit': opts['limit'], - 'name': opts['name'], - 'offset': opts['offset'], - 'active': opts['active'], - 'accountId': opts['accountId'], - 'email': opts['email'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = AccountResponse; - return this.apiClient.callApi( - '/accounts', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the postAccounts operation. - * @callback module:api/AccountsApi~postAccountsCallback - * @param {String} error Error message, if any. - * @param {module:model/AccountResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Add a new account to Taxnexus - * Account record to be added - * @param {module:model/AccountRequest} accountRequest A request with an array of Account Objects - * @param {module:api/AccountsApi~postAccountsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/AccountResponse} - */ - postAccounts(accountRequest, callback) { - let postBody = accountRequest; - // verify the required parameter 'accountRequest' is set - if (accountRequest === undefined || accountRequest === null) { - throw new Error("Missing the required parameter 'accountRequest' when calling postAccounts"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = AccountResponse; - return this.apiClient.callApi( - '/accounts', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the putAccount operation. - * @callback module:api/AccountsApi~putAccountCallback - * @param {String} error Error message, if any. - * @param {module:model/AccountResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Update a single account - * Update a single account specified by accountId - * @param {module:model/AccountRequest} accountRequest A request with an array of Account Objects - * @param {module:api/AccountsApi~putAccountCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/AccountResponse} - */ - putAccount(accountRequest, callback) { - let postBody = accountRequest; - // verify the required parameter 'accountRequest' is set - if (accountRequest === undefined || accountRequest === null) { - throw new Error("Missing the required parameter 'accountRequest' when calling putAccount"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = AccountResponse; - return this.apiClient.callApi( - '/accounts', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/sf-gate/src/api/AssetsApi.js b/client/sf-gate/src/api/AssetsApi.js deleted file mode 100644 index 0ee2ccf..0000000 --- a/client/sf-gate/src/api/AssetsApi.js +++ /dev/null @@ -1,129 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 AssetRequest from '../model/AssetRequest'; -import AssetResponse from '../model/AssetResponse'; -import Error from '../model/Error'; - -/** -* Assets service. -* @module api/AssetsApi -* @version 0.0.2 -*/ -export default class AssetsApi { - - /** - * Constructs a new AssetsApi. - * @alias module:api/AssetsApi - * @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 getAssets operation. - * @callback module:api/AssetsApi~getAssetsCallback - * @param {String} error Error message, if any. - * @param {module:model/AssetResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a list of assets - * Return a list of all available Assets - * @param {Object} opts Optional parameters - * @param {Number} opts.limit How many objects to return at one time - * @param {Number} opts.offset How many objects to skip? - * @param {Boolean} opts.active Only retrieve active records? - * @param {String} opts.assetId Taxnexus Record Id of an Asset - * @param {module:api/AssetsApi~getAssetsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/AssetResponse} - */ - getAssets(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'limit': opts['limit'], - 'offset': opts['offset'], - 'active': opts['active'], - 'assetId': opts['assetId'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = AssetResponse; - return this.apiClient.callApi( - '/assets', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the postAssets operation. - * @callback module:api/AssetsApi~postAssetsCallback - * @param {String} error Error message, if any. - * @param {module:model/AssetResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Add a new asset to Taxnexus - * Industry record to be added - * @param {module:model/AssetRequest} assetRequest An array of new Asset records - * @param {module:api/AssetsApi~postAssetsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/AssetResponse} - */ - postAssets(assetRequest, callback) { - let postBody = assetRequest; - // verify the required parameter 'assetRequest' is set - if (assetRequest === undefined || assetRequest === null) { - throw new Error("Missing the required parameter 'assetRequest' when calling postAssets"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = AssetResponse; - return this.apiClient.callApi( - '/assets', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/sf-gate/src/api/ClustersApi.js b/client/sf-gate/src/api/ClustersApi.js deleted file mode 100644 index d62e40d..0000000 --- a/client/sf-gate/src/api/ClustersApi.js +++ /dev/null @@ -1,169 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 ClusterRequest from '../model/ClusterRequest'; -import ClusterResponse from '../model/ClusterResponse'; -import Error from '../model/Error'; - -/** -* Clusters service. -* @module api/ClustersApi -* @version 0.0.2 -*/ -export default class ClustersApi { - - /** - * Constructs a new ClustersApi. - * @alias module:api/ClustersApi - * @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 getClusters operation. - * @callback module:api/ClustersApi~getClustersCallback - * @param {String} error Error message, if any. - * @param {module:model/ClusterResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a list Clusters - * Return a list of Cluster records from the datastore - * @param {Object} opts Optional parameters - * @param {String} opts.clusterId Taxnexus Record Id of a Cluster - * @param {Number} opts.limit How many objects to return at one time - * @param {Number} opts.offset How many objects to skip? - * @param {module:api/ClustersApi~getClustersCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/ClusterResponse} - */ - getClusters(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'clusterId': opts['clusterId'], - 'limit': opts['limit'], - 'offset': opts['offset'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = ClusterResponse; - return this.apiClient.callApi( - '/clusters', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the postClusters operation. - * @callback module:api/ClustersApi~postClustersCallback - * @param {String} error Error message, if any. - * @param {module:model/ClusterResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Create new Clusters - * Create Clusters in Taxnexus - * @param {module:model/ClusterRequest} clusterRequest An array of Cluster records - * @param {module:api/ClustersApi~postClustersCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/ClusterResponse} - */ - postClusters(clusterRequest, callback) { - let postBody = clusterRequest; - // verify the required parameter 'clusterRequest' is set - if (clusterRequest === undefined || clusterRequest === null) { - throw new Error("Missing the required parameter 'clusterRequest' when calling postClusters"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = ClusterResponse; - return this.apiClient.callApi( - '/clusters', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the putClusters operation. - * @callback module:api/ClustersApi~putClustersCallback - * @param {String} error Error message, if any. - * @param {module:model/ClusterResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Update Clusters - * Update Cluster in Taxnexus - * @param {module:model/ClusterRequest} clusterRequest An array of Cluster records - * @param {module:api/ClustersApi~putClustersCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/ClusterResponse} - */ - putClusters(clusterRequest, callback) { - let postBody = clusterRequest; - // verify the required parameter 'clusterRequest' is set - if (clusterRequest === undefined || clusterRequest === null) { - throw new Error("Missing the required parameter 'clusterRequest' when calling putClusters"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = ClusterResponse; - return this.apiClient.callApi( - '/clusters', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/sf-gate/src/api/CompanyProductsApi.js b/client/sf-gate/src/api/CompanyProductsApi.js deleted file mode 100644 index 63d08b3..0000000 --- a/client/sf-gate/src/api/CompanyProductsApi.js +++ /dev/null @@ -1,129 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 CompanyProductRequest from '../model/CompanyProductRequest'; -import CompanyProductResponse from '../model/CompanyProductResponse'; -import Error from '../model/Error'; - -/** -* CompanyProducts service. -* @module api/CompanyProductsApi -* @version 0.0.2 -*/ -export default class CompanyProductsApi { - - /** - * Constructs a new CompanyProductsApi. - * @alias module:api/CompanyProductsApi - * @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 getCompanyProducts operation. - * @callback module:api/CompanyProductsApi~getCompanyProductsCallback - * @param {String} error Error message, if any. - * @param {module:model/CompanyProductResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a list of companyproducts - * Return a list of all available CompanyProducts - * @param {Object} opts Optional parameters - * @param {Number} opts.limit How many objects to return at one time - * @param {Number} opts.offset How many objects to skip? - * @param {Boolean} opts.active Only retrieve active records? - * @param {String} opts.companyProductId Taxnexus CompanyProduct record ID - * @param {module:api/CompanyProductsApi~getCompanyProductsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/CompanyProductResponse} - */ - getCompanyProducts(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'limit': opts['limit'], - 'offset': opts['offset'], - 'active': opts['active'], - 'companyProductId': opts['companyProductId'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = CompanyProductResponse; - return this.apiClient.callApi( - '/companyproducts', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the postCompanyProducts operation. - * @callback module:api/CompanyProductsApi~postCompanyProductsCallback - * @param {String} error Error message, if any. - * @param {module:model/CompanyProductResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Add a new companyproduct to Taxnexus - * Industry record to be added - * @param {module:model/CompanyProductRequest} contactRequest An array of new Contact records - * @param {module:api/CompanyProductsApi~postCompanyProductsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/CompanyProductResponse} - */ - postCompanyProducts(contactRequest, callback) { - let postBody = contactRequest; - // verify the required parameter 'contactRequest' is set - if (contactRequest === undefined || contactRequest === null) { - throw new Error("Missing the required parameter 'contactRequest' when calling postCompanyProducts"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = CompanyProductResponse; - return this.apiClient.callApi( - '/companyproducts', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/sf-gate/src/api/ContactsApi.js b/client/sf-gate/src/api/ContactsApi.js deleted file mode 100644 index e2c0eca..0000000 --- a/client/sf-gate/src/api/ContactsApi.js +++ /dev/null @@ -1,135 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 ContactRequest from '../model/ContactRequest'; -import ContactResponse from '../model/ContactResponse'; -import Error from '../model/Error'; - -/** -* Contacts service. -* @module api/ContactsApi -* @version 0.0.2 -*/ -export default class ContactsApi { - - /** - * Constructs a new ContactsApi. - * @alias module:api/ContactsApi - * @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 getContacts operation. - * @callback module:api/ContactsApi~getContactsCallback - * @param {String} error Error message, if any. - * @param {module:model/ContactResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a Contact record - * Retrieve Contact records from the datastore - * @param {Object} opts Optional parameters - * @param {String} opts.contactId Taxnexus Record Id of a Contact - * @param {Number} opts.limit How many objects to return at one time - * @param {String} opts.name The Name of this Object - * @param {Number} opts.offset How many objects to skip? - * @param {Boolean} opts.active Only retrieve active records? - * @param {String} opts.accountId Taxnexus Record Id of an Account - * @param {String} opts.email Email address used for identity lookup - * @param {module:api/ContactsApi~getContactsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/ContactResponse} - */ - getContacts(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'contactId': opts['contactId'], - 'limit': opts['limit'], - 'name': opts['name'], - 'offset': opts['offset'], - 'active': opts['active'], - 'accountId': opts['accountId'], - 'email': opts['email'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = ContactResponse; - return this.apiClient.callApi( - '/contacts', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the postContacts operation. - * @callback module:api/ContactsApi~postContactsCallback - * @param {String} error Error message, if any. - * @param {module:model/ContactResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Add a new Contacts to Taxnexus - * Contacts record to be added - * @param {module:model/ContactRequest} contactRequest An array of new Contact records - * @param {module:api/ContactsApi~postContactsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/ContactResponse} - */ - postContacts(contactRequest, callback) { - let postBody = contactRequest; - // verify the required parameter 'contactRequest' is set - if (contactRequest === undefined || contactRequest === null) { - throw new Error("Missing the required parameter 'contactRequest' when calling postContacts"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = ContactResponse; - return this.apiClient.callApi( - '/contacts', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/sf-gate/src/api/ContractsApi.js b/client/sf-gate/src/api/ContractsApi.js deleted file mode 100644 index 775c170..0000000 --- a/client/sf-gate/src/api/ContractsApi.js +++ /dev/null @@ -1,129 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 ContractRequest from '../model/ContractRequest'; -import ContractResponse from '../model/ContractResponse'; -import Error from '../model/Error'; - -/** -* Contracts service. -* @module api/ContractsApi -* @version 0.0.2 -*/ -export default class ContractsApi { - - /** - * Constructs a new ContractsApi. - * @alias module:api/ContractsApi - * @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 getContracts operation. - * @callback module:api/ContractsApi~getContractsCallback - * @param {String} error Error message, if any. - * @param {module:model/ContractResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a list of contracts - * Return a list of all available Contracts - * @param {Object} opts Optional parameters - * @param {Number} opts.limit How many objects to return at one time - * @param {Number} opts.offset How many objects to skip? - * @param {Boolean} opts.active Only retrieve active records? - * @param {String} opts.contractId Taxnexus Contact record ID - * @param {module:api/ContractsApi~getContractsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/ContractResponse} - */ - getContracts(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'limit': opts['limit'], - 'offset': opts['offset'], - 'active': opts['active'], - 'contractId': opts['contractId'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = ContractResponse; - return this.apiClient.callApi( - '/contracts', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the postContracts operation. - * @callback module:api/ContractsApi~postContractsCallback - * @param {String} error Error message, if any. - * @param {module:model/ContractResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Add a new contract to Taxnexus - * Contract record to be added - * @param {module:model/ContractRequest} contractsRequest An array of new Contract records - * @param {module:api/ContractsApi~postContractsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/ContractResponse} - */ - postContracts(contractsRequest, callback) { - let postBody = contractsRequest; - // verify the required parameter 'contractsRequest' is set - if (contractsRequest === undefined || contractsRequest === null) { - throw new Error("Missing the required parameter 'contractsRequest' when calling postContracts"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = ContractResponse; - return this.apiClient.callApi( - '/contracts', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/sf-gate/src/api/DatabasesApi.js b/client/sf-gate/src/api/DatabasesApi.js deleted file mode 100644 index 1ceeb69..0000000 --- a/client/sf-gate/src/api/DatabasesApi.js +++ /dev/null @@ -1,169 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 DatabaseRequest from '../model/DatabaseRequest'; -import DatabaseResponse from '../model/DatabaseResponse'; -import Error from '../model/Error'; - -/** -* Databases service. -* @module api/DatabasesApi -* @version 0.0.2 -*/ -export default class DatabasesApi { - - /** - * Constructs a new DatabasesApi. - * @alias module:api/DatabasesApi - * @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 getDatabases operation. - * @callback module:api/DatabasesApi~getDatabasesCallback - * @param {String} error Error message, if any. - * @param {module:model/DatabaseResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a list Databases - * Return a list of Database records from the datastore - * @param {Object} opts Optional parameters - * @param {String} opts.databaseId Taxnexus Record Id of a Database - * @param {Number} opts.limit How many objects to return at one time - * @param {Number} opts.offset How many objects to skip? - * @param {module:api/DatabasesApi~getDatabasesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/DatabaseResponse} - */ - getDatabases(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'databaseId': opts['databaseId'], - 'limit': opts['limit'], - 'offset': opts['offset'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = DatabaseResponse; - return this.apiClient.callApi( - '/databases', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the postDatabases operation. - * @callback module:api/DatabasesApi~postDatabasesCallback - * @param {String} error Error message, if any. - * @param {module:model/DatabaseResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Create new Databases - * Create Databases in Taxnexus - * @param {module:model/DatabaseRequest} databaseRequest An array of Database records - * @param {module:api/DatabasesApi~postDatabasesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/DatabaseResponse} - */ - postDatabases(databaseRequest, callback) { - let postBody = databaseRequest; - // verify the required parameter 'databaseRequest' is set - if (databaseRequest === undefined || databaseRequest === null) { - throw new Error("Missing the required parameter 'databaseRequest' when calling postDatabases"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = DatabaseResponse; - return this.apiClient.callApi( - '/databases', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the putDatabases operation. - * @callback module:api/DatabasesApi~putDatabasesCallback - * @param {String} error Error message, if any. - * @param {module:model/DatabaseResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Update Databases - * Update Database in Taxnexus - * @param {module:model/DatabaseRequest} databaseRequest An array of Database records - * @param {module:api/DatabasesApi~putDatabasesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/DatabaseResponse} - */ - putDatabases(databaseRequest, callback) { - let postBody = databaseRequest; - // verify the required parameter 'databaseRequest' is set - if (databaseRequest === undefined || databaseRequest === null) { - throw new Error("Missing the required parameter 'databaseRequest' when calling putDatabases"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = DatabaseResponse; - return this.apiClient.callApi( - '/databases', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/sf-gate/src/api/IndustriesApi.js b/client/sf-gate/src/api/IndustriesApi.js deleted file mode 100644 index 3d43039..0000000 --- a/client/sf-gate/src/api/IndustriesApi.js +++ /dev/null @@ -1,129 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Error from '../model/Error'; -import IndustryRequest from '../model/IndustryRequest'; -import IndustryResponse from '../model/IndustryResponse'; - -/** -* Industries service. -* @module api/IndustriesApi -* @version 0.0.2 -*/ -export default class IndustriesApi { - - /** - * Constructs a new IndustriesApi. - * @alias module:api/IndustriesApi - * @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 getIndustries operation. - * @callback module:api/IndustriesApi~getIndustriesCallback - * @param {String} error Error message, if any. - * @param {module:model/IndustryResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a list of industries - * Return a list of all available Industries - * @param {Object} opts Optional parameters - * @param {Number} opts.limit How many objects to return at one time - * @param {Number} opts.offset How many objects to skip? - * @param {Boolean} opts.active Only retrieve active records? - * @param {String} opts.industryId Taxnexus Industry record ID - * @param {module:api/IndustriesApi~getIndustriesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/IndustryResponse} - */ - getIndustries(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'limit': opts['limit'], - 'offset': opts['offset'], - 'active': opts['active'], - 'industryId': opts['industryId'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = IndustryResponse; - return this.apiClient.callApi( - '/industries', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the postIndustries operation. - * @callback module:api/IndustriesApi~postIndustriesCallback - * @param {String} error Error message, if any. - * @param {module:model/IndustryResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Add a new industry to Taxnexus - * Industry record to be added - * @param {module:model/IndustryRequest} industryRequest An array of new Industry records - * @param {module:api/IndustriesApi~postIndustriesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/IndustryResponse} - */ - postIndustries(industryRequest, callback) { - let postBody = industryRequest; - // verify the required parameter 'industryRequest' is set - if (industryRequest === undefined || industryRequest === null) { - throw new Error("Missing the required parameter 'industryRequest' when calling postIndustries"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = IndustryResponse; - return this.apiClient.callApi( - '/industries', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/sf-gate/src/api/IndustryProductsApi.js b/client/sf-gate/src/api/IndustryProductsApi.js deleted file mode 100644 index ab780c8..0000000 --- a/client/sf-gate/src/api/IndustryProductsApi.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Error from '../model/Error'; -import IndustryProductRequest from '../model/IndustryProductRequest'; -import IndustryProductResponse from '../model/IndustryProductResponse'; - -/** -* IndustryProducts service. -* @module api/IndustryProductsApi -* @version 0.0.2 -*/ -export default class IndustryProductsApi { - - /** - * Constructs a new IndustryProductsApi. - * @alias module:api/IndustryProductsApi - * @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 postIndustryproducts operation. - * @callback module:api/IndustryProductsApi~postIndustryproductsCallback - * @param {String} error Error message, if any. - * @param {module:model/IndustryProductResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Add a new industryproduct to Taxnexus - * Industry record to be added - * @param {module:model/IndustryProductRequest} industryRequest An array of new Industry records - * @param {module:api/IndustryProductsApi~postIndustryproductsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/IndustryProductResponse} - */ - postIndustryproducts(industryRequest, callback) { - let postBody = industryRequest; - // verify the required parameter 'industryRequest' is set - if (industryRequest === undefined || industryRequest === null) { - throw new Error("Missing the required parameter 'industryRequest' when calling postIndustryproducts"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = IndustryProductResponse; - return this.apiClient.callApi( - '/industryproducts', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/sf-gate/src/api/IndustryproductsApi.js b/client/sf-gate/src/api/IndustryproductsApi.js deleted file mode 100644 index 1e84614..0000000 --- a/client/sf-gate/src/api/IndustryproductsApi.js +++ /dev/null @@ -1,86 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Error from '../model/Error'; -import IndustryProductResponse from '../model/IndustryProductResponse'; - -/** -* Industryproducts service. -* @module api/IndustryproductsApi -* @version 0.0.2 -*/ -export default class IndustryproductsApi { - - /** - * Constructs a new IndustryproductsApi. - * @alias module:api/IndustryproductsApi - * @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 getIndustryProducts operation. - * @callback module:api/IndustryproductsApi~getIndustryProductsCallback - * @param {String} error Error message, if any. - * @param {module:model/IndustryProductResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a list of industryproducts - * Return a list of all available IndustryProducts - * @param {Object} opts Optional parameters - * @param {Number} opts.limit How many objects to return at one time - * @param {Number} opts.offset How many objects to skip? - * @param {Boolean} opts.active Only retrieve active records? - * @param {String} opts.industryProductId Taxnexus IndustryProduct record ID - * @param {module:api/IndustryproductsApi~getIndustryProductsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/IndustryProductResponse} - */ - getIndustryProducts(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'limit': opts['limit'], - 'offset': opts['offset'], - 'active': opts['active'], - 'industryProductId': opts['industryProductId'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = IndustryProductResponse; - return this.apiClient.callApi( - '/industryproducts', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/sf-gate/src/api/RolesApi.js b/client/sf-gate/src/api/RolesApi.js deleted file mode 100644 index 48c8c9f..0000000 --- a/client/sf-gate/src/api/RolesApi.js +++ /dev/null @@ -1,84 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Error from '../model/Error'; -import RoleResponse from '../model/RoleResponse'; - -/** -* Roles service. -* @module api/RolesApi -* @version 0.0.2 -*/ -export default class RolesApi { - - /** - * Constructs a new RolesApi. - * @alias module:api/RolesApi - * @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 getRoles operation. - * @callback module:api/RolesApi~getRolesCallback - * @param {String} error Error message, if any. - * @param {module:model/RoleResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a list of Roles - * Return a list of Roles - * @param {Object} opts Optional parameters - * @param {Number} opts.limit How many objects to return at one time - * @param {Number} opts.offset How many objects to skip? - * @param {String} opts.roleId Taxnexus Id of the Role to be retrieved - * @param {module:api/RolesApi~getRolesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/RoleResponse} - */ - getRoles(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'limit': opts['limit'], - 'offset': opts['offset'], - 'roleId': opts['roleId'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = RoleResponse; - return this.apiClient.callApi( - '/roles', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/sf-gate/src/api/TemplatesApi.js b/client/sf-gate/src/api/TemplatesApi.js deleted file mode 100644 index 0ebc77f..0000000 --- a/client/sf-gate/src/api/TemplatesApi.js +++ /dev/null @@ -1,84 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Error from '../model/Error'; -import TemplateResponse from '../model/TemplateResponse'; - -/** -* Templates service. -* @module api/TemplatesApi -* @version 0.0.2 -*/ -export default class TemplatesApi { - - /** - * Constructs a new TemplatesApi. - * @alias module:api/TemplatesApi - * @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 getTemplates operation. - * @callback module:api/TemplatesApi~getTemplatesCallback - * @param {String} error Error message, if any. - * @param {module:model/TemplateResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get PDF Rendering Templates - * Returns the PDF rendering template, or a link to where to get the template - * @param {Object} opts Optional parameters - * @param {Number} opts.limit How many objects to return at one time - * @param {Number} opts.offset How many objects to skip? - * @param {String} opts.templateId Taxnexus Record Id of a Template - * @param {module:api/TemplatesApi~getTemplatesCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/TemplateResponse} - */ - getTemplates(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'limit': opts['limit'], - 'offset': opts['offset'], - 'templateId': opts['templateId'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = TemplateResponse; - return this.apiClient.callApi( - '/templates', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/sf-gate/src/api/TenantsApi.js b/client/sf-gate/src/api/TenantsApi.js deleted file mode 100644 index e317f95..0000000 --- a/client/sf-gate/src/api/TenantsApi.js +++ /dev/null @@ -1,169 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Error from '../model/Error'; -import TenantRequest from '../model/TenantRequest'; -import TenantResponse from '../model/TenantResponse'; - -/** -* Tenants service. -* @module api/TenantsApi -* @version 0.0.2 -*/ -export default class TenantsApi { - - /** - * Constructs a new TenantsApi. - * @alias module:api/TenantsApi - * @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 getTenants operation. - * @callback module:api/TenantsApi~getTenantsCallback - * @param {String} error Error message, if any. - * @param {module:model/TenantResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a list Tenants - * Return a list of Tenant records from the datastore - * @param {Object} opts Optional parameters - * @param {String} opts.tenantId Taxnexus Record Id of a Tenant - * @param {Number} opts.limit How many objects to return at one time - * @param {Number} opts.offset How many objects to skip? - * @param {module:api/TenantsApi~getTenantsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/TenantResponse} - */ - getTenants(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'tenantId': opts['tenantId'], - 'limit': opts['limit'], - 'offset': opts['offset'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = TenantResponse; - return this.apiClient.callApi( - '/tenants', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the putTenants operation. - * @callback module:api/TenantsApi~putTenantsCallback - * @param {String} error Error message, if any. - * @param {module:model/TenantResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Update Tenants - * Update Tenant in Taxnexus - * @param {module:model/TenantRequest} cTenantRequest An array of Tenant records - * @param {module:api/TenantsApi~putTenantsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/TenantResponse} - */ - putTenants(cTenantRequest, callback) { - let postBody = cTenantRequest; - // verify the required parameter 'cTenantRequest' is set - if (cTenantRequest === undefined || cTenantRequest === null) { - throw new Error("Missing the required parameter 'cTenantRequest' when calling putTenants"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = TenantResponse; - return this.apiClient.callApi( - '/tenants', 'PUT', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - /** - * Callback function to receive the result of the tenants operation. - * @callback module:api/TenantsApi~tenantsCallback - * @param {String} error Error message, if any. - * @param {module:model/TenantResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Create new Tenants - * Create Tenants in Taxnexus - * @param {module:model/TenantRequest} cTenantRequest An array of Tenant records - * @param {module:api/TenantsApi~tenantsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/TenantResponse} - */ - tenants(cTenantRequest, callback) { - let postBody = cTenantRequest; - // verify the required parameter 'cTenantRequest' is set - if (cTenantRequest === undefined || cTenantRequest === null) { - throw new Error("Missing the required parameter 'cTenantRequest' when calling tenants"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = []; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = TenantResponse; - return this.apiClient.callApi( - '/tenants', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/sf-gate/src/api/UsersApi.js b/client/sf-gate/src/api/UsersApi.js deleted file mode 100644 index 70d7cc8..0000000 --- a/client/sf-gate/src/api/UsersApi.js +++ /dev/null @@ -1,88 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Error from '../model/Error'; -import UserResponse from '../model/UserResponse'; - -/** -* Users service. -* @module api/UsersApi -* @version 0.0.2 -*/ -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 getUsers operation. - * @callback module:api/UsersApi~getUsersCallback - * @param {String} error Error message, if any. - * @param {module:model/UserResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Get a list Users - * Return a list of User records from the datastore - * @param {Object} opts Optional parameters - * @param {Number} opts.limit How many objects to return at one time - * @param {Number} opts.offset How many objects to skip? - * @param {String} opts.userId Taxnexus Id of the User to be retrieved - * @param {Boolean} opts.active Only retrieve active records? - * @param {String} opts.apikey Taxnexus Id of the User to be retrieved - * @param {module:api/UsersApi~getUsersCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/UserResponse} - */ - getUsers(opts, callback) { - opts = opts || {}; - let postBody = null; - - let pathParams = { - }; - let queryParams = { - 'limit': opts['limit'], - 'offset': opts['offset'], - 'userId': opts['userId'], - 'active': opts['active'], - 'apikey': opts['apikey'] - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = []; - let accepts = ['application/json']; - let returnType = UserResponse; - return this.apiClient.callApi( - '/users', 'GET', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/sf-gate/src/index.js b/client/sf-gate/src/index.js deleted file mode 100644 index 2d849cf..0000000 --- a/client/sf-gate/src/index.js +++ /dev/null @@ -1,489 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Account from './model/Account'; -import AccountRequest from './model/AccountRequest'; -import AccountResponse from './model/AccountResponse'; -import Address from './model/Address'; -import Asset from './model/Asset'; -import AssetRequest from './model/AssetRequest'; -import AssetResponse from './model/AssetResponse'; -import Cluster from './model/Cluster'; -import ClusterRequest from './model/ClusterRequest'; -import ClusterResponse from './model/ClusterResponse'; -import CompanyProduct from './model/CompanyProduct'; -import CompanyProductRequest from './model/CompanyProductRequest'; -import CompanyProductResponse from './model/CompanyProductResponse'; -import Contact from './model/Contact'; -import ContactRequest from './model/ContactRequest'; -import ContactResponse from './model/ContactResponse'; -import Contract from './model/Contract'; -import ContractRequest from './model/ContractRequest'; -import ContractResponse from './model/ContractResponse'; -import Database from './model/Database'; -import DatabaseRequest from './model/DatabaseRequest'; -import DatabaseResponse from './model/DatabaseResponse'; -import DeleteResponse from './model/DeleteResponse'; -import Error from './model/Error'; -import Industry from './model/Industry'; -import IndustryProduct from './model/IndustryProduct'; -import IndustryProductRequest from './model/IndustryProductRequest'; -import IndustryProductResponse from './model/IndustryProductResponse'; -import IndustryRequest from './model/IndustryRequest'; -import IndustryResponse from './model/IndustryResponse'; -import InvalidError from './model/InvalidError'; -import InvalidErrorAllOf from './model/InvalidErrorAllOf'; -import Message from './model/Message'; -import Pagination from './model/Pagination'; -import RequestMeta from './model/RequestMeta'; -import ResponseMeta from './model/ResponseMeta'; -import Role from './model/Role'; -import RoleRequest from './model/RoleRequest'; -import RoleResponse from './model/RoleResponse'; -import Template from './model/Template'; -import TemplateResponse from './model/TemplateResponse'; -import Tenant from './model/Tenant'; -import TenantRequest from './model/TenantRequest'; -import TenantResponse from './model/TenantResponse'; -import TenantUser from './model/TenantUser'; -import User from './model/User'; -import UserResponse from './model/UserResponse'; -import UserRole from './model/UserRole'; -import AccountsApi from './api/AccountsApi'; -import AssetsApi from './api/AssetsApi'; -import ClustersApi from './api/ClustersApi'; -import CompanyProductsApi from './api/CompanyProductsApi'; -import ContactsApi from './api/ContactsApi'; -import ContractsApi from './api/ContractsApi'; -import DatabasesApi from './api/DatabasesApi'; -import IndustriesApi from './api/IndustriesApi'; -import IndustryProductsApi from './api/IndustryProductsApi'; -import IndustryproductsApi from './api/IndustryproductsApi'; -import RolesApi from './api/RolesApi'; -import TemplatesApi from './api/TemplatesApi'; -import TenantsApi from './api/TenantsApi'; -import UsersApi from './api/UsersApi'; - - -/** -* Customer_Information_Microservice.
-* 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 SfGate = require('index'); // See note below*.
-* var xxxSvc = new SfGate.XxxApi(); // Allocate the API class we're going to use.
-* var yyyModel = new SfGate.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 SfGate.XxxApi(); // Allocate the API class we're going to use.
-* var yyy = new SfGate.Yyy(); // Construct a model instance.
-* yyyModel.someProperty = 'someValue';
-* ...
-* var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
-* ...
-* 
-*

-* @module index -* @version 0.0.2 -*/ -export { - /** - * The ApiClient constructor. - * @property {module:ApiClient} - */ - ApiClient, - - /** - * The Account model constructor. - * @property {module:model/Account} - */ - Account, - - /** - * The AccountRequest model constructor. - * @property {module:model/AccountRequest} - */ - AccountRequest, - - /** - * The AccountResponse model constructor. - * @property {module:model/AccountResponse} - */ - AccountResponse, - - /** - * The Address model constructor. - * @property {module:model/Address} - */ - Address, - - /** - * The Asset model constructor. - * @property {module:model/Asset} - */ - Asset, - - /** - * The AssetRequest model constructor. - * @property {module:model/AssetRequest} - */ - AssetRequest, - - /** - * The AssetResponse model constructor. - * @property {module:model/AssetResponse} - */ - AssetResponse, - - /** - * The Cluster model constructor. - * @property {module:model/Cluster} - */ - Cluster, - - /** - * The ClusterRequest model constructor. - * @property {module:model/ClusterRequest} - */ - ClusterRequest, - - /** - * The ClusterResponse model constructor. - * @property {module:model/ClusterResponse} - */ - ClusterResponse, - - /** - * The CompanyProduct model constructor. - * @property {module:model/CompanyProduct} - */ - CompanyProduct, - - /** - * The CompanyProductRequest model constructor. - * @property {module:model/CompanyProductRequest} - */ - CompanyProductRequest, - - /** - * The CompanyProductResponse model constructor. - * @property {module:model/CompanyProductResponse} - */ - CompanyProductResponse, - - /** - * The Contact model constructor. - * @property {module:model/Contact} - */ - Contact, - - /** - * The ContactRequest model constructor. - * @property {module:model/ContactRequest} - */ - ContactRequest, - - /** - * The ContactResponse model constructor. - * @property {module:model/ContactResponse} - */ - ContactResponse, - - /** - * The Contract model constructor. - * @property {module:model/Contract} - */ - Contract, - - /** - * The ContractRequest model constructor. - * @property {module:model/ContractRequest} - */ - ContractRequest, - - /** - * The ContractResponse model constructor. - * @property {module:model/ContractResponse} - */ - ContractResponse, - - /** - * The Database model constructor. - * @property {module:model/Database} - */ - Database, - - /** - * The DatabaseRequest model constructor. - * @property {module:model/DatabaseRequest} - */ - DatabaseRequest, - - /** - * The DatabaseResponse model constructor. - * @property {module:model/DatabaseResponse} - */ - DatabaseResponse, - - /** - * The DeleteResponse model constructor. - * @property {module:model/DeleteResponse} - */ - DeleteResponse, - - /** - * The Error model constructor. - * @property {module:model/Error} - */ - Error, - - /** - * The Industry model constructor. - * @property {module:model/Industry} - */ - Industry, - - /** - * The IndustryProduct model constructor. - * @property {module:model/IndustryProduct} - */ - IndustryProduct, - - /** - * The IndustryProductRequest model constructor. - * @property {module:model/IndustryProductRequest} - */ - IndustryProductRequest, - - /** - * The IndustryProductResponse model constructor. - * @property {module:model/IndustryProductResponse} - */ - IndustryProductResponse, - - /** - * The IndustryRequest model constructor. - * @property {module:model/IndustryRequest} - */ - IndustryRequest, - - /** - * The IndustryResponse model constructor. - * @property {module:model/IndustryResponse} - */ - IndustryResponse, - - /** - * The InvalidError model constructor. - * @property {module:model/InvalidError} - */ - InvalidError, - - /** - * The InvalidErrorAllOf model constructor. - * @property {module:model/InvalidErrorAllOf} - */ - InvalidErrorAllOf, - - /** - * The Message model constructor. - * @property {module:model/Message} - */ - Message, - - /** - * The Pagination model constructor. - * @property {module:model/Pagination} - */ - Pagination, - - /** - * The RequestMeta model constructor. - * @property {module:model/RequestMeta} - */ - RequestMeta, - - /** - * The ResponseMeta model constructor. - * @property {module:model/ResponseMeta} - */ - ResponseMeta, - - /** - * The Role model constructor. - * @property {module:model/Role} - */ - Role, - - /** - * The RoleRequest model constructor. - * @property {module:model/RoleRequest} - */ - RoleRequest, - - /** - * The RoleResponse model constructor. - * @property {module:model/RoleResponse} - */ - RoleResponse, - - /** - * The Template model constructor. - * @property {module:model/Template} - */ - Template, - - /** - * The TemplateResponse model constructor. - * @property {module:model/TemplateResponse} - */ - TemplateResponse, - - /** - * The Tenant model constructor. - * @property {module:model/Tenant} - */ - Tenant, - - /** - * The TenantRequest model constructor. - * @property {module:model/TenantRequest} - */ - TenantRequest, - - /** - * The TenantResponse model constructor. - * @property {module:model/TenantResponse} - */ - TenantResponse, - - /** - * The TenantUser model constructor. - * @property {module:model/TenantUser} - */ - TenantUser, - - /** - * The User model constructor. - * @property {module:model/User} - */ - User, - - /** - * The UserResponse model constructor. - * @property {module:model/UserResponse} - */ - UserResponse, - - /** - * The UserRole model constructor. - * @property {module:model/UserRole} - */ - UserRole, - - /** - * The AccountsApi service constructor. - * @property {module:api/AccountsApi} - */ - AccountsApi, - - /** - * The AssetsApi service constructor. - * @property {module:api/AssetsApi} - */ - AssetsApi, - - /** - * The ClustersApi service constructor. - * @property {module:api/ClustersApi} - */ - ClustersApi, - - /** - * The CompanyProductsApi service constructor. - * @property {module:api/CompanyProductsApi} - */ - CompanyProductsApi, - - /** - * The ContactsApi service constructor. - * @property {module:api/ContactsApi} - */ - ContactsApi, - - /** - * The ContractsApi service constructor. - * @property {module:api/ContractsApi} - */ - ContractsApi, - - /** - * The DatabasesApi service constructor. - * @property {module:api/DatabasesApi} - */ - DatabasesApi, - - /** - * The IndustriesApi service constructor. - * @property {module:api/IndustriesApi} - */ - IndustriesApi, - - /** - * The IndustryProductsApi service constructor. - * @property {module:api/IndustryProductsApi} - */ - IndustryProductsApi, - - /** - * The IndustryproductsApi service constructor. - * @property {module:api/IndustryproductsApi} - */ - IndustryproductsApi, - - /** - * The RolesApi service constructor. - * @property {module:api/RolesApi} - */ - RolesApi, - - /** - * The TemplatesApi service constructor. - * @property {module:api/TemplatesApi} - */ - TemplatesApi, - - /** - * The TenantsApi service constructor. - * @property {module:api/TenantsApi} - */ - TenantsApi, - - /** - * The UsersApi service constructor. - * @property {module:api/UsersApi} - */ - UsersApi -}; diff --git a/client/sf-gate/src/model/Account.js b/client/sf-gate/src/model/Account.js deleted file mode 100644 index f664a61..0000000 --- a/client/sf-gate/src/model/Account.js +++ /dev/null @@ -1,484 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Address from './Address'; - -/** - * The Account model module. - * @module model/Account - * @version 0.0.2 - */ -class Account { - /** - * Constructs a new Account. - * @alias module:model/Account - */ - constructor() { - - Account.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 Account 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/Account} obj Optional instance to populate. - * @return {module:model/Account} The populated Account instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Account(); - - if (data.hasOwnProperty('TenantID')) { - obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String'); - } - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('AccountNumber')) { - obj['AccountNumber'] = ApiClient.convertToType(data['AccountNumber'], 'String'); - } - if (data.hasOwnProperty('AccountSource')) { - obj['AccountSource'] = ApiClient.convertToType(data['AccountSource'], 'String'); - } - if (data.hasOwnProperty('AnnualRevenue')) { - obj['AnnualRevenue'] = ApiClient.convertToType(data['AnnualRevenue'], 'Number'); - } - if (data.hasOwnProperty('BillingAddress')) { - obj['BillingAddress'] = Address.constructFromObject(data['BillingAddress']); - } - if (data.hasOwnProperty('BillingContactID')) { - obj['BillingContactID'] = ApiClient.convertToType(data['BillingContactID'], 'String'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('CloseDate')) { - obj['CloseDate'] = ApiClient.convertToType(data['CloseDate'], 'String'); - } - if (data.hasOwnProperty('CloudRevenueTotal')) { - obj['CloudRevenueTotal'] = ApiClient.convertToType(data['CloudRevenueTotal'], 'Number'); - } - if (data.hasOwnProperty('CloudType')) { - obj['CloudType'] = ApiClient.convertToType(data['CloudType'], 'String'); - } - if (data.hasOwnProperty('CloudYear')) { - obj['CloudYear'] = ApiClient.convertToType(data['CloudYear'], 'String'); - } - if (data.hasOwnProperty('CrunchbaseURL')) { - obj['CrunchbaseURL'] = ApiClient.convertToType(data['CrunchbaseURL'], 'String'); - } - if (data.hasOwnProperty('Description')) { - obj['Description'] = ApiClient.convertToType(data['Description'], 'String'); - } - if (data.hasOwnProperty('EarningsCall')) { - obj['EarningsCall'] = ApiClient.convertToType(data['EarningsCall'], 'String'); - } - if (data.hasOwnProperty('Email')) { - obj['Email'] = ApiClient.convertToType(data['Email'], 'String'); - } - if (data.hasOwnProperty('EquityFunding')) { - obj['EquityFunding'] = ApiClient.convertToType(data['EquityFunding'], 'Number'); - } - if (data.hasOwnProperty('Fax')) { - obj['Fax'] = ApiClient.convertToType(data['Fax'], 'String'); - } - if (data.hasOwnProperty('FoundedDate')) { - obj['FoundedDate'] = ApiClient.convertToType(data['FoundedDate'], 'String'); - } - if (data.hasOwnProperty('Industry')) { - obj['Industry'] = ApiClient.convertToType(data['Industry'], 'String'); - } - if (data.hasOwnProperty('Facebook')) { - obj['Facebook'] = ApiClient.convertToType(data['Facebook'], 'String'); - } - if (data.hasOwnProperty('Industries')) { - obj['Industries'] = ApiClient.convertToType(data['Industries'], 'String'); - } - if (data.hasOwnProperty('IPODate')) { - obj['IPODate'] = ApiClient.convertToType(data['IPODate'], 'String'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('LinkedIn')) { - obj['LinkedIn'] = ApiClient.convertToType(data['LinkedIn'], 'String'); - } - if (data.hasOwnProperty('Location')) { - obj['Location'] = ApiClient.convertToType(data['Location'], 'String'); - } - if (data.hasOwnProperty('MarketCapitalization')) { - obj['MarketCapitalization'] = ApiClient.convertToType(data['MarketCapitalization'], 'Number'); - } - if (data.hasOwnProperty('Name')) { - obj['Name'] = ApiClient.convertToType(data['Name'], 'String'); - } - if (data.hasOwnProperty('NumberOfEmployees')) { - obj['NumberOfEmployees'] = ApiClient.convertToType(data['NumberOfEmployees'], 'Number'); - } - if (data.hasOwnProperty('NumberInvestments')) { - obj['NumberInvestments'] = ApiClient.convertToType(data['NumberInvestments'], 'Number'); - } - if (data.hasOwnProperty('OwnerID')) { - obj['OwnerID'] = ApiClient.convertToType(data['OwnerID'], 'String'); - } - if (data.hasOwnProperty('Ownership')) { - obj['Ownership'] = ApiClient.convertToType(data['Ownership'], 'String'); - } - if (data.hasOwnProperty('ParentID')) { - obj['ParentID'] = ApiClient.convertToType(data['ParentID'], 'String'); - } - if (data.hasOwnProperty('Phone')) { - obj['Phone'] = ApiClient.convertToType(data['Phone'], 'String'); - } - if (data.hasOwnProperty('Publish')) { - obj['Publish'] = ApiClient.convertToType(data['Publish'], 'Boolean'); - } - if (data.hasOwnProperty('SalesforceFirst')) { - obj['SalesforceFirst'] = ApiClient.convertToType(data['SalesforceFirst'], 'Boolean'); - } - if (data.hasOwnProperty('ShippingAddress')) { - obj['ShippingAddress'] = Address.constructFromObject(data['ShippingAddress']); - } - if (data.hasOwnProperty('ShippingContactID')) { - obj['ShippingContactID'] = ApiClient.convertToType(data['ShippingContactID'], 'String'); - } - if (data.hasOwnProperty('SIC')) { - obj['SIC'] = ApiClient.convertToType(data['SIC'], 'String'); - } - if (data.hasOwnProperty('SICDesc')) { - obj['SICDesc'] = ApiClient.convertToType(data['SICDesc'], 'String'); - } - if (data.hasOwnProperty('Site')) { - obj['Site'] = ApiClient.convertToType(data['Site'], 'String'); - } - if (data.hasOwnProperty('TagLine')) { - obj['TagLine'] = ApiClient.convertToType(data['TagLine'], 'String'); - } - if (data.hasOwnProperty('TickerSymbol')) { - obj['TickerSymbol'] = ApiClient.convertToType(data['TickerSymbol'], 'String'); - } - if (data.hasOwnProperty('Type')) { - obj['Type'] = ApiClient.convertToType(data['Type'], 'String'); - } - if (data.hasOwnProperty('Twitter')) { - obj['Twitter'] = ApiClient.convertToType(data['Twitter'], 'String'); - } - if (data.hasOwnProperty('Website')) { - obj['Website'] = ApiClient.convertToType(data['Website'], 'String'); - } - if (data.hasOwnProperty('YearStarted')) { - obj['YearStarted'] = ApiClient.convertToType(data['YearStarted'], 'String'); - } - } - return obj; - } - - -} - -/** - * tenant identifier - * @member {String} TenantID - */ -Account.prototype['TenantID'] = undefined; - -/** - * Taxnexus Account Id - * @member {String} ID - */ -Account.prototype['ID'] = undefined; - -/** - * Account Number - * @member {String} AccountNumber - */ -Account.prototype['AccountNumber'] = undefined; - -/** - * The marketing orgin of this account - * @member {String} AccountSource - */ -Account.prototype['AccountSource'] = undefined; - -/** - * Annual Revenue Estimate - * @member {Number} AnnualRevenue - */ -Account.prototype['AnnualRevenue'] = undefined; - -/** - * @member {module:model/Address} BillingAddress - */ -Account.prototype['BillingAddress'] = undefined; - -/** - * Contact ID - * @member {String} BillingContactID - */ -Account.prototype['BillingContactID'] = undefined; - -/** - * Created By User ID - * @member {String} CreatedByID - */ -Account.prototype['CreatedByID'] = undefined; - -/** - * Created Date - * @member {String} CreatedDate - */ -Account.prototype['CreatedDate'] = undefined; - -/** - * Date company closed - * @member {String} CloseDate - */ -Account.prototype['CloseDate'] = undefined; - -/** - * @member {Number} CloudRevenueTotal - */ -Account.prototype['CloudRevenueTotal'] = undefined; - -/** - * @member {String} CloudType - */ -Account.prototype['CloudType'] = undefined; - -/** - * @member {String} CloudYear - */ -Account.prototype['CloudYear'] = undefined; - -/** - * @member {String} CrunchbaseURL - */ -Account.prototype['CrunchbaseURL'] = undefined; - -/** - * Description - * @member {String} Description - */ -Account.prototype['Description'] = undefined; - -/** - * @member {String} EarningsCall - */ -Account.prototype['EarningsCall'] = undefined; - -/** - * Main Account Email - * @member {String} Email - */ -Account.prototype['Email'] = undefined; - -/** - * @member {Number} EquityFunding - */ -Account.prototype['EquityFunding'] = undefined; - -/** - * Fax - * @member {String} Fax - */ -Account.prototype['Fax'] = undefined; - -/** - * @member {String} FoundedDate - */ -Account.prototype['FoundedDate'] = undefined; - -/** - * Industry - * @member {String} Industry - */ -Account.prototype['Industry'] = undefined; - -/** - * @member {String} Facebook - */ -Account.prototype['Facebook'] = undefined; - -/** - * @member {String} Industries - */ -Account.prototype['Industries'] = undefined; - -/** - * @member {String} IPODate - */ -Account.prototype['IPODate'] = undefined; - -/** - * Last Modified By User ID - * @member {String} LastModifiedByID - */ -Account.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modified Date - * @member {String} LastModifiedDate - */ -Account.prototype['LastModifiedDate'] = undefined; - -/** - * @member {String} LinkedIn - */ -Account.prototype['LinkedIn'] = undefined; - -/** - * @member {String} Location - */ -Account.prototype['Location'] = undefined; - -/** - * @member {Number} MarketCapitalization - */ -Account.prototype['MarketCapitalization'] = undefined; - -/** - * Account Name - * @member {String} Name - */ -Account.prototype['Name'] = undefined; - -/** - * Employee Count Estimate - * @member {Number} NumberOfEmployees - */ -Account.prototype['NumberOfEmployees'] = undefined; - -/** - * Number of Locations Estimate - * @member {Number} NumberInvestments - */ -Account.prototype['NumberInvestments'] = undefined; - -/** - * Account Owner User ID - * @member {String} OwnerID - */ -Account.prototype['OwnerID'] = undefined; - -/** - * Ownership - * @member {String} Ownership - */ -Account.prototype['Ownership'] = undefined; - -/** - * Parent Account - * @member {String} ParentID - */ -Account.prototype['ParentID'] = undefined; - -/** - * Phone - * @member {String} Phone - */ -Account.prototype['Phone'] = undefined; - -/** - * @member {Boolean} Publish - */ -Account.prototype['Publish'] = undefined; - -/** - * @member {Boolean} SalesforceFirst - */ -Account.prototype['SalesforceFirst'] = undefined; - -/** - * @member {module:model/Address} ShippingAddress - */ -Account.prototype['ShippingAddress'] = undefined; - -/** - * @member {String} ShippingContactID - */ -Account.prototype['ShippingContactID'] = undefined; - -/** - * SIC Code - * @member {String} SIC - */ -Account.prototype['SIC'] = undefined; - -/** - * SIC Description - * @member {String} SICDesc - */ -Account.prototype['SICDesc'] = undefined; - -/** - * Account Site - * @member {String} Site - */ -Account.prototype['Site'] = undefined; - -/** - * @member {String} TagLine - */ -Account.prototype['TagLine'] = undefined; - -/** - * @member {String} TickerSymbol - */ -Account.prototype['TickerSymbol'] = undefined; - -/** - * Type - * @member {String} Type - */ -Account.prototype['Type'] = undefined; - -/** - * @member {String} Twitter - */ -Account.prototype['Twitter'] = undefined; - -/** - * Website - * @member {String} Website - */ -Account.prototype['Website'] = undefined; - -/** - * Year Started - * @member {String} YearStarted - */ -Account.prototype['YearStarted'] = undefined; - - - - - - -export default Account; - diff --git a/client/sf-gate/src/model/AccountRequest.js b/client/sf-gate/src/model/AccountRequest.js deleted file mode 100644 index 6074593..0000000 --- a/client/sf-gate/src/model/AccountRequest.js +++ /dev/null @@ -1,81 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Account from './Account'; -import RequestMeta from './RequestMeta'; - -/** - * The AccountRequest model module. - * @module model/AccountRequest - * @version 0.0.2 - */ -class AccountRequest { - /** - * Constructs a new AccountRequest. - * @alias module:model/AccountRequest - */ - constructor() { - - AccountRequest.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 AccountRequest 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/AccountRequest} obj Optional instance to populate. - * @return {module:model/AccountRequest} The populated AccountRequest instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new AccountRequest(); - - if (data.hasOwnProperty('data')) { - obj['data'] = ApiClient.convertToType(data['data'], [Account]); - } - if (data.hasOwnProperty('meta')) { - obj['meta'] = RequestMeta.constructFromObject(data['meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} data - */ -AccountRequest.prototype['data'] = undefined; - -/** - * @member {module:model/RequestMeta} meta - */ -AccountRequest.prototype['meta'] = undefined; - - - - - - -export default AccountRequest; - diff --git a/client/sf-gate/src/model/AccountResponse.js b/client/sf-gate/src/model/AccountResponse.js deleted file mode 100644 index 4084f44..0000000 --- a/client/sf-gate/src/model/AccountResponse.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Account from './Account'; -import ResponseMeta from './ResponseMeta'; - -/** - * The AccountResponse model module. - * @module model/AccountResponse - * @version 0.0.2 - */ -class AccountResponse { - /** - * Constructs a new AccountResponse. - * An array of Account objects - * @alias module:model/AccountResponse - */ - constructor() { - - AccountResponse.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 AccountResponse 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/AccountResponse} obj Optional instance to populate. - * @return {module:model/AccountResponse} The populated AccountResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new AccountResponse(); - - if (data.hasOwnProperty('data')) { - obj['data'] = ApiClient.convertToType(data['data'], [Account]); - } - if (data.hasOwnProperty('meta')) { - obj['meta'] = ResponseMeta.constructFromObject(data['meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} data - */ -AccountResponse.prototype['data'] = undefined; - -/** - * @member {module:model/ResponseMeta} meta - */ -AccountResponse.prototype['meta'] = undefined; - - - - - - -export default AccountResponse; - diff --git a/client/sf-gate/src/model/Address.js b/client/sf-gate/src/model/Address.js deleted file mode 100644 index 9e02f43..0000000 --- a/client/sf-gate/src/model/Address.js +++ /dev/null @@ -1,130 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Address model module. - * @module model/Address - * @version 0.0.2 - */ -class Address { - /** - * Constructs a new Address. - * @alias module:model/Address - * @param city {String} City - * @param statecode {String} State Code - */ - constructor(city, statecode) { - - Address.initialize(this, city, statecode); - } - - /** - * 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, city, statecode) { - obj['city'] = city; - obj['statecode'] = statecode; - } - - /** - * Constructs a Address 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/Address} obj Optional instance to populate. - * @return {module:model/Address} The populated Address instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Address(); - - if (data.hasOwnProperty('city')) { - obj['city'] = ApiClient.convertToType(data['city'], 'String'); - } - if (data.hasOwnProperty('country')) { - obj['country'] = ApiClient.convertToType(data['country'], 'String'); - } - if (data.hasOwnProperty('countrycode')) { - obj['countrycode'] = ApiClient.convertToType(data['countrycode'], 'String'); - } - if (data.hasOwnProperty('postalcode')) { - obj['postalcode'] = ApiClient.convertToType(data['postalcode'], 'String'); - } - if (data.hasOwnProperty('state')) { - obj['state'] = ApiClient.convertToType(data['state'], 'String'); - } - if (data.hasOwnProperty('statecode')) { - obj['statecode'] = ApiClient.convertToType(data['statecode'], 'String'); - } - if (data.hasOwnProperty('street')) { - obj['street'] = ApiClient.convertToType(data['street'], 'String'); - } - } - return obj; - } - - -} - -/** - * City - * @member {String} city - */ -Address.prototype['city'] = undefined; - -/** - * Country full name - * @member {String} country - */ -Address.prototype['country'] = undefined; - -/** - * Country Code - * @member {String} countrycode - */ -Address.prototype['countrycode'] = undefined; - -/** - * Postal Code - * @member {String} postalcode - */ -Address.prototype['postalcode'] = undefined; - -/** - * State full name - * @member {String} state - */ -Address.prototype['state'] = undefined; - -/** - * State Code - * @member {String} statecode - */ -Address.prototype['statecode'] = undefined; - -/** - * Street number and name - * @member {String} street - */ -Address.prototype['street'] = undefined; - - - - - - -export default Address; - diff --git a/client/sf-gate/src/model/Asset.js b/client/sf-gate/src/model/Asset.js deleted file mode 100644 index 88dc32b..0000000 --- a/client/sf-gate/src/model/Asset.js +++ /dev/null @@ -1,486 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Address from './Address'; - -/** - * The Asset model module. - * @module model/Asset - * @version 0.0.2 - */ -class Asset { - /** - * Constructs a new Asset. - * @alias module:model/Asset - */ - constructor() { - - Asset.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 Asset 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/Asset} obj Optional instance to populate. - * @return {module:model/Asset} The populated Asset instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Asset(); - - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('AccountID')) { - obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String'); - } - if (data.hasOwnProperty('Address')) { - obj['Address'] = Address.constructFromObject(data['Address']); - } - if (data.hasOwnProperty('AssetLevel')) { - obj['AssetLevel'] = ApiClient.convertToType(data['AssetLevel'], 'Number'); - } - if (data.hasOwnProperty('Name')) { - obj['Name'] = ApiClient.convertToType(data['Name'], 'String'); - } - if (data.hasOwnProperty('AssetProvidedByID')) { - obj['AssetProvidedByID'] = ApiClient.convertToType(data['AssetProvidedByID'], 'String'); - } - if (data.hasOwnProperty('AssetServicedByID')) { - obj['AssetServicedByID'] = ApiClient.convertToType(data['AssetServicedByID'], 'String'); - } - if (data.hasOwnProperty('CompanyProductID')) { - obj['CompanyProductID'] = ApiClient.convertToType(data['CompanyProductID'], 'String'); - } - if (data.hasOwnProperty('IsCompetitorProduct')) { - obj['IsCompetitorProduct'] = ApiClient.convertToType(data['IsCompetitorProduct'], 'Boolean'); - } - if (data.hasOwnProperty('ConsequenceOfFailure')) { - obj['ConsequenceOfFailure'] = ApiClient.convertToType(data['ConsequenceOfFailure'], 'String'); - } - if (data.hasOwnProperty('ContactID')) { - obj['ContactID'] = ApiClient.convertToType(data['ContactID'], 'String'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('CurrentAmount')) { - obj['CurrentAmount'] = ApiClient.convertToType(data['CurrentAmount'], 'Number'); - } - if (data.hasOwnProperty('CurrentLifecycleEndDate')) { - obj['CurrentLifecycleEndDate'] = ApiClient.convertToType(data['CurrentLifecycleEndDate'], 'String'); - } - if (data.hasOwnProperty('CurrentMrr')) { - obj['CurrentMrr'] = ApiClient.convertToType(data['CurrentMrr'], 'Number'); - } - if (data.hasOwnProperty('CurrentQuantity')) { - obj['CurrentQuantity'] = ApiClient.convertToType(data['CurrentQuantity'], 'Number'); - } - if (data.hasOwnProperty('Description')) { - obj['Description'] = ApiClient.convertToType(data['Description'], 'String'); - } - if (data.hasOwnProperty('DigitalAssetStatus')) { - obj['DigitalAssetStatus'] = ApiClient.convertToType(data['DigitalAssetStatus'], 'String'); - } - if (data.hasOwnProperty('ExternalIdentifier')) { - obj['ExternalIdentifier'] = ApiClient.convertToType(data['ExternalIdentifier'], 'String'); - } - if (data.hasOwnProperty('HasLifecycleManagement')) { - obj['HasLifecycleManagement'] = ApiClient.convertToType(data['HasLifecycleManagement'], 'Boolean'); - } - if (data.hasOwnProperty('InstallDate')) { - obj['InstallDate'] = ApiClient.convertToType(data['InstallDate'], 'String'); - } - if (data.hasOwnProperty('IsInternal')) { - obj['IsInternal'] = ApiClient.convertToType(data['IsInternal'], 'Boolean'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('LocationID')) { - obj['LocationID'] = ApiClient.convertToType(data['LocationID'], 'String'); - } - if (data.hasOwnProperty('ManufactureDate')) { - obj['ManufactureDate'] = ApiClient.convertToType(data['ManufactureDate'], 'String'); - } - if (data.hasOwnProperty('MIMEType')) { - obj['MIMEType'] = ApiClient.convertToType(data['MIMEType'], 'String'); - } - if (data.hasOwnProperty('ParentID')) { - obj['ParentID'] = ApiClient.convertToType(data['ParentID'], 'String'); - } - if (data.hasOwnProperty('Price')) { - obj['Price'] = ApiClient.convertToType(data['Price'], 'Number'); - } - if (data.hasOwnProperty('Product2ID')) { - obj['Product2ID'] = ApiClient.convertToType(data['Product2ID'], 'String'); - } - if (data.hasOwnProperty('ProductCode')) { - obj['ProductCode'] = ApiClient.convertToType(data['ProductCode'], 'String'); - } - if (data.hasOwnProperty('ProductDescription')) { - obj['ProductDescription'] = ApiClient.convertToType(data['ProductDescription'], 'String'); - } - if (data.hasOwnProperty('ProductFamily')) { - obj['ProductFamily'] = ApiClient.convertToType(data['ProductFamily'], 'String'); - } - if (data.hasOwnProperty('StockKeepingUnit')) { - obj['StockKeepingUnit'] = ApiClient.convertToType(data['StockKeepingUnit'], 'String'); - } - if (data.hasOwnProperty('PurchaseDate')) { - obj['PurchaseDate'] = ApiClient.convertToType(data['PurchaseDate'], 'String'); - } - if (data.hasOwnProperty('Quantity')) { - obj['Quantity'] = ApiClient.convertToType(data['Quantity'], 'Number'); - } - if (data.hasOwnProperty('RootAssetID')) { - obj['RootAssetID'] = ApiClient.convertToType(data['RootAssetID'], '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('StatusReason')) { - obj['StatusReason'] = ApiClient.convertToType(data['StatusReason'], 'String'); - } - if (data.hasOwnProperty('TenantID')) { - obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String'); - } - if (data.hasOwnProperty('TotalLifecycleAmount')) { - obj['TotalLifecycleAmount'] = ApiClient.convertToType(data['TotalLifecycleAmount'], 'Number'); - } - if (data.hasOwnProperty('Type')) { - obj['Type'] = ApiClient.convertToType(data['Type'], 'String'); - } - if (data.hasOwnProperty('UUID')) { - obj['UUID'] = ApiClient.convertToType(data['UUID'], 'String'); - } - if (data.hasOwnProperty('URL')) { - obj['URL'] = ApiClient.convertToType(data['URL'], 'String'); - } - if (data.hasOwnProperty('UsageEndDate')) { - obj['UsageEndDate'] = ApiClient.convertToType(data['UsageEndDate'], 'String'); - } - } - return obj; - } - - -} - -/** - * Taxnexus Record Id - * @member {String} ID - */ -Asset.prototype['ID'] = undefined; - -/** - * Account - * @member {String} AccountID - */ -Asset.prototype['AccountID'] = undefined; - -/** - * @member {module:model/Address} Address - */ -Asset.prototype['Address'] = undefined; - -/** - * Asset Level - * @member {Number} AssetLevel - */ -Asset.prototype['AssetLevel'] = undefined; - -/** - * Asset Name - * @member {String} Name - */ -Asset.prototype['Name'] = undefined; - -/** - * Asset Provided By - * @member {String} AssetProvidedByID - */ -Asset.prototype['AssetProvidedByID'] = undefined; - -/** - * Asset Serviced By - * @member {String} AssetServicedByID - */ -Asset.prototype['AssetServicedByID'] = undefined; - -/** - * Company Product - * @member {String} CompanyProductID - */ -Asset.prototype['CompanyProductID'] = undefined; - -/** - * Competitor Asset - * @member {Boolean} IsCompetitorProduct - */ -Asset.prototype['IsCompetitorProduct'] = undefined; - -/** - * Consequence Of Failure - * @member {String} ConsequenceOfFailure - */ -Asset.prototype['ConsequenceOfFailure'] = undefined; - -/** - * Contact - * @member {String} ContactID - */ -Asset.prototype['ContactID'] = undefined; - -/** - * Created By - * @member {String} CreatedByID - */ -Asset.prototype['CreatedByID'] = undefined; - -/** - * Created Date - * @member {String} CreatedDate - */ -Asset.prototype['CreatedDate'] = undefined; - -/** - * Current Amount - * @member {Number} CurrentAmount - */ -Asset.prototype['CurrentAmount'] = undefined; - -/** - * Current Lifecycle End Date - * @member {String} CurrentLifecycleEndDate - */ -Asset.prototype['CurrentLifecycleEndDate'] = undefined; - -/** - * Current Monthly Recurring Revenue - * @member {Number} CurrentMrr - */ -Asset.prototype['CurrentMrr'] = undefined; - -/** - * Current Quantity - * @member {Number} CurrentQuantity - */ -Asset.prototype['CurrentQuantity'] = undefined; - -/** - * Description - * @member {String} Description - */ -Asset.prototype['Description'] = undefined; - -/** - * Digital Asset Status - * @member {String} DigitalAssetStatus - */ -Asset.prototype['DigitalAssetStatus'] = undefined; - -/** - * External Id - * @member {String} ExternalIdentifier - */ -Asset.prototype['ExternalIdentifier'] = undefined; - -/** - * Has Lifecycle Management - * @member {Boolean} HasLifecycleManagement - */ -Asset.prototype['HasLifecycleManagement'] = undefined; - -/** - * Install Date - * @member {String} InstallDate - */ -Asset.prototype['InstallDate'] = undefined; - -/** - * Internal Asset - * @member {Boolean} IsInternal - */ -Asset.prototype['IsInternal'] = undefined; - -/** - * Last Modified By - * @member {String} LastModifiedByID - */ -Asset.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modified Date - * @member {String} LastModifiedDate - */ -Asset.prototype['LastModifiedDate'] = undefined; - -/** - * Location - * @member {String} LocationID - */ -Asset.prototype['LocationID'] = undefined; - -/** - * Manufacture Date - * @member {String} ManufactureDate - */ -Asset.prototype['ManufactureDate'] = undefined; - -/** - * MIME Type - * @member {String} MIMEType - */ -Asset.prototype['MIMEType'] = undefined; - -/** - * Parent Asset - * @member {String} ParentID - */ -Asset.prototype['ParentID'] = undefined; - -/** - * Price - * @member {Number} Price - */ -Asset.prototype['Price'] = undefined; - -/** - * Product - * @member {String} Product2ID - */ -Asset.prototype['Product2ID'] = undefined; - -/** - * Product Code - * @member {String} ProductCode - */ -Asset.prototype['ProductCode'] = undefined; - -/** - * Product Description - * @member {String} ProductDescription - */ -Asset.prototype['ProductDescription'] = undefined; - -/** - * Product Family - * @member {String} ProductFamily - */ -Asset.prototype['ProductFamily'] = undefined; - -/** - * Product SKU - * @member {String} StockKeepingUnit - */ -Asset.prototype['StockKeepingUnit'] = undefined; - -/** - * Purchase Date - * @member {String} PurchaseDate - */ -Asset.prototype['PurchaseDate'] = undefined; - -/** - * Quantity - * @member {Number} Quantity - */ -Asset.prototype['Quantity'] = undefined; - -/** - * Root Asset - * @member {String} RootAssetID - */ -Asset.prototype['RootAssetID'] = undefined; - -/** - * Serial Number - * @member {String} SerialNumber - */ -Asset.prototype['SerialNumber'] = undefined; - -/** - * Status - * @member {String} Status - */ -Asset.prototype['Status'] = undefined; - -/** - * Status Reason - * @member {String} StatusReason - */ -Asset.prototype['StatusReason'] = undefined; - -/** - * Tenant ID - * @member {String} TenantID - */ -Asset.prototype['TenantID'] = undefined; - -/** - * Total Lifecycle Amount - * @member {Number} TotalLifecycleAmount - */ -Asset.prototype['TotalLifecycleAmount'] = undefined; - -/** - * Type - * @member {String} Type - */ -Asset.prototype['Type'] = undefined; - -/** - * Unique Identifier - * @member {String} UUID - */ -Asset.prototype['UUID'] = undefined; - -/** - * URL - * @member {String} URL - */ -Asset.prototype['URL'] = undefined; - -/** - * Usage End Date - * @member {String} UsageEndDate - */ -Asset.prototype['UsageEndDate'] = undefined; - - - - - - -export default Asset; - diff --git a/client/sf-gate/src/model/AssetRequest.js b/client/sf-gate/src/model/AssetRequest.js deleted file mode 100644 index 957e105..0000000 --- a/client/sf-gate/src/model/AssetRequest.js +++ /dev/null @@ -1,73 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Asset from './Asset'; - -/** - * The AssetRequest model module. - * @module model/AssetRequest - * @version 0.0.2 - */ -class AssetRequest { - /** - * Constructs a new AssetRequest. - * An array of Asset objects with Contacts - * @alias module:model/AssetRequest - */ - constructor() { - - AssetRequest.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 AssetRequest 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/AssetRequest} obj Optional instance to populate. - * @return {module:model/AssetRequest} The populated AssetRequest instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new AssetRequest(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Asset]); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -AssetRequest.prototype['Data'] = undefined; - - - - - - -export default AssetRequest; - diff --git a/client/sf-gate/src/model/AssetResponse.js b/client/sf-gate/src/model/AssetResponse.js deleted file mode 100644 index 9787cad..0000000 --- a/client/sf-gate/src/model/AssetResponse.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Asset from './Asset'; -import ResponseMeta from './ResponseMeta'; - -/** - * The AssetResponse model module. - * @module model/AssetResponse - * @version 0.0.2 - */ -class AssetResponse { - /** - * Constructs a new AssetResponse. - * An array of Asset objects with Contacts - * @alias module:model/AssetResponse - */ - constructor() { - - AssetResponse.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 AssetResponse 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/AssetResponse} obj Optional instance to populate. - * @return {module:model/AssetResponse} The populated AssetResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new AssetResponse(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Asset]); - } - if (data.hasOwnProperty('Meta')) { - obj['Meta'] = ResponseMeta.constructFromObject(data['Meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -AssetResponse.prototype['Data'] = undefined; - -/** - * @member {module:model/ResponseMeta} Meta - */ -AssetResponse.prototype['Meta'] = undefined; - - - - - - -export default AssetResponse; - diff --git a/client/sf-gate/src/model/Cluster.js b/client/sf-gate/src/model/Cluster.js deleted file mode 100644 index d05a83d..0000000 --- a/client/sf-gate/src/model/Cluster.js +++ /dev/null @@ -1,216 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Cluster model module. - * @module model/Cluster - * @version 0.0.2 - */ -class Cluster { - /** - * Constructs a new Cluster. - * @alias module:model/Cluster - */ - constructor() { - - Cluster.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 Cluster 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/Cluster} obj Optional instance to populate. - * @return {module:model/Cluster} The populated Cluster instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Cluster(); - - if (data.hasOwnProperty('id')) { - obj['id'] = ApiClient.convertToType(data['id'], 'String'); - } - if (data.hasOwnProperty('name')) { - obj['name'] = ApiClient.convertToType(data['name'], 'String'); - } - if (data.hasOwnProperty('createdbyid')) { - obj['createdbyid'] = ApiClient.convertToType(data['createdbyid'], 'String'); - } - if (data.hasOwnProperty('createddate')) { - obj['createddate'] = ApiClient.convertToType(data['createddate'], 'String'); - } - if (data.hasOwnProperty('description')) { - obj['description'] = ApiClient.convertToType(data['description'], 'String'); - } - if (data.hasOwnProperty('environment')) { - obj['environment'] = ApiClient.convertToType(data['environment'], 'String'); - } - if (data.hasOwnProperty('ref')) { - obj['ref'] = ApiClient.convertToType(data['ref'], 'String'); - } - if (data.hasOwnProperty('gateway')) { - obj['gateway'] = ApiClient.convertToType(data['gateway'], 'String'); - } - if (data.hasOwnProperty('ip_address')) { - obj['ip_address'] = ApiClient.convertToType(data['ip_address'], 'String'); - } - if (data.hasOwnProperty('lastmodifiedbyid')) { - obj['lastmodifiedbyid'] = ApiClient.convertToType(data['lastmodifiedbyid'], 'String'); - } - if (data.hasOwnProperty('lastmodifieddate')) { - obj['lastmodifieddate'] = ApiClient.convertToType(data['lastmodifieddate'], 'String'); - } - if (data.hasOwnProperty('ownerid')) { - obj['ownerid'] = ApiClient.convertToType(data['ownerid'], 'String'); - } - if (data.hasOwnProperty('status')) { - obj['status'] = ApiClient.convertToType(data['status'], 'String'); - } - if (data.hasOwnProperty('subnet')) { - obj['subnet'] = ApiClient.convertToType(data['subnet'], 'String'); - } - if (data.hasOwnProperty('tenantid')) { - obj['tenantid'] = ApiClient.convertToType(data['tenantid'], 'String'); - } - if (data.hasOwnProperty('type')) { - obj['type'] = ApiClient.convertToType(data['type'], 'String'); - } - if (data.hasOwnProperty('zone')) { - obj['zone'] = ApiClient.convertToType(data['zone'], 'String'); - } - } - return obj; - } - - -} - -/** - * Taxnexus Record Id - * @member {String} id - */ -Cluster.prototype['id'] = undefined; - -/** - * Cluster Name - * @member {String} name - */ -Cluster.prototype['name'] = undefined; - -/** - * Created By - * @member {String} createdbyid - */ -Cluster.prototype['createdbyid'] = undefined; - -/** - * Created Date - * @member {String} createddate - */ -Cluster.prototype['createddate'] = undefined; - -/** - * Description - * @member {String} description - */ -Cluster.prototype['description'] = undefined; - -/** - * Environment - * @member {String} environment - */ -Cluster.prototype['environment'] = undefined; - -/** - * External Reference - * @member {String} ref - */ -Cluster.prototype['ref'] = undefined; - -/** - * Gateway - * @member {String} gateway - */ -Cluster.prototype['gateway'] = undefined; - -/** - * IP Address - * @member {String} ip_address - */ -Cluster.prototype['ip_address'] = undefined; - -/** - * Last Modified By - * @member {String} lastmodifiedbyid - */ -Cluster.prototype['lastmodifiedbyid'] = undefined; - -/** - * Last Modified Date - * @member {String} lastmodifieddate - */ -Cluster.prototype['lastmodifieddate'] = undefined; - -/** - * Owner - * @member {String} ownerid - */ -Cluster.prototype['ownerid'] = undefined; - -/** - * Status - * @member {String} status - */ -Cluster.prototype['status'] = undefined; - -/** - * Subnet - * @member {String} subnet - */ -Cluster.prototype['subnet'] = undefined; - -/** - * tenantid - * @member {String} tenantid - */ -Cluster.prototype['tenantid'] = undefined; - -/** - * Type - * @member {String} type - */ -Cluster.prototype['type'] = undefined; - -/** - * Zone - * @member {String} zone - */ -Cluster.prototype['zone'] = undefined; - - - - - - -export default Cluster; - diff --git a/client/sf-gate/src/model/ClusterRequest.js b/client/sf-gate/src/model/ClusterRequest.js deleted file mode 100644 index bd299e7..0000000 --- a/client/sf-gate/src/model/ClusterRequest.js +++ /dev/null @@ -1,85 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Cluster from './Cluster'; -import RequestMeta from './RequestMeta'; - -/** - * The ClusterRequest model module. - * @module model/ClusterRequest - * @version 0.0.2 - */ -class ClusterRequest { - /** - * Constructs a new ClusterRequest. - * @alias module:model/ClusterRequest - * @param data {Array.} - * @param meta {module:model/RequestMeta} - */ - constructor(data, meta) { - - ClusterRequest.initialize(this, data, meta); - } - - /** - * 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, data, meta) { - obj['data'] = data; - obj['meta'] = meta; - } - - /** - * Constructs a ClusterRequest 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/ClusterRequest} obj Optional instance to populate. - * @return {module:model/ClusterRequest} The populated ClusterRequest instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new ClusterRequest(); - - if (data.hasOwnProperty('data')) { - obj['data'] = ApiClient.convertToType(data['data'], [Cluster]); - } - if (data.hasOwnProperty('meta')) { - obj['meta'] = RequestMeta.constructFromObject(data['meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} data - */ -ClusterRequest.prototype['data'] = undefined; - -/** - * @member {module:model/RequestMeta} meta - */ -ClusterRequest.prototype['meta'] = undefined; - - - - - - -export default ClusterRequest; - diff --git a/client/sf-gate/src/model/ClusterResponse.js b/client/sf-gate/src/model/ClusterResponse.js deleted file mode 100644 index fa19799..0000000 --- a/client/sf-gate/src/model/ClusterResponse.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Cluster from './Cluster'; -import ResponseMeta from './ResponseMeta'; - -/** - * The ClusterResponse model module. - * @module model/ClusterResponse - * @version 0.0.2 - */ -class ClusterResponse { - /** - * Constructs a new ClusterResponse. - * An array of cluster objects - * @alias module:model/ClusterResponse - */ - constructor() { - - ClusterResponse.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 ClusterResponse 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/ClusterResponse} obj Optional instance to populate. - * @return {module:model/ClusterResponse} The populated ClusterResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new ClusterResponse(); - - if (data.hasOwnProperty('data')) { - obj['data'] = ApiClient.convertToType(data['data'], [Cluster]); - } - if (data.hasOwnProperty('meta')) { - obj['meta'] = ResponseMeta.constructFromObject(data['meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} data - */ -ClusterResponse.prototype['data'] = undefined; - -/** - * @member {module:model/ResponseMeta} meta - */ -ClusterResponse.prototype['meta'] = undefined; - - - - - - -export default ClusterResponse; - diff --git a/client/sf-gate/src/model/CompanyProduct.js b/client/sf-gate/src/model/CompanyProduct.js deleted file mode 100644 index d591b7b..0000000 --- a/client/sf-gate/src/model/CompanyProduct.js +++ /dev/null @@ -1,154 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 CompanyProduct model module. - * @module model/CompanyProduct - * @version 0.0.2 - */ -class CompanyProduct { - /** - * Constructs a new CompanyProduct. - * A software product or service vended by a Company - * @alias module:model/CompanyProduct - */ - constructor() { - - CompanyProduct.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 CompanyProduct 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/CompanyProduct} obj Optional instance to populate. - * @return {module:model/CompanyProduct} The populated CompanyProduct instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new CompanyProduct(); - - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('AccountID')) { - obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String'); - } - if (data.hasOwnProperty('Description')) { - obj['Description'] = ApiClient.convertToType(data['Description'], 'String'); - } - if (data.hasOwnProperty('Name')) { - obj['Name'] = ApiClient.convertToType(data['Name'], 'String'); - } - if (data.hasOwnProperty('TagLine')) { - obj['TagLine'] = ApiClient.convertToType(data['TagLine'], 'String'); - } - if (data.hasOwnProperty('URL')) { - obj['URL'] = ApiClient.convertToType(data['URL'], 'String'); - } - } - return obj; - } - - -} - -/** - * Taxnexus Record Id - * @member {String} ID - */ -CompanyProduct.prototype['ID'] = undefined; - -/** - * Created By User ID - * @member {String} CreatedByID - */ -CompanyProduct.prototype['CreatedByID'] = undefined; - -/** - * Created Date - * @member {String} CreatedDate - */ -CompanyProduct.prototype['CreatedDate'] = undefined; - -/** - * Last Modified By User ID - * @member {String} LastModifiedByID - */ -CompanyProduct.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modified Date - * @member {String} LastModifiedDate - */ -CompanyProduct.prototype['LastModifiedDate'] = undefined; - -/** - * Taxnexus ID of the Company that owns this Product - * @member {String} AccountID - */ -CompanyProduct.prototype['AccountID'] = undefined; - -/** - * Description of product - * @member {String} Description - */ -CompanyProduct.prototype['Description'] = undefined; - -/** - * Product Name - * @member {String} Name - */ -CompanyProduct.prototype['Name'] = undefined; - -/** - * TagLine - * @member {String} TagLine - */ -CompanyProduct.prototype['TagLine'] = undefined; - -/** - * Website - * @member {String} URL - */ -CompanyProduct.prototype['URL'] = undefined; - - - - - - -export default CompanyProduct; - diff --git a/client/sf-gate/src/model/CompanyProductRequest.js b/client/sf-gate/src/model/CompanyProductRequest.js deleted file mode 100644 index e58f4b2..0000000 --- a/client/sf-gate/src/model/CompanyProductRequest.js +++ /dev/null @@ -1,85 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 CompanyProduct from './CompanyProduct'; -import RequestMeta from './RequestMeta'; - -/** - * The CompanyProductRequest model module. - * @module model/CompanyProductRequest - * @version 0.0.2 - */ -class CompanyProductRequest { - /** - * Constructs a new CompanyProductRequest. - * @alias module:model/CompanyProductRequest - * @param data {Array.} - * @param meta {module:model/RequestMeta} - */ - constructor(data, meta) { - - CompanyProductRequest.initialize(this, data, meta); - } - - /** - * 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, data, meta) { - obj['data'] = data; - obj['meta'] = meta; - } - - /** - * Constructs a CompanyProductRequest 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/CompanyProductRequest} obj Optional instance to populate. - * @return {module:model/CompanyProductRequest} The populated CompanyProductRequest instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new CompanyProductRequest(); - - if (data.hasOwnProperty('data')) { - obj['data'] = ApiClient.convertToType(data['data'], [CompanyProduct]); - } - if (data.hasOwnProperty('meta')) { - obj['meta'] = RequestMeta.constructFromObject(data['meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} data - */ -CompanyProductRequest.prototype['data'] = undefined; - -/** - * @member {module:model/RequestMeta} meta - */ -CompanyProductRequest.prototype['meta'] = undefined; - - - - - - -export default CompanyProductRequest; - diff --git a/client/sf-gate/src/model/CompanyProductResponse.js b/client/sf-gate/src/model/CompanyProductResponse.js deleted file mode 100644 index 512d441..0000000 --- a/client/sf-gate/src/model/CompanyProductResponse.js +++ /dev/null @@ -1,81 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 CompanyProduct from './CompanyProduct'; -import ResponseMeta from './ResponseMeta'; - -/** - * The CompanyProductResponse model module. - * @module model/CompanyProductResponse - * @version 0.0.2 - */ -class CompanyProductResponse { - /** - * Constructs a new CompanyProductResponse. - * @alias module:model/CompanyProductResponse - */ - constructor() { - - CompanyProductResponse.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 CompanyProductResponse 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/CompanyProductResponse} obj Optional instance to populate. - * @return {module:model/CompanyProductResponse} The populated CompanyProductResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new CompanyProductResponse(); - - if (data.hasOwnProperty('data')) { - obj['data'] = ApiClient.convertToType(data['data'], [CompanyProduct]); - } - if (data.hasOwnProperty('meta')) { - obj['meta'] = ResponseMeta.constructFromObject(data['meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} data - */ -CompanyProductResponse.prototype['data'] = undefined; - -/** - * @member {module:model/ResponseMeta} meta - */ -CompanyProductResponse.prototype['meta'] = undefined; - - - - - - -export default CompanyProductResponse; - diff --git a/client/sf-gate/src/model/Contact.js b/client/sf-gate/src/model/Contact.js deleted file mode 100644 index 94ac13e..0000000 --- a/client/sf-gate/src/model/Contact.js +++ /dev/null @@ -1,393 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Address from './Address'; - -/** - * The Contact model module. - * @module model/Contact - * @version 0.0.2 - */ -class Contact { - /** - * Constructs a new Contact. - * @alias module:model/Contact - */ - constructor() { - - Contact.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 Contact 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/Contact} obj Optional instance to populate. - * @return {module:model/Contact} The populated Contact instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Contact(); - - if (data.hasOwnProperty('TenantID')) { - obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String'); - } - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('AccountID')) { - obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String'); - } - if (data.hasOwnProperty('AssistantName')) { - obj['AssistantName'] = ApiClient.convertToType(data['AssistantName'], 'String'); - } - if (data.hasOwnProperty('AssistantPhone')) { - obj['AssistantPhone'] = ApiClient.convertToType(data['AssistantPhone'], 'String'); - } - if (data.hasOwnProperty('BirthDate')) { - obj['BirthDate'] = ApiClient.convertToType(data['BirthDate'], 'String'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('Department')) { - obj['Department'] = ApiClient.convertToType(data['Department'], 'String'); - } - if (data.hasOwnProperty('Description')) { - obj['Description'] = ApiClient.convertToType(data['Description'], 'String'); - } - if (data.hasOwnProperty('DoNotCall')) { - obj['DoNotCall'] = ApiClient.convertToType(data['DoNotCall'], 'Boolean'); - } - if (data.hasOwnProperty('Email')) { - obj['Email'] = ApiClient.convertToType(data['Email'], 'String'); - } - if (data.hasOwnProperty('EmailBounceDate')) { - obj['EmailBounceDate'] = ApiClient.convertToType(data['EmailBounceDate'], 'String'); - } - if (data.hasOwnProperty('EmailBounceReason')) { - obj['EmailBounceReason'] = ApiClient.convertToType(data['EmailBounceReason'], 'String'); - } - if (data.hasOwnProperty('Fax')) { - obj['Fax'] = ApiClient.convertToType(data['Fax'], 'String'); - } - if (data.hasOwnProperty('Facebook')) { - obj['Facebook'] = ApiClient.convertToType(data['Facebook'], 'String'); - } - if (data.hasOwnProperty('FirstName')) { - obj['FirstName'] = ApiClient.convertToType(data['FirstName'], 'String'); - } - if (data.hasOwnProperty('HasOptedOutOfEmail')) { - obj['HasOptedOutOfEmail'] = ApiClient.convertToType(data['HasOptedOutOfEmail'], 'Boolean'); - } - if (data.hasOwnProperty('HasOptedOutOfFax')) { - obj['HasOptedOutOfFax'] = ApiClient.convertToType(data['HasOptedOutOfFax'], 'Boolean'); - } - if (data.hasOwnProperty('HomePhone')) { - obj['HomePhone'] = ApiClient.convertToType(data['HomePhone'], 'String'); - } - if (data.hasOwnProperty('IsEmailBounced')) { - obj['IsEmailBounced'] = ApiClient.convertToType(data['IsEmailBounced'], 'Boolean'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('LastName')) { - obj['LastName'] = ApiClient.convertToType(data['LastName'], 'String'); - } - if (data.hasOwnProperty('LeadSource')) { - obj['LeadSource'] = ApiClient.convertToType(data['LeadSource'], 'String'); - } - if (data.hasOwnProperty('LinkedIn')) { - obj['LinkedIn'] = ApiClient.convertToType(data['LinkedIn'], 'String'); - } - if (data.hasOwnProperty('MailingAddress')) { - obj['MailingAddress'] = Address.constructFromObject(data['MailingAddress']); - } - if (data.hasOwnProperty('MobilePhone')) { - obj['MobilePhone'] = ApiClient.convertToType(data['MobilePhone'], 'String'); - } - if (data.hasOwnProperty('Name')) { - obj['Name'] = ApiClient.convertToType(data['Name'], 'String'); - } - if (data.hasOwnProperty('OtherAddress')) { - obj['OtherAddress'] = Address.constructFromObject(data['OtherAddress']); - } - if (data.hasOwnProperty('OtherPhone')) { - obj['OtherPhone'] = ApiClient.convertToType(data['OtherPhone'], 'String'); - } - if (data.hasOwnProperty('OwnerID')) { - obj['OwnerID'] = ApiClient.convertToType(data['OwnerID'], 'String'); - } - if (data.hasOwnProperty('PersonalEmail')) { - obj['PersonalEmail'] = ApiClient.convertToType(data['PersonalEmail'], 'String'); - } - if (data.hasOwnProperty('Phone')) { - obj['Phone'] = ApiClient.convertToType(data['Phone'], 'String'); - } - if (data.hasOwnProperty('PhotoURL')) { - obj['PhotoURL'] = ApiClient.convertToType(data['PhotoURL'], 'String'); - } - if (data.hasOwnProperty('Title')) { - obj['Title'] = ApiClient.convertToType(data['Title'], 'String'); - } - if (data.hasOwnProperty('Twitter')) { - obj['Twitter'] = ApiClient.convertToType(data['Twitter'], 'String'); - } - } - return obj; - } - - -} - -/** - * tenant identifier - * @member {String} TenantID - */ -Contact.prototype['TenantID'] = undefined; - -/** - * Taxnexus Record Id - * @member {String} ID - */ -Contact.prototype['ID'] = undefined; - -/** - * The primary account ID of this contact - * @member {String} AccountID - */ -Contact.prototype['AccountID'] = undefined; - -/** - * Assistant Name - * @member {String} AssistantName - */ -Contact.prototype['AssistantName'] = undefined; - -/** - * Asst. Phone - * @member {String} AssistantPhone - */ -Contact.prototype['AssistantPhone'] = undefined; - -/** - * Birthdate - * @member {String} BirthDate - */ -Contact.prototype['BirthDate'] = undefined; - -/** - * Created By User ID - * @member {String} CreatedByID - */ -Contact.prototype['CreatedByID'] = undefined; - -/** - * Created Date - * @member {String} CreatedDate - */ -Contact.prototype['CreatedDate'] = undefined; - -/** - * Department - * @member {String} Department - */ -Contact.prototype['Department'] = undefined; - -/** - * Description - * @member {String} Description - */ -Contact.prototype['Description'] = undefined; - -/** - * Do Not Call? - * @member {Boolean} DoNotCall - */ -Contact.prototype['DoNotCall'] = undefined; - -/** - * Email address - * @member {String} Email - */ -Contact.prototype['Email'] = undefined; - -/** - * Email Bounce Date - * @member {String} EmailBounceDate - */ -Contact.prototype['EmailBounceDate'] = undefined; - -/** - * Email Bounce Reason - * @member {String} EmailBounceReason - */ -Contact.prototype['EmailBounceReason'] = undefined; - -/** - * @member {String} Fax - */ -Contact.prototype['Fax'] = undefined; - -/** - * Fax Number - * @member {String} Facebook - */ -Contact.prototype['Facebook'] = undefined; - -/** - * First Name - * @member {String} FirstName - */ -Contact.prototype['FirstName'] = undefined; - -/** - * Email Opt Out - * @member {Boolean} HasOptedOutOfEmail - */ -Contact.prototype['HasOptedOutOfEmail'] = undefined; - -/** - * Fax Opt Out - * @member {Boolean} HasOptedOutOfFax - */ -Contact.prototype['HasOptedOutOfFax'] = undefined; - -/** - * Home Phone - * @member {String} HomePhone - */ -Contact.prototype['HomePhone'] = undefined; - -/** - * Does this contact have bounced emails? - * @member {Boolean} IsEmailBounced - */ -Contact.prototype['IsEmailBounced'] = undefined; - -/** - * Last Modified By User ID - * @member {String} LastModifiedByID - */ -Contact.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modified Date - * @member {String} LastModifiedDate - */ -Contact.prototype['LastModifiedDate'] = undefined; - -/** - * Last Name - * @member {String} LastName - */ -Contact.prototype['LastName'] = undefined; - -/** - * Lead Source - * @member {String} LeadSource - */ -Contact.prototype['LeadSource'] = undefined; - -/** - * LinkedIn Page - * @member {String} LinkedIn - */ -Contact.prototype['LinkedIn'] = undefined; - -/** - * @member {module:model/Address} MailingAddress - */ -Contact.prototype['MailingAddress'] = undefined; - -/** - * Mobile Phone - * @member {String} MobilePhone - */ -Contact.prototype['MobilePhone'] = undefined; - -/** - * Full Name - * @member {String} Name - */ -Contact.prototype['Name'] = undefined; - -/** - * @member {module:model/Address} OtherAddress - */ -Contact.prototype['OtherAddress'] = undefined; - -/** - * Other Phone - * @member {String} OtherPhone - */ -Contact.prototype['OtherPhone'] = undefined; - -/** - * The User ID of the user who owns this Contact - * @member {String} OwnerID - */ -Contact.prototype['OwnerID'] = undefined; - -/** - * Personal Email Address for this Contact - * @member {String} PersonalEmail - */ -Contact.prototype['PersonalEmail'] = undefined; - -/** - * Phone Number - * @member {String} Phone - */ -Contact.prototype['Phone'] = undefined; - -/** - * URL of a photograph of this User - * @member {String} PhotoURL - */ -Contact.prototype['PhotoURL'] = undefined; - -/** - * Contact Title - * @member {String} Title - */ -Contact.prototype['Title'] = undefined; - -/** - * @member {String} Twitter - */ -Contact.prototype['Twitter'] = undefined; - - - - - - -export default Contact; - diff --git a/client/sf-gate/src/model/ContactRequest.js b/client/sf-gate/src/model/ContactRequest.js deleted file mode 100644 index 2e4030f..0000000 --- a/client/sf-gate/src/model/ContactRequest.js +++ /dev/null @@ -1,85 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Contact from './Contact'; -import RequestMeta from './RequestMeta'; - -/** - * The ContactRequest model module. - * @module model/ContactRequest - * @version 0.0.2 - */ -class ContactRequest { - /** - * Constructs a new ContactRequest. - * @alias module:model/ContactRequest - * @param data {Array.} - * @param meta {module:model/RequestMeta} - */ - constructor(data, meta) { - - ContactRequest.initialize(this, data, meta); - } - - /** - * 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, data, meta) { - obj['data'] = data; - obj['meta'] = meta; - } - - /** - * Constructs a ContactRequest 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/ContactRequest} obj Optional instance to populate. - * @return {module:model/ContactRequest} The populated ContactRequest instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new ContactRequest(); - - if (data.hasOwnProperty('data')) { - obj['data'] = ApiClient.convertToType(data['data'], [Contact]); - } - if (data.hasOwnProperty('meta')) { - obj['meta'] = RequestMeta.constructFromObject(data['meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} data - */ -ContactRequest.prototype['data'] = undefined; - -/** - * @member {module:model/RequestMeta} meta - */ -ContactRequest.prototype['meta'] = undefined; - - - - - - -export default ContactRequest; - diff --git a/client/sf-gate/src/model/ContactResponse.js b/client/sf-gate/src/model/ContactResponse.js deleted file mode 100644 index ed5f221..0000000 --- a/client/sf-gate/src/model/ContactResponse.js +++ /dev/null @@ -1,81 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Contact from './Contact'; -import ResponseMeta from './ResponseMeta'; - -/** - * The ContactResponse model module. - * @module model/ContactResponse - * @version 0.0.2 - */ -class ContactResponse { - /** - * Constructs a new ContactResponse. - * @alias module:model/ContactResponse - */ - constructor() { - - ContactResponse.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 ContactResponse 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/ContactResponse} obj Optional instance to populate. - * @return {module:model/ContactResponse} The populated ContactResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new ContactResponse(); - - if (data.hasOwnProperty('data')) { - obj['data'] = ApiClient.convertToType(data['data'], [Contact]); - } - if (data.hasOwnProperty('meta')) { - obj['meta'] = ResponseMeta.constructFromObject(data['meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} data - */ -ContactResponse.prototype['data'] = undefined; - -/** - * @member {module:model/ResponseMeta} meta - */ -ContactResponse.prototype['meta'] = undefined; - - - - - - -export default ContactResponse; - diff --git a/client/sf-gate/src/model/Contract.js b/client/sf-gate/src/model/Contract.js deleted file mode 100644 index c211b00..0000000 --- a/client/sf-gate/src/model/Contract.js +++ /dev/null @@ -1,332 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Address from './Address'; - -/** - * The Contract model module. - * @module model/Contract - * @version 0.0.2 - */ -class Contract { - /** - * Constructs a new Contract. - * @alias module:model/Contract - */ - constructor() { - - Contract.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 Contract 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/Contract} obj Optional instance to populate. - * @return {module:model/Contract} The populated Contract instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Contract(); - - if (data.hasOwnProperty('AccountID')) { - obj['AccountID'] = ApiClient.convertToType(data['AccountID'], 'String'); - } - if (data.hasOwnProperty('ActivatedByID')) { - obj['ActivatedByID'] = ApiClient.convertToType(data['ActivatedByID'], 'String'); - } - if (data.hasOwnProperty('ActivatedDate')) { - obj['ActivatedDate'] = ApiClient.convertToType(data['ActivatedDate'], 'String'); - } - if (data.hasOwnProperty('BillingAddress')) { - obj['BillingAddress'] = Address.constructFromObject(data['BillingAddress']); - } - if (data.hasOwnProperty('BillingContactID')) { - obj['BillingContactID'] = ApiClient.convertToType(data['BillingContactID'], 'String'); - } - if (data.hasOwnProperty('CompanySignedDate')) { - obj['CompanySignedDate'] = ApiClient.convertToType(data['CompanySignedDate'], 'String'); - } - if (data.hasOwnProperty('CompanySignedID')) { - obj['CompanySignedID'] = ApiClient.convertToType(data['CompanySignedID'], 'String'); - } - if (data.hasOwnProperty('ContractNumber')) { - obj['ContractNumber'] = ApiClient.convertToType(data['ContractNumber'], 'String'); - } - if (data.hasOwnProperty('ContractTerm')) { - obj['ContractTerm'] = ApiClient.convertToType(data['ContractTerm'], 'Number'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('CustomerSignedDate')) { - obj['CustomerSignedDate'] = ApiClient.convertToType(data['CustomerSignedDate'], 'String'); - } - if (data.hasOwnProperty('CustomerSignedID')) { - obj['CustomerSignedID'] = ApiClient.convertToType(data['CustomerSignedID'], 'String'); - } - if (data.hasOwnProperty('CustomerSignedTitle')) { - obj['CustomerSignedTitle'] = ApiClient.convertToType(data['CustomerSignedTitle'], 'String'); - } - if (data.hasOwnProperty('DefaultEndUserID')) { - obj['DefaultEndUserID'] = ApiClient.convertToType(data['DefaultEndUserID'], 'String'); - } - if (data.hasOwnProperty('Description')) { - obj['Description'] = ApiClient.convertToType(data['Description'], 'String'); - } - if (data.hasOwnProperty('EndDate')) { - obj['EndDate'] = ApiClient.convertToType(data['EndDate'], 'String'); - } - if (data.hasOwnProperty('HourlyRate')) { - obj['HourlyRate'] = ApiClient.convertToType(data['HourlyRate'], 'Number'); - } - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('Name')) { - obj['Name'] = ApiClient.convertToType(data['Name'], 'String'); - } - if (data.hasOwnProperty('PaymentMethodID')) { - obj['PaymentMethodID'] = ApiClient.convertToType(data['PaymentMethodID'], 'String'); - } - if (data.hasOwnProperty('PaymentTerms')) { - obj['PaymentTerms'] = ApiClient.convertToType(data['PaymentTerms'], 'String'); - } - if (data.hasOwnProperty('Perpetual')) { - obj['Perpetual'] = ApiClient.convertToType(data['Perpetual'], 'Boolean'); - } - if (data.hasOwnProperty('ShippingAddress')) { - obj['ShippingAddress'] = Address.constructFromObject(data['ShippingAddress']); - } - if (data.hasOwnProperty('ShippingContactID')) { - obj['ShippingContactID'] = ApiClient.convertToType(data['ShippingContactID'], 'String'); - } - if (data.hasOwnProperty('StartDate')) { - obj['StartDate'] = ApiClient.convertToType(data['StartDate'], 'String'); - } - if (data.hasOwnProperty('Status')) { - obj['Status'] = ApiClient.convertToType(data['Status'], 'String'); - } - if (data.hasOwnProperty('TenantID')) { - obj['TenantID'] = ApiClient.convertToType(data['TenantID'], 'String'); - } - } - return obj; - } - - -} - -/** - * Account - * @member {String} AccountID - */ -Contract.prototype['AccountID'] = undefined; - -/** - * Activated By - * @member {String} ActivatedByID - */ -Contract.prototype['ActivatedByID'] = undefined; - -/** - * Activated Date - * @member {String} ActivatedDate - */ -Contract.prototype['ActivatedDate'] = undefined; - -/** - * @member {module:model/Address} BillingAddress - */ -Contract.prototype['BillingAddress'] = undefined; - -/** - * Billing Contact - * @member {String} BillingContactID - */ -Contract.prototype['BillingContactID'] = undefined; - -/** - * Company Signed Date - * @member {String} CompanySignedDate - */ -Contract.prototype['CompanySignedDate'] = undefined; - -/** - * Company Signed By - * @member {String} CompanySignedID - */ -Contract.prototype['CompanySignedID'] = undefined; - -/** - * Contract Number - * @member {String} ContractNumber - */ -Contract.prototype['ContractNumber'] = undefined; - -/** - * Contract Term (months) - * @member {Number} ContractTerm - */ -Contract.prototype['ContractTerm'] = undefined; - -/** - * Created By User ID - * @member {String} CreatedByID - */ -Contract.prototype['CreatedByID'] = undefined; - -/** - * Created Date - * @member {String} CreatedDate - */ -Contract.prototype['CreatedDate'] = undefined; - -/** - * Customer Signed Date - * @member {String} CustomerSignedDate - */ -Contract.prototype['CustomerSignedDate'] = undefined; - -/** - * Customer Signed By - * @member {String} CustomerSignedID - */ -Contract.prototype['CustomerSignedID'] = undefined; - -/** - * Customer Signed Title - * @member {String} CustomerSignedTitle - */ -Contract.prototype['CustomerSignedTitle'] = undefined; - -/** - * End User - * @member {String} DefaultEndUserID - */ -Contract.prototype['DefaultEndUserID'] = undefined; - -/** - * Description - * @member {String} Description - */ -Contract.prototype['Description'] = undefined; - -/** - * Contract End Date - * @member {String} EndDate - */ -Contract.prototype['EndDate'] = undefined; - -/** - * Hourly Rate - * @member {Number} HourlyRate - */ -Contract.prototype['HourlyRate'] = undefined; - -/** - * Telnexus Record Id - * @member {String} ID - */ -Contract.prototype['ID'] = undefined; - -/** - * Last Modified By User ID - * @member {String} LastModifiedByID - */ -Contract.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modified Date - * @member {String} LastModifiedDate - */ -Contract.prototype['LastModifiedDate'] = undefined; - -/** - * Contract Name - * @member {String} Name - */ -Contract.prototype['Name'] = undefined; - -/** - * Payment Method - * @member {String} PaymentMethodID - */ -Contract.prototype['PaymentMethodID'] = undefined; - -/** - * Payment Terms - * @member {String} PaymentTerms - */ -Contract.prototype['PaymentTerms'] = undefined; - -/** - * Perpetual Agreement? - * @member {Boolean} Perpetual - */ -Contract.prototype['Perpetual'] = undefined; - -/** - * @member {module:model/Address} ShippingAddress - */ -Contract.prototype['ShippingAddress'] = undefined; - -/** - * Shipping Contact - * @member {String} ShippingContactID - */ -Contract.prototype['ShippingContactID'] = undefined; - -/** - * Contract Start Date - * @member {String} StartDate - */ -Contract.prototype['StartDate'] = undefined; - -/** - * Status - * @member {String} Status - */ -Contract.prototype['Status'] = undefined; - -/** - * Tenant Identifier - * @member {String} TenantID - */ -Contract.prototype['TenantID'] = undefined; - - - - - - -export default Contract; - diff --git a/client/sf-gate/src/model/ContractRequest.js b/client/sf-gate/src/model/ContractRequest.js deleted file mode 100644 index 4aee39e..0000000 --- a/client/sf-gate/src/model/ContractRequest.js +++ /dev/null @@ -1,72 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Contract from './Contract'; - -/** - * The ContractRequest model module. - * @module model/ContractRequest - * @version 0.0.2 - */ -class ContractRequest { - /** - * Constructs a new ContractRequest. - * @alias module:model/ContractRequest - */ - constructor() { - - ContractRequest.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 ContractRequest 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/ContractRequest} obj Optional instance to populate. - * @return {module:model/ContractRequest} The populated ContractRequest instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new ContractRequest(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Contract]); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -ContractRequest.prototype['Data'] = undefined; - - - - - - -export default ContractRequest; - diff --git a/client/sf-gate/src/model/ContractResponse.js b/client/sf-gate/src/model/ContractResponse.js deleted file mode 100644 index 118f8be..0000000 --- a/client/sf-gate/src/model/ContractResponse.js +++ /dev/null @@ -1,81 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Contract from './Contract'; -import ResponseMeta from './ResponseMeta'; - -/** - * The ContractResponse model module. - * @module model/ContractResponse - * @version 0.0.2 - */ -class ContractResponse { - /** - * Constructs a new ContractResponse. - * @alias module:model/ContractResponse - */ - constructor() { - - ContractResponse.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 ContractResponse 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/ContractResponse} obj Optional instance to populate. - * @return {module:model/ContractResponse} The populated ContractResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new ContractResponse(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Contract]); - } - if (data.hasOwnProperty('Meta')) { - obj['Meta'] = ResponseMeta.constructFromObject(data['Meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -ContractResponse.prototype['Data'] = undefined; - -/** - * @member {module:model/ResponseMeta} Meta - */ -ContractResponse.prototype['Meta'] = undefined; - - - - - - -export default ContractResponse; - diff --git a/client/sf-gate/src/model/Database.js b/client/sf-gate/src/model/Database.js deleted file mode 100644 index 3c1fdb7..0000000 --- a/client/sf-gate/src/model/Database.js +++ /dev/null @@ -1,181 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Database model module. - * @module model/Database - * @version 0.0.2 - */ -class Database { - /** - * Constructs a new Database. - * A Database provisioned and owned by a Tenant - * @alias module:model/Database - */ - constructor() { - - Database.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 Database 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/Database} obj Optional instance to populate. - * @return {module:model/Database} The populated Database instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Database(); - - if (data.hasOwnProperty('active')) { - obj['active'] = ApiClient.convertToType(data['active'], 'Boolean'); - } - if (data.hasOwnProperty('clusterid')) { - obj['clusterid'] = ApiClient.convertToType(data['clusterid'], 'String'); - } - if (data.hasOwnProperty('createdbyid')) { - obj['createdbyid'] = ApiClient.convertToType(data['createdbyid'], 'String'); - } - if (data.hasOwnProperty('createddate')) { - obj['createddate'] = ApiClient.convertToType(data['createddate'], 'String'); - } - if (data.hasOwnProperty('databasename')) { - obj['databasename'] = ApiClient.convertToType(data['databasename'], 'String'); - } - if (data.hasOwnProperty('dsn')) { - obj['dsn'] = ApiClient.convertToType(data['dsn'], 'String'); - } - if (data.hasOwnProperty('id')) { - obj['id'] = ApiClient.convertToType(data['id'], 'String'); - } - if (data.hasOwnProperty('lastmodifiedbyid')) { - obj['lastmodifiedbyid'] = ApiClient.convertToType(data['lastmodifiedbyid'], 'String'); - } - if (data.hasOwnProperty('lastmodifieddate')) { - obj['lastmodifieddate'] = ApiClient.convertToType(data['lastmodifieddate'], 'String'); - } - if (data.hasOwnProperty('microservices')) { - obj['microservices'] = ApiClient.convertToType(data['microservices'], 'String'); - } - if (data.hasOwnProperty('status')) { - obj['status'] = ApiClient.convertToType(data['status'], 'String'); - } - if (data.hasOwnProperty('tenantid')) { - obj['tenantid'] = ApiClient.convertToType(data['tenantid'], 'String'); - } - if (data.hasOwnProperty('type')) { - obj['type'] = ApiClient.convertToType(data['type'], 'String'); - } - } - return obj; - } - - -} - -/** - * Is this database active? - * @member {Boolean} active - */ -Database.prototype['active'] = undefined; - -/** - * The ID of the Cluster in which this database is deployed - * @member {String} clusterid - */ -Database.prototype['clusterid'] = undefined; - -/** - * Created By - * @member {String} createdbyid - */ -Database.prototype['createdbyid'] = undefined; - -/** - * Created Date - * @member {String} createddate - */ -Database.prototype['createddate'] = undefined; - -/** - * The name of the physical database in the cluster - * @member {String} databasename - */ -Database.prototype['databasename'] = undefined; - -/** - * Database connection string - * @member {String} dsn - */ -Database.prototype['dsn'] = undefined; - -/** - * Record Id - * @member {String} id - */ -Database.prototype['id'] = undefined; - -/** - * Last Modified By - * @member {String} lastmodifiedbyid - */ -Database.prototype['lastmodifiedbyid'] = undefined; - -/** - * Last Modifed Date - * @member {String} lastmodifieddate - */ -Database.prototype['lastmodifieddate'] = undefined; - -/** - * List of Taxnexus microservices implemented by this Database - * @member {String} microservices - */ -Database.prototype['microservices'] = undefined; - -/** - * The current status of this Tenant - * @member {String} status - */ -Database.prototype['status'] = undefined; - -/** - * The ID of the tenant who owns this Database - * @member {String} tenantid - */ -Database.prototype['tenantid'] = undefined; - -/** - * The type of Database (mysql, etc) - * @member {String} type - */ -Database.prototype['type'] = undefined; - - - - - - -export default Database; - diff --git a/client/sf-gate/src/model/DatabaseRequest.js b/client/sf-gate/src/model/DatabaseRequest.js deleted file mode 100644 index 37a7f16..0000000 --- a/client/sf-gate/src/model/DatabaseRequest.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Database from './Database'; -import RequestMeta from './RequestMeta'; - -/** - * The DatabaseRequest model module. - * @module model/DatabaseRequest - * @version 0.0.2 - */ -class DatabaseRequest { - /** - * Constructs a new DatabaseRequest. - * An array of Database objects - * @alias module:model/DatabaseRequest - */ - constructor() { - - DatabaseRequest.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 DatabaseRequest 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/DatabaseRequest} obj Optional instance to populate. - * @return {module:model/DatabaseRequest} The populated DatabaseRequest instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new DatabaseRequest(); - - if (data.hasOwnProperty('data')) { - obj['data'] = ApiClient.convertToType(data['data'], [Database]); - } - if (data.hasOwnProperty('meta')) { - obj['meta'] = RequestMeta.constructFromObject(data['meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} data - */ -DatabaseRequest.prototype['data'] = undefined; - -/** - * @member {module:model/RequestMeta} meta - */ -DatabaseRequest.prototype['meta'] = undefined; - - - - - - -export default DatabaseRequest; - diff --git a/client/sf-gate/src/model/DatabaseResponse.js b/client/sf-gate/src/model/DatabaseResponse.js deleted file mode 100644 index f333a78..0000000 --- a/client/sf-gate/src/model/DatabaseResponse.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Database from './Database'; -import ResponseMeta from './ResponseMeta'; - -/** - * The DatabaseResponse model module. - * @module model/DatabaseResponse - * @version 0.0.2 - */ -class DatabaseResponse { - /** - * Constructs a new DatabaseResponse. - * An array of Database objects - * @alias module:model/DatabaseResponse - */ - constructor() { - - DatabaseResponse.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 DatabaseResponse 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/DatabaseResponse} obj Optional instance to populate. - * @return {module:model/DatabaseResponse} The populated DatabaseResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new DatabaseResponse(); - - if (data.hasOwnProperty('data')) { - obj['data'] = ApiClient.convertToType(data['data'], [Database]); - } - if (data.hasOwnProperty('meta')) { - obj['meta'] = ResponseMeta.constructFromObject(data['meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} data - */ -DatabaseResponse.prototype['data'] = undefined; - -/** - * @member {module:model/ResponseMeta} meta - */ -DatabaseResponse.prototype['meta'] = undefined; - - - - - - -export default DatabaseResponse; - diff --git a/client/sf-gate/src/model/DeleteResponse.js b/client/sf-gate/src/model/DeleteResponse.js deleted file mode 100644 index 4cbca36..0000000 --- a/client/sf-gate/src/model/DeleteResponse.js +++ /dev/null @@ -1,81 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Message from './Message'; -import ResponseMeta from './ResponseMeta'; - -/** - * The DeleteResponse model module. - * @module model/DeleteResponse - * @version 0.0.2 - */ -class DeleteResponse { - /** - * Constructs a new DeleteResponse. - * @alias module:model/DeleteResponse - */ - constructor() { - - DeleteResponse.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 DeleteResponse 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/DeleteResponse} obj Optional instance to populate. - * @return {module:model/DeleteResponse} The populated DeleteResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new DeleteResponse(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Message]); - } - if (data.hasOwnProperty('Meta')) { - obj['Meta'] = ResponseMeta.constructFromObject(data['Meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -DeleteResponse.prototype['Data'] = undefined; - -/** - * @member {module:model/ResponseMeta} Meta - */ -DeleteResponse.prototype['Meta'] = undefined; - - - - - - -export default DeleteResponse; - diff --git a/client/sf-gate/src/model/Error.js b/client/sf-gate/src/model/Error.js deleted file mode 100644 index 7512064..0000000 --- a/client/sf-gate/src/model/Error.js +++ /dev/null @@ -1,87 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Error model module. - * @module model/Error - * @version 0.0.2 - */ -class Error { - /** - * Constructs a new Error. - * @alias module:model/Error - */ - constructor() { - - Error.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 Error 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/Error} obj Optional instance to populate. - * @return {module:model/Error} The populated Error instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Error(); - - if (data.hasOwnProperty('Code')) { - obj['Code'] = ApiClient.convertToType(data['Code'], 'Number'); - } - if (data.hasOwnProperty('Fields')) { - obj['Fields'] = ApiClient.convertToType(data['Fields'], 'String'); - } - if (data.hasOwnProperty('Message')) { - obj['Message'] = ApiClient.convertToType(data['Message'], 'String'); - } - } - return obj; - } - - -} - -/** - * @member {Number} Code - */ -Error.prototype['Code'] = undefined; - -/** - * @member {String} Fields - */ -Error.prototype['Fields'] = undefined; - -/** - * @member {String} Message - */ -Error.prototype['Message'] = undefined; - - - - - - -export default Error; - diff --git a/client/sf-gate/src/model/Industry.js b/client/sf-gate/src/model/Industry.js deleted file mode 100644 index 2770e3c..0000000 --- a/client/sf-gate/src/model/Industry.js +++ /dev/null @@ -1,172 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Industry model module. - * @module model/Industry - * @version 0.0.2 - */ -class Industry { - /** - * Constructs a new Industry. - * An industry that is being researched - * @alias module:model/Industry - */ - constructor() { - - Industry.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 Industry 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/Industry} obj Optional instance to populate. - * @return {module:model/Industry} The populated Industry instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Industry(); - - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], '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('ParentIndustryID')) { - obj['ParentIndustryID'] = ApiClient.convertToType(data['ParentIndustryID'], 'String'); - } - if (data.hasOwnProperty('Level')) { - obj['Level'] = ApiClient.convertToType(data['Level'], 'String'); - } - if (data.hasOwnProperty('Path')) { - obj['Path'] = ApiClient.convertToType(data['Path'], 'String'); - } - if (data.hasOwnProperty('Slug')) { - obj['Slug'] = ApiClient.convertToType(data['Slug'], 'String'); - } - if (data.hasOwnProperty('SiteURL')) { - obj['SiteURL'] = ApiClient.convertToType(data['SiteURL'], 'String'); - } - } - return obj; - } - - -} - -/** - * Taxnexus Record Id - * @member {String} ID - */ -Industry.prototype['ID'] = undefined; - -/** - * Created By User ID - * @member {String} CreatedByID - */ -Industry.prototype['CreatedByID'] = undefined; - -/** - * Created Date - * @member {String} CreatedDate - */ -Industry.prototype['CreatedDate'] = undefined; - -/** - * Last Modified By User ID - * @member {String} LastModifiedByID - */ -Industry.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modified Date - * @member {String} LastModifiedDate - */ -Industry.prototype['LastModifiedDate'] = undefined; - -/** - * Industry Name - * @member {String} Name - */ -Industry.prototype['Name'] = undefined; - -/** - * Industry Description - * @member {String} Description - */ -Industry.prototype['Description'] = undefined; - -/** - * The ID of the Parent Industry - * @member {String} ParentIndustryID - */ -Industry.prototype['ParentIndustryID'] = undefined; - -/** - * The hierarchical level of this Industry - * @member {String} Level - */ -Industry.prototype['Level'] = undefined; - -/** - * The full path of this industry, including Parent - * @member {String} Path - */ -Industry.prototype['Path'] = undefined; - -/** - * The CMS Slug for this Industry - * @member {String} Slug - */ -Industry.prototype['Slug'] = undefined; - -/** - * The URL of the corresponding page on the CMS - * @member {String} SiteURL - */ -Industry.prototype['SiteURL'] = undefined; - - - - - - -export default Industry; - diff --git a/client/sf-gate/src/model/IndustryProduct.js b/client/sf-gate/src/model/IndustryProduct.js deleted file mode 100644 index 8a01fd0..0000000 --- a/client/sf-gate/src/model/IndustryProduct.js +++ /dev/null @@ -1,133 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 IndustryProduct model module. - * @module model/IndustryProduct - * @version 0.0.2 - */ -class IndustryProduct { - /** - * Constructs a new IndustryProduct. - * Junction object between Industry and CompanyProduct - * @alias module:model/IndustryProduct - */ - constructor() { - - IndustryProduct.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 IndustryProduct 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/IndustryProduct} obj Optional instance to populate. - * @return {module:model/IndustryProduct} The populated IndustryProduct instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new IndustryProduct(); - - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('IndustryID')) { - obj['IndustryID'] = ApiClient.convertToType(data['IndustryID'], 'String'); - } - if (data.hasOwnProperty('HTML')) { - obj['HTML'] = ApiClient.convertToType(data['HTML'], 'String'); - } - if (data.hasOwnProperty('CompanyProductID')) { - obj['CompanyProductID'] = ApiClient.convertToType(data['CompanyProductID'], 'String'); - } - } - return obj; - } - - -} - -/** - * Taxnexus Record Id - * @member {String} ID - */ -IndustryProduct.prototype['ID'] = undefined; - -/** - * Created By User ID - * @member {String} CreatedByID - */ -IndustryProduct.prototype['CreatedByID'] = undefined; - -/** - * Created Date - * @member {String} CreatedDate - */ -IndustryProduct.prototype['CreatedDate'] = undefined; - -/** - * Last Modified By User ID - * @member {String} LastModifiedByID - */ -IndustryProduct.prototype['LastModifiedByID'] = undefined; - -/** - * Last Modified Date - * @member {String} LastModifiedDate - */ -IndustryProduct.prototype['LastModifiedDate'] = undefined; - -/** - * @member {String} IndustryID - */ -IndustryProduct.prototype['IndustryID'] = undefined; - -/** - * @member {String} HTML - */ -IndustryProduct.prototype['HTML'] = undefined; - -/** - * @member {String} CompanyProductID - */ -IndustryProduct.prototype['CompanyProductID'] = undefined; - - - - - - -export default IndustryProduct; - diff --git a/client/sf-gate/src/model/IndustryProductRequest.js b/client/sf-gate/src/model/IndustryProductRequest.js deleted file mode 100644 index a6fa4ae..0000000 --- a/client/sf-gate/src/model/IndustryProductRequest.js +++ /dev/null @@ -1,73 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 IndustryProduct from './IndustryProduct'; - -/** - * The IndustryProductRequest model module. - * @module model/IndustryProductRequest - * @version 0.0.2 - */ -class IndustryProductRequest { - /** - * Constructs a new IndustryProductRequest. - * An array of IndustryProduct objects submitted for processing - * @alias module:model/IndustryProductRequest - */ - constructor() { - - IndustryProductRequest.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 IndustryProductRequest 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/IndustryProductRequest} obj Optional instance to populate. - * @return {module:model/IndustryProductRequest} The populated IndustryProductRequest instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new IndustryProductRequest(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [IndustryProduct]); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -IndustryProductRequest.prototype['Data'] = undefined; - - - - - - -export default IndustryProductRequest; - diff --git a/client/sf-gate/src/model/IndustryProductResponse.js b/client/sf-gate/src/model/IndustryProductResponse.js deleted file mode 100644 index da0aae5..0000000 --- a/client/sf-gate/src/model/IndustryProductResponse.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 IndustryProduct from './IndustryProduct'; -import ResponseMeta from './ResponseMeta'; - -/** - * The IndustryProductResponse model module. - * @module model/IndustryProductResponse - * @version 0.0.2 - */ -class IndustryProductResponse { - /** - * Constructs a new IndustryProductResponse. - * An array of IndustryProduct objects produced in response to a request - * @alias module:model/IndustryProductResponse - */ - constructor() { - - IndustryProductResponse.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 IndustryProductResponse 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/IndustryProductResponse} obj Optional instance to populate. - * @return {module:model/IndustryProductResponse} The populated IndustryProductResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new IndustryProductResponse(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [IndustryProduct]); - } - if (data.hasOwnProperty('Meta')) { - obj['Meta'] = ResponseMeta.constructFromObject(data['Meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -IndustryProductResponse.prototype['Data'] = undefined; - -/** - * @member {module:model/ResponseMeta} Meta - */ -IndustryProductResponse.prototype['Meta'] = undefined; - - - - - - -export default IndustryProductResponse; - diff --git a/client/sf-gate/src/model/IndustryRequest.js b/client/sf-gate/src/model/IndustryRequest.js deleted file mode 100644 index f1a1f94..0000000 --- a/client/sf-gate/src/model/IndustryRequest.js +++ /dev/null @@ -1,73 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Industry from './Industry'; - -/** - * The IndustryRequest model module. - * @module model/IndustryRequest - * @version 0.0.2 - */ -class IndustryRequest { - /** - * Constructs a new IndustryRequest. - * An array of Industry objects submitted for processing - * @alias module:model/IndustryRequest - */ - constructor() { - - IndustryRequest.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 IndustryRequest 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/IndustryRequest} obj Optional instance to populate. - * @return {module:model/IndustryRequest} The populated IndustryRequest instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new IndustryRequest(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Industry]); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -IndustryRequest.prototype['Data'] = undefined; - - - - - - -export default IndustryRequest; - diff --git a/client/sf-gate/src/model/IndustryResponse.js b/client/sf-gate/src/model/IndustryResponse.js deleted file mode 100644 index 4fae0a2..0000000 --- a/client/sf-gate/src/model/IndustryResponse.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Industry from './Industry'; -import ResponseMeta from './ResponseMeta'; - -/** - * The IndustryResponse model module. - * @module model/IndustryResponse - * @version 0.0.2 - */ -class IndustryResponse { - /** - * Constructs a new IndustryResponse. - * An array of Industry objects produced in response to a request - * @alias module:model/IndustryResponse - */ - constructor() { - - IndustryResponse.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 IndustryResponse 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/IndustryResponse} obj Optional instance to populate. - * @return {module:model/IndustryResponse} The populated IndustryResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new IndustryResponse(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Industry]); - } - if (data.hasOwnProperty('Meta')) { - obj['Meta'] = ResponseMeta.constructFromObject(data['Meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -IndustryResponse.prototype['Data'] = undefined; - -/** - * @member {module:model/ResponseMeta} Meta - */ -IndustryResponse.prototype['Meta'] = undefined; - - - - - - -export default IndustryResponse; - diff --git a/client/sf-gate/src/model/InvalidError.js b/client/sf-gate/src/model/InvalidError.js deleted file mode 100644 index 05d9df3..0000000 --- a/client/sf-gate/src/model/InvalidError.js +++ /dev/null @@ -1,119 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Error from './Error'; -import InvalidErrorAllOf from './InvalidErrorAllOf'; - -/** - * The InvalidError model module. - * @module model/InvalidError - * @version 0.0.2 - */ -class InvalidError { - /** - * Constructs a new InvalidError. - * @alias module:model/InvalidError - * @implements module:model/Error - * @implements module:model/InvalidErrorAllOf - */ - constructor() { - Error.initialize(this);InvalidErrorAllOf.initialize(this); - InvalidError.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 InvalidError 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/InvalidError} obj Optional instance to populate. - * @return {module:model/InvalidError} The populated InvalidError instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new InvalidError(); - Error.constructFromObject(data, obj); - InvalidErrorAllOf.constructFromObject(data, obj); - - if (data.hasOwnProperty('Code')) { - obj['Code'] = ApiClient.convertToType(data['Code'], 'Number'); - } - if (data.hasOwnProperty('Fields')) { - obj['Fields'] = ApiClient.convertToType(data['Fields'], 'String'); - } - if (data.hasOwnProperty('Message')) { - obj['Message'] = ApiClient.convertToType(data['Message'], 'String'); - } - if (data.hasOwnProperty('details')) { - obj['details'] = ApiClient.convertToType(data['details'], ['String']); - } - } - return obj; - } - - -} - -/** - * @member {Number} Code - */ -InvalidError.prototype['Code'] = undefined; - -/** - * @member {String} Fields - */ -InvalidError.prototype['Fields'] = undefined; - -/** - * @member {String} Message - */ -InvalidError.prototype['Message'] = undefined; - -/** - * @member {Array.} details - */ -InvalidError.prototype['details'] = undefined; - - -// Implement Error interface: -/** - * @member {Number} Code - */ -Error.prototype['Code'] = undefined; -/** - * @member {String} Fields - */ -Error.prototype['Fields'] = undefined; -/** - * @member {String} Message - */ -Error.prototype['Message'] = undefined; -// Implement InvalidErrorAllOf interface: -/** - * @member {Array.} details - */ -InvalidErrorAllOf.prototype['details'] = undefined; - - - - -export default InvalidError; - diff --git a/client/sf-gate/src/model/InvalidErrorAllOf.js b/client/sf-gate/src/model/InvalidErrorAllOf.js deleted file mode 100644 index 441fcce..0000000 --- a/client/sf-gate/src/model/InvalidErrorAllOf.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 InvalidErrorAllOf model module. - * @module model/InvalidErrorAllOf - * @version 0.0.2 - */ -class InvalidErrorAllOf { - /** - * Constructs a new InvalidErrorAllOf. - * @alias module:model/InvalidErrorAllOf - */ - constructor() { - - InvalidErrorAllOf.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 InvalidErrorAllOf 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/InvalidErrorAllOf} obj Optional instance to populate. - * @return {module:model/InvalidErrorAllOf} The populated InvalidErrorAllOf instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new InvalidErrorAllOf(); - - if (data.hasOwnProperty('details')) { - obj['details'] = ApiClient.convertToType(data['details'], ['String']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} details - */ -InvalidErrorAllOf.prototype['details'] = undefined; - - - - - - -export default InvalidErrorAllOf; - diff --git a/client/sf-gate/src/model/Message.js b/client/sf-gate/src/model/Message.js deleted file mode 100644 index 898a968..0000000 --- a/client/sf-gate/src/model/Message.js +++ /dev/null @@ -1,87 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Message model module. - * @module model/Message - * @version 0.0.2 - */ -class Message { - /** - * Constructs a new Message. - * @alias module:model/Message - */ - constructor() { - - Message.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 Message 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/Message} obj Optional instance to populate. - * @return {module:model/Message} The populated Message instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Message(); - - if (data.hasOwnProperty('message')) { - obj['message'] = ApiClient.convertToType(data['message'], 'String'); - } - if (data.hasOwnProperty('ref')) { - obj['ref'] = ApiClient.convertToType(data['ref'], 'String'); - } - if (data.hasOwnProperty('status')) { - obj['status'] = ApiClient.convertToType(data['status'], 'Number'); - } - } - return obj; - } - - -} - -/** - * @member {String} message - */ -Message.prototype['message'] = undefined; - -/** - * @member {String} ref - */ -Message.prototype['ref'] = undefined; - -/** - * @member {Number} status - */ -Message.prototype['status'] = undefined; - - - - - - -export default Message; - diff --git a/client/sf-gate/src/model/Pagination.js b/client/sf-gate/src/model/Pagination.js deleted file mode 100644 index c5eebec..0000000 --- a/client/sf-gate/src/model/Pagination.js +++ /dev/null @@ -1,95 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Pagination model module. - * @module model/Pagination - * @version 0.0.2 - */ -class Pagination { - /** - * Constructs a new Pagination. - * @alias module:model/Pagination - */ - constructor() { - - Pagination.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 Pagination 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/Pagination} obj Optional instance to populate. - * @return {module:model/Pagination} The populated Pagination instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Pagination(); - - if (data.hasOwnProperty('limit')) { - obj['limit'] = ApiClient.convertToType(data['limit'], 'Number'); - } - if (data.hasOwnProperty('pagesize')) { - obj['pagesize'] = ApiClient.convertToType(data['pagesize'], 'Number'); - } - if (data.hasOwnProperty('poffset')) { - obj['poffset'] = ApiClient.convertToType(data['poffset'], 'Number'); - } - if (data.hasOwnProperty('setsize')) { - obj['setsize'] = ApiClient.convertToType(data['setsize'], 'Number'); - } - } - return obj; - } - - -} - -/** - * @member {Number} limit - */ -Pagination.prototype['limit'] = undefined; - -/** - * @member {Number} pagesize - */ -Pagination.prototype['pagesize'] = undefined; - -/** - * @member {Number} poffset - */ -Pagination.prototype['poffset'] = undefined; - -/** - * @member {Number} setsize - */ -Pagination.prototype['setsize'] = undefined; - - - - - - -export default Pagination; - diff --git a/client/sf-gate/src/model/RequestMeta.js b/client/sf-gate/src/model/RequestMeta.js deleted file mode 100644 index e2146a4..0000000 --- a/client/sf-gate/src/model/RequestMeta.js +++ /dev/null @@ -1,74 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 RequestMeta model module. - * @module model/RequestMeta - * @version 0.0.2 - */ -class RequestMeta { - /** - * Constructs a new RequestMeta. - * @alias module:model/RequestMeta - * @param taxnexusAccount {String} Taxnexus Account Number of the Reseller or OEM - */ - constructor(taxnexusAccount) { - - RequestMeta.initialize(this, taxnexusAccount); - } - - /** - * 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, taxnexusAccount) { - obj['TaxnexusAccount'] = taxnexusAccount; - } - - /** - * Constructs a RequestMeta 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/RequestMeta} obj Optional instance to populate. - * @return {module:model/RequestMeta} The populated RequestMeta instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new RequestMeta(); - - if (data.hasOwnProperty('TaxnexusAccount')) { - obj['TaxnexusAccount'] = ApiClient.convertToType(data['TaxnexusAccount'], 'String'); - } - } - return obj; - } - - -} - -/** - * Taxnexus Account Number of the Reseller or OEM - * @member {String} TaxnexusAccount - */ -RequestMeta.prototype['TaxnexusAccount'] = undefined; - - - - - - -export default RequestMeta; - diff --git a/client/sf-gate/src/model/ResponseMeta.js b/client/sf-gate/src/model/ResponseMeta.js deleted file mode 100644 index 5f9f91b..0000000 --- a/client/sf-gate/src/model/ResponseMeta.js +++ /dev/null @@ -1,171 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Pagination from './Pagination'; - -/** - * The ResponseMeta model module. - * @module model/ResponseMeta - * @version 0.0.2 - */ -class ResponseMeta { - /** - * Constructs a new ResponseMeta. - * @alias module:model/ResponseMeta - */ - constructor() { - - ResponseMeta.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 ResponseMeta 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/ResponseMeta} obj Optional instance to populate. - * @return {module:model/ResponseMeta} The populated ResponseMeta instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new ResponseMeta(); - - if (data.hasOwnProperty('Contact')) { - obj['Contact'] = ApiClient.convertToType(data['Contact'], 'String'); - } - if (data.hasOwnProperty('Copyright')) { - obj['Copyright'] = ApiClient.convertToType(data['Copyright'], 'String'); - } - if (data.hasOwnProperty('License')) { - obj['License'] = ApiClient.convertToType(data['License'], 'String'); - } - if (data.hasOwnProperty('OperationID')) { - obj['OperationID'] = ApiClient.convertToType(data['OperationID'], 'String'); - } - if (data.hasOwnProperty('Pagination')) { - obj['Pagination'] = Pagination.constructFromObject(data['Pagination']); - } - if (data.hasOwnProperty('RequestIP')) { - obj['RequestIP'] = ApiClient.convertToType(data['RequestIP'], 'String'); - } - if (data.hasOwnProperty('RequestType')) { - obj['RequestType'] = ApiClient.convertToType(data['RequestType'], 'String'); - } - if (data.hasOwnProperty('RequestURL')) { - obj['RequestURL'] = ApiClient.convertToType(data['RequestURL'], 'String'); - } - if (data.hasOwnProperty('ServerInfo')) { - obj['ServerInfo'] = ApiClient.convertToType(data['ServerInfo'], 'String'); - } - if (data.hasOwnProperty('ServerResponseTime')) { - obj['ServerResponseTime'] = ApiClient.convertToType(data['ServerResponseTime'], 'String'); - } - if (data.hasOwnProperty('ServerTimestamp')) { - obj['ServerTimestamp'] = ApiClient.convertToType(data['ServerTimestamp'], 'String'); - } - if (data.hasOwnProperty('TaxnexusAccount')) { - obj['TaxnexusAccount'] = ApiClient.convertToType(data['TaxnexusAccount'], 'String'); - } - } - return obj; - } - - -} - -/** - * Microservice Contact Info - * @member {String} Contact - */ -ResponseMeta.prototype['Contact'] = undefined; - -/** - * Copyright Info - * @member {String} Copyright - */ -ResponseMeta.prototype['Copyright'] = undefined; - -/** - * License Information and Restrictions - * @member {String} License - */ -ResponseMeta.prototype['License'] = undefined; - -/** - * Operation ID - * @member {String} OperationID - */ -ResponseMeta.prototype['OperationID'] = undefined; - -/** - * @member {module:model/Pagination} Pagination - */ -ResponseMeta.prototype['Pagination'] = undefined; - -/** - * Request IP Address - * @member {String} RequestIP - */ -ResponseMeta.prototype['RequestIP'] = undefined; - -/** - * Request Type - * @member {String} RequestType - */ -ResponseMeta.prototype['RequestType'] = undefined; - -/** - * Request URL - * @member {String} RequestURL - */ -ResponseMeta.prototype['RequestURL'] = undefined; - -/** - * Data Server Info - * @member {String} ServerInfo - */ -ResponseMeta.prototype['ServerInfo'] = undefined; - -/** - * Data Server Response Time (ms) - * @member {String} ServerResponseTime - */ -ResponseMeta.prototype['ServerResponseTime'] = undefined; - -/** - * Backend Server Timestamp - * @member {String} ServerTimestamp - */ -ResponseMeta.prototype['ServerTimestamp'] = undefined; - -/** - * Taxnexus Account Number used for recording transactions - * @member {String} TaxnexusAccount - */ -ResponseMeta.prototype['TaxnexusAccount'] = undefined; - - - - - - -export default ResponseMeta; - diff --git a/client/sf-gate/src/model/Role.js b/client/sf-gate/src/model/Role.js deleted file mode 100644 index df5133f..0000000 --- a/client/sf-gate/src/model/Role.js +++ /dev/null @@ -1,145 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Role model module. - * @module model/Role - * @version 0.0.2 - */ -class Role { - /** - * Constructs a new Role. - * A functional role within a Tenant - * @alias module:model/Role - */ - constructor() { - - Role.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 Role 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/Role} obj Optional instance to populate. - * @return {module:model/Role} The populated Role instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Role(); - - if (data.hasOwnProperty('id')) { - obj['id'] = ApiClient.convertToType(data['id'], 'String'); - } - if (data.hasOwnProperty('auth0roleid')) { - obj['auth0roleid'] = ApiClient.convertToType(data['auth0roleid'], 'String'); - } - if (data.hasOwnProperty('createdbyid')) { - obj['createdbyid'] = ApiClient.convertToType(data['createdbyid'], 'String'); - } - if (data.hasOwnProperty('createddate')) { - obj['createddate'] = ApiClient.convertToType(data['createddate'], 'String'); - } - if (data.hasOwnProperty('description')) { - obj['description'] = ApiClient.convertToType(data['description'], 'String'); - } - if (data.hasOwnProperty('lastmodifiedbyid')) { - obj['lastmodifiedbyid'] = ApiClient.convertToType(data['lastmodifiedbyid'], 'String'); - } - if (data.hasOwnProperty('lastmodifieddate')) { - obj['lastmodifieddate'] = ApiClient.convertToType(data['lastmodifieddate'], 'String'); - } - if (data.hasOwnProperty('rolename')) { - obj['rolename'] = ApiClient.convertToType(data['rolename'], 'String'); - } - if (data.hasOwnProperty('tenantid')) { - obj['tenantid'] = ApiClient.convertToType(data['tenantid'], 'String'); - } - } - return obj; - } - - -} - -/** - * record id - * @member {String} id - */ -Role.prototype['id'] = undefined; - -/** - * the corresponding auth0 role - * @member {String} auth0roleid - */ -Role.prototype['auth0roleid'] = undefined; - -/** - * created by - * @member {String} createdbyid - */ -Role.prototype['createdbyid'] = undefined; - -/** - * created date - * @member {String} createddate - */ -Role.prototype['createddate'] = undefined; - -/** - * role description - * @member {String} description - */ -Role.prototype['description'] = undefined; - -/** - * last modified by - * @member {String} lastmodifiedbyid - */ -Role.prototype['lastmodifiedbyid'] = undefined; - -/** - * last modifed date - * @member {String} lastmodifieddate - */ -Role.prototype['lastmodifieddate'] = undefined; - -/** - * the name of this role - * @member {String} rolename - */ -Role.prototype['rolename'] = undefined; - -/** - * the id of the tenant that owns this role - * @member {String} tenantid - */ -Role.prototype['tenantid'] = undefined; - - - - - - -export default Role; - diff --git a/client/sf-gate/src/model/RoleRequest.js b/client/sf-gate/src/model/RoleRequest.js deleted file mode 100644 index 805c8aa..0000000 --- a/client/sf-gate/src/model/RoleRequest.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 RequestMeta from './RequestMeta'; -import Role from './Role'; - -/** - * The RoleRequest model module. - * @module model/RoleRequest - * @version 0.0.2 - */ -class RoleRequest { - /** - * Constructs a new RoleRequest. - * An array of Role objects - * @alias module:model/RoleRequest - */ - constructor() { - - RoleRequest.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 RoleRequest 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/RoleRequest} obj Optional instance to populate. - * @return {module:model/RoleRequest} The populated RoleRequest instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new RoleRequest(); - - if (data.hasOwnProperty('data')) { - obj['data'] = ApiClient.convertToType(data['data'], [Role]); - } - if (data.hasOwnProperty('meta')) { - obj['meta'] = RequestMeta.constructFromObject(data['meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} data - */ -RoleRequest.prototype['data'] = undefined; - -/** - * @member {module:model/RequestMeta} meta - */ -RoleRequest.prototype['meta'] = undefined; - - - - - - -export default RoleRequest; - diff --git a/client/sf-gate/src/model/RoleResponse.js b/client/sf-gate/src/model/RoleResponse.js deleted file mode 100644 index 76e430b..0000000 --- a/client/sf-gate/src/model/RoleResponse.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 ResponseMeta from './ResponseMeta'; -import Role from './Role'; - -/** - * The RoleResponse model module. - * @module model/RoleResponse - * @version 0.0.2 - */ -class RoleResponse { - /** - * Constructs a new RoleResponse. - * An array of Role objects - * @alias module:model/RoleResponse - */ - constructor() { - - RoleResponse.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 RoleResponse 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/RoleResponse} obj Optional instance to populate. - * @return {module:model/RoleResponse} The populated RoleResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new RoleResponse(); - - if (data.hasOwnProperty('data')) { - obj['data'] = ApiClient.convertToType(data['data'], [Role]); - } - if (data.hasOwnProperty('meta')) { - obj['meta'] = ResponseMeta.constructFromObject(data['meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} data - */ -RoleResponse.prototype['data'] = undefined; - -/** - * @member {module:model/ResponseMeta} meta - */ -RoleResponse.prototype['meta'] = undefined; - - - - - - -export default RoleResponse; - diff --git a/client/sf-gate/src/model/Template.js b/client/sf-gate/src/model/Template.js deleted file mode 100644 index 629ad06..0000000 --- a/client/sf-gate/src/model/Template.js +++ /dev/null @@ -1,203 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Template model module. - * @module model/Template - * @version 0.0.2 - */ -class Template { - /** - * Constructs a new Template. - * @alias module:model/Template - */ - constructor() { - - Template.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 Template 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/Template} obj Optional instance to populate. - * @return {module:model/Template} The populated Template instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Template(); - - if (data.hasOwnProperty('tenantid')) { - obj['tenantid'] = ApiClient.convertToType(data['tenantid'], 'String'); - } - if (data.hasOwnProperty('CompanyID')) { - obj['CompanyID'] = ApiClient.convertToType(data['CompanyID'], 'String'); - } - if (data.hasOwnProperty('CreatedByID')) { - obj['CreatedByID'] = ApiClient.convertToType(data['CreatedByID'], 'String'); - } - if (data.hasOwnProperty('CreatedDate')) { - obj['CreatedDate'] = ApiClient.convertToType(data['CreatedDate'], 'String'); - } - if (data.hasOwnProperty('Description')) { - obj['Description'] = ApiClient.convertToType(data['Description'], 'String'); - } - if (data.hasOwnProperty('HTML')) { - obj['HTML'] = ApiClient.convertToType(data['HTML'], 'Blob'); - } - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('IsActive')) { - obj['IsActive'] = ApiClient.convertToType(data['IsActive'], 'Boolean'); - } - if (data.hasOwnProperty('IsMaster')) { - obj['IsMaster'] = ApiClient.convertToType(data['IsMaster'], 'Boolean'); - } - if (data.hasOwnProperty('LastModifiedByID')) { - obj['LastModifiedByID'] = ApiClient.convertToType(data['LastModifiedByID'], 'String'); - } - if (data.hasOwnProperty('LastModifiedDate')) { - obj['LastModifiedDate'] = ApiClient.convertToType(data['LastModifiedDate'], 'String'); - } - if (data.hasOwnProperty('Name')) { - obj['Name'] = ApiClient.convertToType(data['Name'], 'String'); - } - if (data.hasOwnProperty('ObjectType')) { - obj['ObjectType'] = ApiClient.convertToType(data['ObjectType'], 'String'); - } - if (data.hasOwnProperty('RecordTypeName')) { - obj['RecordTypeName'] = ApiClient.convertToType(data['RecordTypeName'], 'String'); - } - if (data.hasOwnProperty('Type')) { - obj['Type'] = ApiClient.convertToType(data['Type'], 'String'); - } - if (data.hasOwnProperty('URL')) { - obj['URL'] = ApiClient.convertToType(data['URL'], 'String'); - } - } - return obj; - } - - -} - -/** - * tenant identifier - * @member {String} tenantid - */ -Template.prototype['tenantid'] = undefined; - -/** - * Company - * @member {String} CompanyID - */ -Template.prototype['CompanyID'] = undefined; - -/** - * @member {String} CreatedByID - */ -Template.prototype['CreatedByID'] = undefined; - -/** - * @member {String} CreatedDate - */ -Template.prototype['CreatedDate'] = undefined; - -/** - * Description - * @member {String} Description - */ -Template.prototype['Description'] = undefined; - -/** - * HTML Body - * @member {Blob} HTML - */ -Template.prototype['HTML'] = undefined; - -/** - * Taxnexus Record Id - * @member {String} ID - */ -Template.prototype['ID'] = undefined; - -/** - * Active? - * @member {Boolean} IsActive - */ -Template.prototype['IsActive'] = undefined; - -/** - * Master Template? - * @member {Boolean} IsMaster - */ -Template.prototype['IsMaster'] = undefined; - -/** - * @member {String} LastModifiedByID - */ -Template.prototype['LastModifiedByID'] = undefined; - -/** - * @member {String} LastModifiedDate - */ -Template.prototype['LastModifiedDate'] = undefined; - -/** - * Template Name - * @member {String} Name - */ -Template.prototype['Name'] = undefined; - -/** - * Object - * @member {String} ObjectType - */ -Template.prototype['ObjectType'] = undefined; - -/** - * Record Type Name - * @member {String} RecordTypeName - */ -Template.prototype['RecordTypeName'] = undefined; - -/** - * Type - * @member {String} Type - */ -Template.prototype['Type'] = undefined; - -/** - * URL - * @member {String} URL - */ -Template.prototype['URL'] = undefined; - - - - - - -export default Template; - diff --git a/client/sf-gate/src/model/TemplateResponse.js b/client/sf-gate/src/model/TemplateResponse.js deleted file mode 100644 index e8b7e81..0000000 --- a/client/sf-gate/src/model/TemplateResponse.js +++ /dev/null @@ -1,81 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 ResponseMeta from './ResponseMeta'; -import Template from './Template'; - -/** - * The TemplateResponse model module. - * @module model/TemplateResponse - * @version 0.0.2 - */ -class TemplateResponse { - /** - * Constructs a new TemplateResponse. - * @alias module:model/TemplateResponse - */ - constructor() { - - TemplateResponse.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 TemplateResponse 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/TemplateResponse} obj Optional instance to populate. - * @return {module:model/TemplateResponse} The populated TemplateResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new TemplateResponse(); - - if (data.hasOwnProperty('data')) { - obj['data'] = ApiClient.convertToType(data['data'], [Template]); - } - if (data.hasOwnProperty('meta')) { - obj['meta'] = ResponseMeta.constructFromObject(data['meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} data - */ -TemplateResponse.prototype['data'] = undefined; - -/** - * @member {module:model/ResponseMeta} meta - */ -TemplateResponse.prototype['meta'] = undefined; - - - - - - -export default TemplateResponse; - diff --git a/client/sf-gate/src/model/Tenant.js b/client/sf-gate/src/model/Tenant.js deleted file mode 100644 index 49a6980..0000000 --- a/client/sf-gate/src/model/Tenant.js +++ /dev/null @@ -1,190 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Database from './Database'; -import Role from './Role'; -import TenantUser from './TenantUser'; - -/** - * The Tenant model module. - * @module model/Tenant - * @version 0.0.2 - */ -class Tenant { - /** - * Constructs a new Tenant. - * Taxnexus Account Tenant - * @alias module:model/Tenant - */ - constructor() { - - Tenant.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 Tenant 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/Tenant} obj Optional instance to populate. - * @return {module:model/Tenant} The populated Tenant instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Tenant(); - - if (data.hasOwnProperty('id')) { - obj['id'] = ApiClient.convertToType(data['id'], 'String'); - } - if (data.hasOwnProperty('accountid')) { - obj['accountid'] = ApiClient.convertToType(data['accountid'], 'String'); - } - if (data.hasOwnProperty('active')) { - obj['active'] = ApiClient.convertToType(data['active'], 'Boolean'); - } - if (data.hasOwnProperty('createdbyid')) { - obj['createdbyid'] = ApiClient.convertToType(data['createdbyid'], 'String'); - } - if (data.hasOwnProperty('createddate')) { - obj['createddate'] = ApiClient.convertToType(data['createddate'], 'String'); - } - if (data.hasOwnProperty('lastmodifiedbyid')) { - obj['lastmodifiedbyid'] = ApiClient.convertToType(data['lastmodifiedbyid'], 'String'); - } - if (data.hasOwnProperty('lastmodifieddate')) { - obj['lastmodifieddate'] = ApiClient.convertToType(data['lastmodifieddate'], 'String'); - } - if (data.hasOwnProperty('status')) { - obj['status'] = ApiClient.convertToType(data['status'], 'String'); - } - if (data.hasOwnProperty('tenantname')) { - obj['tenantname'] = ApiClient.convertToType(data['tenantname'], 'String'); - } - if (data.hasOwnProperty('type')) { - obj['type'] = ApiClient.convertToType(data['type'], 'String'); - } - if (data.hasOwnProperty('version')) { - obj['version'] = ApiClient.convertToType(data['version'], 'String'); - } - if (data.hasOwnProperty('databases')) { - obj['databases'] = ApiClient.convertToType(data['databases'], [Database]); - } - if (data.hasOwnProperty('roles')) { - obj['roles'] = ApiClient.convertToType(data['roles'], [Role]); - } - if (data.hasOwnProperty('tenantusers')) { - obj['tenantusers'] = ApiClient.convertToType(data['tenantusers'], [TenantUser]); - } - } - return obj; - } - - -} - -/** - * Record Id - * @member {String} id - */ -Tenant.prototype['id'] = undefined; - -/** - * The Account that owns this Tenant - * @member {String} accountid - */ -Tenant.prototype['accountid'] = undefined; - -/** - * Is this Tenant currently active? - * @member {Boolean} active - */ -Tenant.prototype['active'] = undefined; - -/** - * Created By - * @member {String} createdbyid - */ -Tenant.prototype['createdbyid'] = undefined; - -/** - * Created Date - * @member {String} createddate - */ -Tenant.prototype['createddate'] = undefined; - -/** - * Last Modified By - * @member {String} lastmodifiedbyid - */ -Tenant.prototype['lastmodifiedbyid'] = undefined; - -/** - * Last Modifed Date - * @member {String} lastmodifieddate - */ -Tenant.prototype['lastmodifieddate'] = undefined; - -/** - * The current status of this Tenant - * @member {String} status - */ -Tenant.prototype['status'] = undefined; - -/** - * Name of the Tenant Resource - * @member {String} tenantname - */ -Tenant.prototype['tenantname'] = undefined; - -/** - * Type of tenant - * @member {String} type - */ -Tenant.prototype['type'] = undefined; - -/** - * The version number of the Tenant Onboarding system used to create this tenant - * @member {String} version - */ -Tenant.prototype['version'] = undefined; - -/** - * @member {Array.} databases - */ -Tenant.prototype['databases'] = undefined; - -/** - * @member {Array.} roles - */ -Tenant.prototype['roles'] = undefined; - -/** - * @member {Array.} tenantusers - */ -Tenant.prototype['tenantusers'] = undefined; - - - - - - -export default Tenant; - diff --git a/client/sf-gate/src/model/TenantRequest.js b/client/sf-gate/src/model/TenantRequest.js deleted file mode 100644 index f509c24..0000000 --- a/client/sf-gate/src/model/TenantRequest.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 RequestMeta from './RequestMeta'; -import Tenant from './Tenant'; - -/** - * The TenantRequest model module. - * @module model/TenantRequest - * @version 0.0.2 - */ -class TenantRequest { - /** - * Constructs a new TenantRequest. - * An array of Tenant objects - * @alias module:model/TenantRequest - */ - constructor() { - - TenantRequest.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 TenantRequest 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/TenantRequest} obj Optional instance to populate. - * @return {module:model/TenantRequest} The populated TenantRequest instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new TenantRequest(); - - if (data.hasOwnProperty('data')) { - obj['data'] = ApiClient.convertToType(data['data'], [Tenant]); - } - if (data.hasOwnProperty('meta')) { - obj['meta'] = RequestMeta.constructFromObject(data['meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} data - */ -TenantRequest.prototype['data'] = undefined; - -/** - * @member {module:model/RequestMeta} meta - */ -TenantRequest.prototype['meta'] = undefined; - - - - - - -export default TenantRequest; - diff --git a/client/sf-gate/src/model/TenantResponse.js b/client/sf-gate/src/model/TenantResponse.js deleted file mode 100644 index 085776a..0000000 --- a/client/sf-gate/src/model/TenantResponse.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 ResponseMeta from './ResponseMeta'; -import Tenant from './Tenant'; - -/** - * The TenantResponse model module. - * @module model/TenantResponse - * @version 0.0.2 - */ -class TenantResponse { - /** - * Constructs a new TenantResponse. - * An array of Tenant objects - * @alias module:model/TenantResponse - */ - constructor() { - - TenantResponse.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 TenantResponse 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/TenantResponse} obj Optional instance to populate. - * @return {module:model/TenantResponse} The populated TenantResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new TenantResponse(); - - if (data.hasOwnProperty('data')) { - obj['data'] = ApiClient.convertToType(data['data'], [Tenant]); - } - if (data.hasOwnProperty('meta')) { - obj['meta'] = ResponseMeta.constructFromObject(data['meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} data - */ -TenantResponse.prototype['data'] = undefined; - -/** - * @member {module:model/ResponseMeta} meta - */ -TenantResponse.prototype['meta'] = undefined; - - - - - - -export default TenantResponse; - diff --git a/client/sf-gate/src/model/TenantUser.js b/client/sf-gate/src/model/TenantUser.js deleted file mode 100644 index 6a45a2d..0000000 --- a/client/sf-gate/src/model/TenantUser.js +++ /dev/null @@ -1,91 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 TenantUser model module. - * @module model/TenantUser - * @version 0.0.2 - */ -class TenantUser { - /** - * Constructs a new TenantUser. - * Relationship object that connects users to a tenant - * @alias module:model/TenantUser - */ - constructor() { - - TenantUser.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 TenantUser 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/TenantUser} obj Optional instance to populate. - * @return {module:model/TenantUser} The populated TenantUser instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new TenantUser(); - - if (data.hasOwnProperty('accesslevel')) { - obj['accesslevel'] = ApiClient.convertToType(data['accesslevel'], 'String'); - } - if (data.hasOwnProperty('tenantid')) { - obj['tenantid'] = ApiClient.convertToType(data['tenantid'], 'String'); - } - if (data.hasOwnProperty('userid')) { - obj['userid'] = ApiClient.convertToType(data['userid'], 'String'); - } - } - return obj; - } - - -} - -/** - * The Tenant access level for this User - * @member {String} accesslevel - */ -TenantUser.prototype['accesslevel'] = undefined; - -/** - * The Tenant ID - * @member {String} tenantid - */ -TenantUser.prototype['tenantid'] = undefined; - -/** - * The User ID - * @member {String} userid - */ -TenantUser.prototype['userid'] = undefined; - - - - - - -export default TenantUser; - diff --git a/client/sf-gate/src/model/User.js b/client/sf-gate/src/model/User.js deleted file mode 100644 index fd878ed..0000000 --- a/client/sf-gate/src/model/User.js +++ /dev/null @@ -1,583 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Address from './Address'; -import TenantUser from './TenantUser'; -import UserRole from './UserRole'; - -/** - * The User model module. - * @module model/User - * @version 0.0.2 - */ -class User { - /** - * Constructs a new User. - * @alias module:model/User - */ - constructor() { - - User.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 User 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/User} obj Optional instance to populate. - * @return {module:model/User} The populated User instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new User(); - - if (data.hasOwnProperty('tenantid')) { - obj['tenantid'] = ApiClient.convertToType(data['tenantid'], 'String'); - } - if (data.hasOwnProperty('aboutme')) { - obj['aboutme'] = ApiClient.convertToType(data['aboutme'], 'String'); - } - if (data.hasOwnProperty('accountid')) { - obj['accountid'] = ApiClient.convertToType(data['accountid'], 'String'); - } - if (data.hasOwnProperty('address')) { - obj['address'] = Address.constructFromObject(data['address']); - } - if (data.hasOwnProperty('alias')) { - obj['alias'] = ApiClient.convertToType(data['alias'], 'String'); - } - if (data.hasOwnProperty('apikey')) { - obj['apikey'] = ApiClient.convertToType(data['apikey'], 'String'); - } - if (data.hasOwnProperty('auth0userid')) { - obj['auth0userid'] = ApiClient.convertToType(data['auth0userid'], 'String'); - } - if (data.hasOwnProperty('communitynickname')) { - obj['communitynickname'] = ApiClient.convertToType(data['communitynickname'], 'String'); - } - if (data.hasOwnProperty('companyname')) { - obj['companyname'] = ApiClient.convertToType(data['companyname'], 'String'); - } - if (data.hasOwnProperty('contactid')) { - obj['contactid'] = ApiClient.convertToType(data['contactid'], 'String'); - } - if (data.hasOwnProperty('createdbyid')) { - obj['createdbyid'] = ApiClient.convertToType(data['createdbyid'], 'String'); - } - if (data.hasOwnProperty('createddate')) { - obj['createddate'] = ApiClient.convertToType(data['createddate'], 'String'); - } - if (data.hasOwnProperty('delegatedapproverid')) { - obj['delegatedapproverid'] = ApiClient.convertToType(data['delegatedapproverid'], 'String'); - } - if (data.hasOwnProperty('department')) { - obj['department'] = ApiClient.convertToType(data['department'], 'String'); - } - if (data.hasOwnProperty('division')) { - obj['division'] = ApiClient.convertToType(data['division'], 'String'); - } - if (data.hasOwnProperty('email')) { - obj['email'] = ApiClient.convertToType(data['email'], 'String'); - } - if (data.hasOwnProperty('employeenumber')) { - obj['employeenumber'] = ApiClient.convertToType(data['employeenumber'], 'String'); - } - if (data.hasOwnProperty('endday')) { - obj['endday'] = ApiClient.convertToType(data['endday'], 'String'); - } - if (data.hasOwnProperty('environment')) { - obj['environment'] = ApiClient.convertToType(data['environment'], 'String'); - } - if (data.hasOwnProperty('extension')) { - obj['extension'] = ApiClient.convertToType(data['extension'], 'String'); - } - if (data.hasOwnProperty('fabricapikey')) { - obj['fabricapikey'] = ApiClient.convertToType(data['fabricapikey'], 'String'); - } - if (data.hasOwnProperty('fax')) { - obj['fax'] = ApiClient.convertToType(data['fax'], 'String'); - } - if (data.hasOwnProperty('firstname')) { - obj['firstname'] = ApiClient.convertToType(data['firstname'], 'String'); - } - if (data.hasOwnProperty('forecastenabled')) { - obj['forecastenabled'] = ApiClient.convertToType(data['forecastenabled'], 'Boolean'); - } - if (data.hasOwnProperty('fullphotourl')) { - obj['fullphotourl'] = ApiClient.convertToType(data['fullphotourl'], 'String'); - } - if (data.hasOwnProperty('id')) { - obj['id'] = ApiClient.convertToType(data['id'], 'String'); - } - if (data.hasOwnProperty('isactive')) { - obj['isactive'] = ApiClient.convertToType(data['isactive'], 'Boolean'); - } - if (data.hasOwnProperty('isportalenabled')) { - obj['isportalenabled'] = ApiClient.convertToType(data['isportalenabled'], 'Boolean'); - } - if (data.hasOwnProperty('isprofilephotoactive')) { - obj['isprofilephotoactive'] = ApiClient.convertToType(data['isprofilephotoactive'], 'Boolean'); - } - if (data.hasOwnProperty('issystemcontrolled')) { - obj['issystemcontrolled'] = ApiClient.convertToType(data['issystemcontrolled'], 'Boolean'); - } - if (data.hasOwnProperty('lastip')) { - obj['lastip'] = ApiClient.convertToType(data['lastip'], 'String'); - } - if (data.hasOwnProperty('lastlogin')) { - obj['lastlogin'] = ApiClient.convertToType(data['lastlogin'], 'String'); - } - if (data.hasOwnProperty('lastmodifiedbyid')) { - obj['lastmodifiedbyid'] = ApiClient.convertToType(data['lastmodifiedbyid'], 'String'); - } - if (data.hasOwnProperty('lastmodifieddate')) { - obj['lastmodifieddate'] = ApiClient.convertToType(data['lastmodifieddate'], 'String'); - } - if (data.hasOwnProperty('lastname')) { - obj['lastname'] = ApiClient.convertToType(data['lastname'], 'String'); - } - if (data.hasOwnProperty('logincount')) { - obj['logincount'] = ApiClient.convertToType(data['logincount'], 'Number'); - } - if (data.hasOwnProperty('managerid')) { - obj['managerid'] = ApiClient.convertToType(data['managerid'], 'String'); - } - if (data.hasOwnProperty('mobilephone')) { - obj['mobilephone'] = ApiClient.convertToType(data['mobilephone'], 'String'); - } - if (data.hasOwnProperty('name')) { - obj['name'] = ApiClient.convertToType(data['name'], 'String'); - } - if (data.hasOwnProperty('outofofficemessage')) { - obj['outofofficemessage'] = ApiClient.convertToType(data['outofofficemessage'], 'String'); - } - if (data.hasOwnProperty('phone')) { - obj['phone'] = ApiClient.convertToType(data['phone'], 'String'); - } - if (data.hasOwnProperty('portalrole')) { - obj['portalrole'] = ApiClient.convertToType(data['portalrole'], 'String'); - } - if (data.hasOwnProperty('profileid')) { - obj['profileid'] = ApiClient.convertToType(data['profileid'], 'String'); - } - if (data.hasOwnProperty('receivesadmininfoemails')) { - obj['receivesadmininfoemails'] = ApiClient.convertToType(data['receivesadmininfoemails'], 'Boolean'); - } - if (data.hasOwnProperty('receivesinfoemails')) { - obj['receivesinfoemails'] = ApiClient.convertToType(data['receivesinfoemails'], 'Boolean'); - } - if (data.hasOwnProperty('senderemail')) { - obj['senderemail'] = ApiClient.convertToType(data['senderemail'], 'String'); - } - if (data.hasOwnProperty('sendername')) { - obj['sendername'] = ApiClient.convertToType(data['sendername'], 'String'); - } - if (data.hasOwnProperty('signature')) { - obj['signature'] = ApiClient.convertToType(data['signature'], 'String'); - } - if (data.hasOwnProperty('smallphotourl')) { - obj['smallphotourl'] = ApiClient.convertToType(data['smallphotourl'], 'String'); - } - if (data.hasOwnProperty('startday')) { - obj['startday'] = ApiClient.convertToType(data['startday'], 'String'); - } - if (data.hasOwnProperty('taxnexusaccount')) { - obj['taxnexusaccount'] = ApiClient.convertToType(data['taxnexusaccount'], 'String'); - } - if (data.hasOwnProperty('timezonesidkey')) { - obj['timezonesidkey'] = ApiClient.convertToType(data['timezonesidkey'], 'String'); - } - if (data.hasOwnProperty('title')) { - obj['title'] = ApiClient.convertToType(data['title'], 'String'); - } - if (data.hasOwnProperty('username')) { - obj['username'] = ApiClient.convertToType(data['username'], 'String'); - } - if (data.hasOwnProperty('userroleid')) { - obj['userroleid'] = ApiClient.convertToType(data['userroleid'], 'String'); - } - if (data.hasOwnProperty('usertype')) { - obj['usertype'] = ApiClient.convertToType(data['usertype'], 'String'); - } - if (data.hasOwnProperty('userroles')) { - obj['userroles'] = ApiClient.convertToType(data['userroles'], [UserRole]); - } - if (data.hasOwnProperty('tenantusers')) { - obj['tenantusers'] = ApiClient.convertToType(data['tenantusers'], [TenantUser]); - } - } - return obj; - } - - -} - -/** - * @member {String} tenantid - */ -User.prototype['tenantid'] = undefined; - -/** - * About Me - * @member {String} aboutme - */ -User.prototype['aboutme'] = undefined; - -/** - * Account ID - * @member {String} accountid - */ -User.prototype['accountid'] = undefined; - -/** - * @member {module:model/Address} address - */ -User.prototype['address'] = undefined; - -/** - * Alias - * @member {String} alias - */ -User.prototype['alias'] = undefined; - -/** - * API Key - * @member {String} apikey - */ -User.prototype['apikey'] = undefined; - -/** - * Auth0 User ID - * @member {String} auth0userid - */ -User.prototype['auth0userid'] = undefined; - -/** - * Nickname - * @member {String} communitynickname - */ -User.prototype['communitynickname'] = undefined; - -/** - * Company Name - * @member {String} companyname - */ -User.prototype['companyname'] = undefined; - -/** - * Contact - * @member {String} contactid - */ -User.prototype['contactid'] = undefined; - -/** - * Created User ID - * @member {String} createdbyid - */ -User.prototype['createdbyid'] = undefined; - -/** - * Date Created - * @member {String} createddate - */ -User.prototype['createddate'] = undefined; - -/** - * Delegated Approver - * @member {String} delegatedapproverid - */ -User.prototype['delegatedapproverid'] = undefined; - -/** - * Department - * @member {String} department - */ -User.prototype['department'] = undefined; - -/** - * Division - * @member {String} division - */ -User.prototype['division'] = undefined; - -/** - * Email address - * @member {String} email - */ -User.prototype['email'] = undefined; - -/** - * Employee Number - * @member {String} employeenumber - */ -User.prototype['employeenumber'] = undefined; - -/** - * Time day ends - * @member {String} endday - */ -User.prototype['endday'] = undefined; - -/** - * Environment - * @member {String} environment - */ -User.prototype['environment'] = undefined; - -/** - * Extension - * @member {String} extension - */ -User.prototype['extension'] = undefined; - -/** - * Fabric API Key - * @member {String} fabricapikey - */ -User.prototype['fabricapikey'] = undefined; - -/** - * Fax - * @member {String} fax - */ -User.prototype['fax'] = undefined; - -/** - * The first name - * @member {String} firstname - */ -User.prototype['firstname'] = undefined; - -/** - * Allow Forecasting - * @member {Boolean} forecastenabled - */ -User.prototype['forecastenabled'] = undefined; - -/** - * Full Photo URL - * @member {String} fullphotourl - */ -User.prototype['fullphotourl'] = undefined; - -/** - * Taxnexus ID - * @member {String} id - */ -User.prototype['id'] = undefined; - -/** - * Active - * @member {Boolean} isactive - */ -User.prototype['isactive'] = undefined; - -/** - * Is the user enabled for Communities? - * @member {Boolean} isportalenabled - */ -User.prototype['isportalenabled'] = undefined; - -/** - * Has Profile Photo - * @member {Boolean} isprofilephotoactive - */ -User.prototype['isprofilephotoactive'] = undefined; - -/** - * @member {Boolean} issystemcontrolled - */ -User.prototype['issystemcontrolled'] = undefined; - -/** - * ip address of last login - * @member {String} lastip - */ -User.prototype['lastip'] = undefined; - -/** - * last login time - * @member {String} lastlogin - */ -User.prototype['lastlogin'] = undefined; - -/** - * Last Modified User ID - * @member {String} lastmodifiedbyid - */ -User.prototype['lastmodifiedbyid'] = undefined; - -/** - * Last Modified Date - * @member {String} lastmodifieddate - */ -User.prototype['lastmodifieddate'] = undefined; - -/** - * The Last Name - * @member {String} lastname - */ -User.prototype['lastname'] = undefined; - -/** - * number of times user has logged in - * @member {Number} logincount - */ -User.prototype['logincount'] = undefined; - -/** - * Manager - * @member {String} managerid - */ -User.prototype['managerid'] = undefined; - -/** - * Mobile - * @member {String} mobilephone - */ -User.prototype['mobilephone'] = undefined; - -/** - * Name - * @member {String} name - */ -User.prototype['name'] = undefined; - -/** - * Out of office message - * @member {String} outofofficemessage - */ -User.prototype['outofofficemessage'] = undefined; - -/** - * Phone - * @member {String} phone - */ -User.prototype['phone'] = undefined; - -/** - * Portal Role Level - * @member {String} portalrole - */ -User.prototype['portalrole'] = undefined; - -/** - * Profile - * @member {String} profileid - */ -User.prototype['profileid'] = undefined; - -/** - * Admin Info Emails - * @member {Boolean} receivesadmininfoemails - */ -User.prototype['receivesadmininfoemails'] = undefined; - -/** - * Info Emails - * @member {Boolean} receivesinfoemails - */ -User.prototype['receivesinfoemails'] = undefined; - -/** - * Email Sender Address - * @member {String} senderemail - */ -User.prototype['senderemail'] = undefined; - -/** - * Email Sender Name - * @member {String} sendername - */ -User.prototype['sendername'] = undefined; - -/** - * Email Signature - * @member {String} signature - */ -User.prototype['signature'] = undefined; - -/** - * Small Photo URL - * @member {String} smallphotourl - */ -User.prototype['smallphotourl'] = undefined; - -/** - * The time day starts - * @member {String} startday - */ -User.prototype['startday'] = undefined; - -/** - * Taxnexus Account - * @member {String} taxnexusaccount - */ -User.prototype['taxnexusaccount'] = undefined; - -/** - * Time Zone - * @member {String} timezonesidkey - */ -User.prototype['timezonesidkey'] = undefined; - -/** - * Title - * @member {String} title - */ -User.prototype['title'] = undefined; - -/** - * Username - * @member {String} username - */ -User.prototype['username'] = undefined; - -/** - * Role - * @member {String} userroleid - */ -User.prototype['userroleid'] = undefined; - -/** - * User Type - * @member {String} usertype - */ -User.prototype['usertype'] = undefined; - -/** - * @member {Array.} userroles - */ -User.prototype['userroles'] = undefined; - -/** - * @member {Array.} tenantusers - */ -User.prototype['tenantusers'] = undefined; - - - - - - -export default User; - diff --git a/client/sf-gate/src/model/UserResponse.js b/client/sf-gate/src/model/UserResponse.js deleted file mode 100644 index e987386..0000000 --- a/client/sf-gate/src/model/UserResponse.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 ResponseMeta from './ResponseMeta'; -import User from './User'; - -/** - * The UserResponse model module. - * @module model/UserResponse - * @version 0.0.2 - */ -class UserResponse { - /** - * Constructs a new UserResponse. - * An array of Print-Ready ingest Objects - * @alias module:model/UserResponse - */ - constructor() { - - UserResponse.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 UserResponse 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/UserResponse} obj Optional instance to populate. - * @return {module:model/UserResponse} The populated UserResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new UserResponse(); - - if (data.hasOwnProperty('data')) { - obj['data'] = ApiClient.convertToType(data['data'], [User]); - } - if (data.hasOwnProperty('meta')) { - obj['meta'] = ResponseMeta.constructFromObject(data['meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} data - */ -UserResponse.prototype['data'] = undefined; - -/** - * @member {module:model/ResponseMeta} meta - */ -UserResponse.prototype['meta'] = undefined; - - - - - - -export default UserResponse; - diff --git a/client/sf-gate/src/model/UserRole.js b/client/sf-gate/src/model/UserRole.js deleted file mode 100644 index e1de26b..0000000 --- a/client/sf-gate/src/model/UserRole.js +++ /dev/null @@ -1,109 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 UserRole model module. - * @module model/UserRole - * @version 0.0.2 - */ -class UserRole { - /** - * Constructs a new UserRole. - * Relationship object that connects user to a role - * @alias module:model/UserRole - */ - constructor() { - - UserRole.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 UserRole 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/UserRole} obj Optional instance to populate. - * @return {module:model/UserRole} The populated UserRole instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new UserRole(); - - if (data.hasOwnProperty('description')) { - obj['description'] = ApiClient.convertToType(data['description'], 'String'); - } - if (data.hasOwnProperty('roleid')) { - obj['roleid'] = ApiClient.convertToType(data['roleid'], 'String'); - } - if (data.hasOwnProperty('userid')) { - obj['userid'] = ApiClient.convertToType(data['userid'], 'String'); - } - if (data.hasOwnProperty('name')) { - obj['name'] = ApiClient.convertToType(data['name'], 'String'); - } - if (data.hasOwnProperty('auth0roleid')) { - obj['auth0roleid'] = ApiClient.convertToType(data['auth0roleid'], 'String'); - } - } - return obj; - } - - -} - -/** - * Role description - * @member {String} description - */ -UserRole.prototype['description'] = undefined; - -/** - * The Role ID - * @member {String} roleid - */ -UserRole.prototype['roleid'] = undefined; - -/** - * The User ID - * @member {String} userid - */ -UserRole.prototype['userid'] = undefined; - -/** - * Role Name - * @member {String} name - */ -UserRole.prototype['name'] = undefined; - -/** - * Linked role ID - * @member {String} auth0roleid - */ -UserRole.prototype['auth0roleid'] = undefined; - - - - - - -export default UserRole; - diff --git a/client/sf-gate/test/api/AccountsApi.spec.js b/client/sf-gate/test/api/AccountsApi.spec.js deleted file mode 100644 index e58d994..0000000 --- a/client/sf-gate/test/api/AccountsApi.spec.js +++ /dev/null @@ -1,93 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.AccountsApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('AccountsApi', function() { - describe('deleteAccount', function() { - it('should call deleteAccount successfully', function(done) { - //uncomment below and update the code to test deleteAccount - //instance.deleteAccount(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('getAccounts', function() { - it('should call getAccounts successfully', function(done) { - //uncomment below and update the code to test getAccounts - //instance.getAccounts(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('postAccounts', function() { - it('should call postAccounts successfully', function(done) { - //uncomment below and update the code to test postAccounts - //instance.postAccounts(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('putAccount', function() { - it('should call putAccount successfully', function(done) { - //uncomment below and update the code to test putAccount - //instance.putAccount(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/sf-gate/test/api/AssetsApi.spec.js b/client/sf-gate/test/api/AssetsApi.spec.js deleted file mode 100644 index 7c7416e..0000000 --- a/client/sf-gate/test/api/AssetsApi.spec.js +++ /dev/null @@ -1,73 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.AssetsApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('AssetsApi', function() { - describe('getAssets', function() { - it('should call getAssets successfully', function(done) { - //uncomment below and update the code to test getAssets - //instance.getAssets(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('postAssets', function() { - it('should call postAssets successfully', function(done) { - //uncomment below and update the code to test postAssets - //instance.postAssets(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/sf-gate/test/api/ClustersApi.spec.js b/client/sf-gate/test/api/ClustersApi.spec.js deleted file mode 100644 index 4a8a7b0..0000000 --- a/client/sf-gate/test/api/ClustersApi.spec.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.ClustersApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('ClustersApi', function() { - describe('getClusters', function() { - it('should call getClusters successfully', function(done) { - //uncomment below and update the code to test getClusters - //instance.getClusters(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('postClusters', function() { - it('should call postClusters successfully', function(done) { - //uncomment below and update the code to test postClusters - //instance.postClusters(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('putClusters', function() { - it('should call putClusters successfully', function(done) { - //uncomment below and update the code to test putClusters - //instance.putClusters(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/sf-gate/test/api/CompanyProductsApi.spec.js b/client/sf-gate/test/api/CompanyProductsApi.spec.js deleted file mode 100644 index cb7070a..0000000 --- a/client/sf-gate/test/api/CompanyProductsApi.spec.js +++ /dev/null @@ -1,73 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.CompanyProductsApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('CompanyProductsApi', function() { - describe('getCompanyProducts', function() { - it('should call getCompanyProducts successfully', function(done) { - //uncomment below and update the code to test getCompanyProducts - //instance.getCompanyProducts(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('postCompanyProducts', function() { - it('should call postCompanyProducts successfully', function(done) { - //uncomment below and update the code to test postCompanyProducts - //instance.postCompanyProducts(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/sf-gate/test/api/ContactsApi.spec.js b/client/sf-gate/test/api/ContactsApi.spec.js deleted file mode 100644 index df47cb9..0000000 --- a/client/sf-gate/test/api/ContactsApi.spec.js +++ /dev/null @@ -1,73 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.ContactsApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('ContactsApi', function() { - describe('getContacts', function() { - it('should call getContacts successfully', function(done) { - //uncomment below and update the code to test getContacts - //instance.getContacts(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('postContacts', function() { - it('should call postContacts successfully', function(done) { - //uncomment below and update the code to test postContacts - //instance.postContacts(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/sf-gate/test/api/ContractsApi.spec.js b/client/sf-gate/test/api/ContractsApi.spec.js deleted file mode 100644 index 6bf401e..0000000 --- a/client/sf-gate/test/api/ContractsApi.spec.js +++ /dev/null @@ -1,73 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.ContractsApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('ContractsApi', function() { - describe('getContracts', function() { - it('should call getContracts successfully', function(done) { - //uncomment below and update the code to test getContracts - //instance.getContracts(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('postContracts', function() { - it('should call postContracts successfully', function(done) { - //uncomment below and update the code to test postContracts - //instance.postContracts(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/sf-gate/test/api/DatabasesApi.spec.js b/client/sf-gate/test/api/DatabasesApi.spec.js deleted file mode 100644 index c132ca2..0000000 --- a/client/sf-gate/test/api/DatabasesApi.spec.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.DatabasesApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('DatabasesApi', function() { - describe('getDatabases', function() { - it('should call getDatabases successfully', function(done) { - //uncomment below and update the code to test getDatabases - //instance.getDatabases(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('postDatabases', function() { - it('should call postDatabases successfully', function(done) { - //uncomment below and update the code to test postDatabases - //instance.postDatabases(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('putDatabases', function() { - it('should call putDatabases successfully', function(done) { - //uncomment below and update the code to test putDatabases - //instance.putDatabases(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/sf-gate/test/api/IndustriesApi.spec.js b/client/sf-gate/test/api/IndustriesApi.spec.js deleted file mode 100644 index c3803a8..0000000 --- a/client/sf-gate/test/api/IndustriesApi.spec.js +++ /dev/null @@ -1,73 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.IndustriesApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('IndustriesApi', function() { - describe('getIndustries', function() { - it('should call getIndustries successfully', function(done) { - //uncomment below and update the code to test getIndustries - //instance.getIndustries(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('postIndustries', function() { - it('should call postIndustries successfully', function(done) { - //uncomment below and update the code to test postIndustries - //instance.postIndustries(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/sf-gate/test/api/IndustryProductsApi.spec.js b/client/sf-gate/test/api/IndustryProductsApi.spec.js deleted file mode 100644 index 3a887a5..0000000 --- a/client/sf-gate/test/api/IndustryProductsApi.spec.js +++ /dev/null @@ -1,63 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.IndustryProductsApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('IndustryProductsApi', function() { - describe('postIndustryproducts', function() { - it('should call postIndustryproducts successfully', function(done) { - //uncomment below and update the code to test postIndustryproducts - //instance.postIndustryproducts(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/sf-gate/test/api/IndustryproductsApi.spec.js b/client/sf-gate/test/api/IndustryproductsApi.spec.js deleted file mode 100644 index 14837bd..0000000 --- a/client/sf-gate/test/api/IndustryproductsApi.spec.js +++ /dev/null @@ -1,63 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.IndustryproductsApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('IndustryproductsApi', function() { - describe('getIndustryProducts', function() { - it('should call getIndustryProducts successfully', function(done) { - //uncomment below and update the code to test getIndustryProducts - //instance.getIndustryProducts(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/sf-gate/test/api/RolesApi.spec.js b/client/sf-gate/test/api/RolesApi.spec.js deleted file mode 100644 index 41b1a26..0000000 --- a/client/sf-gate/test/api/RolesApi.spec.js +++ /dev/null @@ -1,63 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.RolesApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('RolesApi', function() { - describe('getRoles', function() { - it('should call getRoles successfully', function(done) { - //uncomment below and update the code to test getRoles - //instance.getRoles(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/sf-gate/test/api/TemplatesApi.spec.js b/client/sf-gate/test/api/TemplatesApi.spec.js deleted file mode 100644 index 37d45c9..0000000 --- a/client/sf-gate/test/api/TemplatesApi.spec.js +++ /dev/null @@ -1,63 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.TemplatesApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('TemplatesApi', function() { - describe('getTemplates', function() { - it('should call getTemplates successfully', function(done) { - //uncomment below and update the code to test getTemplates - //instance.getTemplates(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/sf-gate/test/api/TenantsApi.spec.js b/client/sf-gate/test/api/TenantsApi.spec.js deleted file mode 100644 index bf09f98..0000000 --- a/client/sf-gate/test/api/TenantsApi.spec.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.TenantsApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('TenantsApi', function() { - describe('getTenants', function() { - it('should call getTenants successfully', function(done) { - //uncomment below and update the code to test getTenants - //instance.getTenants(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('putTenants', function() { - it('should call putTenants successfully', function(done) { - //uncomment below and update the code to test putTenants - //instance.putTenants(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - describe('tenants', function() { - it('should call tenants successfully', function(done) { - //uncomment below and update the code to test tenants - //instance.tenants(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/sf-gate/test/api/UsersApi.spec.js b/client/sf-gate/test/api/UsersApi.spec.js deleted file mode 100644 index 9bf86df..0000000 --- a/client/sf-gate/test/api/UsersApi.spec.js +++ /dev/null @@ -1,63 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.UsersApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('UsersApi', function() { - describe('getUsers', function() { - it('should call getUsers successfully', function(done) { - //uncomment below and update the code to test getUsers - //instance.getUsers(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/sf-gate/test/model/Account.spec.js b/client/sf-gate/test/model/Account.spec.js deleted file mode 100644 index 4c8b791..0000000 --- a/client/sf-gate/test/model/Account.spec.js +++ /dev/null @@ -1,353 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.Account(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Account', function() { - it('should create an instance of Account', function() { - // uncomment below and update the code to test Account - //var instance = new SfGate.Account(); - //expect(instance).to.be.a(SfGate.Account); - }); - - it('should have the property tenantID (base name: "TenantID")', function() { - // uncomment below and update the code to test the property tenantID - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property accountNumber (base name: "AccountNumber")', function() { - // uncomment below and update the code to test the property accountNumber - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property accountSource (base name: "AccountSource")', function() { - // uncomment below and update the code to test the property accountSource - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property annualRevenue (base name: "AnnualRevenue")', function() { - // uncomment below and update the code to test the property annualRevenue - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property billingAddress (base name: "BillingAddress")', function() { - // uncomment below and update the code to test the property billingAddress - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property billingContactID (base name: "BillingContactID")', function() { - // uncomment below and update the code to test the property billingContactID - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property closeDate (base name: "CloseDate")', function() { - // uncomment below and update the code to test the property closeDate - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property cloudRevenueTotal (base name: "CloudRevenueTotal")', function() { - // uncomment below and update the code to test the property cloudRevenueTotal - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property cloudType (base name: "CloudType")', function() { - // uncomment below and update the code to test the property cloudType - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property cloudYear (base name: "CloudYear")', function() { - // uncomment below and update the code to test the property cloudYear - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property crunchbaseURL (base name: "CrunchbaseURL")', function() { - // uncomment below and update the code to test the property crunchbaseURL - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "Description")', function() { - // uncomment below and update the code to test the property description - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property earningsCall (base name: "EarningsCall")', function() { - // uncomment below and update the code to test the property earningsCall - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property email (base name: "Email")', function() { - // uncomment below and update the code to test the property email - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property equityFunding (base name: "EquityFunding")', function() { - // uncomment below and update the code to test the property equityFunding - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property fax (base name: "Fax")', function() { - // uncomment below and update the code to test the property fax - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property foundedDate (base name: "FoundedDate")', function() { - // uncomment below and update the code to test the property foundedDate - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property industry (base name: "Industry")', function() { - // uncomment below and update the code to test the property industry - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property facebook (base name: "Facebook")', function() { - // uncomment below and update the code to test the property facebook - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property industries (base name: "Industries")', function() { - // uncomment below and update the code to test the property industries - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property iPODate (base name: "IPODate")', function() { - // uncomment below and update the code to test the property iPODate - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property linkedIn (base name: "LinkedIn")', function() { - // uncomment below and update the code to test the property linkedIn - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property location (base name: "Location")', function() { - // uncomment below and update the code to test the property location - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property marketCapitalization (base name: "MarketCapitalization")', function() { - // uncomment below and update the code to test the property marketCapitalization - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "Name")', function() { - // uncomment below and update the code to test the property name - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property numberOfEmployees (base name: "NumberOfEmployees")', function() { - // uncomment below and update the code to test the property numberOfEmployees - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property numberInvestments (base name: "NumberInvestments")', function() { - // uncomment below and update the code to test the property numberInvestments - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property ownerID (base name: "OwnerID")', function() { - // uncomment below and update the code to test the property ownerID - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property ownership (base name: "Ownership")', function() { - // uncomment below and update the code to test the property ownership - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property parentID (base name: "ParentID")', function() { - // uncomment below and update the code to test the property parentID - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property phone (base name: "Phone")', function() { - // uncomment below and update the code to test the property phone - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property publish (base name: "Publish")', function() { - // uncomment below and update the code to test the property publish - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property salesforceFirst (base name: "SalesforceFirst")', function() { - // uncomment below and update the code to test the property salesforceFirst - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property shippingAddress (base name: "ShippingAddress")', function() { - // uncomment below and update the code to test the property shippingAddress - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property shippingContactID (base name: "ShippingContactID")', function() { - // uncomment below and update the code to test the property shippingContactID - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property SIC (base name: "SIC")', function() { - // uncomment below and update the code to test the property SIC - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property sICDesc (base name: "SICDesc")', function() { - // uncomment below and update the code to test the property sICDesc - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property site (base name: "Site")', function() { - // uncomment below and update the code to test the property site - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property tagLine (base name: "TagLine")', function() { - // uncomment below and update the code to test the property tagLine - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property tickerSymbol (base name: "TickerSymbol")', function() { - // uncomment below and update the code to test the property tickerSymbol - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property type (base name: "Type")', function() { - // uncomment below and update the code to test the property type - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property twitter (base name: "Twitter")', function() { - // uncomment below and update the code to test the property twitter - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property website (base name: "Website")', function() { - // uncomment below and update the code to test the property website - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - it('should have the property yearStarted (base name: "YearStarted")', function() { - // uncomment below and update the code to test the property yearStarted - //var instance = new SfGate.Account(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/AccountRequest.spec.js b/client/sf-gate/test/model/AccountRequest.spec.js deleted file mode 100644 index 4c43ebf..0000000 --- a/client/sf-gate/test/model/AccountRequest.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.AccountRequest(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('AccountRequest', function() { - it('should create an instance of AccountRequest', function() { - // uncomment below and update the code to test AccountRequest - //var instance = new SfGate.AccountRequest(); - //expect(instance).to.be.a(SfGate.AccountRequest); - }); - - it('should have the property data (base name: "data")', function() { - // uncomment below and update the code to test the property data - //var instance = new SfGate.AccountRequest(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new SfGate.AccountRequest(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/AccountResponse.spec.js b/client/sf-gate/test/model/AccountResponse.spec.js deleted file mode 100644 index a588f66..0000000 --- a/client/sf-gate/test/model/AccountResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.AccountResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('AccountResponse', function() { - it('should create an instance of AccountResponse', function() { - // uncomment below and update the code to test AccountResponse - //var instance = new SfGate.AccountResponse(); - //expect(instance).to.be.a(SfGate.AccountResponse); - }); - - it('should have the property data (base name: "data")', function() { - // uncomment below and update the code to test the property data - //var instance = new SfGate.AccountResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new SfGate.AccountResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/Address.spec.js b/client/sf-gate/test/model/Address.spec.js deleted file mode 100644 index ed42e47..0000000 --- a/client/sf-gate/test/model/Address.spec.js +++ /dev/null @@ -1,101 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.Address(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Address', function() { - it('should create an instance of Address', function() { - // uncomment below and update the code to test Address - //var instance = new SfGate.Address(); - //expect(instance).to.be.a(SfGate.Address); - }); - - it('should have the property city (base name: "city")', function() { - // uncomment below and update the code to test the property city - //var instance = new SfGate.Address(); - //expect(instance).to.be(); - }); - - it('should have the property country (base name: "country")', function() { - // uncomment below and update the code to test the property country - //var instance = new SfGate.Address(); - //expect(instance).to.be(); - }); - - it('should have the property countrycode (base name: "countrycode")', function() { - // uncomment below and update the code to test the property countrycode - //var instance = new SfGate.Address(); - //expect(instance).to.be(); - }); - - it('should have the property postalcode (base name: "postalcode")', function() { - // uncomment below and update the code to test the property postalcode - //var instance = new SfGate.Address(); - //expect(instance).to.be(); - }); - - it('should have the property state (base name: "state")', function() { - // uncomment below and update the code to test the property state - //var instance = new SfGate.Address(); - //expect(instance).to.be(); - }); - - it('should have the property statecode (base name: "statecode")', function() { - // uncomment below and update the code to test the property statecode - //var instance = new SfGate.Address(); - //expect(instance).to.be(); - }); - - it('should have the property street (base name: "street")', function() { - // uncomment below and update the code to test the property street - //var instance = new SfGate.Address(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/Asset.spec.js b/client/sf-gate/test/model/Asset.spec.js deleted file mode 100644 index 1bf4ba0..0000000 --- a/client/sf-gate/test/model/Asset.spec.js +++ /dev/null @@ -1,341 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.Asset(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Asset', function() { - it('should create an instance of Asset', function() { - // uncomment below and update the code to test Asset - //var instance = new SfGate.Asset(); - //expect(instance).to.be.a(SfGate.Asset); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property accountID (base name: "AccountID")', function() { - // uncomment below and update the code to test the property accountID - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property address (base name: "Address")', function() { - // uncomment below and update the code to test the property address - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property assetLevel (base name: "AssetLevel")', function() { - // uncomment below and update the code to test the property assetLevel - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "Name")', function() { - // uncomment below and update the code to test the property name - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property assetProvidedByID (base name: "AssetProvidedByID")', function() { - // uncomment below and update the code to test the property assetProvidedByID - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property assetServicedByID (base name: "AssetServicedByID")', function() { - // uncomment below and update the code to test the property assetServicedByID - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property companyProductID (base name: "CompanyProductID")', function() { - // uncomment below and update the code to test the property companyProductID - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property isCompetitorProduct (base name: "IsCompetitorProduct")', function() { - // uncomment below and update the code to test the property isCompetitorProduct - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property consequenceOfFailure (base name: "ConsequenceOfFailure")', function() { - // uncomment below and update the code to test the property consequenceOfFailure - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property contactID (base name: "ContactID")', function() { - // uncomment below and update the code to test the property contactID - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property currentAmount (base name: "CurrentAmount")', function() { - // uncomment below and update the code to test the property currentAmount - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property currentLifecycleEndDate (base name: "CurrentLifecycleEndDate")', function() { - // uncomment below and update the code to test the property currentLifecycleEndDate - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property currentMrr (base name: "CurrentMrr")', function() { - // uncomment below and update the code to test the property currentMrr - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property currentQuantity (base name: "CurrentQuantity")', function() { - // uncomment below and update the code to test the property currentQuantity - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "Description")', function() { - // uncomment below and update the code to test the property description - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property digitalAssetStatus (base name: "DigitalAssetStatus")', function() { - // uncomment below and update the code to test the property digitalAssetStatus - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property externalIdentifier (base name: "ExternalIdentifier")', function() { - // uncomment below and update the code to test the property externalIdentifier - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property hasLifecycleManagement (base name: "HasLifecycleManagement")', function() { - // uncomment below and update the code to test the property hasLifecycleManagement - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property installDate (base name: "InstallDate")', function() { - // uncomment below and update the code to test the property installDate - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property isInternal (base name: "IsInternal")', function() { - // uncomment below and update the code to test the property isInternal - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property locationID (base name: "LocationID")', function() { - // uncomment below and update the code to test the property locationID - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property manufactureDate (base name: "ManufactureDate")', function() { - // uncomment below and update the code to test the property manufactureDate - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property mIMEType (base name: "MIMEType")', function() { - // uncomment below and update the code to test the property mIMEType - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property parentID (base name: "ParentID")', function() { - // uncomment below and update the code to test the property parentID - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property price (base name: "Price")', function() { - // uncomment below and update the code to test the property price - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property product2ID (base name: "Product2ID")', function() { - // uncomment below and update the code to test the property product2ID - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property productCode (base name: "ProductCode")', function() { - // uncomment below and update the code to test the property productCode - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property productDescription (base name: "ProductDescription")', function() { - // uncomment below and update the code to test the property productDescription - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property productFamily (base name: "ProductFamily")', function() { - // uncomment below and update the code to test the property productFamily - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property stockKeepingUnit (base name: "StockKeepingUnit")', function() { - // uncomment below and update the code to test the property stockKeepingUnit - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property purchaseDate (base name: "PurchaseDate")', function() { - // uncomment below and update the code to test the property purchaseDate - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property quantity (base name: "Quantity")', function() { - // uncomment below and update the code to test the property quantity - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property rootAssetID (base name: "RootAssetID")', function() { - // uncomment below and update the code to test the property rootAssetID - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property serialNumber (base name: "SerialNumber")', function() { - // uncomment below and update the code to test the property serialNumber - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property status (base name: "Status")', function() { - // uncomment below and update the code to test the property status - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property statusReason (base name: "StatusReason")', function() { - // uncomment below and update the code to test the property statusReason - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property tenantID (base name: "TenantID")', function() { - // uncomment below and update the code to test the property tenantID - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property totalLifecycleAmount (base name: "TotalLifecycleAmount")', function() { - // uncomment below and update the code to test the property totalLifecycleAmount - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property type (base name: "Type")', function() { - // uncomment below and update the code to test the property type - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property UUID (base name: "UUID")', function() { - // uncomment below and update the code to test the property UUID - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property URL (base name: "URL")', function() { - // uncomment below and update the code to test the property URL - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - it('should have the property usageEndDate (base name: "UsageEndDate")', function() { - // uncomment below and update the code to test the property usageEndDate - //var instance = new SfGate.Asset(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/AssetRequest.spec.js b/client/sf-gate/test/model/AssetRequest.spec.js deleted file mode 100644 index b79dbf2..0000000 --- a/client/sf-gate/test/model/AssetRequest.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.AssetRequest(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('AssetRequest', function() { - it('should create an instance of AssetRequest', function() { - // uncomment below and update the code to test AssetRequest - //var instance = new SfGate.AssetRequest(); - //expect(instance).to.be.a(SfGate.AssetRequest); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new SfGate.AssetRequest(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/AssetResponse.spec.js b/client/sf-gate/test/model/AssetResponse.spec.js deleted file mode 100644 index 0fff639..0000000 --- a/client/sf-gate/test/model/AssetResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.AssetResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('AssetResponse', function() { - it('should create an instance of AssetResponse', function() { - // uncomment below and update the code to test AssetResponse - //var instance = new SfGate.AssetResponse(); - //expect(instance).to.be.a(SfGate.AssetResponse); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new SfGate.AssetResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "Meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new SfGate.AssetResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/Cluster.spec.js b/client/sf-gate/test/model/Cluster.spec.js deleted file mode 100644 index bf9fc0d..0000000 --- a/client/sf-gate/test/model/Cluster.spec.js +++ /dev/null @@ -1,161 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.Cluster(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Cluster', function() { - it('should create an instance of Cluster', function() { - // uncomment below and update the code to test Cluster - //var instance = new SfGate.Cluster(); - //expect(instance).to.be.a(SfGate.Cluster); - }); - - it('should have the property id (base name: "id")', function() { - // uncomment below and update the code to test the property id - //var instance = new SfGate.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "name")', function() { - // uncomment below and update the code to test the property name - //var instance = new SfGate.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property createdbyid (base name: "createdbyid")', function() { - // uncomment below and update the code to test the property createdbyid - //var instance = new SfGate.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property createddate (base name: "createddate")', function() { - // uncomment below and update the code to test the property createddate - //var instance = new SfGate.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "description")', function() { - // uncomment below and update the code to test the property description - //var instance = new SfGate.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property environment (base name: "environment")', function() { - // uncomment below and update the code to test the property environment - //var instance = new SfGate.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property ref (base name: "ref")', function() { - // uncomment below and update the code to test the property ref - //var instance = new SfGate.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property gateway (base name: "gateway")', function() { - // uncomment below and update the code to test the property gateway - //var instance = new SfGate.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property ipAddress (base name: "ip_address")', function() { - // uncomment below and update the code to test the property ipAddress - //var instance = new SfGate.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property lastmodifiedbyid (base name: "lastmodifiedbyid")', function() { - // uncomment below and update the code to test the property lastmodifiedbyid - //var instance = new SfGate.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property lastmodifieddate (base name: "lastmodifieddate")', function() { - // uncomment below and update the code to test the property lastmodifieddate - //var instance = new SfGate.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property ownerid (base name: "ownerid")', function() { - // uncomment below and update the code to test the property ownerid - //var instance = new SfGate.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property status (base name: "status")', function() { - // uncomment below and update the code to test the property status - //var instance = new SfGate.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property subnet (base name: "subnet")', function() { - // uncomment below and update the code to test the property subnet - //var instance = new SfGate.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property tenantid (base name: "tenantid")', function() { - // uncomment below and update the code to test the property tenantid - //var instance = new SfGate.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property type (base name: "type")', function() { - // uncomment below and update the code to test the property type - //var instance = new SfGate.Cluster(); - //expect(instance).to.be(); - }); - - it('should have the property zone (base name: "zone")', function() { - // uncomment below and update the code to test the property zone - //var instance = new SfGate.Cluster(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/ClusterRequest.spec.js b/client/sf-gate/test/model/ClusterRequest.spec.js deleted file mode 100644 index f95374a..0000000 --- a/client/sf-gate/test/model/ClusterRequest.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.ClusterRequest(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('ClusterRequest', function() { - it('should create an instance of ClusterRequest', function() { - // uncomment below and update the code to test ClusterRequest - //var instance = new SfGate.ClusterRequest(); - //expect(instance).to.be.a(SfGate.ClusterRequest); - }); - - it('should have the property data (base name: "data")', function() { - // uncomment below and update the code to test the property data - //var instance = new SfGate.ClusterRequest(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new SfGate.ClusterRequest(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/ClusterResponse.spec.js b/client/sf-gate/test/model/ClusterResponse.spec.js deleted file mode 100644 index c38025e..0000000 --- a/client/sf-gate/test/model/ClusterResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.ClusterResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('ClusterResponse', function() { - it('should create an instance of ClusterResponse', function() { - // uncomment below and update the code to test ClusterResponse - //var instance = new SfGate.ClusterResponse(); - //expect(instance).to.be.a(SfGate.ClusterResponse); - }); - - it('should have the property data (base name: "data")', function() { - // uncomment below and update the code to test the property data - //var instance = new SfGate.ClusterResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new SfGate.ClusterResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/CompanyProduct.spec.js b/client/sf-gate/test/model/CompanyProduct.spec.js deleted file mode 100644 index da4d8fc..0000000 --- a/client/sf-gate/test/model/CompanyProduct.spec.js +++ /dev/null @@ -1,119 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.CompanyProduct(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('CompanyProduct', function() { - it('should create an instance of CompanyProduct', function() { - // uncomment below and update the code to test CompanyProduct - //var instance = new SfGate.CompanyProduct(); - //expect(instance).to.be.a(SfGate.CompanyProduct); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new SfGate.CompanyProduct(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new SfGate.CompanyProduct(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new SfGate.CompanyProduct(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new SfGate.CompanyProduct(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new SfGate.CompanyProduct(); - //expect(instance).to.be(); - }); - - it('should have the property accountID (base name: "AccountID")', function() { - // uncomment below and update the code to test the property accountID - //var instance = new SfGate.CompanyProduct(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "Description")', function() { - // uncomment below and update the code to test the property description - //var instance = new SfGate.CompanyProduct(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "Name")', function() { - // uncomment below and update the code to test the property name - //var instance = new SfGate.CompanyProduct(); - //expect(instance).to.be(); - }); - - it('should have the property tagLine (base name: "TagLine")', function() { - // uncomment below and update the code to test the property tagLine - //var instance = new SfGate.CompanyProduct(); - //expect(instance).to.be(); - }); - - it('should have the property URL (base name: "URL")', function() { - // uncomment below and update the code to test the property URL - //var instance = new SfGate.CompanyProduct(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/CompanyProductRequest.spec.js b/client/sf-gate/test/model/CompanyProductRequest.spec.js deleted file mode 100644 index b44a666..0000000 --- a/client/sf-gate/test/model/CompanyProductRequest.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.CompanyProductRequest(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('CompanyProductRequest', function() { - it('should create an instance of CompanyProductRequest', function() { - // uncomment below and update the code to test CompanyProductRequest - //var instance = new SfGate.CompanyProductRequest(); - //expect(instance).to.be.a(SfGate.CompanyProductRequest); - }); - - it('should have the property data (base name: "data")', function() { - // uncomment below and update the code to test the property data - //var instance = new SfGate.CompanyProductRequest(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new SfGate.CompanyProductRequest(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/CompanyProductResponse.spec.js b/client/sf-gate/test/model/CompanyProductResponse.spec.js deleted file mode 100644 index ba4d582..0000000 --- a/client/sf-gate/test/model/CompanyProductResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.CompanyProductResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('CompanyProductResponse', function() { - it('should create an instance of CompanyProductResponse', function() { - // uncomment below and update the code to test CompanyProductResponse - //var instance = new SfGate.CompanyProductResponse(); - //expect(instance).to.be.a(SfGate.CompanyProductResponse); - }); - - it('should have the property data (base name: "data")', function() { - // uncomment below and update the code to test the property data - //var instance = new SfGate.CompanyProductResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new SfGate.CompanyProductResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/Contact.spec.js b/client/sf-gate/test/model/Contact.spec.js deleted file mode 100644 index 6efd6e3..0000000 --- a/client/sf-gate/test/model/Contact.spec.js +++ /dev/null @@ -1,281 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.Contact(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Contact', function() { - it('should create an instance of Contact', function() { - // uncomment below and update the code to test Contact - //var instance = new SfGate.Contact(); - //expect(instance).to.be.a(SfGate.Contact); - }); - - it('should have the property tenantID (base name: "TenantID")', function() { - // uncomment below and update the code to test the property tenantID - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property accountID (base name: "AccountID")', function() { - // uncomment below and update the code to test the property accountID - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property assistantName (base name: "AssistantName")', function() { - // uncomment below and update the code to test the property assistantName - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property assistantPhone (base name: "AssistantPhone")', function() { - // uncomment below and update the code to test the property assistantPhone - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property birthDate (base name: "BirthDate")', function() { - // uncomment below and update the code to test the property birthDate - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property department (base name: "Department")', function() { - // uncomment below and update the code to test the property department - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "Description")', function() { - // uncomment below and update the code to test the property description - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property doNotCall (base name: "DoNotCall")', function() { - // uncomment below and update the code to test the property doNotCall - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property email (base name: "Email")', function() { - // uncomment below and update the code to test the property email - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property emailBounceDate (base name: "EmailBounceDate")', function() { - // uncomment below and update the code to test the property emailBounceDate - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property emailBounceReason (base name: "EmailBounceReason")', function() { - // uncomment below and update the code to test the property emailBounceReason - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property fax (base name: "Fax")', function() { - // uncomment below and update the code to test the property fax - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property facebook (base name: "Facebook")', function() { - // uncomment below and update the code to test the property facebook - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property firstName (base name: "FirstName")', function() { - // uncomment below and update the code to test the property firstName - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property hasOptedOutOfEmail (base name: "HasOptedOutOfEmail")', function() { - // uncomment below and update the code to test the property hasOptedOutOfEmail - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property hasOptedOutOfFax (base name: "HasOptedOutOfFax")', function() { - // uncomment below and update the code to test the property hasOptedOutOfFax - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property homePhone (base name: "HomePhone")', function() { - // uncomment below and update the code to test the property homePhone - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property isEmailBounced (base name: "IsEmailBounced")', function() { - // uncomment below and update the code to test the property isEmailBounced - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property lastName (base name: "LastName")', function() { - // uncomment below and update the code to test the property lastName - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property leadSource (base name: "LeadSource")', function() { - // uncomment below and update the code to test the property leadSource - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property linkedIn (base name: "LinkedIn")', function() { - // uncomment below and update the code to test the property linkedIn - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property mailingAddress (base name: "MailingAddress")', function() { - // uncomment below and update the code to test the property mailingAddress - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property mobilePhone (base name: "MobilePhone")', function() { - // uncomment below and update the code to test the property mobilePhone - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "Name")', function() { - // uncomment below and update the code to test the property name - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property otherAddress (base name: "OtherAddress")', function() { - // uncomment below and update the code to test the property otherAddress - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property otherPhone (base name: "OtherPhone")', function() { - // uncomment below and update the code to test the property otherPhone - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property ownerID (base name: "OwnerID")', function() { - // uncomment below and update the code to test the property ownerID - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property personalEmail (base name: "PersonalEmail")', function() { - // uncomment below and update the code to test the property personalEmail - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property phone (base name: "Phone")', function() { - // uncomment below and update the code to test the property phone - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property photoURL (base name: "PhotoURL")', function() { - // uncomment below and update the code to test the property photoURL - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property title (base name: "Title")', function() { - // uncomment below and update the code to test the property title - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - it('should have the property twitter (base name: "Twitter")', function() { - // uncomment below and update the code to test the property twitter - //var instance = new SfGate.Contact(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/ContactRequest.spec.js b/client/sf-gate/test/model/ContactRequest.spec.js deleted file mode 100644 index aa085e8..0000000 --- a/client/sf-gate/test/model/ContactRequest.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.ContactRequest(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('ContactRequest', function() { - it('should create an instance of ContactRequest', function() { - // uncomment below and update the code to test ContactRequest - //var instance = new SfGate.ContactRequest(); - //expect(instance).to.be.a(SfGate.ContactRequest); - }); - - it('should have the property data (base name: "data")', function() { - // uncomment below and update the code to test the property data - //var instance = new SfGate.ContactRequest(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new SfGate.ContactRequest(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/ContactResponse.spec.js b/client/sf-gate/test/model/ContactResponse.spec.js deleted file mode 100644 index 3f80f2a..0000000 --- a/client/sf-gate/test/model/ContactResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.ContactResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('ContactResponse', function() { - it('should create an instance of ContactResponse', function() { - // uncomment below and update the code to test ContactResponse - //var instance = new SfGate.ContactResponse(); - //expect(instance).to.be.a(SfGate.ContactResponse); - }); - - it('should have the property data (base name: "data")', function() { - // uncomment below and update the code to test the property data - //var instance = new SfGate.ContactResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new SfGate.ContactResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/Contract.spec.js b/client/sf-gate/test/model/Contract.spec.js deleted file mode 100644 index 252ae97..0000000 --- a/client/sf-gate/test/model/Contract.spec.js +++ /dev/null @@ -1,239 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.Contract(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Contract', function() { - it('should create an instance of Contract', function() { - // uncomment below and update the code to test Contract - //var instance = new SfGate.Contract(); - //expect(instance).to.be.a(SfGate.Contract); - }); - - it('should have the property accountID (base name: "AccountID")', function() { - // uncomment below and update the code to test the property accountID - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property activatedByID (base name: "ActivatedByID")', function() { - // uncomment below and update the code to test the property activatedByID - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property activatedDate (base name: "ActivatedDate")', function() { - // uncomment below and update the code to test the property activatedDate - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property billingAddress (base name: "BillingAddress")', function() { - // uncomment below and update the code to test the property billingAddress - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property billingContactID (base name: "BillingContactID")', function() { - // uncomment below and update the code to test the property billingContactID - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property companySignedDate (base name: "CompanySignedDate")', function() { - // uncomment below and update the code to test the property companySignedDate - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property companySignedID (base name: "CompanySignedID")', function() { - // uncomment below and update the code to test the property companySignedID - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property contractNumber (base name: "ContractNumber")', function() { - // uncomment below and update the code to test the property contractNumber - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property contractTerm (base name: "ContractTerm")', function() { - // uncomment below and update the code to test the property contractTerm - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property customerSignedDate (base name: "CustomerSignedDate")', function() { - // uncomment below and update the code to test the property customerSignedDate - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property customerSignedID (base name: "CustomerSignedID")', function() { - // uncomment below and update the code to test the property customerSignedID - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property customerSignedTitle (base name: "CustomerSignedTitle")', function() { - // uncomment below and update the code to test the property customerSignedTitle - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property defaultEndUserID (base name: "DefaultEndUserID")', function() { - // uncomment below and update the code to test the property defaultEndUserID - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "Description")', function() { - // uncomment below and update the code to test the property description - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property endDate (base name: "EndDate")', function() { - // uncomment below and update the code to test the property endDate - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property hourlyRate (base name: "HourlyRate")', function() { - // uncomment below and update the code to test the property hourlyRate - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "Name")', function() { - // uncomment below and update the code to test the property name - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property paymentMethodID (base name: "PaymentMethodID")', function() { - // uncomment below and update the code to test the property paymentMethodID - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property paymentTerms (base name: "PaymentTerms")', function() { - // uncomment below and update the code to test the property paymentTerms - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property perpetual (base name: "Perpetual")', function() { - // uncomment below and update the code to test the property perpetual - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property shippingAddress (base name: "ShippingAddress")', function() { - // uncomment below and update the code to test the property shippingAddress - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property shippingContactID (base name: "ShippingContactID")', function() { - // uncomment below and update the code to test the property shippingContactID - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property startDate (base name: "StartDate")', function() { - // uncomment below and update the code to test the property startDate - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property status (base name: "Status")', function() { - // uncomment below and update the code to test the property status - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - it('should have the property tenantID (base name: "TenantID")', function() { - // uncomment below and update the code to test the property tenantID - //var instance = new SfGate.Contract(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/ContractRequest.spec.js b/client/sf-gate/test/model/ContractRequest.spec.js deleted file mode 100644 index 9b93529..0000000 --- a/client/sf-gate/test/model/ContractRequest.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.ContractRequest(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('ContractRequest', function() { - it('should create an instance of ContractRequest', function() { - // uncomment below and update the code to test ContractRequest - //var instance = new SfGate.ContractRequest(); - //expect(instance).to.be.a(SfGate.ContractRequest); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new SfGate.ContractRequest(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/ContractResponse.spec.js b/client/sf-gate/test/model/ContractResponse.spec.js deleted file mode 100644 index c591815..0000000 --- a/client/sf-gate/test/model/ContractResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.ContractResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('ContractResponse', function() { - it('should create an instance of ContractResponse', function() { - // uncomment below and update the code to test ContractResponse - //var instance = new SfGate.ContractResponse(); - //expect(instance).to.be.a(SfGate.ContractResponse); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new SfGate.ContractResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "Meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new SfGate.ContractResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/Database.spec.js b/client/sf-gate/test/model/Database.spec.js deleted file mode 100644 index d1e2dce..0000000 --- a/client/sf-gate/test/model/Database.spec.js +++ /dev/null @@ -1,137 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.Database(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Database', function() { - it('should create an instance of Database', function() { - // uncomment below and update the code to test Database - //var instance = new SfGate.Database(); - //expect(instance).to.be.a(SfGate.Database); - }); - - it('should have the property active (base name: "active")', function() { - // uncomment below and update the code to test the property active - //var instance = new SfGate.Database(); - //expect(instance).to.be(); - }); - - it('should have the property clusterid (base name: "clusterid")', function() { - // uncomment below and update the code to test the property clusterid - //var instance = new SfGate.Database(); - //expect(instance).to.be(); - }); - - it('should have the property createdbyid (base name: "createdbyid")', function() { - // uncomment below and update the code to test the property createdbyid - //var instance = new SfGate.Database(); - //expect(instance).to.be(); - }); - - it('should have the property createddate (base name: "createddate")', function() { - // uncomment below and update the code to test the property createddate - //var instance = new SfGate.Database(); - //expect(instance).to.be(); - }); - - it('should have the property databasename (base name: "databasename")', function() { - // uncomment below and update the code to test the property databasename - //var instance = new SfGate.Database(); - //expect(instance).to.be(); - }); - - it('should have the property dsn (base name: "dsn")', function() { - // uncomment below and update the code to test the property dsn - //var instance = new SfGate.Database(); - //expect(instance).to.be(); - }); - - it('should have the property id (base name: "id")', function() { - // uncomment below and update the code to test the property id - //var instance = new SfGate.Database(); - //expect(instance).to.be(); - }); - - it('should have the property lastmodifiedbyid (base name: "lastmodifiedbyid")', function() { - // uncomment below and update the code to test the property lastmodifiedbyid - //var instance = new SfGate.Database(); - //expect(instance).to.be(); - }); - - it('should have the property lastmodifieddate (base name: "lastmodifieddate")', function() { - // uncomment below and update the code to test the property lastmodifieddate - //var instance = new SfGate.Database(); - //expect(instance).to.be(); - }); - - it('should have the property microservices (base name: "microservices")', function() { - // uncomment below and update the code to test the property microservices - //var instance = new SfGate.Database(); - //expect(instance).to.be(); - }); - - it('should have the property status (base name: "status")', function() { - // uncomment below and update the code to test the property status - //var instance = new SfGate.Database(); - //expect(instance).to.be(); - }); - - it('should have the property tenantid (base name: "tenantid")', function() { - // uncomment below and update the code to test the property tenantid - //var instance = new SfGate.Database(); - //expect(instance).to.be(); - }); - - it('should have the property type (base name: "type")', function() { - // uncomment below and update the code to test the property type - //var instance = new SfGate.Database(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/DatabaseRequest.spec.js b/client/sf-gate/test/model/DatabaseRequest.spec.js deleted file mode 100644 index 4b82bc8..0000000 --- a/client/sf-gate/test/model/DatabaseRequest.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.DatabaseRequest(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('DatabaseRequest', function() { - it('should create an instance of DatabaseRequest', function() { - // uncomment below and update the code to test DatabaseRequest - //var instance = new SfGate.DatabaseRequest(); - //expect(instance).to.be.a(SfGate.DatabaseRequest); - }); - - it('should have the property data (base name: "data")', function() { - // uncomment below and update the code to test the property data - //var instance = new SfGate.DatabaseRequest(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new SfGate.DatabaseRequest(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/DatabaseResponse.spec.js b/client/sf-gate/test/model/DatabaseResponse.spec.js deleted file mode 100644 index 27b1f9c..0000000 --- a/client/sf-gate/test/model/DatabaseResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.DatabaseResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('DatabaseResponse', function() { - it('should create an instance of DatabaseResponse', function() { - // uncomment below and update the code to test DatabaseResponse - //var instance = new SfGate.DatabaseResponse(); - //expect(instance).to.be.a(SfGate.DatabaseResponse); - }); - - it('should have the property data (base name: "data")', function() { - // uncomment below and update the code to test the property data - //var instance = new SfGate.DatabaseResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new SfGate.DatabaseResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/DeleteResponse.spec.js b/client/sf-gate/test/model/DeleteResponse.spec.js deleted file mode 100644 index 9f9ab7e..0000000 --- a/client/sf-gate/test/model/DeleteResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.DeleteResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('DeleteResponse', function() { - it('should create an instance of DeleteResponse', function() { - // uncomment below and update the code to test DeleteResponse - //var instance = new SfGate.DeleteResponse(); - //expect(instance).to.be.a(SfGate.DeleteResponse); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new SfGate.DeleteResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "Meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new SfGate.DeleteResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/Error.spec.js b/client/sf-gate/test/model/Error.spec.js deleted file mode 100644 index eb913a0..0000000 --- a/client/sf-gate/test/model/Error.spec.js +++ /dev/null @@ -1,77 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.Error(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Error', function() { - it('should create an instance of Error', function() { - // uncomment below and update the code to test Error - //var instance = new SfGate.Error(); - //expect(instance).to.be.a(SfGate.Error); - }); - - it('should have the property code (base name: "Code")', function() { - // uncomment below and update the code to test the property code - //var instance = new SfGate.Error(); - //expect(instance).to.be(); - }); - - it('should have the property fields (base name: "Fields")', function() { - // uncomment below and update the code to test the property fields - //var instance = new SfGate.Error(); - //expect(instance).to.be(); - }); - - it('should have the property message (base name: "Message")', function() { - // uncomment below and update the code to test the property message - //var instance = new SfGate.Error(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/Industry.spec.js b/client/sf-gate/test/model/Industry.spec.js deleted file mode 100644 index c004e53..0000000 --- a/client/sf-gate/test/model/Industry.spec.js +++ /dev/null @@ -1,131 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.Industry(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Industry', function() { - it('should create an instance of Industry', function() { - // uncomment below and update the code to test Industry - //var instance = new SfGate.Industry(); - //expect(instance).to.be.a(SfGate.Industry); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new SfGate.Industry(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new SfGate.Industry(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new SfGate.Industry(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new SfGate.Industry(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new SfGate.Industry(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "Name")', function() { - // uncomment below and update the code to test the property name - //var instance = new SfGate.Industry(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "Description")', function() { - // uncomment below and update the code to test the property description - //var instance = new SfGate.Industry(); - //expect(instance).to.be(); - }); - - it('should have the property parentIndustryID (base name: "ParentIndustryID")', function() { - // uncomment below and update the code to test the property parentIndustryID - //var instance = new SfGate.Industry(); - //expect(instance).to.be(); - }); - - it('should have the property level (base name: "Level")', function() { - // uncomment below and update the code to test the property level - //var instance = new SfGate.Industry(); - //expect(instance).to.be(); - }); - - it('should have the property path (base name: "Path")', function() { - // uncomment below and update the code to test the property path - //var instance = new SfGate.Industry(); - //expect(instance).to.be(); - }); - - it('should have the property slug (base name: "Slug")', function() { - // uncomment below and update the code to test the property slug - //var instance = new SfGate.Industry(); - //expect(instance).to.be(); - }); - - it('should have the property siteURL (base name: "SiteURL")', function() { - // uncomment below and update the code to test the property siteURL - //var instance = new SfGate.Industry(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/IndustryProduct.spec.js b/client/sf-gate/test/model/IndustryProduct.spec.js deleted file mode 100644 index 90b6376..0000000 --- a/client/sf-gate/test/model/IndustryProduct.spec.js +++ /dev/null @@ -1,107 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.IndustryProduct(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('IndustryProduct', function() { - it('should create an instance of IndustryProduct', function() { - // uncomment below and update the code to test IndustryProduct - //var instance = new SfGate.IndustryProduct(); - //expect(instance).to.be.a(SfGate.IndustryProduct); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new SfGate.IndustryProduct(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new SfGate.IndustryProduct(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new SfGate.IndustryProduct(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new SfGate.IndustryProduct(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new SfGate.IndustryProduct(); - //expect(instance).to.be(); - }); - - it('should have the property industryID (base name: "IndustryID")', function() { - // uncomment below and update the code to test the property industryID - //var instance = new SfGate.IndustryProduct(); - //expect(instance).to.be(); - }); - - it('should have the property HTML (base name: "HTML")', function() { - // uncomment below and update the code to test the property HTML - //var instance = new SfGate.IndustryProduct(); - //expect(instance).to.be(); - }); - - it('should have the property companyProductID (base name: "CompanyProductID")', function() { - // uncomment below and update the code to test the property companyProductID - //var instance = new SfGate.IndustryProduct(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/IndustryProductRequest.spec.js b/client/sf-gate/test/model/IndustryProductRequest.spec.js deleted file mode 100644 index 5546b99..0000000 --- a/client/sf-gate/test/model/IndustryProductRequest.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.IndustryProductRequest(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('IndustryProductRequest', function() { - it('should create an instance of IndustryProductRequest', function() { - // uncomment below and update the code to test IndustryProductRequest - //var instance = new SfGate.IndustryProductRequest(); - //expect(instance).to.be.a(SfGate.IndustryProductRequest); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new SfGate.IndustryProductRequest(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/IndustryProductResponse.spec.js b/client/sf-gate/test/model/IndustryProductResponse.spec.js deleted file mode 100644 index 8c66d10..0000000 --- a/client/sf-gate/test/model/IndustryProductResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.IndustryProductResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('IndustryProductResponse', function() { - it('should create an instance of IndustryProductResponse', function() { - // uncomment below and update the code to test IndustryProductResponse - //var instance = new SfGate.IndustryProductResponse(); - //expect(instance).to.be.a(SfGate.IndustryProductResponse); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new SfGate.IndustryProductResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "Meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new SfGate.IndustryProductResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/IndustryRequest.spec.js b/client/sf-gate/test/model/IndustryRequest.spec.js deleted file mode 100644 index 159680f..0000000 --- a/client/sf-gate/test/model/IndustryRequest.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.IndustryRequest(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('IndustryRequest', function() { - it('should create an instance of IndustryRequest', function() { - // uncomment below and update the code to test IndustryRequest - //var instance = new SfGate.IndustryRequest(); - //expect(instance).to.be.a(SfGate.IndustryRequest); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new SfGate.IndustryRequest(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/IndustryResponse.spec.js b/client/sf-gate/test/model/IndustryResponse.spec.js deleted file mode 100644 index 1f75d29..0000000 --- a/client/sf-gate/test/model/IndustryResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.IndustryResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('IndustryResponse', function() { - it('should create an instance of IndustryResponse', function() { - // uncomment below and update the code to test IndustryResponse - //var instance = new SfGate.IndustryResponse(); - //expect(instance).to.be.a(SfGate.IndustryResponse); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new SfGate.IndustryResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "Meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new SfGate.IndustryResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/InvalidError.spec.js b/client/sf-gate/test/model/InvalidError.spec.js deleted file mode 100644 index f9ec2a5..0000000 --- a/client/sf-gate/test/model/InvalidError.spec.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.InvalidError(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('InvalidError', function() { - it('should create an instance of InvalidError', function() { - // uncomment below and update the code to test InvalidError - //var instance = new SfGate.InvalidError(); - //expect(instance).to.be.a(SfGate.InvalidError); - }); - - it('should have the property code (base name: "Code")', function() { - // uncomment below and update the code to test the property code - //var instance = new SfGate.InvalidError(); - //expect(instance).to.be(); - }); - - it('should have the property fields (base name: "Fields")', function() { - // uncomment below and update the code to test the property fields - //var instance = new SfGate.InvalidError(); - //expect(instance).to.be(); - }); - - it('should have the property message (base name: "Message")', function() { - // uncomment below and update the code to test the property message - //var instance = new SfGate.InvalidError(); - //expect(instance).to.be(); - }); - - it('should have the property details (base name: "details")', function() { - // uncomment below and update the code to test the property details - //var instance = new SfGate.InvalidError(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/InvalidErrorAllOf.spec.js b/client/sf-gate/test/model/InvalidErrorAllOf.spec.js deleted file mode 100644 index f8fba47..0000000 --- a/client/sf-gate/test/model/InvalidErrorAllOf.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.InvalidErrorAllOf(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('InvalidErrorAllOf', function() { - it('should create an instance of InvalidErrorAllOf', function() { - // uncomment below and update the code to test InvalidErrorAllOf - //var instance = new SfGate.InvalidErrorAllOf(); - //expect(instance).to.be.a(SfGate.InvalidErrorAllOf); - }); - - it('should have the property details (base name: "details")', function() { - // uncomment below and update the code to test the property details - //var instance = new SfGate.InvalidErrorAllOf(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/Message.spec.js b/client/sf-gate/test/model/Message.spec.js deleted file mode 100644 index f2e0795..0000000 --- a/client/sf-gate/test/model/Message.spec.js +++ /dev/null @@ -1,77 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.Message(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Message', function() { - it('should create an instance of Message', function() { - // uncomment below and update the code to test Message - //var instance = new SfGate.Message(); - //expect(instance).to.be.a(SfGate.Message); - }); - - it('should have the property message (base name: "message")', function() { - // uncomment below and update the code to test the property message - //var instance = new SfGate.Message(); - //expect(instance).to.be(); - }); - - it('should have the property ref (base name: "ref")', function() { - // uncomment below and update the code to test the property ref - //var instance = new SfGate.Message(); - //expect(instance).to.be(); - }); - - it('should have the property status (base name: "status")', function() { - // uncomment below and update the code to test the property status - //var instance = new SfGate.Message(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/Pagination.spec.js b/client/sf-gate/test/model/Pagination.spec.js deleted file mode 100644 index c647947..0000000 --- a/client/sf-gate/test/model/Pagination.spec.js +++ /dev/null @@ -1,83 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.Pagination(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Pagination', function() { - it('should create an instance of Pagination', function() { - // uncomment below and update the code to test Pagination - //var instance = new SfGate.Pagination(); - //expect(instance).to.be.a(SfGate.Pagination); - }); - - it('should have the property limit (base name: "limit")', function() { - // uncomment below and update the code to test the property limit - //var instance = new SfGate.Pagination(); - //expect(instance).to.be(); - }); - - it('should have the property pagesize (base name: "pagesize")', function() { - // uncomment below and update the code to test the property pagesize - //var instance = new SfGate.Pagination(); - //expect(instance).to.be(); - }); - - it('should have the property poffset (base name: "poffset")', function() { - // uncomment below and update the code to test the property poffset - //var instance = new SfGate.Pagination(); - //expect(instance).to.be(); - }); - - it('should have the property setsize (base name: "setsize")', function() { - // uncomment below and update the code to test the property setsize - //var instance = new SfGate.Pagination(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/RequestMeta.spec.js b/client/sf-gate/test/model/RequestMeta.spec.js deleted file mode 100644 index 1c4110c..0000000 --- a/client/sf-gate/test/model/RequestMeta.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.RequestMeta(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('RequestMeta', function() { - it('should create an instance of RequestMeta', function() { - // uncomment below and update the code to test RequestMeta - //var instance = new SfGate.RequestMeta(); - //expect(instance).to.be.a(SfGate.RequestMeta); - }); - - it('should have the property taxnexusAccount (base name: "TaxnexusAccount")', function() { - // uncomment below and update the code to test the property taxnexusAccount - //var instance = new SfGate.RequestMeta(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/ResponseMeta.spec.js b/client/sf-gate/test/model/ResponseMeta.spec.js deleted file mode 100644 index 6e56588..0000000 --- a/client/sf-gate/test/model/ResponseMeta.spec.js +++ /dev/null @@ -1,131 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.ResponseMeta(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('ResponseMeta', function() { - it('should create an instance of ResponseMeta', function() { - // uncomment below and update the code to test ResponseMeta - //var instance = new SfGate.ResponseMeta(); - //expect(instance).to.be.a(SfGate.ResponseMeta); - }); - - it('should have the property contact (base name: "Contact")', function() { - // uncomment below and update the code to test the property contact - //var instance = new SfGate.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property copyright (base name: "Copyright")', function() { - // uncomment below and update the code to test the property copyright - //var instance = new SfGate.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property license (base name: "License")', function() { - // uncomment below and update the code to test the property license - //var instance = new SfGate.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property operationID (base name: "OperationID")', function() { - // uncomment below and update the code to test the property operationID - //var instance = new SfGate.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property pagination (base name: "Pagination")', function() { - // uncomment below and update the code to test the property pagination - //var instance = new SfGate.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property requestIP (base name: "RequestIP")', function() { - // uncomment below and update the code to test the property requestIP - //var instance = new SfGate.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property requestType (base name: "RequestType")', function() { - // uncomment below and update the code to test the property requestType - //var instance = new SfGate.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property requestURL (base name: "RequestURL")', function() { - // uncomment below and update the code to test the property requestURL - //var instance = new SfGate.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property serverInfo (base name: "ServerInfo")', function() { - // uncomment below and update the code to test the property serverInfo - //var instance = new SfGate.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property serverResponseTime (base name: "ServerResponseTime")', function() { - // uncomment below and update the code to test the property serverResponseTime - //var instance = new SfGate.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property serverTimestamp (base name: "ServerTimestamp")', function() { - // uncomment below and update the code to test the property serverTimestamp - //var instance = new SfGate.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property taxnexusAccount (base name: "TaxnexusAccount")', function() { - // uncomment below and update the code to test the property taxnexusAccount - //var instance = new SfGate.ResponseMeta(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/Role.spec.js b/client/sf-gate/test/model/Role.spec.js deleted file mode 100644 index c1ad9ae..0000000 --- a/client/sf-gate/test/model/Role.spec.js +++ /dev/null @@ -1,113 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.Role(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Role', function() { - it('should create an instance of Role', function() { - // uncomment below and update the code to test Role - //var instance = new SfGate.Role(); - //expect(instance).to.be.a(SfGate.Role); - }); - - it('should have the property id (base name: "id")', function() { - // uncomment below and update the code to test the property id - //var instance = new SfGate.Role(); - //expect(instance).to.be(); - }); - - it('should have the property auth0roleid (base name: "auth0roleid")', function() { - // uncomment below and update the code to test the property auth0roleid - //var instance = new SfGate.Role(); - //expect(instance).to.be(); - }); - - it('should have the property createdbyid (base name: "createdbyid")', function() { - // uncomment below and update the code to test the property createdbyid - //var instance = new SfGate.Role(); - //expect(instance).to.be(); - }); - - it('should have the property createddate (base name: "createddate")', function() { - // uncomment below and update the code to test the property createddate - //var instance = new SfGate.Role(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "description")', function() { - // uncomment below and update the code to test the property description - //var instance = new SfGate.Role(); - //expect(instance).to.be(); - }); - - it('should have the property lastmodifiedbyid (base name: "lastmodifiedbyid")', function() { - // uncomment below and update the code to test the property lastmodifiedbyid - //var instance = new SfGate.Role(); - //expect(instance).to.be(); - }); - - it('should have the property lastmodifieddate (base name: "lastmodifieddate")', function() { - // uncomment below and update the code to test the property lastmodifieddate - //var instance = new SfGate.Role(); - //expect(instance).to.be(); - }); - - it('should have the property rolename (base name: "rolename")', function() { - // uncomment below and update the code to test the property rolename - //var instance = new SfGate.Role(); - //expect(instance).to.be(); - }); - - it('should have the property tenantid (base name: "tenantid")', function() { - // uncomment below and update the code to test the property tenantid - //var instance = new SfGate.Role(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/RoleRequest.spec.js b/client/sf-gate/test/model/RoleRequest.spec.js deleted file mode 100644 index 00536c5..0000000 --- a/client/sf-gate/test/model/RoleRequest.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.RoleRequest(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('RoleRequest', function() { - it('should create an instance of RoleRequest', function() { - // uncomment below and update the code to test RoleRequest - //var instance = new SfGate.RoleRequest(); - //expect(instance).to.be.a(SfGate.RoleRequest); - }); - - it('should have the property data (base name: "data")', function() { - // uncomment below and update the code to test the property data - //var instance = new SfGate.RoleRequest(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new SfGate.RoleRequest(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/RoleResponse.spec.js b/client/sf-gate/test/model/RoleResponse.spec.js deleted file mode 100644 index abfdec8..0000000 --- a/client/sf-gate/test/model/RoleResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.RoleResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('RoleResponse', function() { - it('should create an instance of RoleResponse', function() { - // uncomment below and update the code to test RoleResponse - //var instance = new SfGate.RoleResponse(); - //expect(instance).to.be.a(SfGate.RoleResponse); - }); - - it('should have the property data (base name: "data")', function() { - // uncomment below and update the code to test the property data - //var instance = new SfGate.RoleResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new SfGate.RoleResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/Template.spec.js b/client/sf-gate/test/model/Template.spec.js deleted file mode 100644 index e160a34..0000000 --- a/client/sf-gate/test/model/Template.spec.js +++ /dev/null @@ -1,155 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.Template(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Template', function() { - it('should create an instance of Template', function() { - // uncomment below and update the code to test Template - //var instance = new SfGate.Template(); - //expect(instance).to.be.a(SfGate.Template); - }); - - it('should have the property tenantid (base name: "tenantid")', function() { - // uncomment below and update the code to test the property tenantid - //var instance = new SfGate.Template(); - //expect(instance).to.be(); - }); - - it('should have the property companyID (base name: "CompanyID")', function() { - // uncomment below and update the code to test the property companyID - //var instance = new SfGate.Template(); - //expect(instance).to.be(); - }); - - it('should have the property createdByID (base name: "CreatedByID")', function() { - // uncomment below and update the code to test the property createdByID - //var instance = new SfGate.Template(); - //expect(instance).to.be(); - }); - - it('should have the property createdDate (base name: "CreatedDate")', function() { - // uncomment below and update the code to test the property createdDate - //var instance = new SfGate.Template(); - //expect(instance).to.be(); - }); - - it('should have the property description (base name: "Description")', function() { - // uncomment below and update the code to test the property description - //var instance = new SfGate.Template(); - //expect(instance).to.be(); - }); - - it('should have the property HTML (base name: "HTML")', function() { - // uncomment below and update the code to test the property HTML - //var instance = new SfGate.Template(); - //expect(instance).to.be(); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new SfGate.Template(); - //expect(instance).to.be(); - }); - - it('should have the property isActive (base name: "IsActive")', function() { - // uncomment below and update the code to test the property isActive - //var instance = new SfGate.Template(); - //expect(instance).to.be(); - }); - - it('should have the property isMaster (base name: "IsMaster")', function() { - // uncomment below and update the code to test the property isMaster - //var instance = new SfGate.Template(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedByID (base name: "LastModifiedByID")', function() { - // uncomment below and update the code to test the property lastModifiedByID - //var instance = new SfGate.Template(); - //expect(instance).to.be(); - }); - - it('should have the property lastModifiedDate (base name: "LastModifiedDate")', function() { - // uncomment below and update the code to test the property lastModifiedDate - //var instance = new SfGate.Template(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "Name")', function() { - // uncomment below and update the code to test the property name - //var instance = new SfGate.Template(); - //expect(instance).to.be(); - }); - - it('should have the property objectType (base name: "ObjectType")', function() { - // uncomment below and update the code to test the property objectType - //var instance = new SfGate.Template(); - //expect(instance).to.be(); - }); - - it('should have the property recordTypeName (base name: "RecordTypeName")', function() { - // uncomment below and update the code to test the property recordTypeName - //var instance = new SfGate.Template(); - //expect(instance).to.be(); - }); - - it('should have the property type (base name: "Type")', function() { - // uncomment below and update the code to test the property type - //var instance = new SfGate.Template(); - //expect(instance).to.be(); - }); - - it('should have the property URL (base name: "URL")', function() { - // uncomment below and update the code to test the property URL - //var instance = new SfGate.Template(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/TemplateResponse.spec.js b/client/sf-gate/test/model/TemplateResponse.spec.js deleted file mode 100644 index 2a7c1a7..0000000 --- a/client/sf-gate/test/model/TemplateResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.TemplateResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('TemplateResponse', function() { - it('should create an instance of TemplateResponse', function() { - // uncomment below and update the code to test TemplateResponse - //var instance = new SfGate.TemplateResponse(); - //expect(instance).to.be.a(SfGate.TemplateResponse); - }); - - it('should have the property data (base name: "data")', function() { - // uncomment below and update the code to test the property data - //var instance = new SfGate.TemplateResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new SfGate.TemplateResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/Tenant.spec.js b/client/sf-gate/test/model/Tenant.spec.js deleted file mode 100644 index ddbc8ff..0000000 --- a/client/sf-gate/test/model/Tenant.spec.js +++ /dev/null @@ -1,143 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.Tenant(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Tenant', function() { - it('should create an instance of Tenant', function() { - // uncomment below and update the code to test Tenant - //var instance = new SfGate.Tenant(); - //expect(instance).to.be.a(SfGate.Tenant); - }); - - it('should have the property id (base name: "id")', function() { - // uncomment below and update the code to test the property id - //var instance = new SfGate.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property accountid (base name: "accountid")', function() { - // uncomment below and update the code to test the property accountid - //var instance = new SfGate.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property active (base name: "active")', function() { - // uncomment below and update the code to test the property active - //var instance = new SfGate.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property createdbyid (base name: "createdbyid")', function() { - // uncomment below and update the code to test the property createdbyid - //var instance = new SfGate.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property createddate (base name: "createddate")', function() { - // uncomment below and update the code to test the property createddate - //var instance = new SfGate.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property lastmodifiedbyid (base name: "lastmodifiedbyid")', function() { - // uncomment below and update the code to test the property lastmodifiedbyid - //var instance = new SfGate.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property lastmodifieddate (base name: "lastmodifieddate")', function() { - // uncomment below and update the code to test the property lastmodifieddate - //var instance = new SfGate.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property status (base name: "status")', function() { - // uncomment below and update the code to test the property status - //var instance = new SfGate.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property tenantname (base name: "tenantname")', function() { - // uncomment below and update the code to test the property tenantname - //var instance = new SfGate.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property type (base name: "type")', function() { - // uncomment below and update the code to test the property type - //var instance = new SfGate.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property version (base name: "version")', function() { - // uncomment below and update the code to test the property version - //var instance = new SfGate.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property databases (base name: "databases")', function() { - // uncomment below and update the code to test the property databases - //var instance = new SfGate.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property roles (base name: "roles")', function() { - // uncomment below and update the code to test the property roles - //var instance = new SfGate.Tenant(); - //expect(instance).to.be(); - }); - - it('should have the property tenantusers (base name: "tenantusers")', function() { - // uncomment below and update the code to test the property tenantusers - //var instance = new SfGate.Tenant(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/TenantRequest.spec.js b/client/sf-gate/test/model/TenantRequest.spec.js deleted file mode 100644 index 75e8b6d..0000000 --- a/client/sf-gate/test/model/TenantRequest.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.TenantRequest(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('TenantRequest', function() { - it('should create an instance of TenantRequest', function() { - // uncomment below and update the code to test TenantRequest - //var instance = new SfGate.TenantRequest(); - //expect(instance).to.be.a(SfGate.TenantRequest); - }); - - it('should have the property data (base name: "data")', function() { - // uncomment below and update the code to test the property data - //var instance = new SfGate.TenantRequest(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new SfGate.TenantRequest(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/TenantResponse.spec.js b/client/sf-gate/test/model/TenantResponse.spec.js deleted file mode 100644 index 599620e..0000000 --- a/client/sf-gate/test/model/TenantResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.TenantResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('TenantResponse', function() { - it('should create an instance of TenantResponse', function() { - // uncomment below and update the code to test TenantResponse - //var instance = new SfGate.TenantResponse(); - //expect(instance).to.be.a(SfGate.TenantResponse); - }); - - it('should have the property data (base name: "data")', function() { - // uncomment below and update the code to test the property data - //var instance = new SfGate.TenantResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new SfGate.TenantResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/TenantUser.spec.js b/client/sf-gate/test/model/TenantUser.spec.js deleted file mode 100644 index daa5a83..0000000 --- a/client/sf-gate/test/model/TenantUser.spec.js +++ /dev/null @@ -1,77 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.TenantUser(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('TenantUser', function() { - it('should create an instance of TenantUser', function() { - // uncomment below and update the code to test TenantUser - //var instance = new SfGate.TenantUser(); - //expect(instance).to.be.a(SfGate.TenantUser); - }); - - it('should have the property accesslevel (base name: "accesslevel")', function() { - // uncomment below and update the code to test the property accesslevel - //var instance = new SfGate.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property tenantid (base name: "tenantid")', function() { - // uncomment below and update the code to test the property tenantid - //var instance = new SfGate.TenantUser(); - //expect(instance).to.be(); - }); - - it('should have the property userid (base name: "userid")', function() { - // uncomment below and update the code to test the property userid - //var instance = new SfGate.TenantUser(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/User.spec.js b/client/sf-gate/test/model/User.spec.js deleted file mode 100644 index 11adc1e..0000000 --- a/client/sf-gate/test/model/User.spec.js +++ /dev/null @@ -1,407 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.User(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('User', function() { - it('should create an instance of User', function() { - // uncomment below and update the code to test User - //var instance = new SfGate.User(); - //expect(instance).to.be.a(SfGate.User); - }); - - it('should have the property tenantid (base name: "tenantid")', function() { - // uncomment below and update the code to test the property tenantid - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property aboutme (base name: "aboutme")', function() { - // uncomment below and update the code to test the property aboutme - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property accountid (base name: "accountid")', function() { - // uncomment below and update the code to test the property accountid - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property address (base name: "address")', function() { - // uncomment below and update the code to test the property address - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property alias (base name: "alias")', function() { - // uncomment below and update the code to test the property alias - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property apikey (base name: "apikey")', function() { - // uncomment below and update the code to test the property apikey - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property auth0userid (base name: "auth0userid")', function() { - // uncomment below and update the code to test the property auth0userid - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property communitynickname (base name: "communitynickname")', function() { - // uncomment below and update the code to test the property communitynickname - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property companyname (base name: "companyname")', function() { - // uncomment below and update the code to test the property companyname - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property contactid (base name: "contactid")', function() { - // uncomment below and update the code to test the property contactid - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property createdbyid (base name: "createdbyid")', function() { - // uncomment below and update the code to test the property createdbyid - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property createddate (base name: "createddate")', function() { - // uncomment below and update the code to test the property createddate - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property delegatedapproverid (base name: "delegatedapproverid")', function() { - // uncomment below and update the code to test the property delegatedapproverid - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property department (base name: "department")', function() { - // uncomment below and update the code to test the property department - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property division (base name: "division")', function() { - // uncomment below and update the code to test the property division - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property email (base name: "email")', function() { - // uncomment below and update the code to test the property email - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property employeenumber (base name: "employeenumber")', function() { - // uncomment below and update the code to test the property employeenumber - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property endday (base name: "endday")', function() { - // uncomment below and update the code to test the property endday - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property environment (base name: "environment")', function() { - // uncomment below and update the code to test the property environment - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property extension (base name: "extension")', function() { - // uncomment below and update the code to test the property extension - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property fabricapikey (base name: "fabricapikey")', function() { - // uncomment below and update the code to test the property fabricapikey - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property fax (base name: "fax")', function() { - // uncomment below and update the code to test the property fax - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property firstname (base name: "firstname")', function() { - // uncomment below and update the code to test the property firstname - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property forecastenabled (base name: "forecastenabled")', function() { - // uncomment below and update the code to test the property forecastenabled - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property fullphotourl (base name: "fullphotourl")', function() { - // uncomment below and update the code to test the property fullphotourl - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property id (base name: "id")', function() { - // uncomment below and update the code to test the property id - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property isactive (base name: "isactive")', function() { - // uncomment below and update the code to test the property isactive - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property isportalenabled (base name: "isportalenabled")', function() { - // uncomment below and update the code to test the property isportalenabled - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property isprofilephotoactive (base name: "isprofilephotoactive")', function() { - // uncomment below and update the code to test the property isprofilephotoactive - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property issystemcontrolled (base name: "issystemcontrolled")', function() { - // uncomment below and update the code to test the property issystemcontrolled - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property lastip (base name: "lastip")', function() { - // uncomment below and update the code to test the property lastip - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property lastlogin (base name: "lastlogin")', function() { - // uncomment below and update the code to test the property lastlogin - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property lastmodifiedbyid (base name: "lastmodifiedbyid")', function() { - // uncomment below and update the code to test the property lastmodifiedbyid - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property lastmodifieddate (base name: "lastmodifieddate")', function() { - // uncomment below and update the code to test the property lastmodifieddate - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property lastname (base name: "lastname")', function() { - // uncomment below and update the code to test the property lastname - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property logincount (base name: "logincount")', function() { - // uncomment below and update the code to test the property logincount - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property managerid (base name: "managerid")', function() { - // uncomment below and update the code to test the property managerid - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property mobilephone (base name: "mobilephone")', function() { - // uncomment below and update the code to test the property mobilephone - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "name")', function() { - // uncomment below and update the code to test the property name - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property outofofficemessage (base name: "outofofficemessage")', function() { - // uncomment below and update the code to test the property outofofficemessage - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property phone (base name: "phone")', function() { - // uncomment below and update the code to test the property phone - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property portalrole (base name: "portalrole")', function() { - // uncomment below and update the code to test the property portalrole - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property profileid (base name: "profileid")', function() { - // uncomment below and update the code to test the property profileid - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property receivesadmininfoemails (base name: "receivesadmininfoemails")', function() { - // uncomment below and update the code to test the property receivesadmininfoemails - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property receivesinfoemails (base name: "receivesinfoemails")', function() { - // uncomment below and update the code to test the property receivesinfoemails - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property senderemail (base name: "senderemail")', function() { - // uncomment below and update the code to test the property senderemail - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property sendername (base name: "sendername")', function() { - // uncomment below and update the code to test the property sendername - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property signature (base name: "signature")', function() { - // uncomment below and update the code to test the property signature - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property smallphotourl (base name: "smallphotourl")', function() { - // uncomment below and update the code to test the property smallphotourl - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property startday (base name: "startday")', function() { - // uncomment below and update the code to test the property startday - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property taxnexusaccount (base name: "taxnexusaccount")', function() { - // uncomment below and update the code to test the property taxnexusaccount - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property timezonesidkey (base name: "timezonesidkey")', function() { - // uncomment below and update the code to test the property timezonesidkey - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property title (base name: "title")', function() { - // uncomment below and update the code to test the property title - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property username (base name: "username")', function() { - // uncomment below and update the code to test the property username - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property userroleid (base name: "userroleid")', function() { - // uncomment below and update the code to test the property userroleid - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property usertype (base name: "usertype")', function() { - // uncomment below and update the code to test the property usertype - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property userroles (base name: "userroles")', function() { - // uncomment below and update the code to test the property userroles - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - it('should have the property tenantusers (base name: "tenantusers")', function() { - // uncomment below and update the code to test the property tenantusers - //var instance = new SfGate.User(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/UserResponse.spec.js b/client/sf-gate/test/model/UserResponse.spec.js deleted file mode 100644 index c316afc..0000000 --- a/client/sf-gate/test/model/UserResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.UserResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('UserResponse', function() { - it('should create an instance of UserResponse', function() { - // uncomment below and update the code to test UserResponse - //var instance = new SfGate.UserResponse(); - //expect(instance).to.be.a(SfGate.UserResponse); - }); - - it('should have the property data (base name: "data")', function() { - // uncomment below and update the code to test the property data - //var instance = new SfGate.UserResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new SfGate.UserResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/sf-gate/test/model/UserRole.spec.js b/client/sf-gate/test/model/UserRole.spec.js deleted file mode 100644 index 2681a18..0000000 --- a/client/sf-gate/test/model/UserRole.spec.js +++ /dev/null @@ -1,89 +0,0 @@ -/** - * sf-gate - * Customer Information Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.SfGate); - } -}(this, function(expect, SfGate) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new SfGate.UserRole(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('UserRole', function() { - it('should create an instance of UserRole', function() { - // uncomment below and update the code to test UserRole - //var instance = new SfGate.UserRole(); - //expect(instance).to.be.a(SfGate.UserRole); - }); - - it('should have the property description (base name: "description")', function() { - // uncomment below and update the code to test the property description - //var instance = new SfGate.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property roleid (base name: "roleid")', function() { - // uncomment below and update the code to test the property roleid - //var instance = new SfGate.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property userid (base name: "userid")', function() { - // uncomment below and update the code to test the property userid - //var instance = new SfGate.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property name (base name: "name")', function() { - // uncomment below and update the code to test the property name - //var instance = new SfGate.UserRole(); - //expect(instance).to.be(); - }); - - it('should have the property auth0roleid (base name: "auth0roleid")', function() { - // uncomment below and update the code to test the property auth0roleid - //var instance = new SfGate.UserRole(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/stash/.babelrc b/client/stash/.babelrc deleted file mode 100644 index c73df9d..0000000 --- a/client/stash/.babelrc +++ /dev/null @@ -1,33 +0,0 @@ -{ - "presets": [ - "@babel/preset-env" - ], - "plugins": [ - "@babel/plugin-syntax-dynamic-import", - "@babel/plugin-syntax-import-meta", - "@babel/plugin-proposal-class-properties", - "@babel/plugin-proposal-json-strings", - [ - "@babel/plugin-proposal-decorators", - { - "legacy": true - } - ], - "@babel/plugin-proposal-function-sent", - "@babel/plugin-proposal-export-namespace-from", - "@babel/plugin-proposal-numeric-separator", - "@babel/plugin-proposal-throw-expressions", - "@babel/plugin-proposal-export-default-from", - "@babel/plugin-proposal-logical-assignment-operators", - "@babel/plugin-proposal-optional-chaining", - [ - "@babel/plugin-proposal-pipeline-operator", - { - "proposal": "minimal" - } - ], - "@babel/plugin-proposal-nullish-coalescing-operator", - "@babel/plugin-proposal-do-expressions", - "@babel/plugin-proposal-function-bind" - ] -} diff --git a/client/stash/.gitignore b/client/stash/.gitignore deleted file mode 100644 index e920c16..0000000 --- a/client/stash/.gitignore +++ /dev/null @@ -1,33 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* - -# Runtime data -pids -*.pid -*.seed - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage - -# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# node-waf configuration -.lock-wscript - -# Compiled binary addons (http://nodejs.org/api/addons.html) -build/Release - -# Dependency directory -node_modules - -# Optional npm cache directory -.npm - -# Optional REPL history -.node_repl_history diff --git a/client/stash/.openapi-generator-ignore b/client/stash/.openapi-generator-ignore deleted file mode 100644 index 7484ee5..0000000 --- a/client/stash/.openapi-generator-ignore +++ /dev/null @@ -1,23 +0,0 @@ -# OpenAPI Generator Ignore -# Generated by openapi-generator https://github.com/openapitools/openapi-generator - -# Use this file to prevent files from being overwritten by the generator. -# The patterns follow closely to .gitignore or .dockerignore. - -# As an example, the C# client generator defines ApiClient.cs. -# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line: -#ApiClient.cs - -# You can match any string of characters against a directory, file or extension with a single asterisk (*): -#foo/*/qux -# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux - -# You can recursively match patterns against a directory, file or extension with a double asterisk (**): -#foo/**/qux -# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux - -# You can also negate patterns with an exclamation (!). -# For example, you can ignore all files in a docs folder with the file extension .md: -#docs/*.md -# Then explicitly reverse the ignore rule for a single file: -#!docs/README.md diff --git a/client/stash/.openapi-generator/FILES b/client/stash/.openapi-generator/FILES deleted file mode 100644 index 4615489..0000000 --- a/client/stash/.openapi-generator/FILES +++ /dev/null @@ -1,34 +0,0 @@ -.babelrc -.gitignore -.openapi-generator-ignore -.travis.yml -README.md -docs/Document.md -docs/DocumentResponse.md -docs/Error.md -docs/NewPDF.md -docs/PDFRequest.md -docs/RequestMeta.md -docs/ResponseMeta.md -docs/StashPdfApi.md -git_push.sh -mocha.opts -package.json -src/ApiClient.js -src/api/StashPdfApi.js -src/index.js -src/model/Document.js -src/model/DocumentResponse.js -src/model/Error.js -src/model/NewPDF.js -src/model/PDFRequest.js -src/model/RequestMeta.js -src/model/ResponseMeta.js -test/api/StashPdfApi.spec.js -test/model/Document.spec.js -test/model/DocumentResponse.spec.js -test/model/Error.spec.js -test/model/NewPDF.spec.js -test/model/PDFRequest.spec.js -test/model/RequestMeta.spec.js -test/model/ResponseMeta.spec.js diff --git a/client/stash/.openapi-generator/VERSION b/client/stash/.openapi-generator/VERSION deleted file mode 100644 index 6d54bbd..0000000 --- a/client/stash/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -6.0.1 \ No newline at end of file diff --git a/client/stash/.travis.yml b/client/stash/.travis.yml deleted file mode 100644 index 0968f7a..0000000 --- a/client/stash/.travis.yml +++ /dev/null @@ -1,5 +0,0 @@ -language: node_js -cache: npm -node_js: - - "6" - - "6.1" diff --git a/client/stash/README.md b/client/stash/README.md deleted file mode 100644 index 75981ad..0000000 --- a/client/stash/README.md +++ /dev/null @@ -1,153 +0,0 @@ -# stash - -Stash - JavaScript client for stash -PDF Storage Microservice -This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - -- API version: 0.0.2 -- Package version: 0.0.2 -- 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 stash --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 stash 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/GIT_USER_ID/GIT_REPO_ID -then install it via: - -```shell - npm install GIT_USER_ID/GIT_REPO_ID --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 Stash = require('stash'); - -var defaultClient = Stash.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -var ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = "YOUR API KEY" -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix['X-API-Key'] = "Token" - -var api = new Stash.StashPdfApi() -var pDFRequest = new Stash.PDFRequest(); // {PDFRequest} An array of new PDF records -var callback = function(error, data, response) { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}; -api.postPdfs(pDFRequest, callback); - -``` - -## Documentation for API Endpoints - -All URIs are relative to *http://stash.vernonkeenan.com:8080/v1* - -Class | Method | HTTP request | Description ------------- | ------------- | ------------- | ------------- -*Stash.StashPdfApi* | [**postPdfs**](docs/StashPdfApi.md#postPdfs) | **POST** /pdfs | Create new PDFs - - -## Documentation for Models - - - [Stash.Document](docs/Document.md) - - [Stash.DocumentResponse](docs/DocumentResponse.md) - - [Stash.Error](docs/Error.md) - - [Stash.NewPDF](docs/NewPDF.md) - - [Stash.PDFRequest](docs/PDFRequest.md) - - [Stash.RequestMeta](docs/RequestMeta.md) - - [Stash.ResponseMeta](docs/ResponseMeta.md) - - -## Documentation for Authorization - - - -### ApiKeyAuth - - -- **Type**: API key -- **API key parameter name**: X-API-Key -- **Location**: HTTP header - diff --git a/client/stash/docs/Document.md b/client/stash/docs/Document.md deleted file mode 100644 index 9c9e936..0000000 --- a/client/stash/docs/Document.md +++ /dev/null @@ -1,14 +0,0 @@ -# Stash.Document - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**filename** | **String** | | [optional] -**ID** | **String** | | [optional] -**sagaType** | **String** | | [optional] -**parentID** | **String** | | [optional] -**title** | **String** | | [optional] -**URI** | **String** | | [optional] - - diff --git a/client/stash/docs/DocumentResponse.md b/client/stash/docs/DocumentResponse.md deleted file mode 100644 index 506beed..0000000 --- a/client/stash/docs/DocumentResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# Stash.DocumentResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[Document]**](Document.md) | | [optional] -**meta** | [**ResponseMeta**](ResponseMeta.md) | | [optional] - - diff --git a/client/stash/docs/Error.md b/client/stash/docs/Error.md deleted file mode 100644 index b60dab6..0000000 --- a/client/stash/docs/Error.md +++ /dev/null @@ -1,11 +0,0 @@ -# Stash.Error - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **Number** | | [optional] -**fields** | **String** | | [optional] -**message** | **String** | | [optional] - - diff --git a/client/stash/docs/NewPDF.md b/client/stash/docs/NewPDF.md deleted file mode 100644 index 9b27dae..0000000 --- a/client/stash/docs/NewPDF.md +++ /dev/null @@ -1,17 +0,0 @@ -# Stash.NewPDF - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**description** | **String** | Description | [optional] -**filename** | **String** | Filename only | [optional] -**HTML** | **String** | The HTML data in text format | [optional] -**lastAccessedByID** | **String** | Last Accessed By | [optional] -**objectType** | **String** | This document's financial object origination | [optional] -**ownerID** | **String** | User who created the PDF | [optional] -**parentID** | **String** | ID of the record that owns this PDF | [optional] -**ref** | **String** | External reference if any | [optional] -**title** | **String** | Document descriptive title | [optional] - - diff --git a/client/stash/docs/PDFRequest.md b/client/stash/docs/PDFRequest.md deleted file mode 100644 index 0891a73..0000000 --- a/client/stash/docs/PDFRequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# Stash.PDFRequest - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**data** | [**[NewPDF]**](NewPDF.md) | | [optional] -**meta** | [**RequestMeta**](RequestMeta.md) | | [optional] - - diff --git a/client/stash/docs/RequestMeta.md b/client/stash/docs/RequestMeta.md deleted file mode 100644 index 8bc5714..0000000 --- a/client/stash/docs/RequestMeta.md +++ /dev/null @@ -1,9 +0,0 @@ -# Stash.RequestMeta - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**taxnexusAccount** | **String** | Taxnexus Account Number of the Reseller or OEM | - - diff --git a/client/stash/docs/ResponseMeta.md b/client/stash/docs/ResponseMeta.md deleted file mode 100644 index 4c7ae5a..0000000 --- a/client/stash/docs/ResponseMeta.md +++ /dev/null @@ -1,19 +0,0 @@ -# Stash.ResponseMeta - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**contact** | **String** | Microservice Contact Info | [optional] -**copyright** | **String** | Copyright Info | [optional] -**license** | **String** | License Information and Restrictions | [optional] -**operationID** | **String** | Operation ID | [optional] -**requestIP** | **String** | Request IP Address | [optional] -**requestType** | **String** | Request Type | [optional] -**requestURL** | **String** | Request URL | [optional] -**serverInfo** | **String** | Data Server Info | [optional] -**serverResponseTime** | **String** | Data Server Response Time (ms) | [optional] -**serverTimestamp** | **String** | Backend Server Timestamp | [optional] -**taxnexusAccount** | **String** | Taxnexus Account Number used for recording transactions | [optional] - - diff --git a/client/stash/docs/StashPdfApi.md b/client/stash/docs/StashPdfApi.md deleted file mode 100644 index e9f8090..0000000 --- a/client/stash/docs/StashPdfApi.md +++ /dev/null @@ -1,60 +0,0 @@ -# Stash.StashPdfApi - -All URIs are relative to *http://stash.vernonkeenan.com:8080/v1* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**postPdfs**](StashPdfApi.md#postPdfs) | **POST** /pdfs | Create new PDFs - - - -## postPdfs - -> DocumentResponse postPdfs(pDFRequest) - -Create new PDFs - -Store new PDFs - -### Example - -```javascript -import Stash from 'stash'; -let defaultClient = Stash.ApiClient.instance; -// Configure API key authorization: ApiKeyAuth -let ApiKeyAuth = defaultClient.authentications['ApiKeyAuth']; -ApiKeyAuth.apiKey = 'YOUR API KEY'; -// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null) -//ApiKeyAuth.apiKeyPrefix = 'Token'; - -let apiInstance = new Stash.StashPdfApi(); -let pDFRequest = new Stash.PDFRequest(); // PDFRequest | An array of new PDF records -apiInstance.postPdfs(pDFRequest, (error, data, response) => { - if (error) { - console.error(error); - } else { - console.log('API called successfully. Returned data: ' + data); - } -}); -``` - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **pDFRequest** | [**PDFRequest**](PDFRequest.md)| An array of new PDF records | - -### Return type - -[**DocumentResponse**](DocumentResponse.md) - -### Authorization - -[ApiKeyAuth](../README.md#ApiKeyAuth) - -### HTTP request headers - -- **Content-Type**: application/json -- **Accept**: application/json - diff --git a/client/stash/git_push.sh b/client/stash/git_push.sh deleted file mode 100644 index f53a75d..0000000 --- a/client/stash/git_push.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh -# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ -# -# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com" - -git_user_id=$1 -git_repo_id=$2 -release_note=$3 -git_host=$4 - -if [ "$git_host" = "" ]; then - git_host="github.com" - echo "[INFO] No command line input provided. Set \$git_host to $git_host" -fi - -if [ "$git_user_id" = "" ]; then - git_user_id="GIT_USER_ID" - echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" -fi - -if [ "$git_repo_id" = "" ]; then - git_repo_id="GIT_REPO_ID" - echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" -fi - -if [ "$release_note" = "" ]; then - release_note="Minor update" - echo "[INFO] No command line input provided. Set \$release_note to $release_note" -fi - -# Initialize the local directory as a Git repository -git init - -# Adds the files in the local repository and stages them for commit. -git add . - -# Commits the tracked changes and prepares them to be pushed to a remote repository. -git commit -m "$release_note" - -# Sets the new remote -git_remote=$(git remote) -if [ "$git_remote" = "" ]; then # git remote not defined - - if [ "$GIT_TOKEN" = "" ]; then - echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." - git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git - else - git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git - fi - -fi - -git pull origin master - -# Pushes (Forces) the changes in the local repository up to the remote repository -echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git" -git push origin master 2>&1 | grep -v 'To https' diff --git a/client/stash/mocha.opts b/client/stash/mocha.opts deleted file mode 100644 index 9070118..0000000 --- a/client/stash/mocha.opts +++ /dev/null @@ -1 +0,0 @@ ---timeout 10000 diff --git a/client/stash/package.json b/client/stash/package.json deleted file mode 100644 index d0b53fa..0000000 --- a/client/stash/package.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "name": "stash", - "version": "0.0.2", - "description": "PDF_Storage_Microservice", - "license": "Proprietary - Copyright (c) 2018-2021 by Taxnexus, Inc.", - "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/client/stash/src/ApiClient.js b/client/stash/src/ApiClient.js deleted file mode 100644 index afcd91a..0000000 --- a/client/stash/src/ApiClient.js +++ /dev/null @@ -1,692 +0,0 @@ -/** - * stash - * PDF Storage Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * 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 0.0.2 -*/ - -/** -* 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 { - /** - * The base URL against which to resolve every API call's (relative) path. - * Overrides the default value set in spec file if present - * @param {String} basePath - */ - constructor(basePath = 'http://stash.vernonkeenan.com:8080/v1') { - /** - * The base URL against which to resolve every API call's (relative) path. - * @type {String} - * @default http://stash.vernonkeenan.com:8080/v1 - */ - this.basePath = basePath.replace(/\/+$/, ''); - - /** - * The authentication methods to be included for all API calls. - * @type {Array.} - */ - this.authentications = { - 'ApiKeyAuth': {type: 'apiKey', 'in': 'header', name: 'X-API-Key'} - } - - /** - * The default HTTP headers to be included for all API calls. - * @type {Array.} - * @default {} - */ - this.defaultHeaders = { - 'User-Agent': 'OpenAPI-Generator/0.0.2/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('text'); - } - - // 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': "http://stash.vernonkeenan.com:8080/v1", - '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/client/stash/src/api/StashPdfApi.js b/client/stash/src/api/StashPdfApi.js deleted file mode 100644 index 9a84b1e..0000000 --- a/client/stash/src/api/StashPdfApi.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * stash - * PDF Storage Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 DocumentResponse from '../model/DocumentResponse'; -import Error from '../model/Error'; -import PDFRequest from '../model/PDFRequest'; - -/** -* StashPdf service. -* @module api/StashPdfApi -* @version 0.0.2 -*/ -export default class StashPdfApi { - - /** - * Constructs a new StashPdfApi. - * @alias module:api/StashPdfApi - * @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 postPdfs operation. - * @callback module:api/StashPdfApi~postPdfsCallback - * @param {String} error Error message, if any. - * @param {module:model/DocumentResponse} data The data returned by the service call. - * @param {String} response The complete HTTP response. - */ - - /** - * Create new PDFs - * Store new PDFs - * @param {module:model/PDFRequest} pDFRequest An array of new PDF records - * @param {module:api/StashPdfApi~postPdfsCallback} callback The callback function, accepting three arguments: error, data, response - * data is of type: {@link module:model/DocumentResponse} - */ - postPdfs(pDFRequest, callback) { - let postBody = pDFRequest; - // verify the required parameter 'pDFRequest' is set - if (pDFRequest === undefined || pDFRequest === null) { - throw new Error("Missing the required parameter 'pDFRequest' when calling postPdfs"); - } - - let pathParams = { - }; - let queryParams = { - }; - let headerParams = { - }; - let formParams = { - }; - - let authNames = ['ApiKeyAuth']; - let contentTypes = ['application/json']; - let accepts = ['application/json']; - let returnType = DocumentResponse; - return this.apiClient.callApi( - '/pdfs', 'POST', - pathParams, queryParams, headerParams, formParams, postBody, - authNames, contentTypes, accepts, returnType, null, callback - ); - } - - -} diff --git a/client/stash/src/index.js b/client/stash/src/index.js deleted file mode 100644 index a0914b5..0000000 --- a/client/stash/src/index.js +++ /dev/null @@ -1,111 +0,0 @@ -/** - * stash - * PDF Storage Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Document from './model/Document'; -import DocumentResponse from './model/DocumentResponse'; -import Error from './model/Error'; -import NewPDF from './model/NewPDF'; -import PDFRequest from './model/PDFRequest'; -import RequestMeta from './model/RequestMeta'; -import ResponseMeta from './model/ResponseMeta'; -import StashPdfApi from './api/StashPdfApi'; - - -/** -* PDF_Storage_Microservice.
-* 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 Stash = require('index'); // See note below*.
-* var xxxSvc = new Stash.XxxApi(); // Allocate the API class we're going to use.
-* var yyyModel = new Stash.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 Stash.XxxApi(); // Allocate the API class we're going to use.
-* var yyy = new Stash.Yyy(); // Construct a model instance.
-* yyyModel.someProperty = 'someValue';
-* ...
-* var zzz = xxxSvc.doSomething(yyyModel); // Invoke the service.
-* ...
-* 
-*

-* @module index -* @version 0.0.2 -*/ -export { - /** - * The ApiClient constructor. - * @property {module:ApiClient} - */ - ApiClient, - - /** - * The Document model constructor. - * @property {module:model/Document} - */ - Document, - - /** - * The DocumentResponse model constructor. - * @property {module:model/DocumentResponse} - */ - DocumentResponse, - - /** - * The Error model constructor. - * @property {module:model/Error} - */ - Error, - - /** - * The NewPDF model constructor. - * @property {module:model/NewPDF} - */ - NewPDF, - - /** - * The PDFRequest model constructor. - * @property {module:model/PDFRequest} - */ - PDFRequest, - - /** - * The RequestMeta model constructor. - * @property {module:model/RequestMeta} - */ - RequestMeta, - - /** - * The ResponseMeta model constructor. - * @property {module:model/ResponseMeta} - */ - ResponseMeta, - - /** - * The StashPdfApi service constructor. - * @property {module:api/StashPdfApi} - */ - StashPdfApi -}; diff --git a/client/stash/src/model/Document.js b/client/stash/src/model/Document.js deleted file mode 100644 index 61c9ef9..0000000 --- a/client/stash/src/model/Document.js +++ /dev/null @@ -1,111 +0,0 @@ -/** - * stash - * PDF Storage Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Document model module. - * @module model/Document - * @version 0.0.2 - */ -class Document { - /** - * Constructs a new Document. - * @alias module:model/Document - */ - constructor() { - - Document.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 Document 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/Document} obj Optional instance to populate. - * @return {module:model/Document} The populated Document instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Document(); - - if (data.hasOwnProperty('Filename')) { - obj['Filename'] = ApiClient.convertToType(data['Filename'], 'String'); - } - if (data.hasOwnProperty('ID')) { - obj['ID'] = ApiClient.convertToType(data['ID'], 'String'); - } - if (data.hasOwnProperty('SagaType')) { - obj['SagaType'] = ApiClient.convertToType(data['SagaType'], 'String'); - } - if (data.hasOwnProperty('ParentID')) { - obj['ParentID'] = ApiClient.convertToType(data['ParentID'], 'String'); - } - if (data.hasOwnProperty('Title')) { - obj['Title'] = ApiClient.convertToType(data['Title'], 'String'); - } - if (data.hasOwnProperty('URI')) { - obj['URI'] = ApiClient.convertToType(data['URI'], 'String'); - } - } - return obj; - } - - -} - -/** - * @member {String} Filename - */ -Document.prototype['Filename'] = undefined; - -/** - * @member {String} ID - */ -Document.prototype['ID'] = undefined; - -/** - * @member {String} SagaType - */ -Document.prototype['SagaType'] = undefined; - -/** - * @member {String} ParentID - */ -Document.prototype['ParentID'] = undefined; - -/** - * @member {String} Title - */ -Document.prototype['Title'] = undefined; - -/** - * @member {String} URI - */ -Document.prototype['URI'] = undefined; - - - - - - -export default Document; - diff --git a/client/stash/src/model/DocumentResponse.js b/client/stash/src/model/DocumentResponse.js deleted file mode 100644 index b553702..0000000 --- a/client/stash/src/model/DocumentResponse.js +++ /dev/null @@ -1,82 +0,0 @@ -/** - * stash - * PDF Storage Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Document from './Document'; -import ResponseMeta from './ResponseMeta'; - -/** - * The DocumentResponse model module. - * @module model/DocumentResponse - * @version 0.0.2 - */ -class DocumentResponse { - /** - * Constructs a new DocumentResponse. - * An array of rendered documents - * @alias module:model/DocumentResponse - */ - constructor() { - - DocumentResponse.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 DocumentResponse 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/DocumentResponse} obj Optional instance to populate. - * @return {module:model/DocumentResponse} The populated DocumentResponse instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new DocumentResponse(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [Document]); - } - if (data.hasOwnProperty('Meta')) { - obj['Meta'] = ResponseMeta.constructFromObject(data['Meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -DocumentResponse.prototype['Data'] = undefined; - -/** - * @member {module:model/ResponseMeta} Meta - */ -DocumentResponse.prototype['Meta'] = undefined; - - - - - - -export default DocumentResponse; - diff --git a/client/stash/src/model/Error.js b/client/stash/src/model/Error.js deleted file mode 100644 index 2d494d7..0000000 --- a/client/stash/src/model/Error.js +++ /dev/null @@ -1,87 +0,0 @@ -/** - * stash - * PDF Storage Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 Error model module. - * @module model/Error - * @version 0.0.2 - */ -class Error { - /** - * Constructs a new Error. - * @alias module:model/Error - */ - constructor() { - - Error.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 Error 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/Error} obj Optional instance to populate. - * @return {module:model/Error} The populated Error instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new Error(); - - if (data.hasOwnProperty('Code')) { - obj['Code'] = ApiClient.convertToType(data['Code'], 'Number'); - } - if (data.hasOwnProperty('Fields')) { - obj['Fields'] = ApiClient.convertToType(data['Fields'], 'String'); - } - if (data.hasOwnProperty('Message')) { - obj['Message'] = ApiClient.convertToType(data['Message'], 'String'); - } - } - return obj; - } - - -} - -/** - * @member {Number} Code - */ -Error.prototype['Code'] = undefined; - -/** - * @member {String} Fields - */ -Error.prototype['Fields'] = undefined; - -/** - * @member {String} Message - */ -Error.prototype['Message'] = undefined; - - - - - - -export default Error; - diff --git a/client/stash/src/model/NewPDF.js b/client/stash/src/model/NewPDF.js deleted file mode 100644 index 26ce791..0000000 --- a/client/stash/src/model/NewPDF.js +++ /dev/null @@ -1,144 +0,0 @@ -/** - * stash - * PDF Storage Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 NewPDF model module. - * @module model/NewPDF - * @version 0.0.2 - */ -class NewPDF { - /** - * Constructs a new NewPDF. - * @alias module:model/NewPDF - */ - constructor() { - - NewPDF.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 NewPDF 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/NewPDF} obj Optional instance to populate. - * @return {module:model/NewPDF} The populated NewPDF instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new NewPDF(); - - if (data.hasOwnProperty('Description')) { - obj['Description'] = ApiClient.convertToType(data['Description'], 'String'); - } - if (data.hasOwnProperty('Filename')) { - obj['Filename'] = ApiClient.convertToType(data['Filename'], 'String'); - } - if (data.hasOwnProperty('HTML')) { - obj['HTML'] = ApiClient.convertToType(data['HTML'], 'String'); - } - if (data.hasOwnProperty('LastAccessedByID')) { - obj['LastAccessedByID'] = ApiClient.convertToType(data['LastAccessedByID'], 'String'); - } - if (data.hasOwnProperty('ObjectType')) { - obj['ObjectType'] = ApiClient.convertToType(data['ObjectType'], 'String'); - } - if (data.hasOwnProperty('OwnerID')) { - obj['OwnerID'] = ApiClient.convertToType(data['OwnerID'], 'String'); - } - if (data.hasOwnProperty('ParentID')) { - obj['ParentID'] = ApiClient.convertToType(data['ParentID'], 'String'); - } - if (data.hasOwnProperty('Ref')) { - obj['Ref'] = ApiClient.convertToType(data['Ref'], 'String'); - } - if (data.hasOwnProperty('Title')) { - obj['Title'] = ApiClient.convertToType(data['Title'], 'String'); - } - } - return obj; - } - - -} - -/** - * Description - * @member {String} Description - */ -NewPDF.prototype['Description'] = undefined; - -/** - * Filename only - * @member {String} Filename - */ -NewPDF.prototype['Filename'] = undefined; - -/** - * The HTML data in text format - * @member {String} HTML - */ -NewPDF.prototype['HTML'] = undefined; - -/** - * Last Accessed By - * @member {String} LastAccessedByID - */ -NewPDF.prototype['LastAccessedByID'] = undefined; - -/** - * This document's financial object origination - * @member {String} ObjectType - */ -NewPDF.prototype['ObjectType'] = undefined; - -/** - * User who created the PDF - * @member {String} OwnerID - */ -NewPDF.prototype['OwnerID'] = undefined; - -/** - * ID of the record that owns this PDF - * @member {String} ParentID - */ -NewPDF.prototype['ParentID'] = undefined; - -/** - * External reference if any - * @member {String} Ref - */ -NewPDF.prototype['Ref'] = undefined; - -/** - * Document descriptive title - * @member {String} Title - */ -NewPDF.prototype['Title'] = undefined; - - - - - - -export default NewPDF; - diff --git a/client/stash/src/model/PDFRequest.js b/client/stash/src/model/PDFRequest.js deleted file mode 100644 index b1b5d92..0000000 --- a/client/stash/src/model/PDFRequest.js +++ /dev/null @@ -1,81 +0,0 @@ -/** - * stash - * PDF Storage Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 NewPDF from './NewPDF'; -import RequestMeta from './RequestMeta'; - -/** - * The PDFRequest model module. - * @module model/PDFRequest - * @version 0.0.2 - */ -class PDFRequest { - /** - * Constructs a new PDFRequest. - * @alias module:model/PDFRequest - */ - constructor() { - - PDFRequest.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 PDFRequest 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/PDFRequest} obj Optional instance to populate. - * @return {module:model/PDFRequest} The populated PDFRequest instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new PDFRequest(); - - if (data.hasOwnProperty('Data')) { - obj['Data'] = ApiClient.convertToType(data['Data'], [NewPDF]); - } - if (data.hasOwnProperty('Meta')) { - obj['Meta'] = RequestMeta.constructFromObject(data['Meta']); - } - } - return obj; - } - - -} - -/** - * @member {Array.} Data - */ -PDFRequest.prototype['Data'] = undefined; - -/** - * @member {module:model/RequestMeta} Meta - */ -PDFRequest.prototype['Meta'] = undefined; - - - - - - -export default PDFRequest; - diff --git a/client/stash/src/model/RequestMeta.js b/client/stash/src/model/RequestMeta.js deleted file mode 100644 index f567e0c..0000000 --- a/client/stash/src/model/RequestMeta.js +++ /dev/null @@ -1,74 +0,0 @@ -/** - * stash - * PDF Storage Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 RequestMeta model module. - * @module model/RequestMeta - * @version 0.0.2 - */ -class RequestMeta { - /** - * Constructs a new RequestMeta. - * @alias module:model/RequestMeta - * @param taxnexusAccount {String} Taxnexus Account Number of the Reseller or OEM - */ - constructor(taxnexusAccount) { - - RequestMeta.initialize(this, taxnexusAccount); - } - - /** - * 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, taxnexusAccount) { - obj['TaxnexusAccount'] = taxnexusAccount; - } - - /** - * Constructs a RequestMeta 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/RequestMeta} obj Optional instance to populate. - * @return {module:model/RequestMeta} The populated RequestMeta instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new RequestMeta(); - - if (data.hasOwnProperty('TaxnexusAccount')) { - obj['TaxnexusAccount'] = ApiClient.convertToType(data['TaxnexusAccount'], 'String'); - } - } - return obj; - } - - -} - -/** - * Taxnexus Account Number of the Reseller or OEM - * @member {String} TaxnexusAccount - */ -RequestMeta.prototype['TaxnexusAccount'] = undefined; - - - - - - -export default RequestMeta; - diff --git a/client/stash/src/model/ResponseMeta.js b/client/stash/src/model/ResponseMeta.js deleted file mode 100644 index 581fba4..0000000 --- a/client/stash/src/model/ResponseMeta.js +++ /dev/null @@ -1,162 +0,0 @@ -/** - * stash - * PDF Storage Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class 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 ResponseMeta model module. - * @module model/ResponseMeta - * @version 0.0.2 - */ -class ResponseMeta { - /** - * Constructs a new ResponseMeta. - * @alias module:model/ResponseMeta - */ - constructor() { - - ResponseMeta.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 ResponseMeta 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/ResponseMeta} obj Optional instance to populate. - * @return {module:model/ResponseMeta} The populated ResponseMeta instance. - */ - static constructFromObject(data, obj) { - if (data) { - obj = obj || new ResponseMeta(); - - if (data.hasOwnProperty('Contact')) { - obj['Contact'] = ApiClient.convertToType(data['Contact'], 'String'); - } - if (data.hasOwnProperty('Copyright')) { - obj['Copyright'] = ApiClient.convertToType(data['Copyright'], 'String'); - } - if (data.hasOwnProperty('License')) { - obj['License'] = ApiClient.convertToType(data['License'], 'String'); - } - if (data.hasOwnProperty('OperationID')) { - obj['OperationID'] = ApiClient.convertToType(data['OperationID'], 'String'); - } - if (data.hasOwnProperty('RequestIP')) { - obj['RequestIP'] = ApiClient.convertToType(data['RequestIP'], 'String'); - } - if (data.hasOwnProperty('RequestType')) { - obj['RequestType'] = ApiClient.convertToType(data['RequestType'], 'String'); - } - if (data.hasOwnProperty('RequestURL')) { - obj['RequestURL'] = ApiClient.convertToType(data['RequestURL'], 'String'); - } - if (data.hasOwnProperty('ServerInfo')) { - obj['ServerInfo'] = ApiClient.convertToType(data['ServerInfo'], 'String'); - } - if (data.hasOwnProperty('ServerResponseTime')) { - obj['ServerResponseTime'] = ApiClient.convertToType(data['ServerResponseTime'], 'String'); - } - if (data.hasOwnProperty('ServerTimestamp')) { - obj['ServerTimestamp'] = ApiClient.convertToType(data['ServerTimestamp'], 'String'); - } - if (data.hasOwnProperty('TaxnexusAccount')) { - obj['TaxnexusAccount'] = ApiClient.convertToType(data['TaxnexusAccount'], 'String'); - } - } - return obj; - } - - -} - -/** - * Microservice Contact Info - * @member {String} Contact - */ -ResponseMeta.prototype['Contact'] = undefined; - -/** - * Copyright Info - * @member {String} Copyright - */ -ResponseMeta.prototype['Copyright'] = undefined; - -/** - * License Information and Restrictions - * @member {String} License - */ -ResponseMeta.prototype['License'] = undefined; - -/** - * Operation ID - * @member {String} OperationID - */ -ResponseMeta.prototype['OperationID'] = undefined; - -/** - * Request IP Address - * @member {String} RequestIP - */ -ResponseMeta.prototype['RequestIP'] = undefined; - -/** - * Request Type - * @member {String} RequestType - */ -ResponseMeta.prototype['RequestType'] = undefined; - -/** - * Request URL - * @member {String} RequestURL - */ -ResponseMeta.prototype['RequestURL'] = undefined; - -/** - * Data Server Info - * @member {String} ServerInfo - */ -ResponseMeta.prototype['ServerInfo'] = undefined; - -/** - * Data Server Response Time (ms) - * @member {String} ServerResponseTime - */ -ResponseMeta.prototype['ServerResponseTime'] = undefined; - -/** - * Backend Server Timestamp - * @member {String} ServerTimestamp - */ -ResponseMeta.prototype['ServerTimestamp'] = undefined; - -/** - * Taxnexus Account Number used for recording transactions - * @member {String} TaxnexusAccount - */ -ResponseMeta.prototype['TaxnexusAccount'] = undefined; - - - - - - -export default ResponseMeta; - diff --git a/client/stash/test/api/StashPdfApi.spec.js b/client/stash/test/api/StashPdfApi.spec.js deleted file mode 100644 index 7ab0050..0000000 --- a/client/stash/test/api/StashPdfApi.spec.js +++ /dev/null @@ -1,63 +0,0 @@ -/** - * stash - * PDF Storage Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Stash); - } -}(this, function(expect, Stash) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Stash.StashPdfApi(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('StashPdfApi', function() { - describe('postPdfs', function() { - it('should call postPdfs successfully', function(done) { - //uncomment below and update the code to test postPdfs - //instance.postPdfs(function(error) { - // if (error) throw error; - //expect().to.be(); - //}); - done(); - }); - }); - }); - -})); diff --git a/client/stash/test/model/Document.spec.js b/client/stash/test/model/Document.spec.js deleted file mode 100644 index e343143..0000000 --- a/client/stash/test/model/Document.spec.js +++ /dev/null @@ -1,95 +0,0 @@ -/** - * stash - * PDF Storage Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Stash); - } -}(this, function(expect, Stash) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Stash.Document(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Document', function() { - it('should create an instance of Document', function() { - // uncomment below and update the code to test Document - //var instance = new Stash.Document(); - //expect(instance).to.be.a(Stash.Document); - }); - - it('should have the property filename (base name: "Filename")', function() { - // uncomment below and update the code to test the property filename - //var instance = new Stash.Document(); - //expect(instance).to.be(); - }); - - it('should have the property ID (base name: "ID")', function() { - // uncomment below and update the code to test the property ID - //var instance = new Stash.Document(); - //expect(instance).to.be(); - }); - - it('should have the property sagaType (base name: "SagaType")', function() { - // uncomment below and update the code to test the property sagaType - //var instance = new Stash.Document(); - //expect(instance).to.be(); - }); - - it('should have the property parentID (base name: "ParentID")', function() { - // uncomment below and update the code to test the property parentID - //var instance = new Stash.Document(); - //expect(instance).to.be(); - }); - - it('should have the property title (base name: "Title")', function() { - // uncomment below and update the code to test the property title - //var instance = new Stash.Document(); - //expect(instance).to.be(); - }); - - it('should have the property URI (base name: "URI")', function() { - // uncomment below and update the code to test the property URI - //var instance = new Stash.Document(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/stash/test/model/DocumentResponse.spec.js b/client/stash/test/model/DocumentResponse.spec.js deleted file mode 100644 index cd53dd6..0000000 --- a/client/stash/test/model/DocumentResponse.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * stash - * PDF Storage Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Stash); - } -}(this, function(expect, Stash) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Stash.DocumentResponse(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('DocumentResponse', function() { - it('should create an instance of DocumentResponse', function() { - // uncomment below and update the code to test DocumentResponse - //var instance = new Stash.DocumentResponse(); - //expect(instance).to.be.a(Stash.DocumentResponse); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Stash.DocumentResponse(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "Meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new Stash.DocumentResponse(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/stash/test/model/Error.spec.js b/client/stash/test/model/Error.spec.js deleted file mode 100644 index 104166f..0000000 --- a/client/stash/test/model/Error.spec.js +++ /dev/null @@ -1,77 +0,0 @@ -/** - * stash - * PDF Storage Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Stash); - } -}(this, function(expect, Stash) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Stash.Error(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('Error', function() { - it('should create an instance of Error', function() { - // uncomment below and update the code to test Error - //var instance = new Stash.Error(); - //expect(instance).to.be.a(Stash.Error); - }); - - it('should have the property code (base name: "Code")', function() { - // uncomment below and update the code to test the property code - //var instance = new Stash.Error(); - //expect(instance).to.be(); - }); - - it('should have the property fields (base name: "Fields")', function() { - // uncomment below and update the code to test the property fields - //var instance = new Stash.Error(); - //expect(instance).to.be(); - }); - - it('should have the property message (base name: "Message")', function() { - // uncomment below and update the code to test the property message - //var instance = new Stash.Error(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/stash/test/model/NewPDF.spec.js b/client/stash/test/model/NewPDF.spec.js deleted file mode 100644 index ee77353..0000000 --- a/client/stash/test/model/NewPDF.spec.js +++ /dev/null @@ -1,113 +0,0 @@ -/** - * stash - * PDF Storage Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Stash); - } -}(this, function(expect, Stash) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Stash.NewPDF(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('NewPDF', function() { - it('should create an instance of NewPDF', function() { - // uncomment below and update the code to test NewPDF - //var instance = new Stash.NewPDF(); - //expect(instance).to.be.a(Stash.NewPDF); - }); - - it('should have the property description (base name: "Description")', function() { - // uncomment below and update the code to test the property description - //var instance = new Stash.NewPDF(); - //expect(instance).to.be(); - }); - - it('should have the property filename (base name: "Filename")', function() { - // uncomment below and update the code to test the property filename - //var instance = new Stash.NewPDF(); - //expect(instance).to.be(); - }); - - it('should have the property HTML (base name: "HTML")', function() { - // uncomment below and update the code to test the property HTML - //var instance = new Stash.NewPDF(); - //expect(instance).to.be(); - }); - - it('should have the property lastAccessedByID (base name: "LastAccessedByID")', function() { - // uncomment below and update the code to test the property lastAccessedByID - //var instance = new Stash.NewPDF(); - //expect(instance).to.be(); - }); - - it('should have the property objectType (base name: "ObjectType")', function() { - // uncomment below and update the code to test the property objectType - //var instance = new Stash.NewPDF(); - //expect(instance).to.be(); - }); - - it('should have the property ownerID (base name: "OwnerID")', function() { - // uncomment below and update the code to test the property ownerID - //var instance = new Stash.NewPDF(); - //expect(instance).to.be(); - }); - - it('should have the property parentID (base name: "ParentID")', function() { - // uncomment below and update the code to test the property parentID - //var instance = new Stash.NewPDF(); - //expect(instance).to.be(); - }); - - it('should have the property ref (base name: "Ref")', function() { - // uncomment below and update the code to test the property ref - //var instance = new Stash.NewPDF(); - //expect(instance).to.be(); - }); - - it('should have the property title (base name: "Title")', function() { - // uncomment below and update the code to test the property title - //var instance = new Stash.NewPDF(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/stash/test/model/PDFRequest.spec.js b/client/stash/test/model/PDFRequest.spec.js deleted file mode 100644 index 93fc0ad..0000000 --- a/client/stash/test/model/PDFRequest.spec.js +++ /dev/null @@ -1,71 +0,0 @@ -/** - * stash - * PDF Storage Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Stash); - } -}(this, function(expect, Stash) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Stash.PDFRequest(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('PDFRequest', function() { - it('should create an instance of PDFRequest', function() { - // uncomment below and update the code to test PDFRequest - //var instance = new Stash.PDFRequest(); - //expect(instance).to.be.a(Stash.PDFRequest); - }); - - it('should have the property data (base name: "Data")', function() { - // uncomment below and update the code to test the property data - //var instance = new Stash.PDFRequest(); - //expect(instance).to.be(); - }); - - it('should have the property meta (base name: "Meta")', function() { - // uncomment below and update the code to test the property meta - //var instance = new Stash.PDFRequest(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/stash/test/model/RequestMeta.spec.js b/client/stash/test/model/RequestMeta.spec.js deleted file mode 100644 index bd7a02e..0000000 --- a/client/stash/test/model/RequestMeta.spec.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * stash - * PDF Storage Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Stash); - } -}(this, function(expect, Stash) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Stash.RequestMeta(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('RequestMeta', function() { - it('should create an instance of RequestMeta', function() { - // uncomment below and update the code to test RequestMeta - //var instance = new Stash.RequestMeta(); - //expect(instance).to.be.a(Stash.RequestMeta); - }); - - it('should have the property taxnexusAccount (base name: "TaxnexusAccount")', function() { - // uncomment below and update the code to test the property taxnexusAccount - //var instance = new Stash.RequestMeta(); - //expect(instance).to.be(); - }); - - }); - -})); diff --git a/client/stash/test/model/ResponseMeta.spec.js b/client/stash/test/model/ResponseMeta.spec.js deleted file mode 100644 index 7ea433a..0000000 --- a/client/stash/test/model/ResponseMeta.spec.js +++ /dev/null @@ -1,125 +0,0 @@ -/** - * stash - * PDF Storage Microservice - * - * The version of the OpenAPI document: 0.0.2 - * Contact: noc@taxnexus.net - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - * - */ - -(function(root, factory) { - if (typeof define === 'function' && define.amd) { - // AMD. - define(['expect.js', process.cwd()+'/src/index'], factory); - } else if (typeof module === 'object' && module.exports) { - // CommonJS-like environments that support module.exports, like Node. - factory(require('expect.js'), require(process.cwd()+'/src/index')); - } else { - // Browser globals (root is window) - factory(root.expect, root.Stash); - } -}(this, function(expect, Stash) { - 'use strict'; - - var instance; - - beforeEach(function() { - instance = new Stash.ResponseMeta(); - }); - - var getProperty = function(object, getter, property) { - // Use getter method if present; otherwise, get the property directly. - if (typeof object[getter] === 'function') - return object[getter](); - else - return object[property]; - } - - var setProperty = function(object, setter, property, value) { - // Use setter method if present; otherwise, set the property directly. - if (typeof object[setter] === 'function') - object[setter](value); - else - object[property] = value; - } - - describe('ResponseMeta', function() { - it('should create an instance of ResponseMeta', function() { - // uncomment below and update the code to test ResponseMeta - //var instance = new Stash.ResponseMeta(); - //expect(instance).to.be.a(Stash.ResponseMeta); - }); - - it('should have the property contact (base name: "Contact")', function() { - // uncomment below and update the code to test the property contact - //var instance = new Stash.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property copyright (base name: "Copyright")', function() { - // uncomment below and update the code to test the property copyright - //var instance = new Stash.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property license (base name: "License")', function() { - // uncomment below and update the code to test the property license - //var instance = new Stash.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property operationID (base name: "OperationID")', function() { - // uncomment below and update the code to test the property operationID - //var instance = new Stash.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property requestIP (base name: "RequestIP")', function() { - // uncomment below and update the code to test the property requestIP - //var instance = new Stash.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property requestType (base name: "RequestType")', function() { - // uncomment below and update the code to test the property requestType - //var instance = new Stash.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property requestURL (base name: "RequestURL")', function() { - // uncomment below and update the code to test the property requestURL - //var instance = new Stash.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property serverInfo (base name: "ServerInfo")', function() { - // uncomment below and update the code to test the property serverInfo - //var instance = new Stash.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property serverResponseTime (base name: "ServerResponseTime")', function() { - // uncomment below and update the code to test the property serverResponseTime - //var instance = new Stash.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property serverTimestamp (base name: "ServerTimestamp")', function() { - // uncomment below and update the code to test the property serverTimestamp - //var instance = new Stash.ResponseMeta(); - //expect(instance).to.be(); - }); - - it('should have the property taxnexusAccount (base name: "TaxnexusAccount")', function() { - // uncomment below and update the code to test the property taxnexusAccount - //var instance = new Stash.ResponseMeta(); - //expect(instance).to.be(); - }); - - }); - -}));