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

This commit is contained in:
2021-01-20 17:08:42 +00:00
parent 213e191db5
commit 83d04c6e0a
50 changed files with 255 additions and 37 deletions

View File

@@ -1,8 +1,6 @@
export declare type Address = {
id: number;
description?: string;
address1: string;
address2?: string;
address2: string;
postalcode: string;
city: string;
country: string;

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,4 @@
export declare type AddressPostalCodeEmptyError = {
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 AddressPostalCodeInvalidError = {
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

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

View File

@@ -5,5 +5,5 @@ export declare type CreateDonor = {
lastname: string;
phone?: string;
email?: string;
address?: number;
address?: any;
};

9
dist/models/CreateGroupContact.d.ts vendored Normal file
View File

@@ -0,0 +1,9 @@
export declare type CreateGroupContact = {
firstname: string;
middlename?: string;
lastname: string;
address?: any;
phone?: string;
email?: string;
groups?: any;
};

5
dist/models/CreateGroupContact.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,5 +4,5 @@ export declare type CreateParticipant = {
lastname: string;
phone?: string;
email?: string;
address?: number;
address?: any;
};

View File

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

View File

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

View File

@@ -5,5 +5,5 @@ export declare type CreateRunner = {
lastname: string;
phone?: string;
email?: string;
address?: number;
address?: any;
};

View File

@@ -1,5 +1,5 @@
export declare type CreateRunnerOrganisation = {
address?: number;
address?: any;
name: string;
contact?: number;
};

View File

@@ -3,7 +3,6 @@ export declare type GroupContact = {
firstname: string;
middlename?: string;
lastname: string;
address?: any;
phone?: string;
email?: string;
};

View File

@@ -0,0 +1,4 @@
export declare type GroupContactIdsNotMatchingError = {
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

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

View File

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

View File

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

View File

@@ -7,4 +7,5 @@ export declare type ResponseDonor = {
lastname: string;
phone: string;
email: string;
address?: any;
};

10
dist/models/ResponseGroupContact.d.ts vendored Normal file
View File

@@ -0,0 +1,10 @@
export declare type ResponseGroupContact = {
id: number;
firstname: string;
middlename: string;
lastname: string;
phone: string;
email: string;
groups: any;
address: any;
};

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

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

View File

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

View File

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

View File

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

View File

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

10
dist/models/UpdateGroupContact.d.ts vendored Normal file
View File

@@ -0,0 +1,10 @@
export declare type UpdateGroupContact = {
id: number;
firstname: string;
middlename?: string;
lastname: string;
address?: any;
phone?: string;
email?: string;
groups?: any;
};

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

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

View File

@@ -1,6 +1,6 @@
export declare type UpdateRunnerOrganisation = {
id: number;
address?: number;
address?: any;
name: string;
contact?: number;
};