chore: 1.2.0

This commit is contained in:
2025-03-28 21:55:41 +01:00
parent ffd92702bb
commit a8045635c6
17 changed files with 545 additions and 49 deletions

View File

@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
exports.OpenAPI = void 0;
exports.OpenAPI = {
BASE: '',
VERSION: '1.1.3',
VERSION: '1.3.4',
WITH_CREDENTIALS: false,
TOKEN: undefined,
USERNAME: undefined,

1
dist/index.d.ts vendored
View File

@@ -6,6 +6,7 @@ export type { AddressCountryEmptyError } from './models/AddressCountryEmptyError
export type { AddressFirstLineEmptyError } from './models/AddressFirstLineEmptyError';
export type { AddressPostalCodeEmptyError } from './models/AddressPostalCodeEmptyError';
export type { AddressPostalCodeInvalidError } from './models/AddressPostalCodeInvalidError';
export type { ConfigFlag } from './models/ConfigFlag';
export type { CreateAuth } from './models/CreateAuth';
export type { CreateDistanceDonation } from './models/CreateDistanceDonation';
export type { CreateDonation } from './models/CreateDonation';

4
dist/models/ConfigFlag.d.ts vendored Normal file
View File

@@ -0,0 +1,4 @@
export type ConfigFlag = {
option: string;
value: string;
};

5
dist/models/ConfigFlag.js vendored Normal file
View File

@@ -0,0 +1,5 @@
"use strict";
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });

View File

@@ -8,4 +8,5 @@ export type Donor = {
lastname: string;
phone?: string;
email?: string;
created_via?: string;
};

View File

@@ -5,4 +5,5 @@ export type Participant = {
lastname: string;
phone?: string;
email?: string;
created_via?: string;
};

View File

@@ -8,5 +8,6 @@ export type ResponseDonor = {
lastname: string;
phone: string;
email: string;
created_via: string;
address?: any;
};

View File

@@ -5,5 +5,6 @@ export type ResponseParticipant = {
lastname: string;
phone: string;
email: string;
created_via: string;
address?: any;
};

View File

@@ -7,5 +7,6 @@ export type ResponseRunner = {
lastname: string;
phone: string;
email: string;
created_via: string;
address?: any;
};

View File

@@ -10,5 +10,6 @@ export type ResponseSelfServiceRunner = {
lastname: string;
phone: string;
email: string;
created_via: string;
address?: any;
};

View File

@@ -1,4 +1,5 @@
export type ResponseStats = {
runnersViaSelfservice: number;
total_runners: number;
total_teams: number;
total_orgs: number;

View File

@@ -9,4 +9,5 @@ export type Runner = {
lastname: string;
phone?: string;
email?: string;
created_via?: string;
};

View File

@@ -17,8 +17,8 @@ export declare class AuthService {
/**
* Login
* Login with your username/email and password. <br> You will receive:
* * access token (use it as a bearer token)
* * refresh token (will also be sent as a cookie)
* * access token (use it as a bearer token)
* * refresh token (will also be sent as a cookie)
* @param requestBody CreateAuth
* @result any
* @throws ApiError
@@ -35,8 +35,8 @@ export declare class AuthService {
/**
* Refresh
* Refresh your access and refresh tokens using a valid refresh token. <br> You will receive:
* * access token (use it as a bearer token)
* * refresh token (will also be sent as a cookie)
* * access token (use it as a bearer token)
* * refresh token (will also be sent as a cookie)
* @param requestBody RefreshAuth
* @result any
* @throws ApiError

View File

@@ -6,8 +6,8 @@ class AuthService {
/**
* Login
* Login with your username/email and password. <br> You will receive:
* * access token (use it as a bearer token)
* * refresh token (will also be sent as a cookie)
* * access token (use it as a bearer token)
* * refresh token (will also be sent as a cookie)
* @param requestBody CreateAuth
* @result any
* @throws ApiError
@@ -38,8 +38,8 @@ class AuthService {
/**
* Refresh
* Refresh your access and refresh tokens using a valid refresh token. <br> You will receive:
* * access token (use it as a bearer token)
* * refresh token (will also be sent as a cookie)
* * access token (use it as a bearer token)
* * refresh token (will also be sent as a cookie)
* @param requestBody RefreshAuth
* @result any
* @throws ApiError