@stamhoofd/structures
Advanced tools
Comparing version 1.3.22 to 1.3.23
@@ -1,2 +0,2 @@ | ||
export declare const Version = 10; | ||
export declare const Version = 11; | ||
export * from "./src/OrganizationMetaData"; | ||
@@ -54,2 +54,5 @@ export * from "./src/OrganizationPrivateMetaData"; | ||
export * from "./src/members/RegistrationWithEncryptedMember"; | ||
export * from "./src/files/Image"; | ||
export * from "./src/files/File"; | ||
export * from "./src/files/Resolution"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -6,3 +6,3 @@ "use strict"; | ||
// Latest version of the structures | ||
exports.Version = 10; | ||
exports.Version = 11; | ||
// General | ||
@@ -64,2 +64,5 @@ tslib_1.__exportStar(require("./src/OrganizationMetaData"), exports); | ||
tslib_1.__exportStar(require("./src/members/RegistrationWithEncryptedMember"), exports); | ||
tslib_1.__exportStar(require("./src/files/Image"), exports); | ||
tslib_1.__exportStar(require("./src/files/File"), exports); | ||
tslib_1.__exportStar(require("./src/files/Resolution"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -11,2 +11,10 @@ import { AutoEncoder } from '@simonbackx/simple-encoding'; | ||
} | ||
export declare class EmailAttachment extends AutoEncoder { | ||
filename: string | null; | ||
contentType: string | null; | ||
/** | ||
* base64 encoded content | ||
*/ | ||
content: string; | ||
} | ||
export declare class EmailRequest extends AutoEncoder { | ||
@@ -21,3 +29,4 @@ /** | ||
html: string | null; | ||
attachments: EmailAttachment | null; | ||
} | ||
//# sourceMappingURL=EmailRequest.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.EmailRequest = exports.Recipient = exports.Replacement = void 0; | ||
exports.EmailRequest = exports.EmailAttachment = exports.Recipient = exports.Replacement = void 0; | ||
const tslib_1 = require("tslib"); | ||
@@ -32,2 +32,19 @@ const simple_encoding_1 = require("@simonbackx/simple-encoding"); | ||
exports.Recipient = Recipient; | ||
class EmailAttachment extends simple_encoding_1.AutoEncoder { | ||
constructor() { | ||
super(...arguments); | ||
this.filename = null; | ||
this.contentType = null; | ||
} | ||
} | ||
tslib_1.__decorate([ | ||
simple_encoding_1.field({ decoder: simple_encoding_1.StringDecoder, nullable: true }) | ||
], EmailAttachment.prototype, "filename", void 0); | ||
tslib_1.__decorate([ | ||
simple_encoding_1.field({ decoder: simple_encoding_1.StringDecoder, nullable: true }) | ||
], EmailAttachment.prototype, "contentType", void 0); | ||
tslib_1.__decorate([ | ||
simple_encoding_1.field({ decoder: simple_encoding_1.StringDecoder }) | ||
], EmailAttachment.prototype, "content", void 0); | ||
exports.EmailAttachment = EmailAttachment; | ||
class EmailRequest extends simple_encoding_1.AutoEncoder { | ||
@@ -38,2 +55,3 @@ constructor() { | ||
this.html = null; | ||
this.attachments = null; | ||
} | ||
@@ -56,3 +74,6 @@ } | ||
], EmailRequest.prototype, "html", void 0); | ||
tslib_1.__decorate([ | ||
simple_encoding_1.field({ decoder: EmailAttachment, nullable: true, version: 11 }) | ||
], EmailRequest.prototype, "attachments", void 0); | ||
exports.EmailRequest = EmailRequest; | ||
//# sourceMappingURL=EmailRequest.js.map |
import { AutoEncoder } from '@simonbackx/simple-encoding'; | ||
import { Image } from './files/Image'; | ||
import { GroupPrices } from './GroupPrices'; | ||
@@ -15,4 +16,12 @@ import { OrganizationGenderType } from './OrganizationGenderType'; | ||
iban: string; | ||
/** | ||
* Logo used in a horizontal environment (e.g. menu bar) | ||
*/ | ||
horizontalLogo: Image | null; | ||
/** | ||
* Logo to display (small) | ||
*/ | ||
squareLogo: Image | null; | ||
bic: string; | ||
} | ||
//# sourceMappingURL=OrganizationMetaData.d.ts.map |
@@ -6,2 +6,3 @@ "use strict"; | ||
const simple_encoding_1 = require("@simonbackx/simple-encoding"); | ||
const Image_1 = require("./files/Image"); | ||
const GroupPrices_1 = require("./GroupPrices"); | ||
@@ -19,2 +20,11 @@ const OrganizationGenderType_1 = require("./OrganizationGenderType"); | ||
this.iban = ""; | ||
/** | ||
* Logo used in a horizontal environment (e.g. menu bar) | ||
*/ | ||
this.horizontalLogo = null; | ||
/** | ||
* Logo to display (small) | ||
*/ | ||
this.squareLogo = null; | ||
// Deprecated | ||
this.bic = ""; | ||
@@ -48,2 +58,8 @@ } | ||
tslib_1.__decorate([ | ||
simple_encoding_1.field({ decoder: Image_1.Image, nullable: true, version: 11 }) | ||
], OrganizationMetaData.prototype, "horizontalLogo", void 0); | ||
tslib_1.__decorate([ | ||
simple_encoding_1.field({ decoder: Image_1.Image, nullable: true, version: 11 }) | ||
], OrganizationMetaData.prototype, "squareLogo", void 0); | ||
tslib_1.__decorate([ | ||
simple_encoding_1.field({ decoder: simple_encoding_1.StringDecoder, version: 6, upgrade: () => "" }) | ||
@@ -50,0 +66,0 @@ ], OrganizationMetaData.prototype, "bic", void 0); |
@@ -1,2 +0,2 @@ | ||
export declare const Version = 10; | ||
export declare const Version = 11; | ||
export * from "./src/OrganizationMetaData"; | ||
@@ -54,2 +54,5 @@ export * from "./src/OrganizationPrivateMetaData"; | ||
export * from "./src/members/RegistrationWithEncryptedMember"; | ||
export * from "./src/files/Image"; | ||
export * from "./src/files/File"; | ||
export * from "./src/files/Resolution"; | ||
//# sourceMappingURL=index.d.ts.map |
// Latest version of the structures | ||
export const Version = 10; | ||
export const Version = 11; | ||
// General | ||
@@ -59,2 +59,5 @@ export * from "./src/OrganizationMetaData"; | ||
export * from "./src/members/RegistrationWithEncryptedMember"; | ||
export * from "./src/files/Image"; | ||
export * from "./src/files/File"; | ||
export * from "./src/files/Resolution"; | ||
//# sourceMappingURL=index.js.map |
@@ -11,2 +11,10 @@ import { AutoEncoder } from '@simonbackx/simple-encoding'; | ||
} | ||
export declare class EmailAttachment extends AutoEncoder { | ||
filename: string | null; | ||
contentType: string | null; | ||
/** | ||
* base64 encoded content | ||
*/ | ||
content: string; | ||
} | ||
export declare class EmailRequest extends AutoEncoder { | ||
@@ -21,3 +29,4 @@ /** | ||
html: string | null; | ||
attachments: EmailAttachment | null; | ||
} | ||
//# sourceMappingURL=EmailRequest.d.ts.map |
@@ -27,2 +27,18 @@ import { __decorate } from "tslib"; | ||
], Recipient.prototype, "replacements", void 0); | ||
export class EmailAttachment extends AutoEncoder { | ||
constructor() { | ||
super(...arguments); | ||
this.filename = null; | ||
this.contentType = null; | ||
} | ||
} | ||
__decorate([ | ||
field({ decoder: StringDecoder, nullable: true }) | ||
], EmailAttachment.prototype, "filename", void 0); | ||
__decorate([ | ||
field({ decoder: StringDecoder, nullable: true }) | ||
], EmailAttachment.prototype, "contentType", void 0); | ||
__decorate([ | ||
field({ decoder: StringDecoder }) | ||
], EmailAttachment.prototype, "content", void 0); | ||
export class EmailRequest extends AutoEncoder { | ||
@@ -33,2 +49,3 @@ constructor() { | ||
this.html = null; | ||
this.attachments = null; | ||
} | ||
@@ -51,2 +68,5 @@ } | ||
], EmailRequest.prototype, "html", void 0); | ||
__decorate([ | ||
field({ decoder: EmailAttachment, nullable: true, version: 11 }) | ||
], EmailRequest.prototype, "attachments", void 0); | ||
//# sourceMappingURL=EmailRequest.js.map |
import { AutoEncoder } from '@simonbackx/simple-encoding'; | ||
import { Image } from './files/Image'; | ||
import { GroupPrices } from './GroupPrices'; | ||
@@ -15,4 +16,12 @@ import { OrganizationGenderType } from './OrganizationGenderType'; | ||
iban: string; | ||
/** | ||
* Logo used in a horizontal environment (e.g. menu bar) | ||
*/ | ||
horizontalLogo: Image | null; | ||
/** | ||
* Logo to display (small) | ||
*/ | ||
squareLogo: Image | null; | ||
bic: string; | ||
} | ||
//# sourceMappingURL=OrganizationMetaData.d.ts.map |
import { __decorate } from "tslib"; | ||
import { ArrayDecoder, AutoEncoder, DateDecoder, EnumDecoder, field, IntegerDecoder, StringDecoder } from '@simonbackx/simple-encoding'; | ||
import { Image } from './files/Image'; | ||
import { GroupPrices } from './GroupPrices'; | ||
@@ -15,2 +16,11 @@ import { OrganizationGenderType } from './OrganizationGenderType'; | ||
this.iban = ""; | ||
/** | ||
* Logo used in a horizontal environment (e.g. menu bar) | ||
*/ | ||
this.horizontalLogo = null; | ||
/** | ||
* Logo to display (small) | ||
*/ | ||
this.squareLogo = null; | ||
// Deprecated | ||
this.bic = ""; | ||
@@ -44,4 +54,10 @@ } | ||
__decorate([ | ||
field({ decoder: Image, nullable: true, version: 11 }) | ||
], OrganizationMetaData.prototype, "horizontalLogo", void 0); | ||
__decorate([ | ||
field({ decoder: Image, nullable: true, version: 11 }) | ||
], OrganizationMetaData.prototype, "squareLogo", void 0); | ||
__decorate([ | ||
field({ decoder: StringDecoder, version: 6, upgrade: () => "" }) | ||
], OrganizationMetaData.prototype, "bic", void 0); | ||
//# sourceMappingURL=OrganizationMetaData.js.map |
{ | ||
"name": "@stamhoofd/structures", | ||
"version": "1.3.22", | ||
"version": "1.3.23", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "module": "./esm/dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
398995
466
5778