Skip to content

Commit

Permalink
Release of version 0.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzysztof Kurzawa committed Jan 16, 2024
1 parent e254604 commit ab94923
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/classes/models/Misc/SyneriseSource.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
declare enum SyneriseSource {
NotSpecified = "NOT_SPECIFIED",
SimplePush = "SIMPLE_PUSH",
Banner = "BANNER",
Walkthrough = "WALKTHROUGH",
InAppMessage = "IN_APP_MESSAGE"
}
declare function SyneriseSourceFromString(string: string): SyneriseSource;
declare function SyneriseSourceToString(activity: SyneriseSource): string;
export { SyneriseSource, SyneriseSourceFromString, SyneriseSourceToString };
32 changes: 32 additions & 0 deletions lib/classes/models/Misc/SyneriseSource.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.SyneriseSourceToString = exports.SyneriseSourceFromString = exports.SyneriseSource = void 0;
var SyneriseSource;
(function (SyneriseSource) {
SyneriseSource["NotSpecified"] = "NOT_SPECIFIED";
SyneriseSource["SimplePush"] = "SIMPLE_PUSH";
SyneriseSource["Banner"] = "BANNER";
SyneriseSource["Walkthrough"] = "WALKTHROUGH";
SyneriseSource["InAppMessage"] = "IN_APP_MESSAGE";
})(SyneriseSource || (SyneriseSource = {}));
exports.SyneriseSource = SyneriseSource;
function SyneriseSourceFromString(string) {
if (string === SyneriseSource.SimplePush) {
return SyneriseSource.SimplePush;
}
else if (string === SyneriseSource.Banner) {
return SyneriseSource.Banner;
}
else if (string === SyneriseSource.Walkthrough) {
return SyneriseSource.Walkthrough;
}
else if (string === SyneriseSource.InAppMessage) {
return SyneriseSource.InAppMessage;
}
return SyneriseSource.NotSpecified;
}
exports.SyneriseSourceFromString = SyneriseSourceFromString;
function SyneriseSourceToString(activity) {
return activity;
}
exports.SyneriseSourceToString = SyneriseSourceToString;

0 comments on commit ab94923

Please sign in to comment.