diff --git a/.github/issue_template.md b/.github/issue_template.md
new file mode 100644
index 0000000..d103b9f
--- /dev/null
+++ b/.github/issue_template.md
@@ -0,0 +1,28 @@
+### Make sure to check the demo app(s) for sample usage
+
+### Make sure to check the existing issues in this repository
+
+### If the demo apps cannot help and there is no issue for your problem, tell us about it
+Please, ensure your title is less than 63 characters long and starts with a capital
+letter.
+
+### Which platform(s) does your issue occur on?
+- iOS/Android/Both
+- iOS/Android versions
+- emulator or device. What type of device?
+
+### Please, provide the following version numbers that your issue occurs with:
+
+- CLI: (run `tns --version` to fetch it)
+- Cross-platform modules: (check the 'version' attribute in the
+`node_modules/tns-core-modules/package.json` file in your project)
+- Runtime(s): (look for the `"tns-android"` and `"tns-ios"` properties in the `package.json` file of your project)
+- Plugin(s): (look for the version numbers in the `package.json` file of your
+project and paste your dependencies and devDependencies here)
+
+### Please, tell us how to recreate the issue in as much detail as possible.
+Describe the steps to reproduce it.
+
+### Is there any code involved?
+ - provide a code example to recreate the problem
+ - (EVEN BETTER) provide a .zip with application or refer to a repository with application where the problem is reproducible.
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
new file mode 100644
index 0000000..e1becd3
--- /dev/null
+++ b/.github/pull_request_template.md
@@ -0,0 +1,36 @@
+
+
+
+
+
+## PR Checklist
+
+- [ ] The PR title follows our guidelines: https://github.com/NativeScript/NativeScript/blob/master/CONTRIBUTING.md#commit-messages.
+- [ ] There is an issue for the bug/feature this PR is for. To avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it.
+- [ ] All existing tests are passing
+- [ ] Tests for the changes are included
+
+## What is the current behavior?
+
+
+## What is the new behavior?
+
+
+Fixes/Implements/Closes #[Issue Number].
+
+
+
+
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..dcb27e7
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,26 @@
+.vscode
+.idea
+.DS_Store
+*.esm.json
+*.js
+*.js.map
+*.log
+src/*.d.ts
+!src/index.d.ts
+!src/references.d.ts
+!src/scripts/*.js
+!seed-tests/*.js
+seed-tests/seed-copy/**/*.*
+seed-tests/seed-copy-new-git-repo/**/*.*
+!demo/karma.conf.js
+!demo/app/tests/*.js
+demo/*.d.ts
+!demo/references.d.ts
+demo/lib
+demo/platforms
+node_modules
+publish/src
+publish/package
+demo/report/report.html
+demo/report/stats.json
+!demo-vue/app/app.js
\ No newline at end of file
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..425d8bb
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,77 @@
+matrix:
+ include:
+ - stage: "Lint"
+ language: node_js
+ os: linux
+ node_js: "8"
+ script: cd src && npm run ci.tslint && cd ../demo && npm run ci.tslint
+ - stage: "WebPack, Build and Test"
+ os: osx
+ env:
+ - WebPack="iOS"
+ osx_image: xcode10.0
+ language: node_js
+ node_js: "8"
+ jdk: oraclejdk8
+ script: cd demo && npm run build.plugin && npm i && tns build ios --bundle --env.uglify
+ - language: android
+ os: linux
+ env:
+ - WebPack="Android"
+ jdk: oraclejdk8
+ before_install: nvm install 8
+ script: cd demo && npm run build.plugin && npm i && tns build android --bundle --env.uglify --env.snapshot
+ - language: android
+ env:
+ - BuildAndroid="28"
+ os: linux
+ jdk: oraclejdk8
+ before_install: nvm install stable
+ script:
+ - cd src && npm i && npm run tsc && cd ../demo && tns build android
+ - os: osx
+ env:
+ - BuildiOS="12"
+ - Xcode="10.0"
+ osx_image: xcode10.0
+ language: node_js
+ node_js: "8"
+ jdk: oraclejdk8
+ script:
+ - cd src && npm i && npm run tsc && cd ../demo && tns build ios
+ - os: linux
+ language: android
+ dist: precise
+ sudo: required
+ jdk: oraclejdk8
+ before_script:
+ - echo no | android create avd --force -n test -t android-21 -b armeabi-v7a
+ - emulator -avd test -no-audio -no-window &
+ - android-wait-for-emulator
+ before_install:
+ - nvm install 8
+ script: cd src && npm run test.android
+ - os: osx
+ language: node_js
+ node_js: "8"
+ jdk: oraclejdk8
+ osx_image: xcode10.0
+ script: cd src && npm run test.ios
+
+android:
+ components:
+ - tools
+ - platform-tools
+ - build-tools-28.0.3
+ - android-28
+ - extra-android-m2repository
+ - sys-img-armeabi-v7a-android-21
+
+before_install:
+ - sudo pip install --upgrade pip
+ - sudo pip install six
+
+install:
+ - echo no | npm install -g nativescript
+ - tns usage-reporting disable
+ - tns error-reporting disable
diff --git a/LICENSE b/LICENSE
new file mode 100755
index 0000000..061c440
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,201 @@
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "{}"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright (c) 2015-2019 Progress Software Corporation
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
\ No newline at end of file
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..08a719b
--- /dev/null
+++ b/README.md
@@ -0,0 +1,36 @@
+# NativeScript Pushy
+
+[![NPM version][npm-image]][npm-url]
+[![Downloads][downloads-image]][npm-url]
+[![Twitter Follow][twitter-image]][twitter-url]
+
+[build-status]:https://travis-ci.org/EddyVerbruggen/nativescript-pushy.svg?branch=master
+[build-url]:https://travis-ci.org/EddyVerbruggen/nativescript-pushy
+[npm-image]:http://img.shields.io/npm/v/nativescript-pushy.svg
+[npm-url]:https://npmjs.org/package/nativescript-pushy
+[downloads-image]:http://img.shields.io/npm/dm/nativescript-pushy.svg
+[twitter-image]:https://img.shields.io/twitter/follow/eddyverbruggen.svg?style=social&label=Follow%20me
+[twitter-url]:https://twitter.com/eddyverbruggen
+
+> Hop on over to [Pushy.me](https://pushy.me/) to get started!
+
+## Installation
+```bash
+tns plugin add nativescript-pushy
+```
+
+## Demo app
+Check the source in the [demo](/demo) folder, or run it on your own device:
+
+```bash
+git clone https://github.com/EddyVerbruggen/nativescript-pushy
+cd nativescript-pushy/src
+npm i
+npm run demo.ios # or demo.android
+```
+
+## API
+
+### `getDevicePushToken`
+
+### `setNotificationHandler`
\ No newline at end of file
diff --git a/demo/.npmrc b/demo/.npmrc
new file mode 100644
index 0000000..9cf9495
--- /dev/null
+++ b/demo/.npmrc
@@ -0,0 +1 @@
+package-lock=false
\ No newline at end of file
diff --git a/demo/app/App_Resources/Android/app.gradle b/demo/app/App_Resources/Android/app.gradle
new file mode 100644
index 0000000..7c7a576
--- /dev/null
+++ b/demo/app/App_Resources/Android/app.gradle
@@ -0,0 +1,15 @@
+// Add your native dependencies here:
+
+// Uncomment to add recyclerview-v7 dependency
+//dependencies {
+// compile 'com.android.support:recyclerview-v7:+'
+//}
+
+android {
+ defaultConfig {
+ generatedDensities = []
+ }
+ aaptOptions {
+ additionalParameters "--no-version-vectors"
+ }
+}
diff --git a/demo/app/App_Resources/Android/src/main/AndroidManifest.xml b/demo/app/App_Resources/Android/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..1ffdc61
--- /dev/null
+++ b/demo/app/App_Resources/Android/src/main/AndroidManifest.xml
@@ -0,0 +1,44 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/demo/app/App_Resources/Android/src/main/res/drawable-hdpi/background.png b/demo/app/App_Resources/Android/src/main/res/drawable-hdpi/background.png
new file mode 100644
index 0000000..eb381c2
Binary files /dev/null and b/demo/app/App_Resources/Android/src/main/res/drawable-hdpi/background.png differ
diff --git a/demo/app/App_Resources/Android/src/main/res/drawable-hdpi/icon.png b/demo/app/App_Resources/Android/src/main/res/drawable-hdpi/icon.png
new file mode 100644
index 0000000..1034356
Binary files /dev/null and b/demo/app/App_Resources/Android/src/main/res/drawable-hdpi/icon.png differ
diff --git a/demo/app/App_Resources/Android/src/main/res/drawable-hdpi/logo.png b/demo/app/App_Resources/Android/src/main/res/drawable-hdpi/logo.png
new file mode 100644
index 0000000..5218f4c
Binary files /dev/null and b/demo/app/App_Resources/Android/src/main/res/drawable-hdpi/logo.png differ
diff --git a/demo/app/App_Resources/Android/src/main/res/drawable-ldpi/background.png b/demo/app/App_Resources/Android/src/main/res/drawable-ldpi/background.png
new file mode 100644
index 0000000..748b2ad
Binary files /dev/null and b/demo/app/App_Resources/Android/src/main/res/drawable-ldpi/background.png differ
diff --git a/demo/app/App_Resources/Android/src/main/res/drawable-ldpi/icon.png b/demo/app/App_Resources/Android/src/main/res/drawable-ldpi/icon.png
new file mode 100644
index 0000000..ddfc17a
Binary files /dev/null and b/demo/app/App_Resources/Android/src/main/res/drawable-ldpi/icon.png differ
diff --git a/demo/app/App_Resources/Android/src/main/res/drawable-ldpi/logo.png b/demo/app/App_Resources/Android/src/main/res/drawable-ldpi/logo.png
new file mode 100644
index 0000000..b9e102a
Binary files /dev/null and b/demo/app/App_Resources/Android/src/main/res/drawable-ldpi/logo.png differ
diff --git a/demo/app/App_Resources/Android/src/main/res/drawable-mdpi/background.png b/demo/app/App_Resources/Android/src/main/res/drawable-mdpi/background.png
new file mode 100644
index 0000000..efeaf29
Binary files /dev/null and b/demo/app/App_Resources/Android/src/main/res/drawable-mdpi/background.png differ
diff --git a/demo/app/App_Resources/Android/src/main/res/drawable-mdpi/icon.png b/demo/app/App_Resources/Android/src/main/res/drawable-mdpi/icon.png
new file mode 100644
index 0000000..486e410
Binary files /dev/null and b/demo/app/App_Resources/Android/src/main/res/drawable-mdpi/icon.png differ
diff --git a/demo/app/App_Resources/Android/src/main/res/drawable-mdpi/logo.png b/demo/app/App_Resources/Android/src/main/res/drawable-mdpi/logo.png
new file mode 100644
index 0000000..6263387
Binary files /dev/null and b/demo/app/App_Resources/Android/src/main/res/drawable-mdpi/logo.png differ
diff --git a/demo/app/App_Resources/Android/src/main/res/drawable-nodpi/splash_screen.xml b/demo/app/App_Resources/Android/src/main/res/drawable-nodpi/splash_screen.xml
new file mode 100644
index 0000000..ada77f9
--- /dev/null
+++ b/demo/app/App_Resources/Android/src/main/res/drawable-nodpi/splash_screen.xml
@@ -0,0 +1,8 @@
+
+ -
+
+
+ -
+
+
+
\ No newline at end of file
diff --git a/demo/app/App_Resources/Android/src/main/res/drawable-xhdpi/background.png b/demo/app/App_Resources/Android/src/main/res/drawable-xhdpi/background.png
new file mode 100644
index 0000000..612bbd0
Binary files /dev/null and b/demo/app/App_Resources/Android/src/main/res/drawable-xhdpi/background.png differ
diff --git a/demo/app/App_Resources/Android/src/main/res/drawable-xhdpi/icon.png b/demo/app/App_Resources/Android/src/main/res/drawable-xhdpi/icon.png
new file mode 100644
index 0000000..f291882
Binary files /dev/null and b/demo/app/App_Resources/Android/src/main/res/drawable-xhdpi/icon.png differ
diff --git a/demo/app/App_Resources/Android/src/main/res/drawable-xhdpi/logo.png b/demo/app/App_Resources/Android/src/main/res/drawable-xhdpi/logo.png
new file mode 100644
index 0000000..ad8ee2f
Binary files /dev/null and b/demo/app/App_Resources/Android/src/main/res/drawable-xhdpi/logo.png differ
diff --git a/demo/app/App_Resources/Android/src/main/res/drawable-xxhdpi/background.png b/demo/app/App_Resources/Android/src/main/res/drawable-xxhdpi/background.png
new file mode 100644
index 0000000..0fa88e2
Binary files /dev/null and b/demo/app/App_Resources/Android/src/main/res/drawable-xxhdpi/background.png differ
diff --git a/demo/app/App_Resources/Android/src/main/res/drawable-xxhdpi/icon.png b/demo/app/App_Resources/Android/src/main/res/drawable-xxhdpi/icon.png
new file mode 100644
index 0000000..4f69cb2
Binary files /dev/null and b/demo/app/App_Resources/Android/src/main/res/drawable-xxhdpi/icon.png differ
diff --git a/demo/app/App_Resources/Android/src/main/res/drawable-xxhdpi/logo.png b/demo/app/App_Resources/Android/src/main/res/drawable-xxhdpi/logo.png
new file mode 100644
index 0000000..6683278
Binary files /dev/null and b/demo/app/App_Resources/Android/src/main/res/drawable-xxhdpi/logo.png differ
diff --git a/demo/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/background.png b/demo/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/background.png
new file mode 100644
index 0000000..c650f64
Binary files /dev/null and b/demo/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/background.png differ
diff --git a/demo/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/icon.png b/demo/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/icon.png
new file mode 100644
index 0000000..50887a8
Binary files /dev/null and b/demo/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/icon.png differ
diff --git a/demo/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/logo.png b/demo/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/logo.png
new file mode 100644
index 0000000..fa6331c
Binary files /dev/null and b/demo/app/App_Resources/Android/src/main/res/drawable-xxxhdpi/logo.png differ
diff --git a/demo/app/App_Resources/Android/src/main/res/values-v21/colors.xml b/demo/app/App_Resources/Android/src/main/res/values-v21/colors.xml
new file mode 100644
index 0000000..a64641a
--- /dev/null
+++ b/demo/app/App_Resources/Android/src/main/res/values-v21/colors.xml
@@ -0,0 +1,4 @@
+
+
+ #3d5afe
+
\ No newline at end of file
diff --git a/demo/app/App_Resources/Android/src/main/res/values-v21/styles.xml b/demo/app/App_Resources/Android/src/main/res/values-v21/styles.xml
new file mode 100644
index 0000000..dac8727
--- /dev/null
+++ b/demo/app/App_Resources/Android/src/main/res/values-v21/styles.xml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/app/App_Resources/Android/src/main/res/values/colors.xml b/demo/app/App_Resources/Android/src/main/res/values/colors.xml
new file mode 100644
index 0000000..74ad882
--- /dev/null
+++ b/demo/app/App_Resources/Android/src/main/res/values/colors.xml
@@ -0,0 +1,7 @@
+
+
+ #F5F5F5
+ #757575
+ #33B5E5
+ #272734
+
\ No newline at end of file
diff --git a/demo/app/App_Resources/Android/src/main/res/values/styles.xml b/demo/app/App_Resources/Android/src/main/res/values/styles.xml
new file mode 100644
index 0000000..1e8c7f2
--- /dev/null
+++ b/demo/app/App_Resources/Android/src/main/res/values/styles.xml
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/Contents.json b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/Contents.json
new file mode 100644
index 0000000..5f53593
--- /dev/null
+++ b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,128 @@
+{
+ "images" : [
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "icon-29.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "icon-29@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "icon-29@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "iphone",
+ "filename" : "icon-40@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "iphone",
+ "filename" : "icon-40@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "57x57",
+ "idiom" : "iphone",
+ "filename" : "icon-57.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "57x57",
+ "idiom" : "iphone",
+ "filename" : "icon-57@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "60x60",
+ "idiom" : "iphone",
+ "filename" : "icon-60@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "60x60",
+ "idiom" : "iphone",
+ "filename" : "icon-60@3x.png",
+ "scale" : "3x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "ipad",
+ "filename" : "icon-29.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "ipad",
+ "filename" : "icon-29@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "ipad",
+ "filename" : "icon-40.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "ipad",
+ "filename" : "icon-40@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "50x50",
+ "idiom" : "ipad",
+ "filename" : "icon-50.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "50x50",
+ "idiom" : "ipad",
+ "filename" : "icon-50@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "72x72",
+ "idiom" : "ipad",
+ "filename" : "icon-72.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "72x72",
+ "idiom" : "ipad",
+ "filename" : "icon-72@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "76x76",
+ "idiom" : "ipad",
+ "filename" : "icon-76.png",
+ "scale" : "1x"
+ },
+ {
+ "size" : "76x76",
+ "idiom" : "ipad",
+ "filename" : "icon-76@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "size" : "83.5x83.5",
+ "idiom" : "ipad",
+ "filename" : "icon-83.5@2x.png",
+ "scale" : "2x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29.png b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29.png
new file mode 100644
index 0000000..9e15af0
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png
new file mode 100644
index 0000000..7b9e555
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png
new file mode 100644
index 0000000..76f61ec
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40.png b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40.png
new file mode 100644
index 0000000..15b06db
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png
new file mode 100644
index 0000000..585065f
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png
new file mode 100644
index 0000000..a450c42
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-50.png b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-50.png
new file mode 100644
index 0000000..4a62478
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-50.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-50@2x.png b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-50@2x.png
new file mode 100644
index 0000000..01ff7c1
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-50@2x.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-57.png b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-57.png
new file mode 100644
index 0000000..beea819
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-57.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-57@2x.png b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-57@2x.png
new file mode 100644
index 0000000..c3dc7b0
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-57@2x.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png
new file mode 100644
index 0000000..457b6d9
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png
new file mode 100644
index 0000000..fa5a6ac
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-72.png b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-72.png
new file mode 100644
index 0000000..556bdd6
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-72.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-72@2x.png b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-72@2x.png
new file mode 100644
index 0000000..4f69cb2
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-72@2x.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76.png b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76.png
new file mode 100644
index 0000000..94abcf7
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png
new file mode 100644
index 0000000..2e71dd3
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png
new file mode 100644
index 0000000..4abc9ec
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/Contents.json b/demo/app/App_Resources/iOS/Assets.xcassets/Contents.json
new file mode 100644
index 0000000..da4a164
--- /dev/null
+++ b/demo/app/App_Resources/iOS/Assets.xcassets/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Contents.json b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Contents.json
new file mode 100644
index 0000000..4414bad
--- /dev/null
+++ b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Contents.json
@@ -0,0 +1,158 @@
+{
+ "images" : [
+ {
+ "extent" : "full-screen",
+ "idiom" : "iphone",
+ "subtype" : "736h",
+ "filename" : "Default-736h@3x.png",
+ "minimum-system-version" : "8.0",
+ "orientation" : "portrait",
+ "scale" : "3x"
+ },
+ {
+ "extent" : "full-screen",
+ "idiom" : "iphone",
+ "subtype" : "736h",
+ "filename" : "Default-Landscape@3x.png",
+ "minimum-system-version" : "8.0",
+ "orientation" : "landscape",
+ "scale" : "3x"
+ },
+ {
+ "extent" : "full-screen",
+ "idiom" : "iphone",
+ "subtype" : "667h",
+ "filename" : "Default-667h@2x.png",
+ "minimum-system-version" : "8.0",
+ "orientation" : "portrait",
+ "scale" : "2x"
+ },
+ {
+ "orientation" : "portrait",
+ "idiom" : "iphone",
+ "filename" : "Default@2x.png",
+ "extent" : "full-screen",
+ "minimum-system-version" : "7.0",
+ "scale" : "2x"
+ },
+ {
+ "extent" : "full-screen",
+ "idiom" : "iphone",
+ "subtype" : "retina4",
+ "filename" : "Default-568h@2x.png",
+ "minimum-system-version" : "7.0",
+ "orientation" : "portrait",
+ "scale" : "2x"
+ },
+ {
+ "orientation" : "portrait",
+ "idiom" : "ipad",
+ "filename" : "Default-Portrait.png",
+ "extent" : "full-screen",
+ "minimum-system-version" : "7.0",
+ "scale" : "1x"
+ },
+ {
+ "orientation" : "landscape",
+ "idiom" : "ipad",
+ "filename" : "Default-Landscape.png",
+ "extent" : "full-screen",
+ "minimum-system-version" : "7.0",
+ "scale" : "1x"
+ },
+ {
+ "orientation" : "portrait",
+ "idiom" : "ipad",
+ "filename" : "Default-Portrait@2x.png",
+ "extent" : "full-screen",
+ "minimum-system-version" : "7.0",
+ "scale" : "2x"
+ },
+ {
+ "orientation" : "landscape",
+ "idiom" : "ipad",
+ "filename" : "Default-Landscape@2x.png",
+ "extent" : "full-screen",
+ "minimum-system-version" : "7.0",
+ "scale" : "2x"
+ },
+ {
+ "orientation" : "portrait",
+ "idiom" : "iphone",
+ "filename" : "Default.png",
+ "extent" : "full-screen",
+ "scale" : "1x"
+ },
+ {
+ "orientation" : "portrait",
+ "idiom" : "iphone",
+ "filename" : "Default@2x.png",
+ "extent" : "full-screen",
+ "scale" : "2x"
+ },
+ {
+ "orientation" : "portrait",
+ "idiom" : "iphone",
+ "filename" : "Default-568h@2x.png",
+ "extent" : "full-screen",
+ "subtype" : "retina4",
+ "scale" : "2x"
+ },
+ {
+ "orientation" : "portrait",
+ "idiom" : "ipad",
+ "extent" : "to-status-bar",
+ "scale" : "1x"
+ },
+ {
+ "orientation" : "portrait",
+ "idiom" : "ipad",
+ "filename" : "Default-Portrait.png",
+ "extent" : "full-screen",
+ "scale" : "1x"
+ },
+ {
+ "orientation" : "landscape",
+ "idiom" : "ipad",
+ "extent" : "to-status-bar",
+ "scale" : "1x"
+ },
+ {
+ "orientation" : "landscape",
+ "idiom" : "ipad",
+ "filename" : "Default-Landscape.png",
+ "extent" : "full-screen",
+ "scale" : "1x"
+ },
+ {
+ "orientation" : "portrait",
+ "idiom" : "ipad",
+ "extent" : "to-status-bar",
+ "scale" : "2x"
+ },
+ {
+ "orientation" : "portrait",
+ "idiom" : "ipad",
+ "filename" : "Default-Portrait@2x.png",
+ "extent" : "full-screen",
+ "scale" : "2x"
+ },
+ {
+ "orientation" : "landscape",
+ "idiom" : "ipad",
+ "extent" : "to-status-bar",
+ "scale" : "2x"
+ },
+ {
+ "orientation" : "landscape",
+ "idiom" : "ipad",
+ "filename" : "Default-Landscape@2x.png",
+ "extent" : "full-screen",
+ "scale" : "2x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-568h@2x.png b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-568h@2x.png
new file mode 100644
index 0000000..d7f17fc
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-568h@2x.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-667h@2x.png b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-667h@2x.png
new file mode 100644
index 0000000..b884154
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-667h@2x.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-736h@3x.png b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-736h@3x.png
new file mode 100644
index 0000000..faab4b6
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-736h@3x.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape.png b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape.png
new file mode 100644
index 0000000..3365ba3
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@2x.png b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@2x.png
new file mode 100644
index 0000000..a44945c
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@2x.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@3x.png b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@3x.png
new file mode 100644
index 0000000..e6dca62
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@3x.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait.png b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait.png
new file mode 100644
index 0000000..1a50079
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait@2x.png b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait@2x.png
new file mode 100644
index 0000000..73d8b92
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait@2x.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default.png b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default.png
new file mode 100644
index 0000000..9f1f6ce
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default@2x.png b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default@2x.png
new file mode 100644
index 0000000..514fc5c
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default@2x.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/Contents.json b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/Contents.json
new file mode 100644
index 0000000..4f4e9c5
--- /dev/null
+++ b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/Contents.json
@@ -0,0 +1,22 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchScreen-AspectFill.png",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchScreen-AspectFill@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill.png b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill.png
new file mode 100644
index 0000000..c293f9c
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@2x.png b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@2x.png
new file mode 100644
index 0000000..233693a
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@2x.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/Contents.json b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/Contents.json
new file mode 100644
index 0000000..23c0ffd
--- /dev/null
+++ b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/Contents.json
@@ -0,0 +1,22 @@
+{
+ "images" : [
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchScreen-Center.png",
+ "scale" : "1x"
+ },
+ {
+ "idiom" : "universal",
+ "filename" : "LaunchScreen-Center@2x.png",
+ "scale" : "2x"
+ },
+ {
+ "idiom" : "universal",
+ "scale" : "3x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center.png b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center.png
new file mode 100644
index 0000000..a5a775a
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center.png differ
diff --git a/demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@2x.png b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@2x.png
new file mode 100644
index 0000000..154c193
Binary files /dev/null and b/demo/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@2x.png differ
diff --git a/demo/app/App_Resources/iOS/Info.plist b/demo/app/App_Resources/iOS/Info.plist
new file mode 100644
index 0000000..ea3e3ea
--- /dev/null
+++ b/demo/app/App_Resources/iOS/Info.plist
@@ -0,0 +1,47 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ en
+ CFBundleDisplayName
+ ${PRODUCT_NAME}
+ CFBundleExecutable
+ ${EXECUTABLE_NAME}
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ ${PRODUCT_NAME}
+ CFBundlePackageType
+ APPL
+ CFBundleShortVersionString
+ 1.0
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ 1.0
+ LSRequiresIPhoneOS
+
+ UILaunchStoryboardName
+ LaunchScreen
+ UIRequiresFullScreen
+
+ UIRequiredDeviceCapabilities
+
+ armv7
+
+ UISupportedInterfaceOrientations
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UISupportedInterfaceOrientations~ipad
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationPortraitUpsideDown
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+
+
diff --git a/demo/app/App_Resources/iOS/LaunchScreen.storyboard b/demo/app/App_Resources/iOS/LaunchScreen.storyboard
new file mode 100644
index 0000000..2ad9471
--- /dev/null
+++ b/demo/app/App_Resources/iOS/LaunchScreen.storyboard
@@ -0,0 +1,49 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/demo/app/App_Resources/iOS/app.entitlements b/demo/app/App_Resources/iOS/app.entitlements
new file mode 100644
index 0000000..903def2
--- /dev/null
+++ b/demo/app/App_Resources/iOS/app.entitlements
@@ -0,0 +1,8 @@
+
+
+
+
+ aps-environment
+ development
+
+
diff --git a/demo/app/App_Resources/iOS/build.xcconfig b/demo/app/App_Resources/iOS/build.xcconfig
new file mode 100644
index 0000000..32ce1c1
--- /dev/null
+++ b/demo/app/App_Resources/iOS/build.xcconfig
@@ -0,0 +1,9 @@
+// You can add custom settings here
+// for example you can uncomment the following line to force distribution code signing
+// CODE_SIGN_IDENTITY = iPhone Distribution
+ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
+
+CODE_SIGN_ENTITLEMENTS = demo/demo.entitlements
+
+DEVELOPMENT_TEAM = 8Q5F6M3TNS
diff --git a/demo/app/app-root.xml b/demo/app/app-root.xml
new file mode 100644
index 0000000..8d01995
--- /dev/null
+++ b/demo/app/app-root.xml
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/demo/app/app.css b/demo/app/app.css
new file mode 100644
index 0000000..9527cc6
--- /dev/null
+++ b/demo/app/app.css
@@ -0,0 +1,10 @@
+@import '~nativescript-theme-core/css/core.light.css';
+
+.button {
+ background-color: #6494AA;
+ color: #ffffff;
+ padding: 8;
+ margin: 4 8;
+ font-size: 13;
+ border-radius: 4;
+}
\ No newline at end of file
diff --git a/demo/app/app.ts b/demo/app/app.ts
new file mode 100644
index 0000000..79133ad
--- /dev/null
+++ b/demo/app/app.ts
@@ -0,0 +1,7 @@
+import * as app from "tns-core-modules/application";
+
+// Depending on your app's structure, this may be required in order to do some startup wiring on iOS.
+// In this demo it's not needed because the plugin is not lazily loaded (AoT), but just to be safe..
+require("nativescript-pushy");
+
+app.run({moduleName: "app-root"});
\ No newline at end of file
diff --git a/demo/app/main-page.ts b/demo/app/main-page.ts
new file mode 100644
index 0000000..632d4bc
--- /dev/null
+++ b/demo/app/main-page.ts
@@ -0,0 +1,10 @@
+import * as observable from "tns-core-modules/data/observable";
+import * as pages from "tns-core-modules/ui/page";
+import { HelloWorldModel } from "./main-view-model";
+
+// Event handler for Page 'loaded' event attached in main-page.xml
+export function pageLoaded(args: observable.EventData) {
+ // Get the event sender
+ let page = args.object;
+ page.bindingContext = new HelloWorldModel();
+}
diff --git a/demo/app/main-page.xml b/demo/app/main-page.xml
new file mode 100644
index 0000000..c1e05e8
--- /dev/null
+++ b/demo/app/main-page.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/demo/app/main-view-model.ts b/demo/app/main-view-model.ts
new file mode 100644
index 0000000..5b9855b
--- /dev/null
+++ b/demo/app/main-view-model.ts
@@ -0,0 +1,31 @@
+import { getDevicePushToken, setNotificationHandler } from "nativescript-pushy";
+import { Observable } from "tns-core-modules/data/observable";
+import { alert } from "tns-core-modules/ui/dialogs";
+
+export class HelloWorldModel extends Observable {
+ public message: string;
+
+ constructor() {
+ super();
+
+ setNotificationHandler(notification => {
+ console.log("Notification received: " + JSON.stringify(notification));
+ setTimeout(() => {
+ alert({
+ title: "Notification received",
+ message: JSON.stringify(notification),
+ okButtonText: "OK"
+ });
+ }, 500);
+ });
+ }
+
+ public doGetDevicePushToken(): void {
+ getDevicePushToken()
+ .then(token => {
+ console.log("register success, token: " + token);
+ this.set("message", "token: " + token);
+ })
+ .catch(err => this.set("message", err));
+ }
+}
diff --git a/demo/app/package.json b/demo/app/package.json
new file mode 100644
index 0000000..927be46
--- /dev/null
+++ b/demo/app/package.json
@@ -0,0 +1,109 @@
+{
+ "name": "tns-template-hello-world-ts",
+ "main": "app.js",
+ "version": "1.6.0",
+ "author": {
+ "name": "Telerik",
+ "email": "support@telerik.com"
+ },
+ "description": "Nativescript hello-world-ts project template",
+ "license": "Apache-2.0",
+ "keywords": [
+ "telerik",
+ "mobile",
+ "nativescript",
+ "{N}",
+ "tns",
+ "appbuilder",
+ "template"
+ ],
+ "repository": {
+ "type": "git",
+ "url": "git+ssh://git@github.com/NativeScript/template-hello-world-ts.git"
+ },
+ "bugs": {
+ "url": "https://github.com/NativeScript/template-hello-world-ts/issues"
+ },
+ "homepage": "https://github.com/NativeScript/template-hello-world-ts",
+ "android": {
+ "v8Flags": "--expose_gc",
+ "requireModules": ["nativescript-pushy"]
+ },
+ "devDependencies": {
+ "nativescript-dev-typescript": "^0.3.0"
+ },
+ "_id": "tns-template-hello-world-ts@1.6.0",
+ "_shasum": "a567c2b9a56024818c06596dab9629d155c5b8a8",
+ "_resolved": "https://registry.npmjs.org/tns-template-hello-world-ts/-/tns-template-hello-world-ts-1.6.0.tgz",
+ "_from": "tns-template-hello-world-ts@latest",
+ "scripts": {
+ "build.plugin": "cd ../src && npm run build",
+ "ci.tslint": "npm i && tslint --config '../tslint.json' 'app/**/*.ts' --exclude '**/node_modules/**'"
+ },
+ "_npmVersion": "2.14.7",
+ "_nodeVersion": "4.2.2",
+ "_npmUser": {
+ "name": "enchev",
+ "email": "vladimir.enchev@gmail.com"
+ },
+ "dist": {
+ "shasum": "a567c2b9a56024818c06596dab9629d155c5b8a8",
+ "tarball": "http://registry.npmjs.org/tns-template-hello-world-ts/-/tns-template-hello-world-ts-1.6.0.tgz"
+ },
+ "maintainers": [
+ {
+ "name": "enchev",
+ "email": "vladimir.enchev@gmail.com"
+ },
+ {
+ "name": "erjangavalji",
+ "email": "erjan.gavalji@gmail.com"
+ },
+ {
+ "name": "fatme",
+ "email": "hfatme@gmail.com"
+ },
+ {
+ "name": "hdeshev",
+ "email": "hristo@deshev.com"
+ },
+ {
+ "name": "kerezov",
+ "email": "d.kerezov@gmail.com"
+ },
+ {
+ "name": "ligaz",
+ "email": "stefan.dobrev@gmail.com"
+ },
+ {
+ "name": "nsndeck",
+ "email": "nedyalko.nikolov@telerik.com"
+ },
+ {
+ "name": "rosen-vladimirov",
+ "email": "rosen.vladimirov.91@gmail.com"
+ },
+ {
+ "name": "sdobrev",
+ "email": "stefan.dobrev@gmail.com"
+ },
+ {
+ "name": "tailsu",
+ "email": "tailsu@gmail.com"
+ },
+ {
+ "name": "teobugslayer",
+ "email": "teobugslayer@gmail.com"
+ },
+ {
+ "name": "valio.stoychev",
+ "email": "valio.stoychev@gmail.com"
+ }
+ ],
+ "_npmOperationalInternal": {
+ "host": "packages-5-east.internal.npmjs.com",
+ "tmp": "tmp/tns-template-hello-world-ts-1.6.0.tgz_1455717516189_0.6427943941671401"
+ },
+ "directories": {},
+ "readme": "ERROR: No README data found!"
+}
diff --git a/demo/app/tests/tests.js b/demo/app/tests/tests.js
new file mode 100644
index 0000000..970609e
--- /dev/null
+++ b/demo/app/tests/tests.js
@@ -0,0 +1,8 @@
+var TNSPushy = require("nativescript-pushy").TNSPushy;
+var pushy = new TNSPushy();
+
+describe("register function", function () {
+ it("exists", function () {
+ expect(pushy.register).toBeDefined();
+ });
+});
\ No newline at end of file
diff --git a/demo/karma.conf.js b/demo/karma.conf.js
new file mode 100644
index 0000000..5d2286a
--- /dev/null
+++ b/demo/karma.conf.js
@@ -0,0 +1,77 @@
+module.exports = function(config) {
+ config.set({
+
+ // base path that will be used to resolve all patterns (eg. files, exclude)
+ basePath: '',
+
+
+ // frameworks to use
+ // available frameworks: https://npmjs.org/browse/keyword/karma-adapter
+ frameworks: ['jasmine'],
+
+
+ // list of files / patterns to load in the browser
+ files: [
+ 'app/**/*.js'
+ ],
+
+
+ // list of files to exclude
+ exclude: [
+ ],
+
+
+ // preprocess matching files before serving them to the browser
+ // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
+ preprocessors: {
+ },
+
+
+ // test results reporter to use
+ // possible values: 'dots', 'progress'
+ // available reporters: https://npmjs.org/browse/keyword/karma-reporter
+ reporters: ['progress'],
+
+
+ // web server port
+ port: 9876,
+
+
+ // enable / disable colors in the output (reporters and logs)
+ colors: true,
+
+
+ // level of logging
+ // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG
+ logLevel: config.LOG_INFO,
+
+
+ // enable / disable watching file and executing tests whenever any file changes
+ autoWatch: true,
+
+
+ // start these browsers
+ // available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
+ browsers: [],
+
+ customLaunchers: {
+ android: {
+ base: 'NS',
+ platform: 'android'
+ },
+ ios: {
+ base: 'NS',
+ platform: 'ios'
+ },
+ ios_simulator: {
+ base: 'NS',
+ platform: 'ios',
+ arguments: ['--emulator']
+ }
+ },
+
+ // Continuous Integration mode
+ // if true, Karma captures browsers, runs the tests and exits
+ singleRun: true
+ });
+};
diff --git a/demo/package.json b/demo/package.json
new file mode 100644
index 0000000..05bed4a
--- /dev/null
+++ b/demo/package.json
@@ -0,0 +1,32 @@
+{
+ "nativescript": {
+ "id": "org.nativescript.plugin.pushy",
+ "tns-ios": {
+ "version": "5.2.0"
+ },
+ "tns-android": {
+ "version": "5.2.1"
+ }
+ },
+ "dependencies": {
+ "nativescript-theme-core": "^1.0.4",
+ "nativescript-unit-test-runner": "^0.4.1",
+ "nativescript-pushy": "file:../src",
+ "tns-core-modules": "^5.2.0"
+ },
+ "devDependencies": {
+ "jasmine-core": "^2.5.2",
+ "karma": "^1.3.0",
+ "karma-jasmine": "^1.0.2",
+ "karma-nativescript-launcher": "^0.4.0",
+ "nativescript-css-loader": "~0.26.1",
+ "nativescript-dev-typescript": "~0.8.0",
+ "nativescript-dev-webpack": "~0.20.0",
+ "tns-platform-declarations": "^5.2.0",
+ "tslint": "~5.12.1"
+ },
+ "scripts": {
+ "build.plugin": "cd ../src && npm run build",
+ "ci.tslint": "npm i && tslint --config '../tslint.json' 'app/**/*.ts' --exclude '**/node_modules/**' --exclude '**/platforms/**'"
+ }
+}
diff --git a/demo/references.d.ts b/demo/references.d.ts
new file mode 100644
index 0000000..680f3ef
--- /dev/null
+++ b/demo/references.d.ts
@@ -0,0 +1,2 @@
+///
+///
diff --git a/demo/tsconfig.json b/demo/tsconfig.json
new file mode 100644
index 0000000..e5a86c7
--- /dev/null
+++ b/demo/tsconfig.json
@@ -0,0 +1,43 @@
+{
+ "compilerOptions": {
+ "target": "es5",
+ "module": "commonjs",
+ "declaration": false,
+ "removeComments": true,
+ "noLib": false,
+ "emitDecoratorMetadata": true,
+ "experimentalDecorators": true,
+ "lib": [
+ "es6",
+ "dom"
+ ],
+ "pretty": true,
+ "allowUnreachableCode": false,
+ "allowUnusedLabels": false,
+ "noEmitHelpers": true,
+ "noEmitOnError": false,
+ "noImplicitAny": false,
+ "noImplicitReturns": true,
+ "noImplicitUseStrict": false,
+ "noFallthroughCasesInSwitch": true,
+ "baseUrl": ".",
+ "paths": {
+ "*": [
+ "./node_modules/*"
+ ],
+ "~/*": [
+ "app/*"
+ ]
+ }
+ },
+ "include": [
+ "../src",
+ "**/*"
+ ],
+ "exclude": [
+ "../src/node_modules",
+ "node_modules",
+ "platforms"
+ ],
+ "compileOnSave": false
+}
\ No newline at end of file
diff --git a/demo/tsconfig.tns.json b/demo/tsconfig.tns.json
new file mode 100644
index 0000000..95f2ece
--- /dev/null
+++ b/demo/tsconfig.tns.json
@@ -0,0 +1,7 @@
+{
+ "extends": "./tsconfig",
+ "compilerOptions": {
+ "module": "es2015",
+ "moduleResolution": "node"
+ }
+}
diff --git a/publish/pack.sh b/publish/pack.sh
new file mode 100644
index 0000000..212f22f
--- /dev/null
+++ b/publish/pack.sh
@@ -0,0 +1,47 @@
+#!/bin/bash
+
+SOURCE_DIR=../src;
+TO_SOURCE_DIR=src;
+PACK_DIR=package;
+ROOT_DIR=..;
+PUBLISH=--publish
+
+install(){
+ npm i
+}
+
+pack() {
+
+ echo 'Clearing /src and /package...'
+ node_modules/.bin/rimraf "$TO_SOURCE_DIR"
+ node_modules/.bin/rimraf "$PACK_DIR"
+
+ # copy src
+ echo 'Copying src...'
+ node_modules/.bin/ncp "$SOURCE_DIR" "$TO_SOURCE_DIR"
+
+ # copy README & LICENSE to src
+ echo 'Copying README and LICENSE to /src...'
+ node_modules/.bin/ncp "$ROOT_DIR"/LICENSE "$TO_SOURCE_DIR"/LICENSE
+ node_modules/.bin/ncp "$ROOT_DIR"/README.md "$TO_SOURCE_DIR"/README.md
+
+ # compile package and copy files required by npm
+ echo 'Building /src...'
+ cd "$TO_SOURCE_DIR"
+ node_modules/.bin/tsc
+ cd ..
+
+ echo 'Creating package...'
+ # create package dir
+ mkdir "$PACK_DIR"
+
+ # create the package
+ cd "$PACK_DIR"
+ npm pack ../"$TO_SOURCE_DIR"
+
+ # delete source directory used to create the package
+ cd ..
+ node_modules/.bin/rimraf "$TO_SOURCE_DIR"
+}
+
+install && pack
\ No newline at end of file
diff --git a/publish/package.json b/publish/package.json
new file mode 100644
index 0000000..d5c28e9
--- /dev/null
+++ b/publish/package.json
@@ -0,0 +1,9 @@
+{
+ "name": "nativescript-publish",
+ "version": "1.0.0",
+ "description": "Publish helper",
+ "devDependencies": {
+ "ncp": "^2.0.0",
+ "rimraf": "^2.5.0"
+ }
+}
diff --git a/publish/publish.sh b/publish/publish.sh
new file mode 100644
index 0000000..8e72704
--- /dev/null
+++ b/publish/publish.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+PACK_DIR=package;
+
+publish() {
+ cd $PACK_DIR
+ echo 'Publishing to npm...'
+ npm publish *.tgz
+}
+
+./pack.sh && publish
\ No newline at end of file
diff --git a/src/.npmignore b/src/.npmignore
new file mode 100644
index 0000000..b23a9bf
--- /dev/null
+++ b/src/.npmignore
@@ -0,0 +1,9 @@
+*.map
+*.ts
+!*.d.ts
+tsconfig.json
+scripts/*
+platforms/android/*
+!platforms/android/include.gradle
+!platforms/android/*.aar
+!platforms/android/*.jar
\ No newline at end of file
diff --git a/src/index.d.ts b/src/index.d.ts
new file mode 100644
index 0000000..51724b8
--- /dev/null
+++ b/src/index.d.ts
@@ -0,0 +1,21 @@
+export interface TNSPushNotification {
+ title: string;
+ message?: string;
+ aps?: {
+ alert: string;
+ badge: number;
+ sound: string;
+ };
+ /**
+ * NSDictionary
+ */
+ ios?: any;
+ /**
+ * android.os.Bundle
+ */
+ android?: any;
+}
+
+export declare function getDevicePushToken(): Promise;
+
+export declare function setNotificationHandler(handler: (notification: TNSPushNotification) => void): void;
diff --git a/src/package.json b/src/package.json
new file mode 100644
index 0000000..273dafd
--- /dev/null
+++ b/src/package.json
@@ -0,0 +1,63 @@
+{
+ "name": "nativescript-pushy",
+ "version": "1.0.0",
+ "description": "Lightning-fast, highly-reliable push notification delivery with https://pushy.me",
+ "main": "pushy",
+ "typings": "index.d.ts",
+ "nativescript": {
+ "platforms": {
+ "android": "5.2.0",
+ "ios": "5.2.0"
+ }
+ },
+ "scripts": {
+ "tsc": "tsc -skipLibCheck",
+ "build": "npm run tsc && npm run build.native",
+ "build.native": "node scripts/build-native.js",
+ "postclone": "npm i && node scripts/postclone.js && cd ../demo && npm i && npx rimraf -- package-lock.json && cd ../src",
+ "test.android": "npm run tsc && npm run tslint && cd ../demo && tns build android && tns test android --justlaunch",
+ "test.ios": "npm run tsc && npm run tslint && cd ../demo && tns build ios && tns test ios --justlaunch",
+ "tslint": "cd .. && tslint \"**/*.ts\" --config tslint.json --exclude '**/node_modules/**' --exclude '**/platforms/**'",
+ "plugin.tscwatch": "npm run tsc -- -w",
+ "demo.ios": "npm run tsc && cd ../demo && tns run ios --syncAllFiles",
+ "demo.android": "npm run tsc && cd ../demo && tns run android --syncAllFiles",
+ "demo.reset": "cd ../demo && npx rimraf -- hooks node_modules platforms package-lock.json",
+ "plugin.prepare": "npm run build && cd ../demo && tns plugin remove nativescript-pushy && tns plugin add ../src",
+ "clean": "npm run demo.reset && npx rimraf -- node_modules package-lock.json && npm i",
+ "ci.tslint": "npm i && tslint '**/*.ts' --config '../tslint.json' --exclude '**/node_modules/**' --exclude '**/platforms/**'",
+ "prepack": "npm run build.native",
+ "generate.typings.ios": "cd ../demo && TNS_DEBUG_METADATA_PATH=\"$(pwd)/metadata\" tns build ios && TNS_TYPESCRIPT_DECLARATIONS_PATH=\"$(pwd)/typings\" tns build ios && echo 'Now look for your library typings in demo/typings!'",
+ "generate.typings.android": "echo '##### Download the latest relevant .jar file from https://jcenter.bintray.com/me/pushy/sdk/ and move it into the plugin /src folder' && java -jar ../../android-dts-generator/dts-generator/build/libs/dts-generator.jar -input ./sdk-*.jar -output platforms/android/typings && rimraf sdk-*.jar && echo '##### Done! Deleted the .jar, and generated typings in src/platforms/android/typings'"
+ },
+ "keywords": [
+ "NativeScript",
+ "JavaScript",
+ "Android",
+ "iOS",
+ "Push",
+ "Push Notification",
+ "Notification",
+ "APNS"
+ ],
+ "author": {
+ "name": "Eddy Verbruggen",
+ "email": "eddyverbruggen@gmail.com"
+ },
+ "bugs": {
+ "url": "https://github.com/EddyVerbruggen/nativescript-pushy/issues"
+ },
+ "license": "Apache-2.0",
+ "homepage": "https://github.com/EddyVerbruggen/nativescript-pushy",
+ "readmeFilename": "README.md",
+ "devDependencies": {
+ "tns-core-modules": "~5.2.0",
+ "tns-platform-declarations": "~5.2.0",
+ "typescript": "~3.1.0",
+ "prompt": "^1.0.0",
+ "rimraf": "^2.6.3",
+ "tslint": "^5.12.1",
+ "semver": "^5.6.0"
+ },
+ "dependencies": {},
+ "bootstrapper": "nativescript-plugin-seed"
+}
diff --git a/src/platforms/android/AndroidManifest.xml b/src/platforms/android/AndroidManifest.xml
new file mode 100644
index 0000000..a3d9c7d
--- /dev/null
+++ b/src/platforms/android/AndroidManifest.xml
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/platforms/android/include.gradle b/src/platforms/android/include.gradle
new file mode 100644
index 0000000..e07fb97
--- /dev/null
+++ b/src/platforms/android/include.gradle
@@ -0,0 +1,3 @@
+dependencies {
+ implementation "me.pushy:sdk:1.0.43"
+}
diff --git a/src/platforms/android/nativescript_pushy.aar b/src/platforms/android/nativescript_pushy.aar
new file mode 100644
index 0000000..07ba79d
Binary files /dev/null and b/src/platforms/android/nativescript_pushy.aar differ
diff --git a/src/platforms/android/typings/android-declarations.d.ts b/src/platforms/android/typings/android-declarations.d.ts
new file mode 100644
index 0000000..972ba08
--- /dev/null
+++ b/src/platforms/android/typings/android-declarations.d.ts
@@ -0,0 +1,4 @@
+declare module native { export class Array { constructor(); length: number; [index: number]: T; } }
+
+import globalAndroid = android;
+
diff --git a/src/platforms/android/typings/android.d.ts b/src/platforms/android/typings/android.d.ts
new file mode 100644
index 0000000..aeb2774
--- /dev/null
+++ b/src/platforms/android/typings/android.d.ts
@@ -0,0 +1,28406 @@
+///
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export class BuildConfig {
+ public static class: java.lang.Class;
+ public static DEBUG: boolean;
+ public static APPLICATION_ID: string;
+ public static BUILD_TYPE: string;
+ public static FLAVOR: string;
+ public static VERSION_CODE: number;
+ public static VERSION_NAME: string;
+ public constructor();
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export class Pushy {
+ public static class: java.lang.Class;
+ public static subscribe(param0: native.Array, param1: globalAndroid.content.Context): void;
+ public static unsubscribe(param0: string, param1: globalAndroid.content.Context): void;
+ public static setAppId(param0: string, param1: globalAndroid.content.Context): void;
+ public static setHeartbeatInterval(param0: number, param1: globalAndroid.content.Context): void;
+ public static setEnterpriseConfig(param0: string, param1: string, param2: globalAndroid.content.Context): void;
+ public static subscribe(param0: string, param1: globalAndroid.content.Context): void;
+ public static togglePermissionVerification(param0: boolean, param1: globalAndroid.content.Context): void;
+ public static setProxyEndpoint(param0: string, param1: globalAndroid.content.Context): void;
+ public static setJobServiceInterval(param0: number, param1: globalAndroid.content.Context): void;
+ public constructor();
+ public static listen(param0: globalAndroid.content.Context): void;
+ public static unsubscribe(param0: native.Array, param1: globalAndroid.content.Context): void;
+ public static toggleDirectConnectivity(param0: boolean, param1: globalAndroid.content.Context): void;
+ public static register(param0: globalAndroid.content.Context): string;
+ public static getDeviceCredentials(param0: globalAndroid.content.Context): me.pushy.sdk.model.PushyDeviceCredentials;
+ public static toggleWifiPolicyCompliance(param0: boolean, param1: globalAndroid.content.Context): void;
+ public static setDeviceCredentials(param0: me.pushy.sdk.model.PushyDeviceCredentials, param1: globalAndroid.content.Context): void;
+ public static toggleNotifications(param0: boolean, param1: globalAndroid.content.Context): void;
+ public static unregister(param0: globalAndroid.content.Context): void;
+ public static isRegistered(param0: globalAndroid.content.Context): boolean;
+ public static setNotificationChannel(param0: any, param1: globalAndroid.content.Context): void;
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export class R {
+ public static class: java.lang.Class;
+ public constructor();
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module config {
+ export class PushyAPI {
+ public static class: java.lang.Class;
+ public static ENDPOINT: string;
+ public static TIMEOUT: number;
+ public constructor();
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module config {
+ export class PushyBroadcast {
+ public static class: java.lang.Class;
+ public static ACTION: string;
+ public constructor();
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module config {
+ export class PushyLogging {
+ public static class: java.lang.Class;
+ public static TAG: string;
+ public constructor();
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module config {
+ export class PushyMQTT {
+ public static class: java.lang.Class;
+ public static PORT: number;
+ public static ENDPOINT: string;
+ public static DIRECT_ENDPOINT: string;
+ public static INITIAL_RETRY_INTERVAL: number;
+ public static MAXIMUM_RETRY_INTERVAL: number;
+ public static MQTT_QUALITY_OF_SERVICE: number;
+ public static MQTT_DEFAULT_KEEP_ALIVE: number;
+ public static MQTT_RETAINED_PUBLISH: boolean;
+ public static MQTT_ACK_TIMEOUT: number;
+ public static MQTT_CONNECT_TIMEOUT: number;
+ public static MQTT_JOB_ID: number;
+ public static MQTT_DEFAULT_JOB_SERVICE_INTERVAL: number;
+ public static MQTT_JOB_TASK_INTERVAL_PADDING: number;
+ public constructor();
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module config {
+ export class PushyNotificationChannel {
+ public static class: java.lang.Class;
+ public static CHANNEL_ID: string;
+ public static CHANNEL_NAME: string;
+ public static CHANNEL_IMPORTANCE: number;
+ public constructor();
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module config {
+ export class PushyPermissions {
+ public static class: java.lang.Class;
+ public static REQUIRED_MANIFEST_PERMISSIONS: native.Array;
+ public constructor();
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module config {
+ export class PushyPreferenceKeys {
+ public static class: java.lang.Class;
+ public static APP_ID: string;
+ public static DEVICE_TOKEN: string;
+ public static DEVICE_AUTH_KEY: string;
+ public static KEEPALIVE_INTERVAL: string;
+ public static JOBSERVICE_INTERVAL: string;
+ public static PERMISSION_ENFORCEMENT: string;
+ public static NOTIFICATIONS_ENABLED: string;
+ public static DIRECT_CONNECTIVITY: string;
+ public static WIFI_POLICY_COMPLIANCE: string;
+ public static ENTERPRISE_API_ENDPOINT: string;
+ public static ENTERPRISE_MQTT_ENDPOINT: string;
+ public static PROXY_ENDPOINT: string;
+ public static ENTERPRISE_KEY_SUFFIX: string;
+ public constructor();
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module config {
+ export class PushySDK {
+ public static class: java.lang.Class;
+ public static VERSION_CODE: number;
+ public static PLATFORM_CODE: string;
+ public constructor();
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module config {
+ export class PushyStorage {
+ public static class: java.lang.Class;
+ public static EXTERNAL_STORAGE_TOKEN_FILE: string;
+ public static EXTERNAL_STORAGE_AUTH_KEY_FILE: string;
+ public static EXTERNAL_STORAGE_FILE_ENTERPRISE_PREFIX: string;
+ public static EXTERNAL_STORAGE_DIRECTORY: string;
+ public constructor();
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JacksonAnnotation {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JacksonAnnotation interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ });
+ public constructor();
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JacksonAnnotationValue extends java.lang.Object {
+ public static class: java.lang.Class>;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JacksonAnnotationValue interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ valueFor(): java.lang.Class;
+ });
+ public constructor();
+ public valueFor(): java.lang.Class;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JacksonAnnotationsInside {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JacksonAnnotationsInside interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ });
+ public constructor();
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JacksonInject {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JacksonInject interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ value(): string;
+ useInput(): me.pushy.sdk.lib.jackson.annotation.OptBoolean;
+ });
+ public constructor();
+ public useInput(): me.pushy.sdk.lib.jackson.annotation.OptBoolean;
+ public value(): string;
+ }
+ export module JacksonInject {
+ export class Value extends java.lang.Object {
+ public static class: java.lang.Class;
+ public static EMPTY: me.pushy.sdk.lib.jackson.annotation.JacksonInject.Value;
+ public _id: any;
+ public _useInput: java.lang.Boolean;
+ public toString(): string;
+ public valueFor(): java.lang.Class;
+ public static forId(param0: any): me.pushy.sdk.lib.jackson.annotation.JacksonInject.Value;
+ public getId(): any;
+ public willUseInput(param0: boolean): boolean;
+ public equals(param0: any): boolean;
+ public constructor(param0: any, param1: java.lang.Boolean);
+ public static from(param0: me.pushy.sdk.lib.jackson.annotation.JacksonInject): me.pushy.sdk.lib.jackson.annotation.JacksonInject.Value;
+ public withId(param0: any): me.pushy.sdk.lib.jackson.annotation.JacksonInject.Value;
+ public valueFor(): java.lang.Class;
+ public hasId(): boolean;
+ public static empty(): me.pushy.sdk.lib.jackson.annotation.JacksonInject.Value;
+ public hashCode(): number;
+ public withUseInput(param0: java.lang.Boolean): me.pushy.sdk.lib.jackson.annotation.JacksonInject.Value;
+ public static construct(param0: any, param1: java.lang.Boolean): me.pushy.sdk.lib.jackson.annotation.JacksonInject.Value;
+ public getUseInput(): java.lang.Boolean;
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonAlias {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonAlias interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ value(): native.Array;
+ });
+ public constructor();
+ public value(): native.Array;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonAnyGetter {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonAnyGetter interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ enabled(): boolean;
+ });
+ public constructor();
+ public enabled(): boolean;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonAnySetter {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonAnySetter interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ enabled(): boolean;
+ });
+ public constructor();
+ public enabled(): boolean;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonAutoDetect {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ getterVisibility(): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility;
+ isGetterVisibility(): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility;
+ setterVisibility(): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility;
+ creatorVisibility(): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility;
+ fieldVisibility(): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility;
+ });
+ public constructor();
+ public setterVisibility(): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility;
+ public getterVisibility(): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility;
+ public isGetterVisibility(): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility;
+ public fieldVisibility(): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility;
+ public creatorVisibility(): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility;
+ }
+ export module JsonAutoDetect {
+ export class Value extends java.lang.Object {
+ public static class: java.lang.Class;
+ public static DEFAULT: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Value;
+ public static NO_OVERRIDES: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Value;
+ public _fieldVisibility: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility;
+ public _getterVisibility: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility;
+ public _isGetterVisibility: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility;
+ public _setterVisibility: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility;
+ public _creatorVisibility: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility;
+ public toString(): string;
+ public valueFor(): java.lang.Class;
+ public equals(param0: any): boolean;
+ public getSetterVisibility(): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility;
+ public static merge(param0: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Value, param1: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Value): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Value;
+ public withOverrides(param0: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Value): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Value;
+ public withIsGetterVisibility(param0: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Value;
+ public valueFor(): java.lang.Class;
+ public getGetterVisibility(): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility;
+ public static construct(param0: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility, param1: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility, param2: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility, param3: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility, param4: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Value;
+ public getFieldVisibility(): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility;
+ public getIsGetterVisibility(): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility;
+ public static defaultVisibility(): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Value;
+ public static noOverrides(): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Value;
+ public withFieldVisibility(param0: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Value;
+ public static from(param0: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Value;
+ public withCreatorVisibility(param0: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Value;
+ public getCreatorVisibility(): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility;
+ public readResolve(): any;
+ public withSetterVisibility(param0: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Value;
+ public withGetterVisibility(param0: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Value;
+ public hashCode(): number;
+ public static construct(param0: me.pushy.sdk.lib.jackson.annotation.PropertyAccessor, param1: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Value;
+ }
+ export class Visibility {
+ public static class: java.lang.Class;
+ public static ANY: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility;
+ public static NON_PRIVATE: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility;
+ public static PROTECTED_AND_PUBLIC: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility;
+ public static PUBLIC_ONLY: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility;
+ public static NONE: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility;
+ public static DEFAULT: me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility;
+ public static values(): native.Array;
+ public static valueOf(param0: string): me.pushy.sdk.lib.jackson.annotation.JsonAutoDetect.Visibility;
+ public isVisible(param0: java.lang.reflect.Member): boolean;
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonBackReference {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonBackReference interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ value(): string;
+ });
+ public constructor();
+ public value(): string;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonClassDescription {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonClassDescription interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ value(): string;
+ });
+ public constructor();
+ public value(): string;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonCreator {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonCreator interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ mode(): me.pushy.sdk.lib.jackson.annotation.JsonCreator.Mode;
+ });
+ public constructor();
+ public mode(): me.pushy.sdk.lib.jackson.annotation.JsonCreator.Mode;
+ }
+ export module JsonCreator {
+ export class Mode {
+ public static class: java.lang.Class;
+ public static DEFAULT: me.pushy.sdk.lib.jackson.annotation.JsonCreator.Mode;
+ public static DELEGATING: me.pushy.sdk.lib.jackson.annotation.JsonCreator.Mode;
+ public static PROPERTIES: me.pushy.sdk.lib.jackson.annotation.JsonCreator.Mode;
+ public static DISABLED: me.pushy.sdk.lib.jackson.annotation.JsonCreator.Mode;
+ public static values(): native.Array;
+ public static valueOf(param0: string): me.pushy.sdk.lib.jackson.annotation.JsonCreator.Mode;
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonEnumDefaultValue {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonEnumDefaultValue interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ });
+ public constructor();
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonFilter {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonFilter interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ value(): string;
+ });
+ public constructor();
+ public value(): string;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonFormat {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonFormat interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ pattern(): string;
+ shape(): me.pushy.sdk.lib.jackson.annotation.JsonFormat.Shape;
+ locale(): string;
+ timezone(): string;
+ lenient(): me.pushy.sdk.lib.jackson.annotation.OptBoolean;
+ with(): native.Array;
+ without(): native.Array;
+ });
+ public constructor();
+ public static DEFAULT_TIMEZONE: string;
+ public static DEFAULT_LOCALE: string;
+ public lenient(): me.pushy.sdk.lib.jackson.annotation.OptBoolean;
+ public pattern(): string;
+ public with(): native.Array;
+ public locale(): string;
+ public timezone(): string;
+ public without(): native.Array;
+ public shape(): me.pushy.sdk.lib.jackson.annotation.JsonFormat.Shape;
+ }
+ export module JsonFormat {
+ export class Feature {
+ public static class: java.lang.Class;
+ public static ACCEPT_SINGLE_VALUE_AS_ARRAY: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Feature;
+ public static ACCEPT_CASE_INSENSITIVE_PROPERTIES: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Feature;
+ public static WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Feature;
+ public static WRITE_DATES_WITH_ZONE_ID: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Feature;
+ public static WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Feature;
+ public static WRITE_SORTED_MAP_ENTRIES: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Feature;
+ public static ADJUST_DATES_TO_CONTEXT_TIME_ZONE: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Feature;
+ public static values(): native.Array;
+ public static valueOf(param0: string): me.pushy.sdk.lib.jackson.annotation.JsonFormat.Feature;
+ }
+ export class Features {
+ public static class: java.lang.Class;
+ public static construct(param0: native.Array, param1: native.Array): me.pushy.sdk.lib.jackson.annotation.JsonFormat.Features;
+ public with(param0: native.Array): me.pushy.sdk.lib.jackson.annotation.JsonFormat.Features;
+ public without(param0: native.Array): me.pushy.sdk.lib.jackson.annotation.JsonFormat.Features;
+ public withOverrides(param0: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Features): me.pushy.sdk.lib.jackson.annotation.JsonFormat.Features;
+ public equals(param0: any): boolean;
+ public static empty(): me.pushy.sdk.lib.jackson.annotation.JsonFormat.Features;
+ public hashCode(): number;
+ public static construct(param0: me.pushy.sdk.lib.jackson.annotation.JsonFormat): me.pushy.sdk.lib.jackson.annotation.JsonFormat.Features;
+ public get(param0: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Feature): java.lang.Boolean;
+ }
+ export class Shape {
+ public static class: java.lang.Class;
+ public static ANY: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Shape;
+ public static NATURAL: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Shape;
+ public static SCALAR: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Shape;
+ public static ARRAY: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Shape;
+ public static OBJECT: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Shape;
+ public static NUMBER: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Shape;
+ public static NUMBER_FLOAT: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Shape;
+ public static NUMBER_INT: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Shape;
+ public static STRING: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Shape;
+ public static BOOLEAN: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Shape;
+ public isStructured(): boolean;
+ public static values(): native.Array;
+ public isNumeric(): boolean;
+ public static valueOf(param0: string): me.pushy.sdk.lib.jackson.annotation.JsonFormat.Shape;
+ }
+ export class Value extends java.lang.Object {
+ public static class: java.lang.Class;
+ public static from(param0: me.pushy.sdk.lib.jackson.annotation.JsonFormat): me.pushy.sdk.lib.jackson.annotation.JsonFormat.Value;
+ public isLenient(): boolean;
+ public static forPattern(param0: string): me.pushy.sdk.lib.jackson.annotation.JsonFormat.Value;
+ public withShape(param0: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Shape): me.pushy.sdk.lib.jackson.annotation.JsonFormat.Value;
+ public toString(): string;
+ public hasShape(): boolean;
+ public static mergeAll(param0: native.Array): me.pushy.sdk.lib.jackson.annotation.JsonFormat.Value;
+ public hasLocale(): boolean;
+ public constructor(param0: string, param1: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Shape, param2: java.util.Locale, param3: string, param4: java.util.TimeZone, param5: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Features, param6: java.lang.Boolean);
+ public hasLenient(): boolean;
+ public getFeatures(): me.pushy.sdk.lib.jackson.annotation.JsonFormat.Features;
+ public equals(param0: any): boolean;
+ public withPattern(param0: string): me.pushy.sdk.lib.jackson.annotation.JsonFormat.Value;
+ public valueFor(): java.lang.Class;
+ public getTimeZone(): java.util.TimeZone;
+ public constructor(param0: string, param1: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Shape, param2: java.util.Locale, param3: string, param4: java.util.TimeZone, param5: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Features);
+ public timeZoneAsString(): string;
+ public withOverrides(param0: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Value): me.pushy.sdk.lib.jackson.annotation.JsonFormat.Value;
+ public static merge(param0: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Value, param1: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Value): me.pushy.sdk.lib.jackson.annotation.JsonFormat.Value;
+ public withTimeZone(param0: java.util.TimeZone): me.pushy.sdk.lib.jackson.annotation.JsonFormat.Value;
+ public getPattern(): string;
+ public withFeature(param0: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Feature): me.pushy.sdk.lib.jackson.annotation.JsonFormat.Value;
+ public getLocale(): java.util.Locale;
+ public static forLeniency(param0: boolean): me.pushy.sdk.lib.jackson.annotation.JsonFormat.Value;
+ public constructor(param0: string, param1: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Shape, param2: string, param3: string, param4: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Features, param5: java.lang.Boolean);
+ public static empty(): me.pushy.sdk.lib.jackson.annotation.JsonFormat.Value;
+ public constructor(param0: me.pushy.sdk.lib.jackson.annotation.JsonFormat);
+ public withLenient(param0: java.lang.Boolean): me.pushy.sdk.lib.jackson.annotation.JsonFormat.Value;
+ public hasPattern(): boolean;
+ public constructor();
+ public getFeature(param0: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Feature): java.lang.Boolean;
+ public constructor(param0: string, param1: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Shape, param2: java.util.Locale, param3: java.util.TimeZone, param4: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Features);
+ public withoutFeature(param0: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Feature): me.pushy.sdk.lib.jackson.annotation.JsonFormat.Value;
+ public getShape(): me.pushy.sdk.lib.jackson.annotation.JsonFormat.Shape;
+ public valueFor(): java.lang.Class;
+ public withLocale(param0: java.util.Locale): me.pushy.sdk.lib.jackson.annotation.JsonFormat.Value;
+ public hasTimeZone(): boolean;
+ public getLenient(): java.lang.Boolean;
+ public static forShape(param0: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Shape): me.pushy.sdk.lib.jackson.annotation.JsonFormat.Value;
+ public constructor(param0: string, param1: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Shape, param2: string, param3: string, param4: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Features);
+ public hashCode(): number;
+ public constructor(param0: string, param1: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Shape, param2: java.util.Locale, param3: java.util.TimeZone, param4: me.pushy.sdk.lib.jackson.annotation.JsonFormat.Features, param5: java.lang.Boolean);
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonGetter {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonGetter interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ value(): string;
+ });
+ public constructor();
+ public value(): string;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonIdentityInfo {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonIdentityInfo interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ property(): string;
+ generator(): java.lang.Class;
+ resolver(): java.lang.Class;
+ scope(): java.lang.Class;
+ });
+ public constructor();
+ public scope(): java.lang.Class;
+ public property(): string;
+ public generator(): java.lang.Class;
+ public resolver(): java.lang.Class;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonIdentityReference {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonIdentityReference interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ alwaysAsId(): boolean;
+ });
+ public constructor();
+ public alwaysAsId(): boolean;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonIgnore {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonIgnore interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ value(): boolean;
+ });
+ public constructor();
+ public value(): boolean;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonIgnoreProperties {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonIgnoreProperties interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ value(): native.Array;
+ ignoreUnknown(): boolean;
+ allowGetters(): boolean;
+ allowSetters(): boolean;
+ });
+ public constructor();
+ public allowSetters(): boolean;
+ public value(): native.Array;
+ public ignoreUnknown(): boolean;
+ public allowGetters(): boolean;
+ }
+ export module JsonIgnoreProperties {
+ export class Value extends java.lang.Object {
+ public static class: java.lang.Class;
+ public static EMPTY: me.pushy.sdk.lib.jackson.annotation.JsonIgnoreProperties.Value;
+ public _ignored: java.util.Set;
+ public _ignoreUnknown: boolean;
+ public _allowGetters: boolean;
+ public _allowSetters: boolean;
+ public _merge: boolean;
+ public withIgnored(param0: java.util.Set): me.pushy.sdk.lib.jackson.annotation.JsonIgnoreProperties.Value;
+ public toString(): string;
+ public static from(param0: me.pushy.sdk.lib.jackson.annotation.JsonIgnoreProperties): me.pushy.sdk.lib.jackson.annotation.JsonIgnoreProperties.Value;
+ public static forIgnoreUnknown(param0: boolean): me.pushy.sdk.lib.jackson.annotation.JsonIgnoreProperties.Value;
+ public withIgnored(param0: native.Array): me.pushy.sdk.lib.jackson.annotation.JsonIgnoreProperties.Value;
+ public getIgnoreUnknown(): boolean;
+ public equals(param0: any): boolean;
+ public withoutMerge(): me.pushy.sdk.lib.jackson.annotation.JsonIgnoreProperties.Value;
+ public static forIgnoredProperties(param0: java.util.Set): me.pushy.sdk.lib.jackson.annotation.JsonIgnoreProperties.Value;
+ public findIgnoredForDeserialization(): java.util.Set;
+ public getAllowGetters(): boolean;
+ public withoutIgnored(): me.pushy.sdk.lib.jackson.annotation.JsonIgnoreProperties.Value;
+ public withIgnoreUnknown(): me.pushy.sdk.lib.jackson.annotation.JsonIgnoreProperties.Value;
+ public static empty(): me.pushy.sdk.lib.jackson.annotation.JsonIgnoreProperties.Value;
+ public static mergeAll(param0: native.Array): me.pushy.sdk.lib.jackson.annotation.JsonIgnoreProperties.Value;
+ public withoutIgnoreUnknown(): me.pushy.sdk.lib.jackson.annotation.JsonIgnoreProperties.Value;
+ public static merge(param0: me.pushy.sdk.lib.jackson.annotation.JsonIgnoreProperties.Value, param1: me.pushy.sdk.lib.jackson.annotation.JsonIgnoreProperties.Value): me.pushy.sdk.lib.jackson.annotation.JsonIgnoreProperties.Value;
+ public getAllowSetters(): boolean;
+ public static forIgnoredProperties(param0: native.Array): me.pushy.sdk.lib.jackson.annotation.JsonIgnoreProperties.Value;
+ public valueFor(): java.lang.Class;
+ public valueFor(): java.lang.Class;
+ public withOverrides(param0: me.pushy.sdk.lib.jackson.annotation.JsonIgnoreProperties.Value): me.pushy.sdk.lib.jackson.annotation.JsonIgnoreProperties.Value;
+ public constructor(param0: java.util.Set, param1: boolean, param2: boolean, param3: boolean, param4: boolean);
+ public withMerge(): me.pushy.sdk.lib.jackson.annotation.JsonIgnoreProperties.Value;
+ public getIgnored(): java.util.Set;
+ public findIgnoredForSerialization(): java.util.Set;
+ public static construct(param0: java.util.Set, param1: boolean, param2: boolean, param3: boolean, param4: boolean): me.pushy.sdk.lib.jackson.annotation.JsonIgnoreProperties.Value;
+ public readResolve(): any;
+ public getMerge(): boolean;
+ public withoutAllowGetters(): me.pushy.sdk.lib.jackson.annotation.JsonIgnoreProperties.Value;
+ public withoutAllowSetters(): me.pushy.sdk.lib.jackson.annotation.JsonIgnoreProperties.Value;
+ public hashCode(): number;
+ public withAllowGetters(): me.pushy.sdk.lib.jackson.annotation.JsonIgnoreProperties.Value;
+ public withAllowSetters(): me.pushy.sdk.lib.jackson.annotation.JsonIgnoreProperties.Value;
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonIgnoreType {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonIgnoreType interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ value(): boolean;
+ });
+ public constructor();
+ public value(): boolean;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonInclude {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonInclude interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ value(): me.pushy.sdk.lib.jackson.annotation.JsonInclude.Include;
+ content(): me.pushy.sdk.lib.jackson.annotation.JsonInclude.Include;
+ valueFilter(): java.lang.Class;
+ contentFilter(): java.lang.Class;
+ });
+ public constructor();
+ public value(): me.pushy.sdk.lib.jackson.annotation.JsonInclude.Include;
+ public valueFilter(): java.lang.Class;
+ public content(): me.pushy.sdk.lib.jackson.annotation.JsonInclude.Include;
+ public contentFilter(): java.lang.Class;
+ }
+ export module JsonInclude {
+ export class Include {
+ public static class: java.lang.Class;
+ public static ALWAYS: me.pushy.sdk.lib.jackson.annotation.JsonInclude.Include;
+ public static NON_NULL: me.pushy.sdk.lib.jackson.annotation.JsonInclude.Include;
+ public static NON_ABSENT: me.pushy.sdk.lib.jackson.annotation.JsonInclude.Include;
+ public static NON_EMPTY: me.pushy.sdk.lib.jackson.annotation.JsonInclude.Include;
+ public static NON_DEFAULT: me.pushy.sdk.lib.jackson.annotation.JsonInclude.Include;
+ public static CUSTOM: me.pushy.sdk.lib.jackson.annotation.JsonInclude.Include;
+ public static USE_DEFAULTS: me.pushy.sdk.lib.jackson.annotation.JsonInclude.Include;
+ public static values(): native.Array;
+ public static valueOf(param0: string): me.pushy.sdk.lib.jackson.annotation.JsonInclude.Include;
+ }
+ export class Value extends java.lang.Object {
+ public static class: java.lang.Class;
+ public static EMPTY: me.pushy.sdk.lib.jackson.annotation.JsonInclude.Value;
+ public _valueInclusion: me.pushy.sdk.lib.jackson.annotation.JsonInclude.Include;
+ public _contentInclusion: me.pushy.sdk.lib.jackson.annotation.JsonInclude.Include;
+ public _valueFilter: java.lang.Class;
+ public _contentFilter: java.lang.Class;
+ public static empty(): me.pushy.sdk.lib.jackson.annotation.JsonInclude.Value;
+ public static mergeAll(param0: native.Array): me.pushy.sdk.lib.jackson.annotation.JsonInclude.Value;
+ public toString(): string;
+ public static construct(param0: me.pushy.sdk.lib.jackson.annotation.JsonInclude.Include, param1: me.pushy.sdk.lib.jackson.annotation.JsonInclude.Include): me.pushy.sdk.lib.jackson.annotation.JsonInclude.Value;
+ public withValueInclusion(param0: me.pushy.sdk.lib.jackson.annotation.JsonInclude.Include): me.pushy.sdk.lib.jackson.annotation.JsonInclude.Value;
+ public static construct(param0: me.pushy.sdk.lib.jackson.annotation.JsonInclude.Include, param1: me.pushy.sdk.lib.jackson.annotation.JsonInclude.Include, param2: java.lang.Class, param3: java.lang.Class): me.pushy.sdk.lib.jackson.annotation.JsonInclude.Value;
+ public withContentFilter(param0: java.lang.Class): me.pushy.sdk.lib.jackson.annotation.JsonInclude.Value;
+ public equals(param0: any): boolean;
+ public withContentInclusion(param0: me.pushy.sdk.lib.jackson.annotation.JsonInclude.Include): me.pushy.sdk.lib.jackson.annotation.JsonInclude.Value;
+ public withOverrides(param0: me.pushy.sdk.lib.jackson.annotation.JsonInclude.Value): me.pushy.sdk.lib.jackson.annotation.JsonInclude.Value;
+ public getValueFilter(): java.lang.Class;
+ public valueFor(): java.lang.Class;
+ public withValueFilter(param0: java.lang.Class): me.pushy.sdk.lib.jackson.annotation.JsonInclude.Value;
+ public constructor(param0: me.pushy.sdk.lib.jackson.annotation.JsonInclude.Include, param1: me.pushy.sdk.lib.jackson.annotation.JsonInclude.Include, param2: java.lang.Class, param3: java.lang.Class);
+ public getContentFilter(): java.lang.Class;
+ public static from(param0: me.pushy.sdk.lib.jackson.annotation.JsonInclude): me.pushy.sdk.lib.jackson.annotation.JsonInclude.Value;
+ public static merge(param0: me.pushy.sdk.lib.jackson.annotation.JsonInclude.Value, param1: me.pushy.sdk.lib.jackson.annotation.JsonInclude.Value): me.pushy.sdk.lib.jackson.annotation.JsonInclude.Value;
+ public readResolve(): any;
+ public constructor(param0: me.pushy.sdk.lib.jackson.annotation.JsonInclude);
+ public hashCode(): number;
+ public getContentInclusion(): me.pushy.sdk.lib.jackson.annotation.JsonInclude.Include;
+ public valueFor(): java.lang.Class;
+ public getValueInclusion(): me.pushy.sdk.lib.jackson.annotation.JsonInclude.Include;
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonManagedReference {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonManagedReference interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ value(): string;
+ });
+ public constructor();
+ public value(): string;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonMerge {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonMerge interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ value(): me.pushy.sdk.lib.jackson.annotation.OptBoolean;
+ });
+ public constructor();
+ public value(): me.pushy.sdk.lib.jackson.annotation.OptBoolean;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonProperty {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonProperty interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ value(): string;
+ required(): boolean;
+ index(): number;
+ defaultValue(): string;
+ access(): me.pushy.sdk.lib.jackson.annotation.JsonProperty.Access;
+ });
+ public constructor();
+ public static USE_DEFAULT_NAME: string;
+ public static INDEX_UNKNOWN: number;
+ public index(): number;
+ public access(): me.pushy.sdk.lib.jackson.annotation.JsonProperty.Access;
+ public value(): string;
+ public required(): boolean;
+ public defaultValue(): string;
+ }
+ export module JsonProperty {
+ export class Access {
+ public static class: java.lang.Class;
+ public static AUTO: me.pushy.sdk.lib.jackson.annotation.JsonProperty.Access;
+ public static READ_ONLY: me.pushy.sdk.lib.jackson.annotation.JsonProperty.Access;
+ public static WRITE_ONLY: me.pushy.sdk.lib.jackson.annotation.JsonProperty.Access;
+ public static READ_WRITE: me.pushy.sdk.lib.jackson.annotation.JsonProperty.Access;
+ public static values(): native.Array;
+ public static valueOf(param0: string): me.pushy.sdk.lib.jackson.annotation.JsonProperty.Access;
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonPropertyDescription {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonPropertyDescription interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ value(): string;
+ });
+ public constructor();
+ public value(): string;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonPropertyOrder {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonPropertyOrder interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ value(): native.Array;
+ alphabetic(): boolean;
+ });
+ public constructor();
+ public alphabetic(): boolean;
+ public value(): native.Array;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonRawValue {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonRawValue interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ value(): boolean;
+ });
+ public constructor();
+ public value(): boolean;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonRootName {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonRootName interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ value(): string;
+ namespace(): string;
+ });
+ public constructor();
+ public namespace(): string;
+ public value(): string;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonSetter {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonSetter interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ value(): string;
+ nulls(): me.pushy.sdk.lib.jackson.annotation.JsonSetter.Nulls;
+ contentNulls(): me.pushy.sdk.lib.jackson.annotation.JsonSetter.Nulls;
+ });
+ public constructor();
+ public value(): string;
+ public nulls(): me.pushy.sdk.lib.jackson.annotation.JsonSetter.Nulls;
+ public contentNulls(): me.pushy.sdk.lib.jackson.annotation.JsonSetter.Nulls;
+ }
+ export module JsonSetter {
+ export class Nulls {
+ public static class: java.lang.Class;
+ public static SET: me.pushy.sdk.lib.jackson.annotation.JsonSetter.Nulls;
+ public static SKIP: me.pushy.sdk.lib.jackson.annotation.JsonSetter.Nulls;
+ public static FAIL: me.pushy.sdk.lib.jackson.annotation.JsonSetter.Nulls;
+ public static AS_EMPTY: me.pushy.sdk.lib.jackson.annotation.JsonSetter.Nulls;
+ public static DEFAULT: me.pushy.sdk.lib.jackson.annotation.JsonSetter.Nulls;
+ public static values(): native.Array;
+ public static valueOf(param0: string): me.pushy.sdk.lib.jackson.annotation.JsonSetter.Nulls;
+ }
+ export class Value extends java.lang.Object {
+ public static class: java.lang.Class;
+ public static EMPTY: me.pushy.sdk.lib.jackson.annotation.JsonSetter.Value;
+ public nonDefaultValueNulls(): me.pushy.sdk.lib.jackson.annotation.JsonSetter.Nulls;
+ public toString(): string;
+ public static construct(param0: me.pushy.sdk.lib.jackson.annotation.JsonSetter.Nulls, param1: me.pushy.sdk.lib.jackson.annotation.JsonSetter.Nulls): me.pushy.sdk.lib.jackson.annotation.JsonSetter.Value;
+ public getValueNulls(): me.pushy.sdk.lib.jackson.annotation.JsonSetter.Nulls;
+ public static forValueNulls(param0: me.pushy.sdk.lib.jackson.annotation.JsonSetter.Nulls): me.pushy.sdk.lib.jackson.annotation.JsonSetter.Value;
+ public equals(param0: any): boolean;
+ public getContentNulls(): me.pushy.sdk.lib.jackson.annotation.JsonSetter.Nulls;
+ public static forValueNulls(param0: me.pushy.sdk.lib.jackson.annotation.JsonSetter.Nulls, param1: me.pushy.sdk.lib.jackson.annotation.JsonSetter.Nulls): me.pushy.sdk.lib.jackson.annotation.JsonSetter.Value;
+ public valueFor(): java.lang.Class;
+ public nonDefaultContentNulls(): me.pushy.sdk.lib.jackson.annotation.JsonSetter.Nulls;
+ public static from(param0: me.pushy.sdk.lib.jackson.annotation.JsonSetter): me.pushy.sdk.lib.jackson.annotation.JsonSetter.Value;
+ public withOverrides(param0: me.pushy.sdk.lib.jackson.annotation.JsonSetter.Value): me.pushy.sdk.lib.jackson.annotation.JsonSetter.Value;
+ public valueFor(): java.lang.Class;
+ public withValueNulls(param0: me.pushy.sdk.lib.jackson.annotation.JsonSetter.Nulls): me.pushy.sdk.lib.jackson.annotation.JsonSetter.Value;
+ public withValueNulls(param0: me.pushy.sdk.lib.jackson.annotation.JsonSetter.Nulls, param1: me.pushy.sdk.lib.jackson.annotation.JsonSetter.Nulls): me.pushy.sdk.lib.jackson.annotation.JsonSetter.Value;
+ public readResolve(): any;
+ public withContentNulls(param0: me.pushy.sdk.lib.jackson.annotation.JsonSetter.Nulls): me.pushy.sdk.lib.jackson.annotation.JsonSetter.Value;
+ public static empty(): me.pushy.sdk.lib.jackson.annotation.JsonSetter.Value;
+ public static forContentNulls(param0: me.pushy.sdk.lib.jackson.annotation.JsonSetter.Nulls): me.pushy.sdk.lib.jackson.annotation.JsonSetter.Value;
+ public hashCode(): number;
+ public static merge(param0: me.pushy.sdk.lib.jackson.annotation.JsonSetter.Value, param1: me.pushy.sdk.lib.jackson.annotation.JsonSetter.Value): me.pushy.sdk.lib.jackson.annotation.JsonSetter.Value;
+ public constructor(param0: me.pushy.sdk.lib.jackson.annotation.JsonSetter.Nulls, param1: me.pushy.sdk.lib.jackson.annotation.JsonSetter.Nulls);
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonSubTypes {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonSubTypes interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ value(): native.Array;
+ });
+ public constructor();
+ public value(): native.Array;
+ }
+ export module JsonSubTypes {
+ export class Type {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonSubTypes$Type interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ value(): java.lang.Class;
+ name(): string;
+ });
+ public constructor();
+ public name(): string;
+ public value(): java.lang.Class;
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonTypeId {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonTypeId interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ });
+ public constructor();
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonTypeInfo {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonTypeInfo interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ use(): me.pushy.sdk.lib.jackson.annotation.JsonTypeInfo.Id;
+ include(): me.pushy.sdk.lib.jackson.annotation.JsonTypeInfo.As;
+ property(): string;
+ defaultImpl(): java.lang.Class;
+ visible(): boolean;
+ });
+ public constructor();
+ public use(): me.pushy.sdk.lib.jackson.annotation.JsonTypeInfo.Id;
+ public include(): me.pushy.sdk.lib.jackson.annotation.JsonTypeInfo.As;
+ public property(): string;
+ public defaultImpl(): java.lang.Class;
+ public visible(): boolean;
+ }
+ export module JsonTypeInfo {
+ export class As {
+ public static class: java.lang.Class;
+ public static PROPERTY: me.pushy.sdk.lib.jackson.annotation.JsonTypeInfo.As;
+ public static WRAPPER_OBJECT: me.pushy.sdk.lib.jackson.annotation.JsonTypeInfo.As;
+ public static WRAPPER_ARRAY: me.pushy.sdk.lib.jackson.annotation.JsonTypeInfo.As;
+ public static EXTERNAL_PROPERTY: me.pushy.sdk.lib.jackson.annotation.JsonTypeInfo.As;
+ public static EXISTING_PROPERTY: me.pushy.sdk.lib.jackson.annotation.JsonTypeInfo.As;
+ public static values(): native.Array;
+ public static valueOf(param0: string): me.pushy.sdk.lib.jackson.annotation.JsonTypeInfo.As;
+ }
+ export class Id {
+ public static class: java.lang.Class;
+ public static NONE: me.pushy.sdk.lib.jackson.annotation.JsonTypeInfo.Id;
+ public static CLASS: me.pushy.sdk.lib.jackson.annotation.JsonTypeInfo.Id;
+ public static MINIMAL_CLASS: me.pushy.sdk.lib.jackson.annotation.JsonTypeInfo.Id;
+ public static NAME: me.pushy.sdk.lib.jackson.annotation.JsonTypeInfo.Id;
+ public static CUSTOM: me.pushy.sdk.lib.jackson.annotation.JsonTypeInfo.Id;
+ public static valueOf(param0: string): me.pushy.sdk.lib.jackson.annotation.JsonTypeInfo.Id;
+ public getDefaultPropertyName(): string;
+ public static values(): native.Array;
+ }
+ export abstract class None {
+ public static class: java.lang.Class;
+ public constructor();
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonTypeName {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonTypeName interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ value(): string;
+ });
+ public constructor();
+ public value(): string;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonUnwrapped {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonUnwrapped interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ enabled(): boolean;
+ prefix(): string;
+ suffix(): string;
+ });
+ public constructor();
+ public prefix(): string;
+ public suffix(): string;
+ public enabled(): boolean;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonValue {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonValue interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ value(): boolean;
+ });
+ public constructor();
+ public value(): boolean;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class JsonView {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.JsonView interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ value(): native.Array>;
+ });
+ public constructor();
+ public value(): native.Array>;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export abstract class ObjectIdGenerator extends java.io.Serializable {
+ public static class: java.lang.Class>;
+ public constructor();
+ public getScope(): java.lang.Class;
+ public newForSerialization(param0: any): me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator;
+ public generateId(param0: any): any;
+ public key(param0: any): me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator.IdKey;
+ public canUseFor(param0: me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator): boolean;
+ public forScope(param0: java.lang.Class): me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator;
+ public isValidReferencePropertyName(param0: string, param1: any): boolean;
+ public maySerializeAsObject(): boolean;
+ }
+ export module ObjectIdGenerator {
+ export class IdKey {
+ public static class: java.lang.Class;
+ public type: java.lang.Class;
+ public scope: java.lang.Class;
+ public key: any;
+ public toString(): string;
+ public equals(param0: any): boolean;
+ public hashCode(): number;
+ public constructor(param0: java.lang.Class, param1: java.lang.Class, param2: any);
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class ObjectIdGenerators {
+ public static class: java.lang.Class;
+ public constructor();
+ }
+ export module ObjectIdGenerators {
+ export abstract class Base extends me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator {
+ public static class: java.lang.Class>;
+ public _scope: java.lang.Class;
+ public canUseFor(param0: me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator): boolean;
+ public getScope(): java.lang.Class;
+ public constructor();
+ public generateId(param0: any): any;
+ public constructor(param0: java.lang.Class);
+ }
+ export class IntSequenceGenerator extends me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerators.Base {
+ public static class: java.lang.Class;
+ public _nextValue: number;
+ public forScope(param0: java.lang.Class): me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator;
+ public key(param0: any): me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator.IdKey;
+ public newForSerialization(param0: any): me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator;
+ public constructor(param0: java.lang.Class, param1: number);
+ public constructor();
+ public generateId(param0: any): any;
+ public constructor(param0: java.lang.Class);
+ public initialValue(): number;
+ public newForSerialization(param0: any): me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator;
+ public forScope(param0: java.lang.Class): me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator;
+ public generateId(param0: any): java.lang.Integer;
+ }
+ export abstract class None extends me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator {
+ public static class: java.lang.Class;
+ public constructor();
+ }
+ export abstract class PropertyGenerator extends me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerators.Base {
+ public static class: java.lang.Class;
+ public constructor();
+ public constructor(param0: java.lang.Class);
+ }
+ export class StringIdGenerator extends me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerators.Base {
+ public static class: java.lang.Class;
+ public forScope(param0: java.lang.Class): me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator;
+ public newForSerialization(param0: any): me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator;
+ public canUseFor(param0: me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator): boolean;
+ public key(param0: any): me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator.IdKey;
+ public constructor();
+ public forScope(param0: java.lang.Class): me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator;
+ public generateId(param0: any): any;
+ public generateId(param0: any): string;
+ public constructor(param0: java.lang.Class);
+ public newForSerialization(param0: any): me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator;
+ }
+ export class UUIDGenerator extends me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerators.Base {
+ public static class: java.lang.Class;
+ public forScope(param0: java.lang.Class): me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator;
+ public newForSerialization(param0: any): me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator;
+ public canUseFor(param0: me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator): boolean;
+ public key(param0: any): me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator.IdKey;
+ public forScope(param0: java.lang.Class): me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator;
+ public generateId(param0: any): java.util.UUID;
+ public constructor();
+ public generateId(param0: any): any;
+ public constructor(param0: java.lang.Class);
+ public newForSerialization(param0: any): me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator;
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class ObjectIdResolver {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.annotation.ObjectIdResolver interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ bindItem(param0: me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator.IdKey, param1: any): void;
+ resolveId(param0: me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator.IdKey): any;
+ newForDeserialization(param0: any): me.pushy.sdk.lib.jackson.annotation.ObjectIdResolver;
+ canUseFor(param0: me.pushy.sdk.lib.jackson.annotation.ObjectIdResolver): boolean;
+ });
+ public constructor();
+ public resolveId(param0: me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator.IdKey): any;
+ public bindItem(param0: me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator.IdKey, param1: any): void;
+ public newForDeserialization(param0: any): me.pushy.sdk.lib.jackson.annotation.ObjectIdResolver;
+ public canUseFor(param0: me.pushy.sdk.lib.jackson.annotation.ObjectIdResolver): boolean;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class OptBoolean {
+ public static class: java.lang.Class;
+ public static TRUE: me.pushy.sdk.lib.jackson.annotation.OptBoolean;
+ public static FALSE: me.pushy.sdk.lib.jackson.annotation.OptBoolean;
+ public static DEFAULT: me.pushy.sdk.lib.jackson.annotation.OptBoolean;
+ public static fromBoolean(param0: java.lang.Boolean): me.pushy.sdk.lib.jackson.annotation.OptBoolean;
+ public static values(): native.Array;
+ public static valueOf(param0: string): me.pushy.sdk.lib.jackson.annotation.OptBoolean;
+ public static equals(param0: java.lang.Boolean, param1: java.lang.Boolean): boolean;
+ public asPrimitive(): boolean;
+ public asBoolean(): java.lang.Boolean;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class PropertyAccessor {
+ public static class: java.lang.Class;
+ public static GETTER: me.pushy.sdk.lib.jackson.annotation.PropertyAccessor;
+ public static SETTER: me.pushy.sdk.lib.jackson.annotation.PropertyAccessor;
+ public static CREATOR: me.pushy.sdk.lib.jackson.annotation.PropertyAccessor;
+ public static FIELD: me.pushy.sdk.lib.jackson.annotation.PropertyAccessor;
+ public static IS_GETTER: me.pushy.sdk.lib.jackson.annotation.PropertyAccessor;
+ public static NONE: me.pushy.sdk.lib.jackson.annotation.PropertyAccessor;
+ public static ALL: me.pushy.sdk.lib.jackson.annotation.PropertyAccessor;
+ public static values(): native.Array;
+ public fieldEnabled(): boolean;
+ public isGetterEnabled(): boolean;
+ public static valueOf(param0: string): me.pushy.sdk.lib.jackson.annotation.PropertyAccessor;
+ public creatorEnabled(): boolean;
+ public getterEnabled(): boolean;
+ public setterEnabled(): boolean;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module annotation {
+ export class SimpleObjectIdResolver extends me.pushy.sdk.lib.jackson.annotation.ObjectIdResolver {
+ public static class: java.lang.Class;
+ public _items: java.util.Map;
+ public constructor();
+ public resolveId(param0: me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator.IdKey): any;
+ public bindItem(param0: me.pushy.sdk.lib.jackson.annotation.ObjectIdGenerator.IdKey, param1: any): void;
+ public newForDeserialization(param0: any): me.pushy.sdk.lib.jackson.annotation.ObjectIdResolver;
+ public canUseFor(param0: me.pushy.sdk.lib.jackson.annotation.ObjectIdResolver): boolean;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module core {
+ export class Base64Variant {
+ public static class: java.lang.Class;
+ public static BASE64_VALUE_INVALID: number;
+ public static BASE64_VALUE_PADDING: number;
+ public hashCode(): number;
+ public getPaddingChar(): string;
+ public encodeBase64Chunk(param0: number, param1: native.Array, param2: number): number;
+ public toString(): string;
+ public _reportBase64EOF(): void;
+ public _reportInvalidBase64(param0: string, param1: number, param2: string): void;
+ public encodeBase64BitsAsChar(param0: number): string;
+ public encodeBase64BitsAsByte(param0: number): number;
+ public decodeBase64Char(param0: string): number;
+ public constructor(param0: string, param1: string, param2: boolean, param3: string, param4: number);
+ public getPaddingByte(): number;
+ public constructor(param0: me.pushy.sdk.lib.jackson.core.Base64Variant, param1: string, param2: number);
+ public encodeBase64Chunk(param0: number, param1: native.Array, param2: number): number;
+ public decodeBase64Byte(param0: number): number;
+ public encodeBase64Partial(param0: number, param1: number, param2: native.Array, param3: number): number;
+ public constructor(param0: me.pushy.sdk.lib.jackson.core.Base64Variant, param1: string, param2: boolean, param3: string, param4: number);
+ public encode(param0: native.Array): string;
+ public getMaxLineLength(): number;
+ public decode(param0: string): native.Array;
+ public readResolve(): any;
+ public usesPaddingChar(param0: number): boolean;
+ public encodeBase64Partial(param0: number, param1: number, param2: native.Array, param3: number): number;
+ public usesPaddingChar(param0: string): boolean;
+ public getName(): string;
+ public decodeBase64Char(param0: number): number;
+ public encode(param0: native.Array, param1: boolean): string;
+ public decode(param0: string, param1: me.pushy.sdk.lib.jackson.core.util.ByteArrayBuilder): void;
+ public usesPadding(): boolean;
+ public equals(param0: any): boolean;
+ public encodeBase64Partial(param0: java.lang.StringBuilder, param1: number, param2: number): void;
+ public encodeBase64Chunk(param0: java.lang.StringBuilder, param1: number): void;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module core {
+ export class Base64Variants {
+ public static class: java.lang.Class;
+ public static MIME: me.pushy.sdk.lib.jackson.core.Base64Variant;
+ public static MIME_NO_LINEFEEDS: me.pushy.sdk.lib.jackson.core.Base64Variant;
+ public static PEM: me.pushy.sdk.lib.jackson.core.Base64Variant;
+ public static MODIFIED_FOR_URL: me.pushy.sdk.lib.jackson.core.Base64Variant;
+ public constructor();
+ public static getDefaultVariant(): me.pushy.sdk.lib.jackson.core.Base64Variant;
+ public static valueOf(param0: string): me.pushy.sdk.lib.jackson.core.Base64Variant;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module core {
+ export class FormatFeature {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.core.FormatFeature interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ enabledByDefault(): boolean;
+ getMask(): number;
+ enabledIn(param0: number): boolean;
+ });
+ public constructor();
+ public getMask(): number;
+ public enabledIn(param0: number): boolean;
+ public enabledByDefault(): boolean;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module core {
+ export class FormatSchema {
+ public static class: java.lang.Class;
+ /**
+ * Constructs a new instance of the me.pushy.sdk.lib.jackson.core.FormatSchema interface with the provided implementation. An empty constructor exists calling super() when extending the interface class.
+ */
+ public constructor(implementation: {
+ getSchemaType(): string;
+ });
+ public constructor();
+ public getSchemaType(): string;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module core {
+ export class JsonEncoding {
+ public static class: java.lang.Class;
+ public static UTF8: me.pushy.sdk.lib.jackson.core.JsonEncoding;
+ public static UTF16_BE: me.pushy.sdk.lib.jackson.core.JsonEncoding;
+ public static UTF16_LE: me.pushy.sdk.lib.jackson.core.JsonEncoding;
+ public static UTF32_BE: me.pushy.sdk.lib.jackson.core.JsonEncoding;
+ public static UTF32_LE: me.pushy.sdk.lib.jackson.core.JsonEncoding;
+ public static values(): native.Array;
+ public static valueOf(param0: string): me.pushy.sdk.lib.jackson.core.JsonEncoding;
+ public isBigEndian(): boolean;
+ public bits(): number;
+ public getJavaName(): string;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module core {
+ export class JsonFactory extends me.pushy.sdk.lib.jackson.core.Versioned {
+ public static class: java.lang.Class;
+ public static FORMAT_NAME_JSON: string;
+ public static DEFAULT_FACTORY_FEATURE_FLAGS: number;
+ public static DEFAULT_PARSER_FEATURE_FLAGS: number;
+ public static DEFAULT_GENERATOR_FEATURE_FLAGS: number;
+ public static _recyclerRef: java.lang.ThreadLocal>;
+ public _rootCharSymbols: me.pushy.sdk.lib.jackson.core.sym.CharsToNameCanonicalizer;
+ public _byteSymbolCanonicalizer: me.pushy.sdk.lib.jackson.core.sym.ByteQuadsCanonicalizer;
+ public _objectCodec: me.pushy.sdk.lib.jackson.core.ObjectCodec;
+ public _factoryFeatures: number;
+ public _parserFeatures: number;
+ public _generatorFeatures: number;
+ public _characterEscapes: me.pushy.sdk.lib.jackson.core.io.CharacterEscapes;
+ public _inputDecorator: me.pushy.sdk.lib.jackson.core.io.InputDecorator;
+ public _outputDecorator: me.pushy.sdk.lib.jackson.core.io.OutputDecorator;
+ public _rootValueSeparator: me.pushy.sdk.lib.jackson.core.SerializableString;
+ public configure(param0: me.pushy.sdk.lib.jackson.core.JsonParser.Feature, param1: boolean): me.pushy.sdk.lib.jackson.core.JsonFactory;
+ public configure(param0: me.pushy.sdk.lib.jackson.core.JsonGenerator.Feature, param1: boolean): me.pushy.sdk.lib.jackson.core.JsonFactory;
+ public _decorate(param0: java.io.Writer, param1: me.pushy.sdk.lib.jackson.core.io.IOContext): java.io.Writer;
+ public requiresPropertyOrdering(): boolean;
+ public _createParser(param0: java.io.Reader, param1: me.pushy.sdk.lib.jackson.core.io.IOContext): me.pushy.sdk.lib.jackson.core.JsonParser;
+ public isEnabled(param0: me.pushy.sdk.lib.jackson.core.JsonFactory.Feature): boolean;
+ public createParser(param0: string): me.pushy.sdk.lib.jackson.core.JsonParser;
+ public createParser(param0: native.Array): me.pushy.sdk.lib.jackson.core.JsonParser;
+ public _decorate(param0: java.io.InputStream, param1: me.pushy.sdk.lib.jackson.core.io.IOContext): java.io.InputStream;
+ public enable(param0: me.pushy.sdk.lib.jackson.core.JsonGenerator.Feature): me.pushy.sdk.lib.jackson.core.JsonFactory;
+ public hasJSONFormat(param0: me.pushy.sdk.lib.jackson.core.format.InputAccessor): me.pushy.sdk.lib.jackson.core.format.MatchStrength;
+ public canHandleBinaryNatively(): boolean;
+ public createGenerator(param0: java.io.File, param1: me.pushy.sdk.lib.jackson.core.JsonEncoding): me.pushy.sdk.lib.jackson.core.JsonGenerator;
+ public enable(param0: me.pushy.sdk.lib.jackson.core.JsonParser.Feature): me.pushy.sdk.lib.jackson.core.JsonFactory;
+ public _createParser(param0: java.io.DataInput, param1: me.pushy.sdk.lib.jackson.core.io.IOContext): me.pushy.sdk.lib.jackson.core.JsonParser;
+ public _createDataOutputWrapper(param0: java.io.DataOutput): java.io.OutputStream;
+ public _getBufferRecycler(): me.pushy.sdk.lib.jackson.core.util.BufferRecycler;
+ public createParser(param0: java.io.InputStream): me.pushy.sdk.lib.jackson.core.JsonParser;
+ public _decorate(param0: java.io.DataInput, param1: me.pushy.sdk.lib.jackson.core.io.IOContext): java.io.DataInput;
+ public _createWriter(param0: java.io.OutputStream, param1: me.pushy.sdk.lib.jackson.core.JsonEncoding, param2: me.pushy.sdk.lib.jackson.core.io.IOContext): java.io.Writer;
+ public getFormatName(): string;
+ public createGenerator(param0: java.io.DataOutput): me.pushy.sdk.lib.jackson.core.JsonGenerator;
+ public createJsonParser(param0: native.Array): me.pushy.sdk.lib.jackson.core.JsonParser;
+ public constructor(param0: me.pushy.sdk.lib.jackson.core.JsonFactory, param1: me.pushy.sdk.lib.jackson.core.ObjectCodec);
+ public _createGenerator(param0: java.io.Writer, param1: me.pushy.sdk.lib.jackson.core.io.IOContext): me.pushy.sdk.lib.jackson.core.JsonGenerator;
+ public setInputDecorator(param0: me.pushy.sdk.lib.jackson.core.io.InputDecorator): me.pushy.sdk.lib.jackson.core.JsonFactory;
+ public getOutputDecorator(): me.pushy.sdk.lib.jackson.core.io.OutputDecorator;
+ public canUseCharArrays(): boolean;
+ public createJsonParser(param0: java.net.URL): me.pushy.sdk.lib.jackson.core.JsonParser;
+ public isEnabled(param0: me.pushy.sdk.lib.jackson.core.JsonParser.Feature): boolean;
+ public hasFormat(param0: me.pushy.sdk.lib.jackson.core.format.InputAccessor): me.pushy.sdk.lib.jackson.core.format.MatchStrength;
+ public setCodec(param0: me.pushy.sdk.lib.jackson.core.ObjectCodec): me.pushy.sdk.lib.jackson.core.JsonFactory;
+ public createJsonParser(param0: java.io.File): me.pushy.sdk.lib.jackson.core.JsonParser;
+ public getFormatWriteFeatureType(): java.lang.Class;
+ public createGenerator(param0: java.io.DataOutput, param1: me.pushy.sdk.lib.jackson.core.JsonEncoding): me.pushy.sdk.lib.jackson.core.JsonGenerator;
+ public getFormatReadFeatureType(): java.lang.Class;
+ public createJsonGenerator(param0: java.io.OutputStream): me.pushy.sdk.lib.jackson.core.JsonGenerator;
+ public setCharacterEscapes(param0: me.pushy.sdk.lib.jackson.core.io.CharacterEscapes): me.pushy.sdk.lib.jackson.core.JsonFactory;
+ public createParser(param0: java.io.Reader): me.pushy.sdk.lib.jackson.core.JsonParser;
+ public createGenerator(param0: java.io.OutputStream, param1: me.pushy.sdk.lib.jackson.core.JsonEncoding): me.pushy.sdk.lib.jackson.core.JsonGenerator;
+ public configure(param0: me.pushy.sdk.lib.jackson.core.JsonFactory.Feature, param1: boolean): me.pushy.sdk.lib.jackson.core.JsonFactory;
+ public isEnabled(param0: me.pushy.sdk.lib.jackson.core.JsonGenerator.Feature): boolean;
+ public createParser(param0: native.Array): me.pushy.sdk.lib.jackson.core.JsonParser;
+ public getRootValueSeparator(): string;
+ public createJsonGenerator(param0: java.io.OutputStream, param1: me.pushy.sdk.lib.jackson.core.JsonEncoding): me.pushy.sdk.lib.jackson.core.JsonGenerator;
+ public createParser(param0: native.Array, param1: number, param2: number): me.pushy.sdk.lib.jackson.core.JsonParser;
+ public disable(param0: me.pushy.sdk.lib.jackson.core.JsonFactory.Feature): me.pushy.sdk.lib.jackson.core.JsonFactory;
+ public _decorate(param0: java.io.Reader, param1: me.pushy.sdk.lib.jackson.core.io.IOContext): java.io.Reader;
+ public _createParser(param0: native.Array, param1: number, param2: number, param3: me.pushy.sdk.lib.jackson.core.io.IOContext, param4: boolean): me.pushy.sdk.lib.jackson.core.JsonParser;
+ public getCharacterEscapes(): me.pushy.sdk.lib.jackson.core.io.CharacterEscapes;
+ public createParser(param0: native.Array, param1: number, param2: number): me.pushy.sdk.lib.jackson.core.JsonParser;
+ public createGenerator(param0: java.io.OutputStream): me.pushy.sdk.lib.jackson.core.JsonGenerator;
+ public createJsonParser(param0: java.io.Reader): me.pushy.sdk.lib.jackson.core.JsonParser;
+ public _createParser(param0: native.Array, param1: number, param2: number, param3: me.pushy.sdk.lib.jackson.core.io.IOContext): me.pushy.sdk.lib.jackson.core.JsonParser;
+ public createJsonParser(param0: string): me.pushy.sdk.lib.jackson.core.JsonParser;
+ public constructor(param0: me.pushy.sdk.lib.jackson.core.ObjectCodec);
+ public createJsonGenerator(param0: java.io.Writer): me.pushy.sdk.lib.jackson.core.JsonGenerator;
+ public constructor();
+ public disable(param0: me.pushy.sdk.lib.jackson.core.JsonGenerator.Feature): me.pushy.sdk.lib.jackson.core.JsonFactory;
+ public createJsonParser(param0: java.io.InputStream): me.pushy.sdk.lib.jackson.core.JsonParser;
+ public _createParser(param0: java.io.InputStream, param1: me.pushy.sdk.lib.jackson.core.io.IOContext): me.pushy.sdk.lib.jackson.core.JsonParser;
+ public _decorate(param0: java.io.OutputStream, param1: me.pushy.sdk.lib.jackson.core.io.IOContext): java.io.OutputStream;
+ public createParser(param0: java.net.URL): me.pushy.sdk.lib.jackson.core.JsonParser;
+ public createJsonParser(param0: native.Array, param1: number, param2: number): me.pushy.sdk.lib.jackson.core.JsonParser;
+ public createGenerator(param0: java.io.Writer): me.pushy.sdk.lib.jackson.core.JsonGenerator;
+ public disable(param0: me.pushy.sdk.lib.jackson.core.JsonParser.Feature): me.pushy.sdk.lib.jackson.core.JsonFactory;
+ public _createUTF8Generator(param0: java.io.OutputStream, param1: me.pushy.sdk.lib.jackson.core.io.IOContext): me.pushy.sdk.lib.jackson.core.JsonGenerator;
+ public getInputDecorator(): me.pushy.sdk.lib.jackson.core.io.InputDecorator;
+ public setRootValueSeparator(param0: string): me.pushy.sdk.lib.jackson.core.JsonFactory;
+ public getCodec(): me.pushy.sdk.lib.jackson.core.ObjectCodec;
+ public createParser(param0: java.io.File): me.pushy.sdk.lib.jackson.core.JsonParser;
+ public setOutputDecorator(param0: me.pushy.sdk.lib.jackson.core.io.OutputDecorator): me.pushy.sdk.lib.jackson.core.JsonFactory;
+ public readResolve(): any;
+ public enable(param0: me.pushy.sdk.lib.jackson.core.JsonFactory.Feature): me.pushy.sdk.lib.jackson.core.JsonFactory;
+ public _createContext(param0: any, param1: boolean): me.pushy.sdk.lib.jackson.core.io.IOContext;
+ public _optimizedStreamFromURL(param0: java.net.URL): java.io.InputStream;
+ public createParser(param0: java.io.DataInput): me.pushy.sdk.lib.jackson.core.JsonParser;
+ public _checkInvalidCopy(param0: java.lang.Class): void;
+ public canUseSchema(param0: me.pushy.sdk.lib.jackson.core.FormatSchema): boolean;
+ public version(): me.pushy.sdk.lib.jackson.core.Version;
+ public copy(): me.pushy.sdk.lib.jackson.core.JsonFactory;
+ public requiresCustomCodec(): boolean;
+ }
+ export module JsonFactory {
+ export class Feature {
+ public static class: java.lang.Class;
+ public static INTERN_FIELD_NAMES: me.pushy.sdk.lib.jackson.core.JsonFactory.Feature;
+ public static CANONICALIZE_FIELD_NAMES: me.pushy.sdk.lib.jackson.core.JsonFactory.Feature;
+ public static FAIL_ON_SYMBOL_HASH_OVERFLOW: me.pushy.sdk.lib.jackson.core.JsonFactory.Feature;
+ public static USE_THREAD_LOCAL_FOR_BUFFER_RECYCLING: me.pushy.sdk.lib.jackson.core.JsonFactory.Feature;
+ public static valueOf(param0: string): me.pushy.sdk.lib.jackson.core.JsonFactory.Feature;
+ public static values(): native.Array;
+ public static collectDefaults(): number;
+ public enabledByDefault(): boolean;
+ public enabledIn(param0: number): boolean;
+ public getMask(): number;
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module core {
+ export class JsonGenerationException extends me.pushy.sdk.lib.jackson.core.JsonProcessingException {
+ public static class: java.lang.Class;
+ public _processor: me.pushy.sdk.lib.jackson.core.JsonGenerator;
+ public constructor(param0: java.lang.Throwable, param1: me.pushy.sdk.lib.jackson.core.JsonGenerator);
+ public constructor(param0: string, param1: java.lang.Throwable, param2: me.pushy.sdk.lib.jackson.core.JsonGenerator);
+ public getProcessor(): any;
+ public constructor(param0: string);
+ public constructor(param0: java.lang.Throwable);
+ public constructor(param0: string, param1: me.pushy.sdk.lib.jackson.core.JsonGenerator);
+ public getProcessor(): me.pushy.sdk.lib.jackson.core.JsonGenerator;
+ public constructor(param0: string, param1: me.pushy.sdk.lib.jackson.core.JsonLocation);
+ public constructor(param0: string, param1: me.pushy.sdk.lib.jackson.core.JsonLocation, param2: java.lang.Throwable);
+ public constructor(param0: string, param1: java.lang.Throwable);
+ public withGenerator(param0: me.pushy.sdk.lib.jackson.core.JsonGenerator): me.pushy.sdk.lib.jackson.core.JsonGenerationException;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+declare module me {
+ export module pushy {
+ export module sdk {
+ export module lib {
+ export module jackson {
+ export module core {
+ export abstract class JsonGenerator extends me.pushy.sdk.lib.jackson.core.Versioned {
+ public static class: java.lang.Class;
+ public _cfgPrettyPrinter: me.pushy.sdk.lib.jackson.core.PrettyPrinter;
+ public writeRaw(param0: native.Array, param1: number, param2: number): void;
+ public setCharacterEscapes(param0: me.pushy.sdk.lib.jackson.core.io.CharacterEscapes): me.pushy.sdk.lib.jackson.core.JsonGenerator;
+ public canWriteTypeId(): boolean;
+ public close(): void;
+ public writeRawValue(param0: string): void;
+ public writeString(param0: java.io.Reader, param1: number): void;
+ public writeTypeId(param0: any): void;
+ public writeBinary(param0: native.Array): void;
+ public writeBinary(param0: me.pushy.sdk.lib.jackson.core.Base64Variant, param1: native.Array, param2: number, param3: number): void;
+ public writeFieldId(param0: number): void;
+ public setFeatureMask(param0: number): me.pushy.sdk.lib.jackson.core.JsonGenerator;
+ public writeBooleanField(param0: string, param1: boolean): void;
+ public writeNumber(param0: string): void;
+ public writeNull(): void;
+ public _reportUnsupportedOperation(): void;
+ public writeOmittedField(param0: string): void;
+ public writeRawValue(param0: me.pushy.sdk.lib.jackson.core.SerializableString): void;
+ public _throwInternal(): void;
+ public canWriteBinaryNatively(): boolean;
+ public setHighestNonEscapedChar(param0: number): me.pushy.sdk.lib.jackson.core.JsonGenerator;
+ public writeBinary(param0: native.Array, param1: number, param2: number): void;
+ public getOutputTarget(): any;
+ public writeNumber(param0: number): void;
+ public writeBoolean(param0: boolean): void;
+ public writeEmbeddedObject(param0: any): void;
+ public copyCurrentEvent(param0: me.pushy.sdk.lib.jackson.core.JsonParser): void;
+ public writeString(param0: me.pushy.sdk.lib.jackson.core.SerializableString): void;
+ public writeUTF8String(param0: native.Array, param1: number, param2: number): void;
+ public setPrettyPrinter(param0: me.pushy.sdk.lib.jackson.core.PrettyPrinter): me.pushy.sdk.lib.jackson.core.JsonGenerator;
+ public overrideStdFeatures(param0: number, param1: number): me.pushy.sdk.lib.jackson.core.JsonGenerator;
+ public writeRaw(param0: me.pushy.sdk.lib.jackson.core.SerializableString): void;
+ public _writeSimpleObject(param0: any): void;
+ public writeStartArray(param0: number): void;
+ public writeStartArray(): void;
+ public setCodec(param0: me.pushy.sdk.lib.jackson.core.ObjectCodec): me.pushy.sdk.lib.jackson.core.JsonGenerator;
+ public writeNumber(param0: java.math.BigDecimal): void;
+ public _verifyOffsets(param0: number, param1: number, param2: number): void;
+ public writeRawUTF8String(param0: native.Array, param1: number, param2: number): void;
+ public getSchema(): me.pushy.sdk.lib.jackson.core.FormatSchema;
+ public setRootValueSeparator(param0: me.pushy.sdk.lib.jackson.core.SerializableString): me.pushy.sdk.lib.jackson.core.JsonGenerator;
+ public writeTree(param0: me.pushy.sdk.lib.jackson.core.TreeNode): void;
+ public writeStartObject(param0: any): void;
+ public isEnabled(param0: me.pushy.sdk.lib.jackson.core.JsonGenerator.Feature): boolean;
+ public writeFieldName(param0: me.pushy.sdk.lib.jackson.core.SerializableString): void;
+ public canWriteFormattedNumbers(): boolean;
+ public writeObject(param0: any): void;
+ public writeStartObject(): void;
+ public writeObjectField(param0: string, param1: any): void;
+ public writeBinary(param0: me.pushy.sdk.lib.jackson.core.Base64Variant, param1: java.io.InputStream, param2: number): number;
+ public writeString(param0: string): void;
+ public writeRawValue(param0: string, param1: number, param2: number): void;
+ public writeObjectRef(param0: any): void;
+ public writeBinaryField(param0: string, param1: native.Array): void;
+ public setSchema(param0: me.pushy.sdk.lib.jackson.core.FormatSchema): void;
+ public getCharacterEscapes(): me.pushy.sdk.lib.jackson.core.io.CharacterEscapes;
+ public getOutputBuffered(): number;
+ public writeEndArray(): void;
+ public copyCurrentStructure(param0: me.pushy.sdk.lib.jackson.core.JsonParser): void;
+ public writeNumber(param0: java.math.BigInteger): void;
+ public writeNumberField(param0: string, param1: java.math.BigDecimal): void;
+ public writeStringField(param0: string, param1: string): void;
+ public getOutputContext(): me.pushy.sdk.lib.jackson.core.JsonStreamContext;
+ public getPrettyPrinter(): me.pushy.sdk.lib.jackson.core.PrettyPrinter;
+ public writeObjectFieldStart(param0: string): void;
+ public enable(param0: me.pushy.sdk.lib.jackson.core.JsonGenerator.Feature): me.pushy.sdk.lib.jackson.core.JsonGenerator;
+ public writeFieldName(param0: string): void;
+ public constructor();
+ public useDefaultPrettyPrinter(): me.pushy.sdk.lib.jackson.core.JsonGenerator;
+ public getFeatureMask(): number;
+ public writeEndObject(): void;
+ public getCodec(): me.pushy.sdk.lib.jackson.core.ObjectCodec;
+ public writeArrayFieldStart(param0: string): void;
+ public writeRawValue(param0: native.Array, param1: number, param2: number): void;
+ public isClosed(): boolean;
+ public writeRaw(param0: string): void;
+ public getFormatFeatures(): number;
+ public canOmitFields(): boolean;
+ public writeObjectId(param0: any): void;
+ public disable(param0: me.pushy.sdk.lib.jackson.core.JsonGenerator.Feature): me.pushy.sdk.lib.jackson.core.JsonGenerator;
+ public configure(param0: me.pushy.sdk.lib.jackson.core.JsonGenerator.Feature, param1: boolean): me.pushy.sdk.lib.jackson.core.JsonGenerator;
+ public getCurrentValue(): any;
+ public _reportError(param0: string): void;
+ public canWriteObjectId(): boolean;
+ public writeRaw(param0: string, param1: number, param2: number): void;
+ public version(): me.pushy.sdk.lib.jackson.core.Version;
+ public canUseSchema(param0: me.pushy.sdk.lib.jackson.core.FormatSchema): boolean;
+ public writeArray(param0: native.Array, param1: number, param2: number): void;
+ public writeNullField(param0: string): void;
+ public writeNumberField(param0: string, param1: number): void;
+ public flush(): void;
+ public writeString(param0: native.Array, param1: number, param2: number): void;
+ public getHighestEscapedChar(): number;
+ public setCurrentValue(param0: any): void;
+ public writeBinary(param0: java.io.InputStream, param1: number): number;
+ public overrideFormatFeatures(param0: number, param1: number): me.pushy.sdk.lib.jackson.core.JsonGenerator;
+ }
+ export module JsonGenerator {
+ export class Feature {
+ public static class: java.lang.Class