@tennac-booking/sdk 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,91 @@
1
+ /**
2
+ * Pickle Ball API
3
+ * API for managing pickle ball games and players
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface ConfigurationParameters {
13
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
14
+ username?: string;
15
+ password?: string;
16
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
17
+ basePath?: string;
18
+ serverIndex?: number;
19
+ baseOptions?: any;
20
+ formDataCtor?: new () => any;
21
+ }
22
+ export declare class Configuration {
23
+ /**
24
+ * parameter for apiKey security
25
+ * @param name security name
26
+ * @memberof Configuration
27
+ */
28
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
29
+ /**
30
+ * parameter for basic security
31
+ *
32
+ * @type {string}
33
+ * @memberof Configuration
34
+ */
35
+ username?: string;
36
+ /**
37
+ * parameter for basic security
38
+ *
39
+ * @type {string}
40
+ * @memberof Configuration
41
+ */
42
+ password?: string;
43
+ /**
44
+ * parameter for oauth2 security
45
+ * @param name security name
46
+ * @param scopes oauth2 scope
47
+ * @memberof Configuration
48
+ */
49
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
50
+ /**
51
+ * override base path
52
+ *
53
+ * @type {string}
54
+ * @memberof Configuration
55
+ */
56
+ basePath?: string;
57
+ /**
58
+ * override server index
59
+ *
60
+ * @type {number}
61
+ * @memberof Configuration
62
+ */
63
+ serverIndex?: number;
64
+ /**
65
+ * base options for axios calls
66
+ *
67
+ * @type {any}
68
+ * @memberof Configuration
69
+ */
70
+ baseOptions?: any;
71
+ /**
72
+ * The FormData constructor that will be used to create multipart form data
73
+ * requests. You can inject this here so that execution environments that
74
+ * do not support the FormData class can still run the generated client.
75
+ *
76
+ * @type {new () => FormData}
77
+ */
78
+ formDataCtor?: new () => any;
79
+ constructor(param?: ConfigurationParameters);
80
+ /**
81
+ * Check if the given MIME is a JSON MIME.
82
+ * JSON MIME examples:
83
+ * application/json
84
+ * application/json; charset=UTF8
85
+ * APPLICATION/JSON
86
+ * application/vnd.company+json
87
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
88
+ * @return True if the given MIME is JSON, false otherwise.
89
+ */
90
+ isJsonMime(mime: string): boolean;
91
+ }
@@ -0,0 +1,40 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Pickle Ball API
5
+ * API for managing pickle ball games and players
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export class Configuration {
15
+ constructor(param = {}) {
16
+ var _a;
17
+ this.apiKey = param.apiKey;
18
+ this.username = param.username;
19
+ this.password = param.password;
20
+ this.accessToken = param.accessToken;
21
+ this.basePath = param.basePath;
22
+ this.serverIndex = param.serverIndex;
23
+ this.baseOptions = Object.assign(Object.assign({}, param.baseOptions), { headers: Object.assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers) });
24
+ this.formDataCtor = param.formDataCtor;
25
+ }
26
+ /**
27
+ * Check if the given MIME is a JSON MIME.
28
+ * JSON MIME examples:
29
+ * application/json
30
+ * application/json; charset=UTF8
31
+ * APPLICATION/JSON
32
+ * application/vnd.company+json
33
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
34
+ * @return True if the given MIME is JSON, false otherwise.
35
+ */
36
+ isJsonMime(mime) {
37
+ const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
38
+ return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
39
+ }
40
+ }
@@ -1,3 +1,13 @@
1
- export * from './runtime';
2
- export * from './apis/index';
3
- export * from './models/index';
1
+ /**
2
+ * Pickle Ball API
3
+ * API for managing pickle ball games and players
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export * from "./api";
13
+ export * from "./configuration";
package/dist/esm/index.js CHANGED
@@ -1,5 +1,15 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- export * from './runtime';
4
- export * from './apis/index';
5
- export * from './models/index';
3
+ /**
4
+ * Pickle Ball API
5
+ * API for managing pickle ball games and players
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export * from "./api";
15
+ export * from "./configuration";
package/dist/index.d.ts CHANGED
@@ -1,3 +1,13 @@
1
- export * from './runtime';
2
- export * from './apis/index';
3
- export * from './models/index';
1
+ /**
2
+ * Pickle Ball API
3
+ * API for managing pickle ball games and players
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export * from "./api";
13
+ export * from "./configuration";
package/dist/index.js CHANGED
@@ -1,4 +1,17 @@
1
1
  "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Pickle Ball API
6
+ * API for managing pickle ball games and players
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
2
15
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
16
  if (k2 === undefined) k2 = k;
4
17
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -14,8 +27,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
27
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
28
  };
16
29
  Object.defineProperty(exports, "__esModule", { value: true });
17
- /* tslint:disable */
18
- /* eslint-disable */
19
- __exportStar(require("./runtime"), exports);
20
- __exportStar(require("./apis/index"), exports);
21
- __exportStar(require("./models/index"), exports);
30
+ __exportStar(require("./api"), exports);
31
+ __exportStar(require("./configuration"), exports);
@@ -0,0 +1,88 @@
1
+ # AuthApi
2
+
3
+ All URIs are relative to *https://api.mon-domaine.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**apiAuthRegisterPost**](#apiauthregisterpost) | **POST** /api/auth/register | Register a new user|
8
+
9
+ # **apiAuthRegisterPost**
10
+ > User apiAuthRegisterPost()
11
+
12
+
13
+ ### Example
14
+
15
+ ```typescript
16
+ import {
17
+ AuthApi,
18
+ Configuration
19
+ } from '@tennac-booking/sdk';
20
+
21
+ const configuration = new Configuration();
22
+ const apiInstance = new AuthApi(configuration);
23
+
24
+ let firstName: string; // (default to undefined)
25
+ let lastName: string; // (default to undefined)
26
+ let email: string; // (default to undefined)
27
+ let password: string; // (default to undefined)
28
+ let username: string; // (optional) (default to undefined)
29
+ let isAccountVerified: boolean; // (optional) (default to false)
30
+ let level: string; // (optional) (default to undefined)
31
+ let stripeCustomerId: string; // (optional) (default to undefined)
32
+ let phone: string; // (optional) (default to undefined)
33
+ let profilePicture: string; // (optional) (default to undefined)
34
+ let isAdmin: boolean; // (optional) (default to false)
35
+
36
+ const { status, data } = await apiInstance.apiAuthRegisterPost(
37
+ firstName,
38
+ lastName,
39
+ email,
40
+ password,
41
+ username,
42
+ isAccountVerified,
43
+ level,
44
+ stripeCustomerId,
45
+ phone,
46
+ profilePicture,
47
+ isAdmin
48
+ );
49
+ ```
50
+
51
+ ### Parameters
52
+
53
+ |Name | Type | Description | Notes|
54
+ |------------- | ------------- | ------------- | -------------|
55
+ | **firstName** | [**string**] | | defaults to undefined|
56
+ | **lastName** | [**string**] | | defaults to undefined|
57
+ | **email** | [**string**] | | defaults to undefined|
58
+ | **password** | [**string**] | | defaults to undefined|
59
+ | **username** | [**string**] | | (optional) defaults to undefined|
60
+ | **isAccountVerified** | [**boolean**] | | (optional) defaults to false|
61
+ | **level** | [**string**] | | (optional) defaults to undefined|
62
+ | **stripeCustomerId** | [**string**] | | (optional) defaults to undefined|
63
+ | **phone** | [**string**] | | (optional) defaults to undefined|
64
+ | **profilePicture** | [**string**] | | (optional) defaults to undefined|
65
+ | **isAdmin** | [**boolean**] | | (optional) defaults to false|
66
+
67
+
68
+ ### Return type
69
+
70
+ **User**
71
+
72
+ ### Authorization
73
+
74
+ No authorization required
75
+
76
+ ### HTTP request headers
77
+
78
+ - **Content-Type**: multipart/form-data
79
+ - **Accept**: application/json
80
+
81
+
82
+ ### HTTP response details
83
+ | Status code | Description | Response headers |
84
+ |-------------|-------------|------------------|
85
+ |**201** | Created user object | - |
86
+
87
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
88
+
@@ -0,0 +1,32 @@
1
+ # Booking
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **userId** | **string** | | [default to undefined]
9
+ **playersIds** | **Array&lt;string&gt;** | | [optional] [default to undefined]
10
+ **status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined]
11
+ **stripeStatus** | [**StripeStatus**](StripeStatus.md) | | [default to undefined]
12
+ **stripePaymentIntentId** | **string** | | [default to undefined]
13
+ **totalPrice** | **number** | | [default to undefined]
14
+ **slotId** | **string** | | [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { Booking } from '@tennac-booking/sdk';
20
+
21
+ const instance: Booking = {
22
+ userId,
23
+ playersIds,
24
+ status,
25
+ stripeStatus,
26
+ stripePaymentIntentId,
27
+ totalPrice,
28
+ slotId,
29
+ };
30
+ ```
31
+
32
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,10 @@
1
+ # BookingStatus
2
+
3
+
4
+ ## Enum
5
+
6
+ * `Active` (value: `'active'`)
7
+
8
+ * `Inactive` (value: `'inactive'`)
9
+
10
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/docs/Court.md ADDED
@@ -0,0 +1,32 @@
1
+ # Court
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | | [default to undefined]
9
+ **status** | [**CourtStatus**](CourtStatus.md) | | [default to undefined]
10
+ **comments** | **string** | | [optional] [default to undefined]
11
+ **pricePerSlot** | **number** | | [default to undefined]
12
+ **slotDefaultDuration** | **number** | | [default to undefined]
13
+ **startTimeInTheDayInMinutes** | **number** | | [default to undefined]
14
+ **endTimeInTheDayInMinutes** | **number** | | [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { Court } from '@tennac-booking/sdk';
20
+
21
+ const instance: Court = {
22
+ name,
23
+ status,
24
+ comments,
25
+ pricePerSlot,
26
+ slotDefaultDuration,
27
+ startTimeInTheDayInMinutes,
28
+ endTimeInTheDayInMinutes,
29
+ };
30
+ ```
31
+
32
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,10 @@
1
+ # CourtStatus
2
+
3
+
4
+ ## Enum
5
+
6
+ * `Available` (value: `'available'`)
7
+
8
+ * `Unavailable` (value: `'unavailable'`)
9
+
10
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/docs/Slot.md ADDED
@@ -0,0 +1,24 @@
1
+ # Slot
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **startDate** | **string** | | [default to undefined]
9
+ **endDate** | **string** | | [default to undefined]
10
+ **courtId** | **string** | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { Slot } from '@tennac-booking/sdk';
16
+
17
+ const instance: Slot = {
18
+ startDate,
19
+ endDate,
20
+ courtId,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,26 @@
1
+ # SlotException
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **startDate** | **string** | | [default to undefined]
9
+ **endDate** | **string** | | [default to undefined]
10
+ **courtId** | **string** | | [default to undefined]
11
+ **reason** | **string** | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { SlotException } from '@tennac-booking/sdk';
17
+
18
+ const instance: SlotException = {
19
+ startDate,
20
+ endDate,
21
+ courtId,
22
+ reason,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,16 @@
1
+ # StripeStatus
2
+
3
+
4
+ ## Enum
5
+
6
+ * `Pending` (value: `'pending'`)
7
+
8
+ * `Paid` (value: `'paid'`)
9
+
10
+ * `Failed` (value: `'failed'`)
11
+
12
+ * `Refunded` (value: `'refunded'`)
13
+
14
+ * `Canceled` (value: `'canceled'`)
15
+
16
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/docs/User.md ADDED
@@ -0,0 +1,40 @@
1
+ # User
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **username** | **string** | | [optional] [default to undefined]
9
+ **firstName** | **string** | | [default to undefined]
10
+ **lastName** | **string** | | [default to undefined]
11
+ **email** | **string** | | [default to undefined]
12
+ **isAccountVerified** | **boolean** | | [optional] [default to false]
13
+ **level** | **string** | | [optional] [default to undefined]
14
+ **stripeCustomerId** | **string** | | [optional] [default to undefined]
15
+ **phone** | **string** | | [optional] [default to undefined]
16
+ **password** | **string** | | [default to undefined]
17
+ **profilePicture** | **string** | | [optional] [default to undefined]
18
+ **isAdmin** | **boolean** | | [optional] [default to false]
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import { User } from '@tennac-booking/sdk';
24
+
25
+ const instance: User = {
26
+ username,
27
+ firstName,
28
+ lastName,
29
+ email,
30
+ isAccountVerified,
31
+ level,
32
+ stripeCustomerId,
33
+ phone,
34
+ password,
35
+ profilePicture,
36
+ isAdmin,
37
+ };
38
+ ```
39
+
40
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,51 @@
1
+ # UsersApi
2
+
3
+ All URIs are relative to *https://api.mon-domaine.com*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**apiUsersGet**](#apiusersget) | **GET** /api/users | Retrieve all users|
8
+
9
+ # **apiUsersGet**
10
+ > Array<User> apiUsersGet()
11
+
12
+
13
+ ### Example
14
+
15
+ ```typescript
16
+ import {
17
+ UsersApi,
18
+ Configuration
19
+ } from '@tennac-booking/sdk';
20
+
21
+ const configuration = new Configuration();
22
+ const apiInstance = new UsersApi(configuration);
23
+
24
+ const { status, data } = await apiInstance.apiUsersGet();
25
+ ```
26
+
27
+ ### Parameters
28
+ This endpoint does not have any parameters.
29
+
30
+
31
+ ### Return type
32
+
33
+ **Array<User>**
34
+
35
+ ### Authorization
36
+
37
+ No authorization required
38
+
39
+ ### HTTP request headers
40
+
41
+ - **Content-Type**: Not defined
42
+ - **Accept**: application/json
43
+
44
+
45
+ ### HTTP response details
46
+ | Status code | Description | Response headers |
47
+ |-------------|-------------|------------------|
48
+ |**200** | A list of users | - |
49
+
50
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
51
+
package/git_push.sh ADDED
@@ -0,0 +1,57 @@
1
+ #!/bin/sh
2
+ # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
3
+ #
4
+ # Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
5
+
6
+ git_user_id=$1
7
+ git_repo_id=$2
8
+ release_note=$3
9
+ git_host=$4
10
+
11
+ if [ "$git_host" = "" ]; then
12
+ git_host="github.com"
13
+ echo "[INFO] No command line input provided. Set \$git_host to $git_host"
14
+ fi
15
+
16
+ if [ "$git_user_id" = "" ]; then
17
+ git_user_id="GIT_USER_ID"
18
+ echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
19
+ fi
20
+
21
+ if [ "$git_repo_id" = "" ]; then
22
+ git_repo_id="GIT_REPO_ID"
23
+ echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
24
+ fi
25
+
26
+ if [ "$release_note" = "" ]; then
27
+ release_note="Minor update"
28
+ echo "[INFO] No command line input provided. Set \$release_note to $release_note"
29
+ fi
30
+
31
+ # Initialize the local directory as a Git repository
32
+ git init
33
+
34
+ # Adds the files in the local repository and stages them for commit.
35
+ git add .
36
+
37
+ # Commits the tracked changes and prepares them to be pushed to a remote repository.
38
+ git commit -m "$release_note"
39
+
40
+ # Sets the new remote
41
+ git_remote=$(git remote)
42
+ if [ "$git_remote" = "" ]; then # git remote not defined
43
+
44
+ if [ "$GIT_TOKEN" = "" ]; then
45
+ echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
46
+ git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
47
+ else
48
+ git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
49
+ fi
50
+
51
+ fi
52
+
53
+ git pull origin master
54
+
55
+ # Pushes (Forces) the changes in the local repository up to the remote repository
56
+ echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
57
+ git push origin master 2>&1 | grep -v 'To https'
package/index.ts CHANGED
@@ -1,5 +1,18 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- export * from './runtime';
4
- export * from './apis/index';
5
- export * from './models/index';
3
+ /**
4
+ * Pickle Ball API
5
+ * API for managing pickle ball games and players
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ export * from "./api";
17
+ export * from "./configuration";
18
+
package/package.json CHANGED
@@ -1,11 +1,19 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
- "author": "OpenAPI-Generator",
5
+ "author": "OpenAPI-Generator Contributors",
6
+ "keywords": [
7
+ "axios",
8
+ "typescript",
9
+ "openapi-client",
10
+ "openapi-generator",
11
+ "@tennac-booking/sdk"
12
+ ],
6
13
  "publishConfig": {
7
14
  "access": "public"
8
15
  },
16
+ "license": "Unlicense",
9
17
  "main": "./dist/index.js",
10
18
  "typings": "./dist/index.d.ts",
11
19
  "module": "./dist/esm/index.js",
@@ -14,7 +22,11 @@
14
22
  "build": "tsc && tsc -p tsconfig.esm.json",
15
23
  "prepare": "npm run build"
16
24
  },
25
+ "dependencies": {
26
+ "axios": "^1.6.1"
27
+ },
17
28
  "devDependencies": {
29
+ "@types/node": "12.11.5 - 12.20.42",
18
30
  "typescript": "^4.0 || ^5.0"
19
31
  }
20
32
  }