├── .github ├── CONTRIBUTING.md ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ └── deno.yml ├── .gitignore ├── .vscode └── settings.json ├── LICENSE.md ├── README.md ├── deno.json ├── sample_code ├── .env.example ├── checkout_sample.ts ├── epayment_sample.ts ├── recurring_agreement_sample.ts ├── recurring_charge_sample.ts └── webhook_sample.ts ├── scripts ├── build_npm.ts ├── coverage.ts ├── generate_types.ts ├── publish_latest_tag_to_npm.ts └── run.ts ├── src ├── README.md ├── api_proxy.ts ├── apis │ ├── auth.ts │ ├── checkout.ts │ ├── epayment.ts │ ├── recurring.ts │ ├── util.ts │ └── webhooks.ts ├── base_client.ts ├── base_client_helper.ts ├── deps.ts ├── errors.ts ├── fetch.ts ├── fetch_helper.ts ├── generated_types │ ├── access_token │ │ └── types.gen.ts │ ├── checkout │ │ └── types.gen.ts │ ├── epayment │ │ └── types.gen.ts │ ├── recurring │ │ └── types.gen.ts │ └── webhooks │ │ └── types.gen.ts ├── mod.ts ├── types_external.ts ├── types_internal.ts └── validate.ts └── tests ├── api_proxy_test.ts ├── auth_test.ts ├── base_client_helper_test.ts ├── base_client_test.ts ├── checkout_test.ts ├── epayment_test.ts ├── error_test.ts ├── fetch_helper_test.ts ├── fetch_test.ts ├── mod_test.ts ├── recurring_test.ts ├── util_test.ts ├── validate_test.ts └── webhooks_test.ts /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/.github/CONTRIBUTING.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/deno.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/.github/workflows/deno.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | coverage/ 3 | .env 4 | npm/ 5 | deno.lock -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/README.md -------------------------------------------------------------------------------- /deno.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/deno.json -------------------------------------------------------------------------------- /sample_code/.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/sample_code/.env.example -------------------------------------------------------------------------------- /sample_code/checkout_sample.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/sample_code/checkout_sample.ts -------------------------------------------------------------------------------- /sample_code/epayment_sample.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/sample_code/epayment_sample.ts -------------------------------------------------------------------------------- /sample_code/recurring_agreement_sample.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/sample_code/recurring_agreement_sample.ts -------------------------------------------------------------------------------- /sample_code/recurring_charge_sample.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/sample_code/recurring_charge_sample.ts -------------------------------------------------------------------------------- /sample_code/webhook_sample.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/sample_code/webhook_sample.ts -------------------------------------------------------------------------------- /scripts/build_npm.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/scripts/build_npm.ts -------------------------------------------------------------------------------- /scripts/coverage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/scripts/coverage.ts -------------------------------------------------------------------------------- /scripts/generate_types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/scripts/generate_types.ts -------------------------------------------------------------------------------- /scripts/publish_latest_tag_to_npm.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/scripts/publish_latest_tag_to_npm.ts -------------------------------------------------------------------------------- /scripts/run.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/scripts/run.ts -------------------------------------------------------------------------------- /src/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/src/README.md -------------------------------------------------------------------------------- /src/api_proxy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/src/api_proxy.ts -------------------------------------------------------------------------------- /src/apis/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/src/apis/auth.ts -------------------------------------------------------------------------------- /src/apis/checkout.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/src/apis/checkout.ts -------------------------------------------------------------------------------- /src/apis/epayment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/src/apis/epayment.ts -------------------------------------------------------------------------------- /src/apis/recurring.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/src/apis/recurring.ts -------------------------------------------------------------------------------- /src/apis/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/src/apis/util.ts -------------------------------------------------------------------------------- /src/apis/webhooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/src/apis/webhooks.ts -------------------------------------------------------------------------------- /src/base_client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/src/base_client.ts -------------------------------------------------------------------------------- /src/base_client_helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/src/base_client_helper.ts -------------------------------------------------------------------------------- /src/deps.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/src/deps.ts -------------------------------------------------------------------------------- /src/errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/src/errors.ts -------------------------------------------------------------------------------- /src/fetch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/src/fetch.ts -------------------------------------------------------------------------------- /src/fetch_helper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/src/fetch_helper.ts -------------------------------------------------------------------------------- /src/generated_types/access_token/types.gen.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/src/generated_types/access_token/types.gen.ts -------------------------------------------------------------------------------- /src/generated_types/checkout/types.gen.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/src/generated_types/checkout/types.gen.ts -------------------------------------------------------------------------------- /src/generated_types/epayment/types.gen.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/src/generated_types/epayment/types.gen.ts -------------------------------------------------------------------------------- /src/generated_types/recurring/types.gen.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/src/generated_types/recurring/types.gen.ts -------------------------------------------------------------------------------- /src/generated_types/webhooks/types.gen.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/src/generated_types/webhooks/types.gen.ts -------------------------------------------------------------------------------- /src/mod.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/src/mod.ts -------------------------------------------------------------------------------- /src/types_external.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/src/types_external.ts -------------------------------------------------------------------------------- /src/types_internal.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/src/types_internal.ts -------------------------------------------------------------------------------- /src/validate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/src/validate.ts -------------------------------------------------------------------------------- /tests/api_proxy_test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/tests/api_proxy_test.ts -------------------------------------------------------------------------------- /tests/auth_test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/tests/auth_test.ts -------------------------------------------------------------------------------- /tests/base_client_helper_test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/tests/base_client_helper_test.ts -------------------------------------------------------------------------------- /tests/base_client_test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/tests/base_client_test.ts -------------------------------------------------------------------------------- /tests/checkout_test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/tests/checkout_test.ts -------------------------------------------------------------------------------- /tests/epayment_test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/tests/epayment_test.ts -------------------------------------------------------------------------------- /tests/error_test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/tests/error_test.ts -------------------------------------------------------------------------------- /tests/fetch_helper_test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/tests/fetch_helper_test.ts -------------------------------------------------------------------------------- /tests/fetch_test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/tests/fetch_test.ts -------------------------------------------------------------------------------- /tests/mod_test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/tests/mod_test.ts -------------------------------------------------------------------------------- /tests/recurring_test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/tests/recurring_test.ts -------------------------------------------------------------------------------- /tests/util_test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/tests/util_test.ts -------------------------------------------------------------------------------- /tests/validate_test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/tests/validate_test.ts -------------------------------------------------------------------------------- /tests/webhooks_test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vippsas/deno-sdk/HEAD/tests/webhooks_test.ts --------------------------------------------------------------------------------