🚀New lib version v0.0.12 [CI SKIP]
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2021-01-13 19:36:10 +00:00
parent 2f554700a7
commit f2b867cd04
55 changed files with 431 additions and 27 deletions

View File

@@ -0,0 +1,5 @@
export declare type CreateDistanceDonation = {
runner: number;
amountPerDistance: number;
donor: number;
};

5
dist/models/CreateDistanceDonation.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 });

3
dist/models/CreateDonation.d.ts vendored Normal file
View File

@@ -0,0 +1,3 @@
export declare type CreateDonation = {
donor: number;
};

5
dist/models/CreateDonation.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 });

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

@@ -0,0 +1,4 @@
export declare type CreateFixedDonation = {
amount: number;
donor: number;
};

5
dist/models/CreateFixedDonation.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

@@ -16,7 +16,8 @@ export declare namespace CreatePermission {
DONOR = "DONOR",
SCAN = "SCAN",
STATION = "STATION",
CARD = "CARD"
CARD = "CARD",
DONATION = "DONATION"
}
enum action {
GET = "GET",

View File

@@ -20,6 +20,7 @@ var CreatePermission;
target["SCAN"] = "SCAN";
target["STATION"] = "STATION";
target["CARD"] = "CARD";
target["DONATION"] = "DONATION";
})(target = CreatePermission.target || (CreatePermission.target = {}));
let action;
(function (action) {

View File

@@ -3,7 +3,7 @@ export declare type CreateUser = {
middlename?: string;
lastname: string;
username?: string;
email?: string;
email: string;
phone?: string;
password: string;
enabled?: boolean;

View File

@@ -0,0 +1,4 @@
export declare type DonationIdsNotMatchingError = {
name: string;
message: string;
};

View File

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

View File

@@ -0,0 +1,4 @@
export declare type DonationNotFoundError = {
name: string;
message: string;
};

5
dist/models/DonationNotFoundError.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

@@ -1,5 +1,6 @@
export declare type Donor = {
receiptNeeded: boolean;
donationAmount: number;
id: number;
firstname: string;
middlename?: string;

View File

@@ -0,0 +1,4 @@
export declare type DonorHasDonationsError = {
name: string;
message: string;
};

5
dist/models/DonorHasDonationsError.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 });

6
dist/models/FixedDonation.d.ts vendored Normal file
View File

@@ -0,0 +1,6 @@
export declare type FixedDonation = {
_amount: number;
amount: number;
id: number;
donor: string;
};

5
dist/models/FixedDonation.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

@@ -16,7 +16,8 @@ export declare namespace Permission {
DONOR = "DONOR",
SCAN = "SCAN",
STATION = "STATION",
CARD = "CARD"
CARD = "CARD",
DONATION = "DONATION"
}
enum action {
GET = "GET",

View File

@@ -20,6 +20,7 @@ var Permission;
target["SCAN"] = "SCAN";
target["STATION"] = "STATION";
target["CARD"] = "CARD";
target["DONATION"] = "DONATION";
})(target = Permission.target || (Permission.target = {}));
let action;
(function (action) {

View File

@@ -0,0 +1,7 @@
export declare type ResponseDistanceDonation = {
runner: any;
amountPerDistance: number;
id: number;
donor: string;
amount: number;
};

View File

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

5
dist/models/ResponseDonation.d.ts vendored Normal file
View File

@@ -0,0 +1,5 @@
export declare type ResponseDonation = {
id: number;
donor: string;
amount: number;
};

5
dist/models/ResponseDonation.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

@@ -1,5 +1,6 @@
export declare type ResponseDonor = {
receiptNeeded: boolean;
donationAmount: number;
id: number;
firstname: string;
middlename: string;

View File

@@ -17,7 +17,8 @@ export declare namespace ResponsePermission {
DONOR = "DONOR",
SCAN = "SCAN",
STATION = "STATION",
CARD = "CARD"
CARD = "CARD",
DONATION = "DONATION"
}
enum action {
GET = "GET",

View File

@@ -20,6 +20,7 @@ var ResponsePermission;
target["SCAN"] = "SCAN";
target["STATION"] = "STATION";
target["CARD"] = "CARD";
target["DONATION"] = "DONATION";
})(target = ResponsePermission.target || (ResponsePermission.target = {}));
let action;
(function (action) {

View File

@@ -0,0 +1,4 @@
export declare type ResponseUserPermissions = {
directlyGranted?: Array<any>;
inherited?: Array<any>;
};

View File

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

View File

@@ -0,0 +1,4 @@
export declare type RunnerHasDistanceDonationsError = {
name: string;
message: string;
};

View File

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

View File

@@ -0,0 +1,6 @@
export declare type UpdateDistanceDonation = {
runner: number;
amountPerDistance: number;
id: number;
donor: number;
};

5
dist/models/UpdateDistanceDonation.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 });

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

@@ -0,0 +1,4 @@
export declare type UpdateDonation = {
id: number;
donor: number;
};

5
dist/models/UpdateDonation.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 });

5
dist/models/UpdateFixedDonation.d.ts vendored Normal file
View File

@@ -0,0 +1,5 @@
export declare type UpdateFixedDonation = {
amount: number;
id: number;
donor: number;
};

5
dist/models/UpdateFixedDonation.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

@@ -4,7 +4,7 @@ export declare type UpdateUser = {
middlename?: string;
lastname: string;
username?: string;
email?: string;
email: string;
phone?: string;
password?: string;
enabled: boolean;

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

@@ -0,0 +1,4 @@
export declare type UserEmailNeededError = {
name: string;
message: string;
};

5
dist/models/UserEmailNeededError.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

@@ -0,0 +1,4 @@
export declare type UsernameContainsIllegalCharacterError = {
name: string;
message: string;
};

View File

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