diff --git a/.gitignore b/.gitignore index 327d3f7c..0ed34797 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ _site/ .sass-cache/ .jekyll-cache/ -.jekyll-metadata \ No newline at end of file +.jekyll-metadata +**/node_modules +**/dist diff --git a/404.html b/404.html deleted file mode 100644 index c472b4ea..00000000 --- a/404.html +++ /dev/null @@ -1,24 +0,0 @@ ---- -layout: default ---- - - - -
-

404

- -

Page not found :(

-

The requested page could not be found.

-
diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..d044baed --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,11 @@ +## Version 1.0.2 +- Updated Bootstrap to v4.5 +- Improved animation performance + +## Version 1.0.1 + - [ADD] Added new `.navbar-transparent` class to give navbar styling (bg, shadow) when expanding. + - [ADD] Improved WGAC compliance by means of img alt text and link labels for screenreaders. + +## Version 1.0.0 + + - Initial release \ No newline at end of file diff --git a/CNAME b/CNAME deleted file mode 100644 index f3fe73bd..00000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -www.levitytech.net \ No newline at end of file diff --git a/Gemfile b/Gemfile deleted file mode 100644 index 7bad5f97..00000000 --- a/Gemfile +++ /dev/null @@ -1,34 +0,0 @@ -source "https://rubygems.org" - -# Hello! This is where you manage which Jekyll version is used to run. -# When you want to use a different version, change it below, save the -# file and run `bundle install`. Run Jekyll with `bundle exec`, like so: -# -# bundle exec jekyll serve -# -# This will help ensure the proper Jekyll version is running. -# Happy Jekylling! -gem "jekyll", "~> 3.8.7" - -# This is the default theme for new Jekyll sites. You may change this to anything you like. -gem "minima", "~> 2.0" - -# If you want to use GitHub Pages, remove the "gem "jekyll"" above and -# uncomment the line below. To upgrade, run `bundle update github-pages`. -# gem "github-pages", group: :jekyll_plugins - -# If you have any plugins, put them here! -group :jekyll_plugins do - gem "jekyll-feed", "~> 0.6" -end - -# Windows does not include zoneinfo files, so bundle the tzinfo-data gem -# and associated library. -install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do - gem "tzinfo", "~> 1.2" - gem "tzinfo-data" -end - -# Performance-booster for watching directories on Windows -gem "wdm", "~> 0.1.0", :install_if => Gem.win_platform? - diff --git a/Gemfile.lock b/Gemfile.lock deleted file mode 100644 index f6a31128..00000000 --- a/Gemfile.lock +++ /dev/null @@ -1,95 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - addressable (2.7.0) - public_suffix (>= 2.0.2, < 5.0) - colorator (1.1.0) - concurrent-ruby (1.1.6) - em-websocket (0.5.1) - eventmachine (>= 0.12.9) - http_parser.rb (~> 0.6.0) - eventmachine (1.2.7) - ffi (1.13.1) - forwardable-extended (2.6.0) - http_parser.rb (0.6.0) - i18n (0.9.5) - concurrent-ruby (~> 1.0) - jekyll (3.8.7) - addressable (~> 2.4) - colorator (~> 1.0) - em-websocket (~> 0.5) - i18n (~> 0.7) - jekyll-sass-converter (~> 1.0) - jekyll-watch (~> 2.0) - kramdown (~> 1.14) - liquid (~> 4.0) - mercenary (~> 0.3.3) - pathutil (~> 0.9) - rouge (>= 1.7, < 4) - safe_yaml (~> 1.0) - jekyll-feed (0.13.0) - jekyll (>= 3.7, < 5.0) - jekyll-sass-converter (1.5.2) - sass (~> 3.4) - jekyll-seo-tag (2.6.1) - jekyll (>= 3.3, < 5.0) - jekyll-watch (2.2.1) - listen (~> 3.0) - kramdown (1.17.0) - liquid (4.0.3) - listen (3.2.1) - rb-fsevent (~> 0.10, >= 0.10.3) - rb-inotify (~> 0.9, >= 0.9.10) - mercenary (0.3.6) - minima (2.5.1) - jekyll (>= 3.5, < 5.0) - jekyll-feed (~> 0.9) - jekyll-seo-tag (~> 2.1) - mustermann (1.1.1) - ruby2_keywords (~> 0.0.1) - pathutil (0.16.2) - forwardable-extended (~> 2.6) - public_suffix (4.0.5) - rack (2.2.3) - rack-protection (2.1.0) - rack - rb-fsevent (0.10.4) - rb-inotify (0.10.1) - ffi (~> 1.0) - rouge (3.20.0) - ruby2_keywords (0.0.2) - safe_yaml (1.0.5) - sass (3.7.4) - sass-listen (~> 4.0.0) - sass-listen (4.0.0) - rb-fsevent (~> 0.9, >= 0.9.4) - rb-inotify (~> 0.9, >= 0.9.7) - sinatra (2.1.0) - mustermann (~> 1.0) - rack (~> 2.2) - rack-protection (= 2.1.0) - tilt (~> 2.0) - stripe (5.28.0) - thread_safe (0.3.6) - tilt (2.0.10) - tzinfo (1.2.7) - thread_safe (~> 0.1) - tzinfo-data (1.2020.1) - tzinfo (>= 1.0.0) - wdm (0.1.1) - -PLATFORMS - ruby - -DEPENDENCIES - jekyll (~> 3.8.7) - jekyll-feed (~> 0.6) - minima (~> 2.0) - sinatra - stripe - tzinfo (~> 1.2) - tzinfo-data - wdm (~> 0.1.0) - -BUNDLED WITH - 2.1.4 diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 00000000..a8a28e83 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2020 Vantage Design + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md index 7d39317f..8b137891 100644 --- a/README.md +++ b/README.md @@ -1,21 +1 @@ -# levitytech.github.io -Levity is about more than just code, it is where technology changes people. -Feedback, bug reports, and comments are not only welcome, but strongly encouraged. - -Credits: - - Authors: - Michael Martin (michael@levitytech.net) - Bazyl Horsey (bazyl@levitytech.net) - - Demo Images: - Unsplash (unsplash.com) - - Icons: - Font Awesome (fontawesome.io) - - Other: - jQuery (jquery.com) - Scrollex (github.com/ajlkn/jquery.scrollex) - Responsive Tools (github.com/ajlkn/responsive-tools) diff --git a/_config.yml b/_config.yml deleted file mode 100644 index 04e3099e..00000000 --- a/_config.yml +++ /dev/null @@ -1,42 +0,0 @@ -# Welcome to Jekyll! -# -# This config file is meant for settings that affect your whole blog, values -# which you are expected to set up once and rarely edit after that. If you find -# yourself editing this file very often, consider using Jekyll's data files -# feature for the data you need to update frequently. -# -# For technical reasons, this file is *NOT* reloaded automatically when you use -# 'bundle exec jekyll serve'. If you change this file, please restart the server process. - -# Site settings -# These are used to personalize your new site. If you look in the HTML files, -# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. -# You can create any custom variable you would like, and they will be accessible -# in the templates via {{ site.myvariable }}. -title: Levity -email: bazyl@levitytech.net -description: >- # this means to ignore newlines until "baseurl:" - This is a site for us to show off our amazing team and skills! -baseurl: "" # the subpath of your site, e.g. /blog -url: "https://www.levitytech.net" # the base hostname & protocol for your site, e.g. http://example.com -root: "" -twitter_username: llclevity -github_username: bazylhorsey - -# Build settings -markdown: kramdown -theme: minima -plugins: - - jekyll-feed -# root: / -# Exclude from processing. -# The following items will not be processed, by default. Create a custom list -# to override the default setting. -# exclude: -# - Gemfile -# - Gemfile.lock -# - node_modules -# - vendor/bundle/ -# - vendor/cache/ -# - vendor/gems/ -# - vendor/ruby/ diff --git a/_config_dev.yml b/_config_dev.yml deleted file mode 100644 index 4731f6ac..00000000 --- a/_config_dev.yml +++ /dev/null @@ -1,41 +0,0 @@ -# Welcome to Jekyll! -# -# This config file is meant for settings that affect your whole blog, values -# which you are expected to set up once and rarely edit after that. If you find -# yourself editing this file very often, consider using Jekyll's data files -# feature for the data you need to update frequently. -# -# For technical reasons, this file is *NOT* reloaded automatically when you use -# 'bundle exec jekyll serve'. If you change this file, please restart the server process. - -# Site settings -# These are used to personalize your new site. If you look in the HTML files, -# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. -# You can create any custom variable you would like, and they will be accessible -# in the templates via {{ site.myvariable }}. -title: Levity -email: bazyl@levitytech.net -description: >- # this means to ignore newlines until "baseurl:" - This is a site for us to show off our amazing team and skills! -baseurl: "" # the subpath of your site, e.g. /blog -url: "" # the base hostname & protocol for your site, e.g. http://example.com -twitter_username: llclevity -github_username: bazylhorsey - -# Build settings -markdown: kramdown -theme: minima -plugins: - - jekyll-feed - -# Exclude from processing. -# The following items will not be processed, by default. Create a custom list -# to override the default setting. -# exclude: -# - Gemfile -# - Gemfile.lock -# - node_modules -# - vendor/bundle/ -# - vendor/cache/ -# - vendor/gems/ -# - vendor/ruby/ diff --git a/_includes/footer.html b/_includes/footer.html deleted file mode 100644 index a8f6cf26..00000000 --- a/_includes/footer.html +++ /dev/null @@ -1,7 +0,0 @@ - \ No newline at end of file diff --git a/_includes/head.html b/_includes/head.html deleted file mode 100644 index 33670a4d..00000000 --- a/_includes/head.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - Levity - - - - - - diff --git a/_includes/header-lm.html b/_includes/header-lm.html deleted file mode 100644 index b91137a7..00000000 --- a/_includes/header-lm.html +++ /dev/null @@ -1,29 +0,0 @@ - diff --git a/_includes/header.html b/_includes/header.html deleted file mode 100644 index 337e7892..00000000 --- a/_includes/header.html +++ /dev/null @@ -1,34 +0,0 @@ - diff --git a/_layouts/blog.html b/_layouts/blog.html deleted file mode 100644 index fd9da557..00000000 --- a/_layouts/blog.html +++ /dev/null @@ -1,41 +0,0 @@ - \ No newline at end of file diff --git a/_layouts/css/style.css b/_layouts/css/style.css deleted file mode 100644 index 9c77a42e..00000000 --- a/_layouts/css/style.css +++ /dev/null @@ -1,7 +0,0 @@ -title{ - text-align: center; - color: #777; - font-family: Lato; - font-weight: 700; - font-size: 1.75em; -} diff --git a/_layouts/default-lm.html b/_layouts/default-lm.html deleted file mode 100644 index db282dc4..00000000 --- a/_layouts/default-lm.html +++ /dev/null @@ -1,38 +0,0 @@ - - - {% include head.html %} - - - - - {% include header-lm.html %} -
- {{ content }} - {% include footer.html %} -
- - - - - - - - - - - - - - - - - diff --git a/_layouts/default.html b/_layouts/default.html deleted file mode 100644 index 7acd5398..00000000 --- a/_layouts/default.html +++ /dev/null @@ -1,38 +0,0 @@ - - - {% include head.html %} - - - - - {% include header.html %} -
- {{ content }} - {% include footer.html %} -
- - - - - - - - - - - - - - - - - diff --git a/_layouts/page.html b/_layouts/page.html deleted file mode 100644 index 0c3fb1d0..00000000 --- a/_layouts/page.html +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: default ---- -

{{ page.title }}

-{{ content }} - \ No newline at end of file diff --git a/_layouts/post.html b/_layouts/post.html deleted file mode 100644 index de6a25fb..00000000 --- a/_layouts/post.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - {{ page.title }} - - - - -

{{ page.title }}

-
- {{ page.date | date: "%b %-d, %Y" }} -
-
- {{ content }} -
- - diff --git a/_layouts/post_1.html b/_layouts/post_1.html deleted file mode 100644 index 4beb3796..00000000 --- a/_layouts/post_1.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - {{ page.title }} - - - - -

{{ page.title }}

-
- {{ content }} -
- - - diff --git a/_layouts/post_backup.html b/_layouts/post_backup.html deleted file mode 100644 index 78ae627c..00000000 --- a/_layouts/post_backup.html +++ /dev/null @@ -1,7 +0,0 @@ -

{{ page.title }}

- - -{{ content }} diff --git a/_layouts/sidbar_removed.html b/_layouts/sidbar_removed.html deleted file mode 100644 index a54e9395..00000000 --- a/_layouts/sidbar_removed.html +++ /dev/null @@ -1,37 +0,0 @@ - - - {% include head.html %} - - - - -
- {{ content }} - {% include footer.html %} -
- - - - - - - - - - - - - - - - - diff --git a/_posts/2020-07-16-bvu+ilc.md b/_posts/2020-07-16-bvu+ilc.md deleted file mode 100644 index e69a4e50..00000000 --- a/_posts/2020-07-16-bvu+ilc.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -layout: post -filter: blog -featured: "False" -title: Corridor joins forces with Buena Vista University in winning Google grant -img: ilc+bvu.jpg -excerpt: The Iowa Lakes Corridor Development Corporation (Corridor) in partnership with Buena Vista University (BVU) has won a prestigious Google grant to advance programming aimed at facilitating business transitions across Iowa. The Corridor joined with BVU’s Center for Rural Entrepreneurship in the Harold Walter Siebens School of Business to embark on a “Match, Learn, Launch” initiative. This project pairs retiring business owners with up-and-coming business operators throughout Iowa and provides mentoring and educational support to new entrepreneurs from succession match to new launch. ---- -
-Written by: Iowa Lakes Corridor Development Corporation - -The Iowa Lakes Corridor Development Corporation (Corridor) in partnership with Buena Vista University (BVU) has won a prestigious Google grant to advance programming aimed at facilitating business transitions across Iowa. The Corridor joined with BVU’s Center for Rural Entrepreneurship in the Harold Walter Siebens School of Business to embark on a “Match, Learn, Launch” initiative. This project pairs retiring business owners with up-and-coming business operators throughout Iowa and provides mentoring and educational support to new entrepreneurs from succession match to new launch. - - - -The partnership won a $175,000 competitive grant from Google through the company’s Grow With Google Program which seeks to aid the nonprofits as they work to create economic opportunities for entrepreneurs of all ages. Grow With Google aims to help everyone across America access the best of Google’s training and tools to grow their skills, careers, businesses, and nonprofits. A portion of this initiative is the Google.org Impact Challenge Iowa, which awards $1 million in grant funding to nonprofits in support of big ideas to create opportunity in Iowa. - - - -A “match-making” app will link business owners who seek assistance in finding a successor for their enterprise with new entrepreneurs educated for sustained success. The need is critical as 71 Iowa counties have lost population in the last decade, and half of the state’s business owners are older than 50. This project aims to help solve the succession gap, keeping ideas, wealth, and people in Iowa. - -“The Iowa Lakes Corridor Development Corporation and Buena Vista University both are leaders in building the economy of northwest Iowa,” said John Tatman. “Working together we can make important strides in helping area business owners find interested buyers for their companies.” - - - -“Our board and investors have identified business succession as an opportunity to differentiate the Corridor region positively,” said Kiley Miller. “We are confident that both business buyers and sellers are here and only need to be connected and assisted, which this generous grant from Google will make possible.” - -The Corridor’s joint effort with BVU represents one of five winners in Iowa that qualified for a $175,000 grant and training assistance from Google. The public has the chance to vote for a favorite idea among those winners through Aug. 30. The idea earning the most votes, dubbed the People’s Choice, will receive an additional $125,000. Vote for the Iowa Lakes Corridor Development Corporation and BVU’s “Match, Learn, Launch” project at BVU.edu/vote-bvu. - -Find the original article [here](http://www.lakescorridor.com/news-&-events/p/item/19214/corridor-joins-forces-with-buena-vista-university-in-winning-google-grant)! diff --git a/_posts/2020-07-16-mll-app.md b/_posts/2020-07-16-mll-app.md deleted file mode 100644 index 085b2f57..00000000 --- a/_posts/2020-07-16-mll-app.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -layout: post -featured: "False" -filter: works -title: Levity team creates app for Match. Learn. Launch. -img: match_learn_launch.jpg -excerpt: BVU computer science seniors have created a mobile app to match existing business owners with up-and-coming entrepreneurs, part of a joint effort with the Iowa Great Lakes Corridor Development Corporation. ---- -
- -
- -Written by: Buena Vista University - -BVU senior Michael Martin smiled as his eyes fixated on the bright lights of the New York Stock Exchange ticker rotating near the ceiling of the Robert L. Peterson Commodity Trading Room, a signature element for the renovated Harold Walter Siebens School of Business. - -Martin, a computer science major, hasn’t taken one business class during his time at BVU. And yet, as he approaches his final semester as an undergrad, this is the space where he and fellow computer science majors Bazyl Horsey and Justin Rubek often find themselves, a precursor of what’s to come as BVU unveils an innovative entrepreneurship minor accessible to all students. - -“Really nice space in here,” Martin says. - -“It’s the first time we’ve had an extended stay in the School of Business,” says Horsey. - -The trio has happily branched out while devoting weeks of effort in building an app for the Harold Walter Siebens School of Business as BVU joins the Iowa Great Lakes Corridor Development Corporation in introducing a program to match existing business owners with up-and-coming entrepreneurs. The Match Learn Launch app, a startup funded in part through one of five Google grants awarded in Iowa, serves as an initial focal point for instruction within The Donald F. and Charlene K. Lamberti Center for Rural Entrepreneurship at BVU. - -“We’ve heard from a number of businesses in Northwest Iowa who are seeking assistance when it comes to business-succession plans,” says Gary Sterling, BVU instructor of management and director of the Lamberti Center for Rural Entrepreneurship. “At the same time, we’ve heard from entrepreneurs who seek opportunities. Through this app, we’re going to match key individuals to keep and grow businesses for another generation across Iowa.” - -When tasked with finding a software developer to bring the Match Learn Launch app to life, Sterling quickly learned he need not search far. He found a trio of eager seniors with a robust knowledge of computer programming and a budding interest in starting their own business. - -In addition to their work in the computer science major, all three boast internship experience in the private sector, a BVU focal point for decades. Both Martin and Horsey, Storm Lake natives, have worked for a startup named Koloni, as both managed a software team. Rubek, who hails from Irwin, spent last summer interning at CSG International in Omaha. - -“CSG represented a big, corporate environment, and I learned a lot,” Rubek says. “But the startup culture here really appeals to me. I like working with a smaller team.” - -“The idea of using a matching algorithm to put people together falls under the realm of machine learning, a field I’m passionate about,” Martin says. “Using it for a startup really interested me.” - -“These are not interns,” Sterling says. “These three men are contracted software developers who are earning market rate for their work, work that will allow the app to bring people into our program.” - -Martin, Rubek, and Horsey plan to invest those earned dollars into their own limited liability corporation, an enterprise focused on building better websites and platforms for customers, an outcome realized as a direct result of their interaction with Sterling and the School of Business, forces that have encouraged, supported, and fostered this entrepreneurial leap. They’ll work at The Foundry at BVU, a future site in downtown Storm Lake that will also serve as home base for the Lamberti Center for Rural Entrepreneurship. - -“If we would have tried to do this in California or the state of Washington, we’d be considered small fish,” Horsey says. “It works for us to be here in Storm Lake, because we’re young and we don’t yet have a lot of experience. We found this opportunity because of the small community in Northwest Iowa that we happened to be in.” - -Find the original article [here](https://www.bvu.edu/news/computer-science-majors-build-mobile-app)! diff --git a/_posts/2020-07-21-understanding-fear.md b/_posts/2020-07-21-understanding-fear.md deleted file mode 100644 index f5dd349c..00000000 --- a/_posts/2020-07-21-understanding-fear.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -layout: post -filter: blog -featured: "True" -title: Managing COVID Fear and Panic in the Workplace -img: covidfear.png -excerpt: Recognizing our own emotions as a powerful force that we are willing to understand can help us become better peers, and motivate innovation. At Levity, we built this company during an epidemic and economic collapse. - ---- -
- -At Levity's incubating Alma-mater, students were informed they'd need to complete the remainder of their Spring semester online. In a matter of days Storm Lake's BVU morphed from an engaged and communal hub for education to a mostly deserted campus with many students left asking, where to go now? - -Thankfully, the school made the correct choice, as the University township, Storm Lake, would become one of the most concentrated areas in the US for COVID-19 exposure. - -Many from the community were left asking, -> -Am I sick? -> -Is a person close to me sick? -> -Will I give it to somebody at high risk? -> - -These questions can begin to occupy our minds, taking away from focus on our passions and obligations. The silver-lining to these widespread feelings is is the new insight we can obtain from how anxiety, panic, and fear all play an integral role on our attitude. Naturally, anything that threatens you or a loved ones survival will emit an emotional response, and this is good! - -However, when these thoughts shift to worrying about matters outside our control it can begin to fog our goals. For entrepeneurs and professionals it is important to keep moving forward, finding creative ways to move through the obstacles we now face. As emotional creatures, it becomes very exhausting to try and *control* your emotions; rather, we should seek insight from the emotions we feel. By doing this, we can psychologically abstract our ego from the circumstance and respond more effectively as leaders. There is much uncertainty in the future of this epidemic, but by understainding the anxieties we now face, we can more clearly see the objective and begin finding solutions. - -This model of thinking can be applied to our lives in many ways. Maybe you are late for a deadline, are frustrated someone else did not fulfill what they said they would, or weeks of planning just didn't work out this time. Regardless, we can choose how we will handle our emotions to be a positive force in our daily activities. - -``` python - def anxiety_check(scenario): - if 'stress' in scenario: - scenario.replace('stress', 'insight and curiosity') -``` -Recognizing our own emotions as a powerful force that we are willing to understand can help us become better peers, and motivate innovation. At Levity, we built this company during an epidemic and economic collapse. Despite these odds, we rallied and created an even stronger team. Levity continues to build on its remote service, and will continue to help companies invest in their digital services during these challenges, and long-after. - -By Bazyl Horsey, Co-founder diff --git a/_sass/libs/_breakpoints.scss b/_sass/libs/_breakpoints.scss deleted file mode 100644 index c5301d85..00000000 --- a/_sass/libs/_breakpoints.scss +++ /dev/null @@ -1,223 +0,0 @@ -// breakpoints.scss v1.0 | @ajlkn | MIT licensed */ - -// Vars. - - /// Breakpoints. - /// @var {list} - $breakpoints: () !global; - -// Mixins. - - /// Sets breakpoints. - /// @param {map} $x Breakpoints. - @mixin breakpoints($x: ()) { - $breakpoints: $x !global; - } - - /// Wraps @content in a @media block targeting a specific orientation. - /// @param {string} $orientation Orientation. - @mixin orientation($orientation) { - @media screen and (orientation: #{$orientation}) { - @content; - } - } - - /// Wraps @content in a @media block using a given query. - /// @param {string} $query Query. - @mixin breakpoint($query: null) { - - $breakpoint: null; - $op: null; - $media: null; - - // Determine operator, breakpoint. - - // Greater than or equal. - @if (str-slice($query, 0, 2) == '>=') { - - $op: 'gte'; - $breakpoint: str-slice($query, 3); - - } - - // Less than or equal. - @elseif (str-slice($query, 0, 2) == '<=') { - - $op: 'lte'; - $breakpoint: str-slice($query, 3); - - } - - // Greater than. - @elseif (str-slice($query, 0, 1) == '>') { - - $op: 'gt'; - $breakpoint: str-slice($query, 2); - - } - - // Less than. - @elseif (str-slice($query, 0, 1) == '<') { - - $op: 'lt'; - $breakpoint: str-slice($query, 2); - - } - - // Not. - @elseif (str-slice($query, 0, 1) == '!') { - - $op: 'not'; - $breakpoint: str-slice($query, 2); - - } - - // Equal. - @else { - - $op: 'eq'; - $breakpoint: $query; - - } - - // Build media. - @if ($breakpoint and map-has-key($breakpoints, $breakpoint)) { - - $a: map-get($breakpoints, $breakpoint); - - // Range. - @if (type-of($a) == 'list') { - - $x: nth($a, 1); - $y: nth($a, 2); - - // Max only. - @if ($x == null) { - - // Greater than or equal (>= 0 / anything) - @if ($op == 'gte') { - $media: 'screen'; - } - - // Less than or equal (<= y) - @elseif ($op == 'lte') { - $media: 'screen and (max-width: ' + $y + ')'; - } - - // Greater than (> y) - @elseif ($op == 'gt') { - $media: 'screen and (min-width: ' + ($y + 1) + ')'; - } - - // Less than (< 0 / invalid) - @elseif ($op == 'lt') { - $media: 'screen and (max-width: -1px)'; - } - - // Not (> y) - @elseif ($op == 'not') { - $media: 'screen and (min-width: ' + ($y + 1) + ')'; - } - - // Equal (<= y) - @else { - $media: 'screen and (max-width: ' + $y + ')'; - } - - } - - // Min only. - @else if ($y == null) { - - // Greater than or equal (>= x) - @if ($op == 'gte') { - $media: 'screen and (min-width: ' + $x + ')'; - } - - // Less than or equal (<= inf / anything) - @elseif ($op == 'lte') { - $media: 'screen'; - } - - // Greater than (> inf / invalid) - @elseif ($op == 'gt') { - $media: 'screen and (max-width: -1px)'; - } - - // Less than (< x) - @elseif ($op == 'lt') { - $media: 'screen and (max-width: ' + ($x - 1) + ')'; - } - - // Not (< x) - @elseif ($op == 'not') { - $media: 'screen and (max-width: ' + ($x - 1) + ')'; - } - - // Equal (>= x) - @else { - $media: 'screen and (min-width: ' + $x + ')'; - } - - } - - // Min and max. - @else { - - // Greater than or equal (>= x) - @if ($op == 'gte') { - $media: 'screen and (min-width: ' + $x + ')'; - } - - // Less than or equal (<= y) - @elseif ($op == 'lte') { - $media: 'screen and (max-width: ' + $y + ')'; - } - - // Greater than (> y) - @elseif ($op == 'gt') { - $media: 'screen and (min-width: ' + ($y + 1) + ')'; - } - - // Less than (< x) - @elseif ($op == 'lt') { - $media: 'screen and (max-width: ' + ($x - 1) + ')'; - } - - // Not (< x and > y) - @elseif ($op == 'not') { - $media: 'screen and (max-width: ' + ($x - 1) + '), screen and (min-width: ' + ($y + 1) + ')'; - } - - // Equal (>= x and <= y) - @else { - $media: 'screen and (min-width: ' + $x + ') and (max-width: ' + $y + ')'; - } - - } - - } - - // String. - @else { - - // Missing a media type? Prefix with "screen". - @if (str-slice($a, 0, 1) == '(') { - $media: 'screen and ' + $a; - } - - // Otherwise, use as-is. - @else { - $media: $a; - } - - } - - } - - // Output. - @media #{$media} { - @content; - } - - } \ No newline at end of file diff --git a/_sass/libs/_functions.scss b/_sass/libs/_functions.scss deleted file mode 100644 index f563aabf..00000000 --- a/_sass/libs/_functions.scss +++ /dev/null @@ -1,90 +0,0 @@ -/// Removes a specific item from a list. -/// @author Hugo Giraudel -/// @param {list} $list List. -/// @param {integer} $index Index. -/// @return {list} Updated list. -@function remove-nth($list, $index) { - - $result: null; - - @if type-of($index) != number { - @warn "$index: #{quote($index)} is not a number for `remove-nth`."; - } - @else if $index == 0 { - @warn "List index 0 must be a non-zero integer for `remove-nth`."; - } - @else if abs($index) > length($list) { - @warn "List index is #{$index} but list is only #{length($list)} item long for `remove-nth`."; - } - @else { - - $result: (); - $index: if($index < 0, length($list) + $index + 1, $index); - - @for $i from 1 through length($list) { - - @if $i != $index { - $result: append($result, nth($list, $i)); - } - - } - - } - - @return $result; - -} - -/// Gets a value from a map. -/// @author Hugo Giraudel -/// @param {map} $map Map. -/// @param {string} $keys Key(s). -/// @return {string} Value. -@function val($map, $keys...) { - - @if nth($keys, 1) == null { - $keys: remove-nth($keys, 1); - } - - @each $key in $keys { - $map: map-get($map, $key); - } - - @return $map; - -} - -/// Gets a duration value. -/// @param {string} $keys Key(s). -/// @return {string} Value. -@function _duration($keys...) { - @return val($duration, $keys...); -} - -/// Gets a font value. -/// @param {string} $keys Key(s). -/// @return {string} Value. -@function _font($keys...) { - @return val($font, $keys...); -} - -/// Gets a misc value. -/// @param {string} $keys Key(s). -/// @return {string} Value. -@function _misc($keys...) { - @return val($misc, $keys...); -} - -/// Gets a palette value. -/// @param {string} $keys Key(s). -/// @return {string} Value. -@function _palette($keys...) { - @return val($palette, $keys...); -} - -/// Gets a size value. -/// @param {string} $keys Key(s). -/// @return {string} Value. -@function _size($keys...) { - @return val($size, $keys...); -} \ No newline at end of file diff --git a/_sass/libs/_html-grid.scss b/_sass/libs/_html-grid.scss deleted file mode 100644 index 7438a8c7..00000000 --- a/_sass/libs/_html-grid.scss +++ /dev/null @@ -1,149 +0,0 @@ -// html-grid.scss v1.0 | @ajlkn | MIT licensed */ - -// Mixins. - - /// Initializes the current element as an HTML grid. - /// @param {mixed} $gutters Gutters (either a single number to set both column/row gutters, or a list to set them individually). - /// @param {mixed} $suffix Column class suffix (optional; either a single suffix or a list). - @mixin html-grid($gutters: 1.5em, $suffix: '') { - - // Initialize. - $cols: 12; - $multipliers: 0, 0.25, 0.5, 1, 1.50, 2.00; - $unit: 100% / $cols; - - // Suffixes. - $suffixes: null; - - @if (type-of($suffix) == 'list') { - $suffixes: $suffix; - } - @else { - $suffixes: ($suffix); - } - - // Gutters. - $guttersCols: null; - $guttersRows: null; - - @if (type-of($gutters) == 'list') { - - $guttersCols: nth($gutters, 1); - $guttersRows: nth($gutters, 2); - - } - @else { - - $guttersCols: $gutters; - $guttersRows: 0; - - } - - // Row. - display: flex; - flex-wrap: wrap; - box-sizing: border-box; - align-items: stretch; - - // Columns. - > * { - box-sizing: border-box; - } - - // Gutters. - &.gtr-uniform { - > * { - > :last-child { - margin-bottom: 0; - } - } - } - - // Alignment. - &.aln-left { - justify-content: flex-start; - } - - &.aln-center { - justify-content: center; - } - - &.aln-right { - justify-content: flex-end; - } - - &.aln-top { - align-items: flex-start; - } - - &.aln-middle { - align-items: center; - } - - &.aln-bottom { - align-items: flex-end; - } - - // Step through suffixes. - @each $suffix in $suffixes { - - // Suffix. - @if ($suffix != '') { - $suffix: '-' + $suffix; - } - @else { - $suffix: ''; - } - - // Row. - - // Important. - > .imp#{$suffix} { - order: -1; - } - - // Columns, offsets. - @for $i from 1 through $cols { - > .col-#{$i}#{$suffix} { - width: $unit * $i; - } - - > .off-#{$i}#{$suffix} { - margin-left: $unit * $i; - } - } - - // Step through multipliers. - @each $multiplier in $multipliers { - - // Gutters. - $class: null; - - @if ($multiplier != 1) { - $class: '.gtr-' + ($multiplier * 100); - } - - &#{$class} { - margin-top: ($guttersRows * $multiplier * -1); - margin-left: ($guttersCols * $multiplier * -1); - - > * { - padding: ($guttersRows * $multiplier) 0 0 ($guttersCols * $multiplier); - } - - // Uniform. - &.gtr-uniform { - margin-top: $guttersCols * $multiplier * -1; - - > * { - padding-top: $guttersCols * $multiplier; - } - } - - } - - } - - } - - } \ No newline at end of file diff --git a/_sass/libs/_mixins.scss b/_sass/libs/_mixins.scss deleted file mode 100644 index a331483a..00000000 --- a/_sass/libs/_mixins.scss +++ /dev/null @@ -1,78 +0,0 @@ -/// Makes an element's :before pseudoelement a FontAwesome icon. -/// @param {string} $content Optional content value to use. -/// @param {string} $category Optional category to use. -/// @param {string} $where Optional pseudoelement to target (before or after). -@mixin icon($content: false, $category: regular, $where: before) { - - text-decoration: none; - - &:#{$where} { - - @if $content { - content: $content; - } - - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - display: inline-block; - font-style: normal; - font-variant: normal; - text-rendering: auto; - line-height: 1; - text-transform: none !important; - - @if ($category == brands) { - font-family: 'Font Awesome 5 Brands'; - } - @elseif ($category == solid) { - font-family: 'Font Awesome 5 Free'; - font-weight: 900; - } - @else { - font-family: 'Font Awesome 5 Free'; - font-weight: 400; - } - - } - -} - -/// Applies padding to an element, taking the current element-margin value into account. -/// @param {mixed} $tb Top/bottom padding. -/// @param {mixed} $lr Left/right padding. -/// @param {list} $pad Optional extra padding (in the following order top, right, bottom, left) -/// @param {bool} $important If true, adds !important. -@mixin padding($tb, $lr, $pad: (0,0,0,0), $important: null) { - - @if $important { - $important: '!important'; - } - - $x: 0.1em; - - @if unit(_size(element-margin)) == 'rem' { - $x: 0.1rem; - } - - padding: ($tb + nth($pad,1)) ($lr + nth($pad,2)) max($x, $tb - _size(element-margin) + nth($pad,3)) ($lr + nth($pad,4)) #{$important}; - -} - -/// Encodes a SVG data URL so IE doesn't choke (via codepen.io/jakob-e/pen/YXXBrp). -/// @param {string} $svg SVG data URL. -/// @return {string} Encoded SVG data URL. -@function svg-url($svg) { - - $svg: str-replace($svg, '"', '\''); - $svg: str-replace($svg, '%', '%25'); - $svg: str-replace($svg, '<', '%3C'); - $svg: str-replace($svg, '>', '%3E'); - $svg: str-replace($svg, '&', '%26'); - $svg: str-replace($svg, '#', '%23'); - $svg: str-replace($svg, '{', '%7B'); - $svg: str-replace($svg, '}', '%7D'); - $svg: str-replace($svg, ';', '%3B'); - - @return url("data:image/svg+xml;charset=utf8,#{$svg}"); - -} \ No newline at end of file diff --git a/_sass/libs/_vars.scss b/_sass/libs/_vars.scss deleted file mode 100644 index 8416f599..00000000 --- a/_sass/libs/_vars.scss +++ /dev/null @@ -1,64 +0,0 @@ -// Misc. - $misc: ( - z-index-base: 10000, - header-side: 'right' - ); - -// Duration. - $duration: ( - header: 0.5s, - transition: 0.2s - ); - -// Size. - $size: ( - border-radius: 5px, - border-width: 2px, - element-height: 2.75em, - element-margin: 2.25em, - container-width: 45em - ); - -// Font. - $font: ( - family: ('Lato', sans-serif), - family-fixed: ('Source Code Pro', monospace), - weight: 400, - weight-bold: 700 - ); - -// Palette. - $palette: ( - bg: #fff, - fg: #888, - fg-bold: #777, - fg-light: #aaa, - border: #f4f4f4, - border-bg: #fafafa, - border2: #e4e4e4, - border2-bg: #f4f4f4, - border3: #e0e0e0, - border3-bg: #eaeaea, - - accent1: ( - bg: rgb(90,211,254), - fg-bold: #ffffff, - fg: mix(rgb(90,211,254), #ffffff, 25%), - fg-light: mix(rgb(90,211,254), #ffffff, 40%) - ), - - accent2: ( - bg: #989898, - fg-bold: #ffffff, - fg: mix(#989898, #ffffff, 25%), - fg-light: mix(#989898, #ffffff, 40%) - ), - - header: ( - bg: rgb(90,211,254), - fg-bold: #ffffff, - fg: mix(rgb(90,211,254), #ffffff, 25%), - fg-light: mix(rgb(90,211,254), #ffffff, 40%), - border: mix(rgb(90,211,254), #ffffff, 90%) - ) - ); diff --git a/_sass/libs/_vendor.scss b/_sass/libs/_vendor.scss deleted file mode 100644 index 6599a3fe..00000000 --- a/_sass/libs/_vendor.scss +++ /dev/null @@ -1,376 +0,0 @@ -// vendor.scss v1.0 | @ajlkn | MIT licensed */ - -// Vars. - - /// Vendor prefixes. - /// @var {list} - $vendor-prefixes: ( - '-moz-', - '-webkit-', - '-ms-', - '' - ); - - /// Properties that should be vendorized. - /// Data via caniuse.com, github.com/postcss/autoprefixer, and developer.mozilla.org - /// @var {list} - $vendor-properties: ( - - // Animation. - 'animation', - 'animation-delay', - 'animation-direction', - 'animation-duration', - 'animation-fill-mode', - 'animation-iteration-count', - 'animation-name', - 'animation-play-state', - 'animation-timing-function', - - // Appearance. - 'appearance', - - // Backdrop filter. - 'backdrop-filter', - - // Background image options. - 'background-clip', - 'background-origin', - 'background-size', - - // Box sizing. - 'box-sizing', - - // Clip path. - 'clip-path', - - // Filter effects. - 'filter', - - // Flexbox. - 'align-content', - 'align-items', - 'align-self', - 'flex', - 'flex-basis', - 'flex-direction', - 'flex-flow', - 'flex-grow', - 'flex-shrink', - 'flex-wrap', - 'justify-content', - 'order', - - // Font feature. - 'font-feature-settings', - 'font-language-override', - 'font-variant-ligatures', - - // Font kerning. - 'font-kerning', - - // Fragmented borders and backgrounds. - 'box-decoration-break', - - // Grid layout. - 'grid-column', - 'grid-column-align', - 'grid-column-end', - 'grid-column-start', - 'grid-row', - 'grid-row-align', - 'grid-row-end', - 'grid-row-start', - 'grid-template-columns', - 'grid-template-rows', - - // Hyphens. - 'hyphens', - 'word-break', - - // Masks. - 'mask', - 'mask-border', - 'mask-border-outset', - 'mask-border-repeat', - 'mask-border-slice', - 'mask-border-source', - 'mask-border-width', - 'mask-clip', - 'mask-composite', - 'mask-image', - 'mask-origin', - 'mask-position', - 'mask-repeat', - 'mask-size', - - // Multicolumn. - 'break-after', - 'break-before', - 'break-inside', - 'column-count', - 'column-fill', - 'column-gap', - 'column-rule', - 'column-rule-color', - 'column-rule-style', - 'column-rule-width', - 'column-span', - 'column-width', - 'columns', - - // Object fit. - 'object-fit', - 'object-position', - - // Regions. - 'flow-from', - 'flow-into', - 'region-fragment', - - // Scroll snap points. - 'scroll-snap-coordinate', - 'scroll-snap-destination', - 'scroll-snap-points-x', - 'scroll-snap-points-y', - 'scroll-snap-type', - - // Shapes. - 'shape-image-threshold', - 'shape-margin', - 'shape-outside', - - // Tab size. - 'tab-size', - - // Text align last. - 'text-align-last', - - // Text decoration. - 'text-decoration-color', - 'text-decoration-line', - 'text-decoration-skip', - 'text-decoration-style', - - // Text emphasis. - 'text-emphasis', - 'text-emphasis-color', - 'text-emphasis-position', - 'text-emphasis-style', - - // Text size adjust. - 'text-size-adjust', - - // Text spacing. - 'text-spacing', - - // Transform. - 'transform', - 'transform-origin', - - // Transform 3D. - 'backface-visibility', - 'perspective', - 'perspective-origin', - 'transform-style', - - // Transition. - 'transition', - 'transition-delay', - 'transition-duration', - 'transition-property', - 'transition-timing-function', - - // Unicode bidi. - 'unicode-bidi', - - // User select. - 'user-select', - - // Writing mode. - 'writing-mode', - - ); - - /// Values that should be vendorized. - /// Data via caniuse.com, github.com/postcss/autoprefixer, and developer.mozilla.org - /// @var {list} - $vendor-values: ( - - // Cross fade. - 'cross-fade', - - // Element function. - 'element', - - // Filter function. - 'filter', - - // Flexbox. - 'flex', - 'inline-flex', - - // Grab cursors. - 'grab', - 'grabbing', - - // Gradients. - 'linear-gradient', - 'repeating-linear-gradient', - 'radial-gradient', - 'repeating-radial-gradient', - - // Grid layout. - 'grid', - 'inline-grid', - - // Image set. - 'image-set', - - // Intrinsic width. - 'max-content', - 'min-content', - 'fit-content', - 'fill', - 'fill-available', - 'stretch', - - // Sticky position. - 'sticky', - - // Transform. - 'transform', - - // Zoom cursors. - 'zoom-in', - 'zoom-out', - - ); - -// Functions. - - /// Removes a specific item from a list. - /// @author Hugo Giraudel - /// @param {list} $list List. - /// @param {integer} $index Index. - /// @return {list} Updated list. - @function remove-nth($list, $index) { - - $result: null; - - @if type-of($index) != number { - @warn "$index: #{quote($index)} is not a number for `remove-nth`."; - } - @else if $index == 0 { - @warn "List index 0 must be a non-zero integer for `remove-nth`."; - } - @else if abs($index) > length($list) { - @warn "List index is #{$index} but list is only #{length($list)} item long for `remove-nth`."; - } - @else { - - $result: (); - $index: if($index < 0, length($list) + $index + 1, $index); - - @for $i from 1 through length($list) { - - @if $i != $index { - $result: append($result, nth($list, $i)); - } - - } - - } - - @return $result; - - } - - /// Replaces a substring within another string. - /// @author Hugo Giraudel - /// @param {string} $string String. - /// @param {string} $search Substring. - /// @param {string} $replace Replacement. - /// @return {string} Updated string. - @function str-replace($string, $search, $replace: '') { - - $index: str-index($string, $search); - - @if $index { - @return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace); - } - - @return $string; - - } - - /// Replaces a substring within each string in a list. - /// @param {list} $strings List of strings. - /// @param {string} $search Substring. - /// @param {string} $replace Replacement. - /// @return {list} Updated list of strings. - @function str-replace-all($strings, $search, $replace: '') { - - @each $string in $strings { - $strings: set-nth($strings, index($strings, $string), str-replace($string, $search, $replace)); - } - - @return $strings; - - } - -// Mixins. - - /// Wraps @content in vendorized keyframe blocks. - /// @param {string} $name Name. - @mixin keyframes($name) { - - @-moz-keyframes #{$name} { @content; } - @-webkit-keyframes #{$name} { @content; } - @-ms-keyframes #{$name} { @content; } - @keyframes #{$name} { @content; } - - } - - /// Vendorizes a declaration's property and/or value(s). - /// @param {string} $property Property. - /// @param {mixed} $value String/list of value(s). - @mixin vendor($property, $value) { - - // Determine if property should expand. - $expandProperty: index($vendor-properties, $property); - - // Determine if value should expand (and if so, add '-prefix-' placeholder). - $expandValue: false; - - @each $x in $value { - @each $y in $vendor-values { - @if $y == str-slice($x, 1, str-length($y)) { - - $value: set-nth($value, index($value, $x), '-prefix-' + $x); - $expandValue: true; - - } - } - } - - // Expand property? - @if $expandProperty { - @each $vendor in $vendor-prefixes { - #{$vendor}#{$property}: #{str-replace-all($value, '-prefix-', $vendor)}; - } - } - - // Expand just the value? - @elseif $expandValue { - @each $vendor in $vendor-prefixes { - #{$property}: #{str-replace-all($value, '-prefix-', $vendor)}; - } - } - - // Neither? Treat them as a normal declaration. - @else { - #{$property}: #{$value}; - } - - } \ No newline at end of file diff --git a/_sass/main.scss b/_sass/main.scss deleted file mode 100644 index 83739769..00000000 --- a/_sass/main.scss +++ /dev/null @@ -1,2283 +0,0 @@ - -@import 'libs/vars'; -@import 'libs/functions'; -@import 'libs/mixins'; -@import 'libs/vendor'; -@import 'libs/breakpoints'; -@import 'libs/html-grid'; -@import url('fontawesome-all.min.css'); -@import url("https://fonts.googleapis.com/css?family=Lato:400,400italic,700,700italic|Source+Code+Pro:400"); -//@import "base", "layout", "syntax-highlighting"; - - @include breakpoints(( - xlarge: ( 1281px, 1680px ), - large: ( 1025px, 1280px ), - medium: ( 737px, 1024px ), - small: ( 481px, 736px ), - xsmall: ( null, 480px ), - )); - - $size-header: 23em; - -// Reset. -// Based on meyerweb.com/eric/tools/css/reset (v2.0 | 20110126 | License: public domain) - - html, body, div, span, applet, object, - iframe, h1, h2, h3, h4, h5, h6, p, blockquote, - pre, a, abbr, acronym, address, big, cite, - code, del, dfn, em, img, ins, kbd, q, s, samp, - small, strike, strong, sub, sup, tt, var, b, - u, i, center, dl, dt, dd, ol, ul, li, fieldset, - form, label, legend, table, caption, tbody, - tfoot, thead, tr, th, td, article, aside, - canvas, details, embed, figure, figcaption, - footer, header, hgroup, menu, nav, output, ruby, - section, summary, time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; - font-size: 100%; - font: inherit; - vertical-align: baseline; - } - - article, aside, details, figcaption, figure, - footer, header, hgroup, menu, nav, section { - display: block; - } - - body { - line-height: 1; - } - - ol, ul { - list-style:none; - } - - blockquote, q { - quotes: none; - - &:before, - &:after { - content: ''; - content: none; - } - } - - table { - border-collapse: collapse; - border-spacing: 0; - } - - body { - -webkit-text-size-adjust: none; - } - - mark { - background-color: transparent; - color: inherit; - } - - input::-moz-focus-inner { - border: 0; - padding: 0; - } - - input, select, textarea { - -moz-appearance: none; - -webkit-appearance: none; - -ms-appearance: none; - appearance: none; - } - -/* Basic */ - - // Set box model to border-box. - // Based on css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice - html { - box-sizing: border-box; - } - - *, *:before, *:after { - box-sizing: inherit; - } - - body { - background: _palette(bg); - - // Stops initial animations until page loads. - &.is-preload { - *, *:before, *:after { - @include vendor('animation', 'none !important'); - @include vendor('transition', 'none !important'); - } - } - - } - - body, input, select, textarea { - color: _palette(fg); - font-family: _font(family); - font-size: 16pt; - font-weight: _font(weight); - line-height: 1.75em; - } - - a { - @include vendor('transition', ('color #{_duration(transition)} ease-in-out', 'border-color #{_duration(transition)} ease-in-out')); - border-bottom: solid 1px _palette(border2); - color: inherit; - text-decoration: none; - - &:hover { - border-bottom-color: transparent; - color: _palette(accent1, bg) !important; - } - } - - strong, b { - color: _palette(fg-bold); - font-weight: _font(weight-bold); - } - - em, i { - font-style: italic; - } - - p { - margin: 0 0 _size(element-margin) 0; - } - - h1, h2, h3, h4, h5, h6 { - color: _palette(fg-bold); - font-weight: _font(weight-bold); - line-height: 1em; - margin: 0 0 (_size(element-margin) * 0.25) 0; - - a { - border: 0; - color: inherit; - text-decoration: none; - } - } - - h2 { - font-size: 2em; - line-height: 1.5em; - } - - h3 { - font-size: 1.75em; - line-height: 1.5em; - } - - h4 { - font-size: 1.25em; - line-height: 1.5em; - } - - h5 { - font-size: 0.9em; - line-height: 1.5em; - } - - h6 { - font-size: 0.7em; - line-height: 1.5em; - } - - sub { - font-size: 0.8em; - position: relative; - top: 0.5em; - } - - sup { - font-size: 0.8em; - position: relative; - top: -0.5em; - } - - hr { - border: 0; - border-bottom: solid _size(border-width) _palette(border); - margin: _size(element-margin) 0; - - &.major { - margin: (_size(element-margin) * 1.5) 0; - } - } - - blockquote { - border-left: solid (_size(border-width) * 4) _palette(border2); - font-style: italic; - margin: 0 0 _size(element-margin) 0; - padding: 0.5em 0 0.5em 2em; - } - - code { - background: #555; - border-radius: _size(border-radius); - color: #fff; - font-family: _font(family-fixed); - font-size: 0.9em; - margin: 0 0.25em; - padding: 0.25em 0.65em; - } - - pre { - font-family: _font(family-fixed); - font-size: 0.9em; - margin: 0 0 _size(element-margin) 0; - - code { - -webkit-overflow-scrolling: touch; - display: block; - line-height: 1.5em; - overflow-x: auto; - padding: 1em 1.5em; - } - } - - .align-left { - text-align: left; - } - - .align-center { - text-align: center; - } - - .align-right { - text-align: right; - } - -/* Row */ - - .row { - @include html-grid(2em); - - @include breakpoint('<=xlarge') { - @include html-grid(2em, 'xlarge'); - } - - @include breakpoint('<=large') { - @include html-grid(1.5em, 'large'); - } - - @include breakpoint('<=medium') { - @include html-grid(1.5em, 'medium'); - } - - @include breakpoint('<=small') { - @include html-grid(1.25em, 'small'); - } - - @include breakpoint('<=xsmall') { - @include html-grid(1.25em, 'xsmall'); - } - } - -/* Container */ - - .container { - margin: 0 auto; - max-width: calc(100% - #{_size(element-margin) * 2}); - width: _size(container-width); - - &.xsmall { - width: (_size(container-width) * 0.25); - } - - &.small { - width: (_size(container-width) * 0.5); - } - - &.medium { - width: (_size(container-width) * 0.75); - } - - &.large { - width: (_size(container-width) * 1.25); - } - - &.xlarge { - width: (_size(container-width) * 1.5); - } - - &.max { - width: 100%; - } - - @include breakpoint('<=medium') { - width: 100% !important; - } - - @include breakpoint('<=xsmall') { - max-width: calc(100% - #{_size(element-margin) * 1.5}); - } - } - -/* Section/Article */ - - section, article { - &.special { - text-align: center; - } - } - - header { - p { - color: _palette(fg-light); - position: relative; - margin: 0 0 (_size(element-margin) * 0.75) 0; - } - - h2 + p { - font-size: 1.25em; - margin-top: -0.5em; - line-height: 1.5em; - } - - h3 + p { - font-size: 1.1em; - margin-top: -0.35em; - line-height: 1.5em; - } - - h4 + p, - h5 + p, - h6 + p { - font-size: 0.9em; - margin-top: -0.25em; - line-height: 1.5em; - } - - &.major { - h2 { - color: _palette(accent1, bg); - font-size: 3.5em; - - & + p { - color: _palette(fg-bold); - font-size: 1.75em; - font-weight: _font(weight-bold); - margin-top: -0.75em; - } - } - } - } - - footer { - } - -/* Form */ - - form { - margin: 0 0 _size(element-margin) 0; - } - - label { - color: _palette(fg-bold); - display: block; - font-size: 0.9em; - font-weight: _font(weight-bold); - margin: 0 0 (_size(element-margin) * 0.5) 0; - } - - input::-moz-focus-inner { - border: 0; - padding: 0; - } - - input[type="text"], - input[type="password"], - input[type="email"], - select, - textarea { - @include vendor('appearance', 'none'); - border-radius: _size(border-radius); - border: none; - border: solid _size(border-width) _palette(border2); - color: inherit; - display: block; - outline: 0; - padding: 0 1em; - text-decoration: none; - width: 100%; - - &:invalid { - box-shadow: none; - } - - &:focus { - border-color: _palette(accent1, bg); - } - } - - select { - background-image: svg-url(""); - background-size: 1.25em; - background-repeat: no-repeat; - background-position: calc(100% - 1em) center; - height: _size(element-height); - padding-right: _size(element-height); - text-overflow: ellipsis; - - option { - color: _palette(fg-bold); - background: _palette(bg); - } - - &:focus { - &::-ms-value { - background-color: transparent; - } - } - - &::-ms-expand { - display: none; - } - } - - input[type="text"], - input[type="password"], - input[type="email"], - select { - height: _size(element-height); - } - - textarea { - padding: 0.75em 1em; - } - - input[type="checkbox"], - input[type="radio"] { - @include vendor('appearance', 'none'); - display: block; - float: left; - margin-right: -2em; - opacity: 0; - width: 1em; - z-index: -1; - - & + label { - @include icon(false, solid); - color: _palette(fg); - cursor: pointer; - display: inline-block; - font-size: 1em; - font-weight: _font(weight); - padding-left: (_size(element-height) * 0.6) + 0.75em; - padding-right: 0.75em; - position: relative; - - &:before { - background: _palette(border-bg); - border-radius: _size(border-radius); - border: solid _size(border-width) _palette(border2); - content: ''; - display: inline-block; - font-size: 0.8em; - height: (_size(element-height) * 0.75); - left: 0; - line-height: (_size(element-height) * 0.75); - position: absolute; - text-align: center; - top: 0; - width: (_size(element-height) * 0.75); - } - } - - &:checked + label { - &:before { - background: _palette(accent2, bg); - border-color: _palette(accent2, bg); - color: _palette(accent2, fg-bold); - content: '\f00c'; - } - } - - &:focus + label { - &:before { - border-color: _palette(accent1, bg); - } - } - } - - input[type="checkbox"] { - & + label { - &:before { - border-radius: _size(border-radius); - } - } - } - - input[type="radio"] { - & + label { - &:before { - border-radius: 100%; - } - } - } - - ::-webkit-input-placeholder { - color: _palette(fg-light) !important; - font-style: italic; - opacity: 1.0; - } - - :-moz-placeholder { - color: _palette(fg-light) !important; - font-style: italic; - opacity: 1.0; - } - - ::-moz-placeholder { - color: _palette(fg-light) !important; - font-style: italic; - opacity: 1.0; - } - - :-ms-input-placeholder { - color: _palette(fg-light) !important; - font-style: italic; - opacity: 1.0; - } - -/* Box */ - - .box { - border-radius: _size(border-radius); - border: solid _size(border-width) _palette(border2); - margin-bottom: _size(element-margin); - padding: 1.5em; - - > :last-child, - > :last-child > :last-child, - > :last-child > :last-child > :last-child { - margin-bottom: 0; - } - - &.alt { - border: 0; - border-radius: 0; - padding: 0; - } - } - - -/* Icon */ - - .icon { - @include icon; - border-bottom: none; - position: relative; - - > .label { - display: none; - } - - &:before { - line-height: inherit; - } - - &.solid { - &:before { - font-weight: 900; - } - } - - &.brands { - &:before { - font-family: 'Font Awesome 5 Brands'; - } - } - } - -/* Image */ - - .image { - border-radius: _size(border-radius); - border: 0; - display: inline-block; - position: relative; - - &[data-position] { - img { - @include vendor('object-fit', 'cover'); - display: block; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - } - } - - &[data-position="top left"] { - img { - @include vendor('object-position', 'top left'); - } - } - - &[data-position="top"] { - img { - @include vendor('object-position', 'top'); - } - } - - &[data-position="top right"] { - img { - @include vendor('object-position', 'top right'); - } - } - - &[data-position="right"] { - img { - @include vendor('object-position', 'right'); - } - } - - &[data-position="bottom right"] { - img { - @include vendor('object-position', 'bottom right'); - } - } - - &[data-position="bottom"] { - img { - @include vendor('object-position', 'bottom'); - } - } - - &[data-position="bottom left"] { - img { - @include vendor('object-position', 'bottom left'); - } - } - - &[data-position="left"] { - img { - @include vendor('object-position', 'left'); - } - } - - &[data-position="center"] { - img { - @include vendor('object-position', 'center'); - } - } - - &[data-position="25% 25%"] { - img { - @include vendor('object-position', '25% 25%'); - } - } - - &[data-position="75% 25%"] { - img { - @include vendor('object-position', '75% 25%'); - } - } - - &[data-position="75% 75%"] { - img { - @include vendor('object-position', '75% 75%'); - } - } - - &[data-position="25% 75%"] { - img { - @include vendor('object-position', '25% 75%'); - } - } - - img { - border-radius: _size(border-radius); - display: block; - } - - &.left { - float: left; - margin: 0 2.5em 2em 0; - top: 0.25em; - } - - &.right { - float: right; - margin: 0 0 2em 2.5em; - top: 0.25em; - } - - &.fit { - display: block; - margin: 0 0 _size(element-margin) 0; - width: 100%; - - img { - display: block; - width: 100%; - } - } - - &.avatar { - border-radius: 200px; - overflow: hidden; - background: white; - width: 100%; - height: 70%; - img { - border-radius: 200px; - display: inline-block; - width: 85%; - } - } - - &.main { - display: block; - height: 20em; - border-radius: 0; - - img { - border-radius: 0; - } - } - } - -/* List */ - - ol { - list-style: decimal; - margin: 0 0 _size(element-margin) 0; - padding-left: 1.25em; - - li { - padding-left: 0.25em; - } - } - - ul { - list-style: disc; - margin: 0 0 _size(element-margin) 0; - padding-left: 1em; - - li { - padding-left: 0.5em; - } - - &.alt { - list-style: none; - padding-left: 0; - - li { - border-top: solid _size(border-width) _palette(border); - padding: 0.5em 0; - - &:first-child { - border-top: 0; - padding-top: 0; - } - } - } - } - - dl { - margin: 0 0 _size(element-margin) 0; - } - -/* Actions */ - - ul.actions { - @include vendor('display', 'flex'); - cursor: default; - list-style: none; - margin-left: (_size(element-margin) * -0.5); - padding-left: 0; - - li { - padding: 0 0 0 (_size(element-margin) * 0.5); - vertical-align: middle; - } - - &.special { - @include vendor('justify-content', 'center'); - width: 100%; - margin-left: 0; - - li { - &:first-child { - padding-left: 0; - } - } - } - - &.stacked { - @include vendor('flex-direction', 'column'); - margin-left: 0; - - li { - padding: (_size(element-margin) * 0.5) 0 0 0; - - &:first-child { - padding-top: 0; - } - } - } - - &.fit { - width: calc(100% + #{_size(element-margin) * 0.5}); - - li { - @include vendor('flex-grow', '1'); - @include vendor('flex-shrink', '1'); - width: 100%; - - > * { - width: 100%; - } - } - - &.stacked { - width: 100%; - } - } - - @include breakpoint('<=xsmall') { - &:not(.fixed) { - @include vendor('flex-direction', 'column'); - margin-left: 0; - width: 100% !important; - - li { - @include vendor('flex-grow', '1'); - @include vendor('flex-shrink', '1'); - padding: (_size(element-margin) * 0.5) 0 0 0; - text-align: center; - width: 100%; - - > * { - width: 100%; - } - - &:first-child { - padding-top: 0; - } - - input[type="submit"], - input[type="reset"], - input[type="button"], - button, - .button { - width: 100%; - - &.icon { - &:before { - margin-left: -0.5rem; - } - } - } - } - } - } - } - -/* Feature Icons */ - - ul.feature-icons { - list-style: none; - padding-left: 0; - - li { - @include icon; - display: inline-block; - margin: 0 0 (_size(element-margin) * 0.75) 0; - padding: 0.35em 0 0 3.5em; - position: relative; - vertical-align: top; - width: 48%; - - &:before { - background: _palette(accent1, bg); - border-radius: 100%; - color: _palette(accent1, fg-bold); - display: block; - height: 2.5em; - left: 0; - line-height: 2.5em; - position: absolute; - text-align: center; - top: 0; - width: 2.5em; - } - } - } - -/* Icons */ - - ul.icons { - cursor: default; - list-style: none; - padding-left: 0; - - li { - display: inline-block; - padding: 0 1em 0 0; - - &:last-child { - padding-right: 0 !important; - } - - .icon { - &:before { - font-size: 1.25em; - } - } - } - } - -/* Table */ - - .table-wrapper { - -webkit-overflow-scrolling: touch; - overflow-x: auto; - } - - table { - margin: 0 0 _size(element-margin) 0; - width: 100%; - - tbody { - tr { - border: solid _size(border-width) _palette(border); - border-left: 0; - border-right: 0; - - &:nth-child(2n + 1) { - background-color: _palette(border-bg); - } - } - } - - td { - padding: 0.75em 0.75em; - } - - th { - color: _palette(fg-bold); - font-size: 0.9em; - font-weight: _font(weight-bold); - padding: 0 0.75em 0.75em 0.75em; - text-align: left; - } - - thead { - border-bottom: solid (_size(border-width) * 2) _palette(border2); - } - - tfoot { - border-top: solid (_size(border-width) * 2) _palette(border2); - } - - &.alt { - border-collapse: separate; - - tbody { - tr { - td { - border: solid _size(border-width) _palette(border2); - border-left-width: 0; - border-top-width: 0; - - &:first-child { - border-left-width: _size(border-width); - } - } - - &:first-child { - td { - border-top-width: _size(border-width); - } - } - } - } - - thead { - border-bottom: 0; - } - - tfoot { - border-top: 0; - } - } - } - -/* Button */ - - input[type="submit"], - input[type="reset"], - input[type="button"], - .button { - @include vendor('appearance', 'none'); - @include vendor('transition', ('background-color #{_duration(transition)} ease-in-out', 'color #{_duration(transition)} ease-in-out')); - background-color: _palette(accent2, bg); - border-radius: _size(border-radius); - border: 0; - color: _palette(accent2, fg-bold) !important; - cursor: pointer; - display: inline-block; - font-weight: _font(weight-bold); - height: _size(element-height); - line-height: _size(element-height); - padding: 0 1.5em; - text-align: center; - text-decoration: none; - white-space: nowrap; - - &:hover { - background-color: lighten(_palette(accent2, bg), 5); - color: _palette(accent2, fg-bold) !important; - } - - &:active { - background-color: darken(_palette(accent2, bg), 5); - } - - &.icon { - padding-left: 1.35em; - - &:before { - margin-right: 0.5em; - } - } - - &.fit { - width: 100%; - } - - &.small { - font-size: 0.8em; - } - - &.large { - font-size: 1.35em; - } - - &.alt { - background-color: transparent; - box-shadow: inset 0 0 0 _size(border-width) _palette(border2); - color: _palette(fg-bold) !important; - - &:hover { - background-color: _palette(border2-bg); - color: _palette(fg-bold) !important; - } - - &:active { - background-color: _palette(border3-bg); - } - - &.icon { - &:before { - color: _palette(fg-light); - } - } - } - - &.primary { - background-color: _palette(accent1, bg); - color: _palette(accent1, fg-bold) !important; - - &:hover { - background-color: lighten(_palette(accent1, bg), 5); - } - - &:active { - background-color: darken(_palette(accent1, bg), 5); - } - } - - &.disabled, - &:disabled { - background-color: _palette(fg) !important; - box-shadow: inset 0 -0.15em 0 0 rgba(0,0,0,0.15); - color: _palette(bg) !important; - cursor: default; - opacity: 0.25; - } - } - -/* Features */ - - .features { - article { - border-top: solid (_size(border-width) * 1.5) _palette(border); - margin-bottom: _size(element-margin); - padding-top: _size(element-margin); - - &:first-child { - border-top: 0; - padding-top: 0; - } - - .image { - display: inline-block; - padding-right: 2.5em; - vertical-align: middle; - width: 48%; - - img { - display: block; - width: 100%; - } - } - - .inner { - display: inline-block; - vertical-align: middle; - width: 50%; - padding-left: 10px; - padding-right: 10px; - - > :last-child { - margin-bottom: 0; - } - } - } - } - -/* Header */ - - #header::-webkit-scrollbar { - display: none; - } - - #header { - @include vendor('display', 'flex'); - @include vendor('flex-direction', 'column'); - @include vendor('justify-content', 'space-between'); - background: _palette(header, bg); - color: _palette(header, fg); - height: 100%; - overflow-y: auto; - position: fixed; - text-align: center; - top: 0; - width: $size-header; - transition: linear .5s; - -ms-overflow-style: none; /* IE and Edge */ - scrollbar-width: none; /* Firefox */ - - @if _misc(header-side) == 'right' { - right: 0; - } - @else { - left: 0; - } - - h1, h2, h3, h4, h5, h6 { - color: _palette(header, fg-bold); - - a { - color: _palette(header, fg-bold); - } - } - - header { - p { - color: _palette(header, fg-light); - } - } - - a { - color: _palette(header, fg); - - &:hover { - color: _palette(header, fg-bold) !important; - } - } - - > header { - @include vendor('flex-shrink', '0'); - padding: 2em; - - - .avatar { - display: block; - margin: 0 auto _size(element-margin) auto; - width: 8em; - } - - h1 { - font-size: 1.75em; - margin: 0; - } - - p { - color: _palette(header, fg); - font-style: italic; - margin: 1em 0 0 0; - } - } - - > footer { - @include vendor('flex-shrink', '0'); - bottom: 0; - left: 0; - padding: 2em; - width: 100%; - - .icons { - margin: 0; - - li { - a { - color: _palette(header, fg-light); - } - } - } - } - - > nav { - @include vendor('flex-grow', '1'); - - ul { - list-style: none; - margin: 0; - padding: 0; - - li { - border-top: solid _size(border-width) _palette(header, border); - display: block; - padding: 0; - - - a { - @include vendor('transition', 'none'); - border: 0; - color: _palette(header, fg-bold) !important; - display: block; - padding: 0.85em 0; - text-decoration: none; - - &.active { - background: _palette(bg); - color: _palette(header, bg) !important; - } - } - - &:first-child { - border-top: 0; - } - } - } - } - } - - #header.hidden { - right: -23em; - } - -/* Wrapper */ - - #wrapper { - background: _palette(bg); - transition: linear .5s; - - @if _misc(header-side) == 'right' { - padding-right: $size-header; - } - @else { - padding-left: $size-header; - } - } - - #wrapper.expand { - padding-right: 0; - } - -/* Main */ - - #main { - > section { - border-bottom: solid (_size(border-width) * 3) _palette(border); - - > .container { - padding: 6em 0 4em 0; - } - - &:first-child { - border-top: 0; - } - } - } - -/* Footer */ - - #footer { - background: #fafafa; - border-top: 0; - color: #c0c0c0; - overflow: hidden; - padding: 4em 0 2em 0; - - .copyright { - line-height: 1em; - list-style: none; - padding: 0; - - li { - border-left: solid 1px #d4d4d4; - display: inline-block; - font-size: 0.8em; - margin-left: 1em; - padding-left: 1em; - - &:first-child { - border-left: 0; - margin-left: 0; - padding-left: 0; - } - - a { - color: inherit; - } - } - } - } - -/* XLarge */ - - @include breakpoint('<=xlarge') { - - $size-header: 21em; - - /* Basic */ - - body, input, select, textarea { - font-size: 13pt; - } - - /* Header */ - - #header { - width: $size-header; - - > header { - padding: 2em; - } - - > footer { - padding: 1.5em; - } - } - - /* Wrapper */ - - #wrapper { - @if _misc(header-side) == 'right' { - padding-right: $size-header; - } - @else { - padding-left: $size-header; - } - } - - /* Main */ - - #main { - > section { - > .container { - padding: 4em 0 2em 0; - } - } - } - - } - -/* Large */ - - @include breakpoint('<=large') { - - $size-header: 20em; - - /* Basic */ - - body, input, select, textarea { - font-size: 11pt; - } - - /* Header */ - - #header { - width: $size-header; - } - - /* Wrapper */ - - #wrapper { - @if _misc(header-side) == 'right' { - padding-right: $size-header; - } - @else { - padding-left: $size-header; - } - } - - } - -/* Medium */ - - #titleBar { - display: none; - } - - @include breakpoint('<=medium') { - - /* Basic */ - - html, body { - overflow-x: hidden; - } - - body, input, select, textarea { - font-size: 12pt; - } - - /* Image */ - - .image { - &.left, - &.right { - max-width: 40%; - - img { - width: 100%; - } - } - - &.main { - height: 20em; - } - } - - /* Header */ - - #header { - @include vendor('backface-visibility', 'hidden'); - @include vendor('transition', ('transform #{_duration(header)} ease')); - display: block; - height: 100%; - overflow-y: auto; - position: fixed; - top: 0; - width: $size-header; - z-index: _misc(z-index-base) + 2; - - @if _misc(header-side) == 'right' { - @include vendor('transform', 'translateX(#{$size-header})'); - right: 0; - } - @else { - @include vendor('transform', 'translateX(#{$size-header * -1})'); - left: 0; - } - - > footer { - bottom: auto; - left: auto; - margin: 0.5em 0 0 0; - position: relative; - right: auto; - top: auto; - } - } - - /* Wrapper */ - - #wrapper { - @include vendor('backface-visibility', 'hidden'); - @include vendor('transition', 'transform #{_duration(header)} ease'); - padding: 44px 0 1px 0; - } - - /* Header Panel */ - - #titleBar { - @include vendor('backface-visibility', 'hidden'); - @include vendor('transition', 'transform #{_duration(header)} ease'); - display: block; - height: 44px; - left: 0; - position: fixed; - top: 0; - width: 100%; - z-index: _misc(z-index-base) + 1; - background: #222; - color: #fff; - min-width: 320px; - - .title { - color: #fff; - display: block; - font-weight: _font(weight-bold); - height: 44px; - line-height: 44px; - padding: 0 1em; - width: 100%; - - @if _misc(header-side) == 'right' { - text-align: left; - } - @else { - text-align: right; - } - - a { - border: 0; - text-decoration: none; - } - } - - .toggle { - @include icon(false, solid); - height: 4em; - position: absolute; - top: 0; - width: 6em; - border: 0; - outline: 0; - - @if _misc(header-side) == 'right' { - right: 0; - } - @else { - left: 0; - } - - &:before { - background: _palette(accent1, bg); - color: _palette(accent1, fg-bold); - content: '\f0c9'; - display: block; - font-size: 18px; - height: 44px; - line-height: 44px; - position: absolute; - text-align: center; - top: 0; - width: 64px; - - @if _misc(header-side) == 'right' { - right: 0; - } - @else { - left: 0; - } - } - } - } - - body { - &.header-visible { - #wrapper, #titleBar { - @if _misc(header-side) == 'right' { - @include vendor('transform', 'translateX(#{$size-header * -1})'); - } - @else { - @include vendor('transform', 'translateX(#{$size-header})'); - } - } - - #header { - @include vendor('transform', 'translateX(0)'); - } - } - } - - } - -/* Small */ - - @include breakpoint('<=small') { - - $size-header: 17em; - - /* Basic */ - - body, input, select, textarea { - font-size: 12pt; - } - - h1, h2, h3, h4, h5, h6 { - br { - display: none; - } - } - - h2 { - font-size: 1.75em; - } - - h3 { - font-size: 1.5em; - } - - h4 { - font-size: 1em; - } - - /* Image */ - - .image { - &.left { - margin: 0 1.5em 1em 0; - } - - &.right { - margin: 0 0 1em 1.5em; - } - - &.main { - height: 12em; - } - } - - /* Section/Article */ - - header { - br { - display: none; - } - - &.major { - h2 { - font-size: 2.5em; - - & + p { - font-size: 1.5em; - } - } - } - } - - /* Features */ - - .features { - article { - .image { - display: block; - margin: 0 0 _size(element-margin) 0; - padding-right: 0; - width: 100%; - } - - .inner { - display: block; - width: 100%; - } - } - } - - /* Header */ - - #header { - width: $size-header; - - @if _misc(header-side) == 'right' { - @include vendor('transform', 'translateX(#{$size-header})'); - right: 0; - } - @else { - @include vendor('transform', 'translateX(#{$size-header * -1})'); - left: 0; - } - - > header { - padding: 2em; - - .avatar { - margin: 0 auto (_size(element-margin) * 0.75) auto; - width: 6em; - } - - h1 { - font-size: 1.5em; - } - - p { - margin: 1em 0 0 0; - } - } - - > footer { - padding: 1.5em; - } - } - - /* Main */ - - #main { - > section { - > .container { - padding: 2em 0 0 0; - } - } - } - - /* Footer */ - - #footer { - text-align: center; - - .copyright { - li { - border-left: 0; - display: block; - line-height: 1.75em; - margin: 0.75em 0 0 0; - padding-left: 0; - - &:first-child { - margin-top: 0; - } - } - } - } - - /* Header Panel */ - - #titleBar { - .toggle { - height: 4em; - width: 6em; - - &:before { - font-size: 14px; - width: 44px; - } - } - } - - body { - &.header-visible { - #wrapper, #titleBar { - @if _misc(header-side) == 'right' { - @include vendor('transform', 'translateX(#{$size-header * -1})'); - } - @else { - @include vendor('transform', 'translateX(#{$size-header})'); - } - } - } - } - - } - -/* XSmall */ - - @include breakpoint('<=xsmall') { - - /* Basic */ - - html, body { - min-width: 320px; - } - - body, input, select, textarea { - font-size: 12pt; - } - - /* List */ - - ul { - &.actions { - margin: 0 0 _size(element-margin) 0; - - li { - display: block; - padding: (_size(element-margin) * 0.5) 0 0 0; - text-align: center; - width: 100%; - - &:first-child { - padding-top: 0; - } - - > * { - width: 100%; - margin: 0 !important; - - &.icon { - &:before { - margin-left: -2em; - } - } - } - } - - &.small { - li { - padding: (_size(element-margin) * 0.25) 0 0 0; - - &:first-child { - padding-top: 0; - } - } - } - } - - &.feature-icons { - li { - display: block; - width: 100%; - } - } - } - - /* Button */ - - input[type="submit"], - input[type="reset"], - input[type="button"], - .button { - padding: 0; - } - - } - - /* Loading Screen */ - - .loader { - position: fixed; - z-index: 99; - top: 0; - left: 0; - width: 100%; - height: 100%; - background:#191f26; - display: flex; - justify-content: center; - align-items: center; - } - - .loader.hidden { - animation: fadeOut 1s; - animation-fill-mode: forwards; - } - - @keyframes fadeOut { - 100% { - opacity: 0; - visibility: hidden; - } - } - - /* Hide Sidebar Button */ - - - - - /* Team */ - -.our-team { - padding: 40px 0; - background: white; - text-align: center; -} - -.team-inner { - max-width: 1200px; - margin: auto; - overflow: hidden; - padding: 0 20px; -} - -.team-border { - width: 160px; - height: 5px; - background: #5ad3fe; - margin: 26px auto; -} - -.team-row { - display: flex; - flex-wrap: wrap; - justify-content: center; -} - -.team-col { - flex: 33.33%; - max-width: 33.33%; - box-sizing: border-box; - padding: 15px; -} - -.team-member { - background: #fff; - padding: 30px; -} - -.team-member img{ - width:100px; - height: 100px; - border-radius: 50%; -} - -.team-member-name { - font-size:20px; - text-transform: uppercase; - margin: 20px 0; -} - -@media screen and (max-width:600px) { - .team-col { - flex: 100%; - max-width: 100%; - } -} - -@media screen and (max-width:960px) { - .team-col { - flex: 100%; - max-width: 80%; - } -} - -#toggle-btn.shift { - right: 0; -} - -#toggle-btn { - display: block; - position: fixed; - height: 40px; - border: none; - width: 45px; - z-index: 2; - background: #5ad3fe; - color: #5ad3fe; -} - -.icon-bars { - text-align: center; - vertical-align: middle; -} - -@media screen and (max-width:1024px) { - #toggle-btn { - display: none; - } -} - -/* Card */ -.card { - box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); - transition: 0.5s; - border-radius: 10px; - } - - .card:hover { - box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2); - } - - .container { - padding: 2px 16px; - } - - -/* Modal */ - -.Modal{ - display: block; - position: fixed; - left: 0; - top: 0; - z-index: 100; - width: 100%; - height: 100%; - padding-top: 100px; - background-color: black; - background-color: rgba(0, 0, 0, 0.4); - -webkit-transition: 0.2s; - overflow: auto; - transition: all 0.3s linear; -} - -.Modal-content { - background-color: #fefefe; - margin: auto; - max-width: 90%; - min-width: 50%; - min-height: 80%; - padding: 20px; - border-radius: 6px; - margin-bottom: 100px; -} - -.Close { - color: #aaaaaa; - float: right; - font-size: 36px; - } - -.Close:hover, .Close:focus { - color: #000; - text-decoration: none; - cursor: pointer; -} - -.is-blurred { - filter: blur(2px); - -webkit-filter: blur(2px); -} - -.is-visuallyHidden { opacity: 0; } -.is-hidden { display: none; } -.ModalOpen { overflow: hidden; } - -.collapsible{ - background-color: #777; - color: white; - cursor: pointer; - padding: 18px; - width: 100%; - border: none; - text-align: left; - outline: none; - font-size: 15px; -} - -.active, .collapsible:hover { - background-color: #ccc; - -} - -.content { - padding: 0 18px; - display: none; - overflow: hidden; - background-color: #f1f1f1; -} - -.links{ - color: #5ad3fe; - padding-right: 0px; - float: right; -} - -@media only screen and (max-width: 950px){ - .links{ - color: #5ad3fe; - padding-right: 0px; - float: inherit; - } -} - -.lm-images{ - max-width: 50%; - height: auto; - padding: 10px; -} - -.show{ - display: block; -} - -.btn{ - border: none; - outline: none; - padding: 12px 16px; - background-color: #f1f1f1; - cursor: pointer; - float: right; -} - -.btn:hover{ - background-color: #ddd; -} - -.btn.active{ - background-color: #666; - color: white; -} - -.card-btn{ - padding: 10px; -} - -/* All Post Cards */ -.cards { - box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); - transition: 0.5s; - border-radius: 10px; - border-radius: 10px 10px 10px 10px; - width: auto; - margin-bottom: 8px; - } - - .cards:hover { - box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2); - } - - .container { - padding: 2px 16px; - } - - .image_box{ - display: inline-flex; - padding: 10px; - } - - .title{ - display: flex; - justify-content: center; - font-size: 25px; - } - - .img_all{ - width: 8%; - min-width: 150px; - } - -@media only screen and (max-width: 950px){ - .cards { - box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); - transition: 0.5s; - border-radius: 10px 10px 10px 10px; - width: auto; - } - - .cards:hover { - box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2); - } - - .container { - padding: 2px 16px; - } - - .image_box{ - display: inline-flex; - padding: 10px; - } - - .title{ - display: flex; - justify-content: center; - text-align: center; - font-size: 20px; - } - - .img_all{ - display: none; - } - - #titleBar .toggle{ - display: none; - } - } - -/* All blogs page view */ -.all-post-header{ - text-align: center; -} - -#total-value{ - text-align: center; -} - -#dropdown-options{ - margin: 10px; - display: grid; - grid-template-columns: auto auto auto auto; - text-align: center; -} - -.dropdown-box{ - width: min-content; - margin: auto; - border: none; - margin-block: inherit; -} - -.price-head{ - text-align: center; -} - -.total, .reset_button{ - display: inline-grid; -} - -@media only screen and (max-width: 950px){ - #total-value{ - text-align: center; - } - - #dropdown-options{ - margin: 10px; - display: block; - } - - .dropdown-box{ - border: none; - margin: auto; - width: min-content; - margin-block: inherit; - } - - .price-head{ - text-align: center; - } - .total, .reset_button{ - display: inline-grid; - } -} - -.dropdown-text{ - padding: .5em; -} - -.dropdown-text::after{ - content: '?'; - display: inline-block; - font-family: sans-serif; - font-weight: bold; - text-align: center; - font-size: 0.8em; - line-height: 0.8em; - border-radius: 50%; - margin-left: 6px; - padding: 0.13em 0.2em 0.09em 0.2em; - color: inherit; - border: 1px solid; - text-decoration: none; -} - -.popuptext{ - display: none; -} - -.popuptext-test{ - display: none; -} - -.dropdown-text:hover + .popuptext{ - display: block; - position: absolute; - background-color: #555; - color: #fff; - text-align: center; - width: 51em; - border-radius: 1em; - margin: 1.5em; -} - -.dropdown-text:hover + .popuptext-test{ - display: inline-block; - position: absolute; - background-color: #555; - color: #fff; - text-align: center; - width: 51em; - border-radius: 1em; - margin: 1.5em; -} diff --git a/_sass/style.css b/_sass/style.css deleted file mode 100644 index 0799ed3b..00000000 --- a/_sass/style.css +++ /dev/null @@ -1,57 +0,0 @@ -blockquote{ - border-left-style: solid; - border-left-color: rgb(228, 228, 228); - border-left-width: 8px; - font-style: italic; - margin-bottom: 2.25em; - padding: 0.5em 0 0.5em 2em; -} - -pre code{ - display: block; - line-height: 1.5em; - overflow-x: auto; - padding: 1em 1.5em; -} - -code{ - background: #555; - border-radius: 5px; - color: #fff; - font-family: "Source Code Pro", monospace; - font-size: 0.9em; - margin: 0 0.25em; - padding: 0.25em 0.65em; -} - -h1{ - text-align: center; - color: #777; - font-family: Lato; - font-weight: 700; - font-size: 2.75em; -} - -a{ - font-family: Lato; - color: #5ad3fe; - text-decoration: none; -} - -.date{ - text-align: center; - font-family: Lato; - font-size: larger; - margin: -15px; -} - -.body{ - font-family: Lato; - font-size: large; - margin: 10px; -} - -img{ - display: block; - margin: auto; -} diff --git a/about.md b/about.md deleted file mode 100644 index 8b4e0b28..00000000 --- a/about.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -layout: page -title: About -permalink: /about/ ---- - -This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](https://jekyllrb.com/) - -You can find the source code for Minima at GitHub: -[jekyll][jekyll-organization] / -[minima](https://github.com/jekyll/minima) - -You can find the source code for Jekyll at GitHub: -[jekyll][jekyll-organization] / -[jekyll](https://github.com/jekyll/jekyll) - - -[jekyll-organization]: https://github.com/jekyll diff --git a/allPosts.html b/allPosts.html deleted file mode 100644 index 1ead754b..00000000 --- a/allPosts.html +++ /dev/null @@ -1,80 +0,0 @@ ---- -layout: sidbar_removed ---- - - - -{% for post in site.posts %} - - {% endfor %} - - -
- Loading... -
- -
- - - - - -
- - - -
- -

All Posts

- -
- - - - diff --git a/assets/.DS_Store b/assets/.DS_Store deleted file mode 100644 index c181118b..00000000 Binary files a/assets/.DS_Store and /dev/null differ diff --git a/assets/css/fontawesome-all.min.css b/assets/css/fontawesome-all.min.css deleted file mode 100644 index b7d052b6..00000000 --- a/assets/css/fontawesome-all.min.css +++ /dev/null @@ -1,5 +0,0 @@ -/*! - * Font Awesome Free 5.9.0 by @fontawesome - https://fontawesome.com - * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) - */ -.fa,.fab,.fal,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:inline-block;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{animation:fa-spin 2s infinite linear}.fa-pulse{animation:fa-spin 1s infinite steps(8)}@keyframes fa-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";transform:scaleX(-1)}.fa-flip-vertical{transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)"}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{transform:scale(-1)}:root .fa-flip-both,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{filter:none}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-500px:before{content:"\f26e"}.fa-accessible-icon:before{content:"\f368"}.fa-accusoft:before{content:"\f369"}.fa-acquisitions-incorporated:before{content:"\f6af"}.fa-ad:before{content:"\f641"}.fa-address-book:before{content:"\f2b9"}.fa-address-card:before{content:"\f2bb"}.fa-adjust:before{content:"\f042"}.fa-adn:before{content:"\f170"}.fa-adobe:before{content:"\f778"}.fa-adversal:before{content:"\f36a"}.fa-affiliatetheme:before{content:"\f36b"}.fa-air-freshener:before{content:"\f5d0"}.fa-airbnb:before{content:"\f834"}.fa-algolia:before{content:"\f36c"}.fa-align-center:before{content:"\f037"}.fa-align-justify:before{content:"\f039"}.fa-align-left:before{content:"\f036"}.fa-align-right:before{content:"\f038"}.fa-alipay:before{content:"\f642"}.fa-allergies:before{content:"\f461"}.fa-amazon:before{content:"\f270"}.fa-amazon-pay:before{content:"\f42c"}.fa-ambulance:before{content:"\f0f9"}.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-amilia:before{content:"\f36d"}.fa-anchor:before{content:"\f13d"}.fa-android:before{content:"\f17b"}.fa-angellist:before{content:"\f209"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-down:before{content:"\f107"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angry:before{content:"\f556"}.fa-angrycreative:before{content:"\f36e"}.fa-angular:before{content:"\f420"}.fa-ankh:before{content:"\f644"}.fa-app-store:before{content:"\f36f"}.fa-app-store-ios:before{content:"\f370"}.fa-apper:before{content:"\f371"}.fa-apple:before{content:"\f179"}.fa-apple-alt:before{content:"\f5d1"}.fa-apple-pay:before{content:"\f415"}.fa-archive:before{content:"\f187"}.fa-archway:before{content:"\f557"}.fa-arrow-alt-circle-down:before{content:"\f358"}.fa-arrow-alt-circle-left:before{content:"\f359"}.fa-arrow-alt-circle-right:before{content:"\f35a"}.fa-arrow-alt-circle-up:before{content:"\f35b"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-down:before{content:"\f063"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrows-alt:before{content:"\f0b2"}.fa-arrows-alt-h:before{content:"\f337"}.fa-arrows-alt-v:before{content:"\f338"}.fa-artstation:before{content:"\f77a"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asterisk:before{content:"\f069"}.fa-asymmetrik:before{content:"\f372"}.fa-at:before{content:"\f1fa"}.fa-atlas:before{content:"\f558"}.fa-atlassian:before{content:"\f77b"}.fa-atom:before{content:"\f5d2"}.fa-audible:before{content:"\f373"}.fa-audio-description:before{content:"\f29e"}.fa-autoprefixer:before{content:"\f41c"}.fa-avianex:before{content:"\f374"}.fa-aviato:before{content:"\f421"}.fa-award:before{content:"\f559"}.fa-aws:before{content:"\f375"}.fa-baby:before{content:"\f77c"}.fa-baby-carriage:before{content:"\f77d"}.fa-backspace:before{content:"\f55a"}.fa-backward:before{content:"\f04a"}.fa-bacon:before{content:"\f7e5"}.fa-balance-scale:before{content:"\f24e"}.fa-balance-scale-left:before{content:"\f515"}.fa-balance-scale-right:before{content:"\f516"}.fa-ban:before{content:"\f05e"}.fa-band-aid:before{content:"\f462"}.fa-bandcamp:before{content:"\f2d5"}.fa-barcode:before{content:"\f02a"}.fa-bars:before{content:"\f0c9"}.fa-baseball-ball:before{content:"\f433"}.fa-basketball-ball:before{content:"\f434"}.fa-bath:before{content:"\f2cd"}.fa-battery-empty:before{content:"\f244"}.fa-battery-full:before{content:"\f240"}.fa-battery-half:before{content:"\f242"}.fa-battery-quarter:before{content:"\f243"}.fa-battery-three-quarters:before{content:"\f241"}.fa-battle-net:before{content:"\f835"}.fa-bed:before{content:"\f236"}.fa-beer:before{content:"\f0fc"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-bell:before{content:"\f0f3"}.fa-bell-slash:before{content:"\f1f6"}.fa-bezier-curve:before{content:"\f55b"}.fa-bible:before{content:"\f647"}.fa-bicycle:before{content:"\f206"}.fa-biking:before{content:"\f84a"}.fa-bimobject:before{content:"\f378"}.fa-binoculars:before{content:"\f1e5"}.fa-biohazard:before{content:"\f780"}.fa-birthday-cake:before{content:"\f1fd"}.fa-bitbucket:before{content:"\f171"}.fa-bitcoin:before{content:"\f379"}.fa-bity:before{content:"\f37a"}.fa-black-tie:before{content:"\f27e"}.fa-blackberry:before{content:"\f37b"}.fa-blender:before{content:"\f517"}.fa-blender-phone:before{content:"\f6b6"}.fa-blind:before{content:"\f29d"}.fa-blog:before{content:"\f781"}.fa-blogger:before{content:"\f37c"}.fa-blogger-b:before{content:"\f37d"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-bold:before{content:"\f032"}.fa-bolt:before{content:"\f0e7"}.fa-bomb:before{content:"\f1e2"}.fa-bone:before{content:"\f5d7"}.fa-bong:before{content:"\f55c"}.fa-book:before{content:"\f02d"}.fa-book-dead:before{content:"\f6b7"}.fa-book-medical:before{content:"\f7e6"}.fa-book-open:before{content:"\f518"}.fa-book-reader:before{content:"\f5da"}.fa-bookmark:before{content:"\f02e"}.fa-bootstrap:before{content:"\f836"}.fa-border-all:before{content:"\f84c"}.fa-border-none:before{content:"\f850"}.fa-border-style:before{content:"\f853"}.fa-bowling-ball:before{content:"\f436"}.fa-box:before{content:"\f466"}.fa-box-open:before{content:"\f49e"}.fa-boxes:before{content:"\f468"}.fa-braille:before{content:"\f2a1"}.fa-brain:before{content:"\f5dc"}.fa-bread-slice:before{content:"\f7ec"}.fa-briefcase:before{content:"\f0b1"}.fa-briefcase-medical:before{content:"\f469"}.fa-broadcast-tower:before{content:"\f519"}.fa-broom:before{content:"\f51a"}.fa-brush:before{content:"\f55d"}.fa-btc:before{content:"\f15a"}.fa-buffer:before{content:"\f837"}.fa-bug:before{content:"\f188"}.fa-building:before{content:"\f1ad"}.fa-bullhorn:before{content:"\f0a1"}.fa-bullseye:before{content:"\f140"}.fa-burn:before{content:"\f46a"}.fa-buromobelexperte:before{content:"\f37f"}.fa-bus:before{content:"\f207"}.fa-bus-alt:before{content:"\f55e"}.fa-business-time:before{content:"\f64a"}.fa-buysellads:before{content:"\f20d"}.fa-calculator:before{content:"\f1ec"}.fa-calendar:before{content:"\f133"}.fa-calendar-alt:before{content:"\f073"}.fa-calendar-check:before{content:"\f274"}.fa-calendar-day:before{content:"\f783"}.fa-calendar-minus:before{content:"\f272"}.fa-calendar-plus:before{content:"\f271"}.fa-calendar-times:before{content:"\f273"}.fa-calendar-week:before{content:"\f784"}.fa-camera:before{content:"\f030"}.fa-camera-retro:before{content:"\f083"}.fa-campground:before{content:"\f6bb"}.fa-canadian-maple-leaf:before{content:"\f785"}.fa-candy-cane:before{content:"\f786"}.fa-cannabis:before{content:"\f55f"}.fa-capsules:before{content:"\f46b"}.fa-car:before{content:"\f1b9"}.fa-car-alt:before{content:"\f5de"}.fa-car-battery:before{content:"\f5df"}.fa-car-crash:before{content:"\f5e1"}.fa-car-side:before{content:"\f5e4"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-caret-square-down:before{content:"\f150"}.fa-caret-square-left:before{content:"\f191"}.fa-caret-square-right:before{content:"\f152"}.fa-caret-square-up:before{content:"\f151"}.fa-caret-up:before{content:"\f0d8"}.fa-carrot:before{content:"\f787"}.fa-cart-arrow-down:before{content:"\f218"}.fa-cart-plus:before{content:"\f217"}.fa-cash-register:before{content:"\f788"}.fa-cat:before{content:"\f6be"}.fa-cc-amazon-pay:before{content:"\f42d"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-apple-pay:before{content:"\f416"}.fa-cc-diners-club:before{content:"\f24c"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-cc-visa:before{content:"\f1f0"}.fa-centercode:before{content:"\f380"}.fa-centos:before{content:"\f789"}.fa-certificate:before{content:"\f0a3"}.fa-chair:before{content:"\f6c0"}.fa-chalkboard:before{content:"\f51b"}.fa-chalkboard-teacher:before{content:"\f51c"}.fa-charging-station:before{content:"\f5e7"}.fa-chart-area:before{content:"\f1fe"}.fa-chart-bar:before{content:"\f080"}.fa-chart-line:before{content:"\f201"}.fa-chart-pie:before{content:"\f200"}.fa-check:before{content:"\f00c"}.fa-check-circle:before{content:"\f058"}.fa-check-double:before{content:"\f560"}.fa-check-square:before{content:"\f14a"}.fa-cheese:before{content:"\f7ef"}.fa-chess:before{content:"\f439"}.fa-chess-bishop:before{content:"\f43a"}.fa-chess-board:before{content:"\f43c"}.fa-chess-king:before{content:"\f43f"}.fa-chess-knight:before{content:"\f441"}.fa-chess-pawn:before{content:"\f443"}.fa-chess-queen:before{content:"\f445"}.fa-chess-rook:before{content:"\f447"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-down:before{content:"\f078"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-chevron-up:before{content:"\f077"}.fa-child:before{content:"\f1ae"}.fa-chrome:before{content:"\f268"}.fa-chromecast:before{content:"\f838"}.fa-church:before{content:"\f51d"}.fa-circle:before{content:"\f111"}.fa-circle-notch:before{content:"\f1ce"}.fa-city:before{content:"\f64f"}.fa-clinic-medical:before{content:"\f7f2"}.fa-clipboard:before{content:"\f328"}.fa-clipboard-check:before{content:"\f46c"}.fa-clipboard-list:before{content:"\f46d"}.fa-clock:before{content:"\f017"}.fa-clone:before{content:"\f24d"}.fa-closed-captioning:before{content:"\f20a"}.fa-cloud:before{content:"\f0c2"}.fa-cloud-download-alt:before{content:"\f381"}.fa-cloud-meatball:before{content:"\f73b"}.fa-cloud-moon:before{content:"\f6c3"}.fa-cloud-moon-rain:before{content:"\f73c"}.fa-cloud-rain:before{content:"\f73d"}.fa-cloud-showers-heavy:before{content:"\f740"}.fa-cloud-sun:before{content:"\f6c4"}.fa-cloud-sun-rain:before{content:"\f743"}.fa-cloud-upload-alt:before{content:"\f382"}.fa-cloudscale:before{content:"\f383"}.fa-cloudsmith:before{content:"\f384"}.fa-cloudversify:before{content:"\f385"}.fa-cocktail:before{content:"\f561"}.fa-code:before{content:"\f121"}.fa-code-branch:before{content:"\f126"}.fa-codepen:before{content:"\f1cb"}.fa-codiepie:before{content:"\f284"}.fa-coffee:before{content:"\f0f4"}.fa-cog:before{content:"\f013"}.fa-cogs:before{content:"\f085"}.fa-coins:before{content:"\f51e"}.fa-columns:before{content:"\f0db"}.fa-comment:before{content:"\f075"}.fa-comment-alt:before{content:"\f27a"}.fa-comment-dollar:before{content:"\f651"}.fa-comment-dots:before{content:"\f4ad"}.fa-comment-medical:before{content:"\f7f5"}.fa-comment-slash:before{content:"\f4b3"}.fa-comments:before{content:"\f086"}.fa-comments-dollar:before{content:"\f653"}.fa-compact-disc:before{content:"\f51f"}.fa-compass:before{content:"\f14e"}.fa-compress:before{content:"\f066"}.fa-compress-arrows-alt:before{content:"\f78c"}.fa-concierge-bell:before{content:"\f562"}.fa-confluence:before{content:"\f78d"}.fa-connectdevelop:before{content:"\f20e"}.fa-contao:before{content:"\f26d"}.fa-cookie:before{content:"\f563"}.fa-cookie-bite:before{content:"\f564"}.fa-copy:before{content:"\f0c5"}.fa-copyright:before{content:"\f1f9"}.fa-couch:before{content:"\f4b8"}.fa-cpanel:before{content:"\f388"}.fa-creative-commons:before{content:"\f25e"}.fa-creative-commons-by:before{content:"\f4e7"}.fa-creative-commons-nc:before{content:"\f4e8"}.fa-creative-commons-nc-eu:before{content:"\f4e9"}.fa-creative-commons-nc-jp:before{content:"\f4ea"}.fa-creative-commons-nd:before{content:"\f4eb"}.fa-creative-commons-pd:before{content:"\f4ec"}.fa-creative-commons-pd-alt:before{content:"\f4ed"}.fa-creative-commons-remix:before{content:"\f4ee"}.fa-creative-commons-sa:before{content:"\f4ef"}.fa-creative-commons-sampling:before{content:"\f4f0"}.fa-creative-commons-sampling-plus:before{content:"\f4f1"}.fa-creative-commons-share:before{content:"\f4f2"}.fa-creative-commons-zero:before{content:"\f4f3"}.fa-credit-card:before{content:"\f09d"}.fa-critical-role:before{content:"\f6c9"}.fa-crop:before{content:"\f125"}.fa-crop-alt:before{content:"\f565"}.fa-cross:before{content:"\f654"}.fa-crosshairs:before{content:"\f05b"}.fa-crow:before{content:"\f520"}.fa-crown:before{content:"\f521"}.fa-crutch:before{content:"\f7f7"}.fa-css3:before{content:"\f13c"}.fa-css3-alt:before{content:"\f38b"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-cut:before{content:"\f0c4"}.fa-cuttlefish:before{content:"\f38c"}.fa-d-and-d:before{content:"\f38d"}.fa-d-and-d-beyond:before{content:"\f6ca"}.fa-dashcube:before{content:"\f210"}.fa-database:before{content:"\f1c0"}.fa-deaf:before{content:"\f2a4"}.fa-delicious:before{content:"\f1a5"}.fa-democrat:before{content:"\f747"}.fa-deploydog:before{content:"\f38e"}.fa-deskpro:before{content:"\f38f"}.fa-desktop:before{content:"\f108"}.fa-dev:before{content:"\f6cc"}.fa-deviantart:before{content:"\f1bd"}.fa-dharmachakra:before{content:"\f655"}.fa-dhl:before{content:"\f790"}.fa-diagnoses:before{content:"\f470"}.fa-diaspora:before{content:"\f791"}.fa-dice:before{content:"\f522"}.fa-dice-d20:before{content:"\f6cf"}.fa-dice-d6:before{content:"\f6d1"}.fa-dice-five:before{content:"\f523"}.fa-dice-four:before{content:"\f524"}.fa-dice-one:before{content:"\f525"}.fa-dice-six:before{content:"\f526"}.fa-dice-three:before{content:"\f527"}.fa-dice-two:before{content:"\f528"}.fa-digg:before{content:"\f1a6"}.fa-digital-ocean:before{content:"\f391"}.fa-digital-tachograph:before{content:"\f566"}.fa-directions:before{content:"\f5eb"}.fa-discord:before{content:"\f392"}.fa-discourse:before{content:"\f393"}.fa-divide:before{content:"\f529"}.fa-dizzy:before{content:"\f567"}.fa-dna:before{content:"\f471"}.fa-dochub:before{content:"\f394"}.fa-docker:before{content:"\f395"}.fa-dog:before{content:"\f6d3"}.fa-dollar-sign:before{content:"\f155"}.fa-dolly:before{content:"\f472"}.fa-dolly-flatbed:before{content:"\f474"}.fa-donate:before{content:"\f4b9"}.fa-door-closed:before{content:"\f52a"}.fa-door-open:before{content:"\f52b"}.fa-dot-circle:before{content:"\f192"}.fa-dove:before{content:"\f4ba"}.fa-download:before{content:"\f019"}.fa-draft2digital:before{content:"\f396"}.fa-drafting-compass:before{content:"\f568"}.fa-dragon:before{content:"\f6d5"}.fa-draw-polygon:before{content:"\f5ee"}.fa-dribbble:before{content:"\f17d"}.fa-dribbble-square:before{content:"\f397"}.fa-dropbox:before{content:"\f16b"}.fa-drum:before{content:"\f569"}.fa-drum-steelpan:before{content:"\f56a"}.fa-drumstick-bite:before{content:"\f6d7"}.fa-drupal:before{content:"\f1a9"}.fa-dumbbell:before{content:"\f44b"}.fa-dumpster:before{content:"\f793"}.fa-dumpster-fire:before{content:"\f794"}.fa-dungeon:before{content:"\f6d9"}.fa-dyalog:before{content:"\f399"}.fa-earlybirds:before{content:"\f39a"}.fa-ebay:before{content:"\f4f4"}.fa-edge:before{content:"\f282"}.fa-edit:before{content:"\f044"}.fa-egg:before{content:"\f7fb"}.fa-eject:before{content:"\f052"}.fa-elementor:before{content:"\f430"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-ello:before{content:"\f5f1"}.fa-ember:before{content:"\f423"}.fa-empire:before{content:"\f1d1"}.fa-envelope:before{content:"\f0e0"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-text:before{content:"\f658"}.fa-envelope-square:before{content:"\f199"}.fa-envira:before{content:"\f299"}.fa-equals:before{content:"\f52c"}.fa-eraser:before{content:"\f12d"}.fa-erlang:before{content:"\f39d"}.fa-ethereum:before{content:"\f42e"}.fa-ethernet:before{content:"\f796"}.fa-etsy:before{content:"\f2d7"}.fa-euro-sign:before{content:"\f153"}.fa-evernote:before{content:"\f839"}.fa-exchange-alt:before{content:"\f362"}.fa-exclamation:before{content:"\f12a"}.fa-exclamation-circle:before{content:"\f06a"}.fa-exclamation-triangle:before{content:"\f071"}.fa-expand:before{content:"\f065"}.fa-expand-arrows-alt:before{content:"\f31e"}.fa-expeditedssl:before{content:"\f23e"}.fa-external-link-alt:before{content:"\f35d"}.fa-external-link-square-alt:before{content:"\f360"}.fa-eye:before{content:"\f06e"}.fa-eye-dropper:before{content:"\f1fb"}.fa-eye-slash:before{content:"\f070"}.fa-facebook:before{content:"\f09a"}.fa-facebook-f:before{content:"\f39e"}.fa-facebook-messenger:before{content:"\f39f"}.fa-facebook-square:before{content:"\f082"}.fa-fan:before{content:"\f863"}.fa-fantasy-flight-games:before{content:"\f6dc"}.fa-fast-backward:before{content:"\f049"}.fa-fast-forward:before{content:"\f050"}.fa-fax:before{content:"\f1ac"}.fa-feather:before{content:"\f52d"}.fa-feather-alt:before{content:"\f56b"}.fa-fedex:before{content:"\f797"}.fa-fedora:before{content:"\f798"}.fa-female:before{content:"\f182"}.fa-fighter-jet:before{content:"\f0fb"}.fa-figma:before{content:"\f799"}.fa-file:before{content:"\f15b"}.fa-file-alt:before{content:"\f15c"}.fa-file-archive:before{content:"\f1c6"}.fa-file-audio:before{content:"\f1c7"}.fa-file-code:before{content:"\f1c9"}.fa-file-contract:before{content:"\f56c"}.fa-file-csv:before{content:"\f6dd"}.fa-file-download:before{content:"\f56d"}.fa-file-excel:before{content:"\f1c3"}.fa-file-export:before{content:"\f56e"}.fa-file-image:before{content:"\f1c5"}.fa-file-import:before{content:"\f56f"}.fa-file-invoice:before{content:"\f570"}.fa-file-invoice-dollar:before{content:"\f571"}.fa-file-medical:before{content:"\f477"}.fa-file-medical-alt:before{content:"\f478"}.fa-file-pdf:before{content:"\f1c1"}.fa-file-powerpoint:before{content:"\f1c4"}.fa-file-prescription:before{content:"\f572"}.fa-file-signature:before{content:"\f573"}.fa-file-upload:before{content:"\f574"}.fa-file-video:before{content:"\f1c8"}.fa-file-word:before{content:"\f1c2"}.fa-fill:before{content:"\f575"}.fa-fill-drip:before{content:"\f576"}.fa-film:before{content:"\f008"}.fa-filter:before{content:"\f0b0"}.fa-fingerprint:before{content:"\f577"}.fa-fire:before{content:"\f06d"}.fa-fire-alt:before{content:"\f7e4"}.fa-fire-extinguisher:before{content:"\f134"}.fa-firefox:before{content:"\f269"}.fa-first-aid:before{content:"\f479"}.fa-first-order:before{content:"\f2b0"}.fa-first-order-alt:before{content:"\f50a"}.fa-firstdraft:before{content:"\f3a1"}.fa-fish:before{content:"\f578"}.fa-fist-raised:before{content:"\f6de"}.fa-flag:before{content:"\f024"}.fa-flag-checkered:before{content:"\f11e"}.fa-flag-usa:before{content:"\f74d"}.fa-flask:before{content:"\f0c3"}.fa-flickr:before{content:"\f16e"}.fa-flipboard:before{content:"\f44d"}.fa-flushed:before{content:"\f579"}.fa-fly:before{content:"\f417"}.fa-folder:before{content:"\f07b"}.fa-folder-minus:before{content:"\f65d"}.fa-folder-open:before{content:"\f07c"}.fa-folder-plus:before{content:"\f65e"}.fa-font:before{content:"\f031"}.fa-font-awesome:before{content:"\f2b4"}.fa-font-awesome-alt:before{content:"\f35c"}.fa-font-awesome-flag:before{content:"\f425"}.fa-font-awesome-logo-full:before{content:"\f4e6"}.fa-fonticons:before{content:"\f280"}.fa-fonticons-fi:before{content:"\f3a2"}.fa-football-ball:before{content:"\f44e"}.fa-fort-awesome:before{content:"\f286"}.fa-fort-awesome-alt:before{content:"\f3a3"}.fa-forumbee:before{content:"\f211"}.fa-forward:before{content:"\f04e"}.fa-foursquare:before{content:"\f180"}.fa-free-code-camp:before{content:"\f2c5"}.fa-freebsd:before{content:"\f3a4"}.fa-frog:before{content:"\f52e"}.fa-frown:before{content:"\f119"}.fa-frown-open:before{content:"\f57a"}.fa-fulcrum:before{content:"\f50b"}.fa-funnel-dollar:before{content:"\f662"}.fa-futbol:before{content:"\f1e3"}.fa-galactic-republic:before{content:"\f50c"}.fa-galactic-senate:before{content:"\f50d"}.fa-gamepad:before{content:"\f11b"}.fa-gas-pump:before{content:"\f52f"}.fa-gavel:before{content:"\f0e3"}.fa-gem:before{content:"\f3a5"}.fa-genderless:before{content:"\f22d"}.fa-get-pocket:before{content:"\f265"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-ghost:before{content:"\f6e2"}.fa-gift:before{content:"\f06b"}.fa-gifts:before{content:"\f79c"}.fa-git:before{content:"\f1d3"}.fa-git-alt:before{content:"\f841"}.fa-git-square:before{content:"\f1d2"}.fa-github:before{content:"\f09b"}.fa-github-alt:before{content:"\f113"}.fa-github-square:before{content:"\f092"}.fa-gitkraken:before{content:"\f3a6"}.fa-gitlab:before{content:"\f296"}.fa-gitter:before{content:"\f426"}.fa-glass-cheers:before{content:"\f79f"}.fa-glass-martini:before{content:"\f000"}.fa-glass-martini-alt:before{content:"\f57b"}.fa-glass-whiskey:before{content:"\f7a0"}.fa-glasses:before{content:"\f530"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-globe:before{content:"\f0ac"}.fa-globe-africa:before{content:"\f57c"}.fa-globe-americas:before{content:"\f57d"}.fa-globe-asia:before{content:"\f57e"}.fa-globe-europe:before{content:"\f7a2"}.fa-gofore:before{content:"\f3a7"}.fa-golf-ball:before{content:"\f450"}.fa-goodreads:before{content:"\f3a8"}.fa-goodreads-g:before{content:"\f3a9"}.fa-google:before{content:"\f1a0"}.fa-google-drive:before{content:"\f3aa"}.fa-google-play:before{content:"\f3ab"}.fa-google-plus:before{content:"\f2b3"}.fa-google-plus-g:before{content:"\f0d5"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-wallet:before{content:"\f1ee"}.fa-gopuram:before{content:"\f664"}.fa-graduation-cap:before{content:"\f19d"}.fa-gratipay:before{content:"\f184"}.fa-grav:before{content:"\f2d6"}.fa-greater-than:before{content:"\f531"}.fa-greater-than-equal:before{content:"\f532"}.fa-grimace:before{content:"\f57f"}.fa-grin:before{content:"\f580"}.fa-grin-alt:before{content:"\f581"}.fa-grin-beam:before{content:"\f582"}.fa-grin-beam-sweat:before{content:"\f583"}.fa-grin-hearts:before{content:"\f584"}.fa-grin-squint:before{content:"\f585"}.fa-grin-squint-tears:before{content:"\f586"}.fa-grin-stars:before{content:"\f587"}.fa-grin-tears:before{content:"\f588"}.fa-grin-tongue:before{content:"\f589"}.fa-grin-tongue-squint:before{content:"\f58a"}.fa-grin-tongue-wink:before{content:"\f58b"}.fa-grin-wink:before{content:"\f58c"}.fa-grip-horizontal:before{content:"\f58d"}.fa-grip-lines:before{content:"\f7a4"}.fa-grip-lines-vertical:before{content:"\f7a5"}.fa-grip-vertical:before{content:"\f58e"}.fa-gripfire:before{content:"\f3ac"}.fa-grunt:before{content:"\f3ad"}.fa-guitar:before{content:"\f7a6"}.fa-gulp:before{content:"\f3ae"}.fa-h-square:before{content:"\f0fd"}.fa-hacker-news:before{content:"\f1d4"}.fa-hacker-news-square:before{content:"\f3af"}.fa-hackerrank:before{content:"\f5f7"}.fa-hamburger:before{content:"\f805"}.fa-hammer:before{content:"\f6e3"}.fa-hamsa:before{content:"\f665"}.fa-hand-holding:before{content:"\f4bd"}.fa-hand-holding-heart:before{content:"\f4be"}.fa-hand-holding-usd:before{content:"\f4c0"}.fa-hand-lizard:before{content:"\f258"}.fa-hand-middle-finger:before{content:"\f806"}.fa-hand-paper:before{content:"\f256"}.fa-hand-peace:before{content:"\f25b"}.fa-hand-point-down:before{content:"\f0a7"}.fa-hand-point-left:before{content:"\f0a5"}.fa-hand-point-right:before{content:"\f0a4"}.fa-hand-point-up:before{content:"\f0a6"}.fa-hand-pointer:before{content:"\f25a"}.fa-hand-rock:before{content:"\f255"}.fa-hand-scissors:before{content:"\f257"}.fa-hand-spock:before{content:"\f259"}.fa-hands:before{content:"\f4c2"}.fa-hands-helping:before{content:"\f4c4"}.fa-handshake:before{content:"\f2b5"}.fa-hanukiah:before{content:"\f6e6"}.fa-hard-hat:before{content:"\f807"}.fa-hashtag:before{content:"\f292"}.fa-hat-wizard:before{content:"\f6e8"}.fa-haykal:before{content:"\f666"}.fa-hdd:before{content:"\f0a0"}.fa-heading:before{content:"\f1dc"}.fa-headphones:before{content:"\f025"}.fa-headphones-alt:before{content:"\f58f"}.fa-headset:before{content:"\f590"}.fa-heart:before{content:"\f004"}.fa-heart-broken:before{content:"\f7a9"}.fa-heartbeat:before{content:"\f21e"}.fa-helicopter:before{content:"\f533"}.fa-highlighter:before{content:"\f591"}.fa-hiking:before{content:"\f6ec"}.fa-hippo:before{content:"\f6ed"}.fa-hips:before{content:"\f452"}.fa-hire-a-helper:before{content:"\f3b0"}.fa-history:before{content:"\f1da"}.fa-hockey-puck:before{content:"\f453"}.fa-holly-berry:before{content:"\f7aa"}.fa-home:before{content:"\f015"}.fa-hooli:before{content:"\f427"}.fa-hornbill:before{content:"\f592"}.fa-horse:before{content:"\f6f0"}.fa-horse-head:before{content:"\f7ab"}.fa-hospital:before{content:"\f0f8"}.fa-hospital-alt:before{content:"\f47d"}.fa-hospital-symbol:before{content:"\f47e"}.fa-hot-tub:before{content:"\f593"}.fa-hotdog:before{content:"\f80f"}.fa-hotel:before{content:"\f594"}.fa-hotjar:before{content:"\f3b1"}.fa-hourglass:before{content:"\f254"}.fa-hourglass-end:before{content:"\f253"}.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-start:before{content:"\f251"}.fa-house-damage:before{content:"\f6f1"}.fa-houzz:before{content:"\f27c"}.fa-hryvnia:before{content:"\f6f2"}.fa-html5:before{content:"\f13b"}.fa-hubspot:before{content:"\f3b2"}.fa-i-cursor:before{content:"\f246"}.fa-ice-cream:before{content:"\f810"}.fa-icicles:before{content:"\f7ad"}.fa-icons:before{content:"\f86d"}.fa-id-badge:before{content:"\f2c1"}.fa-id-card:before{content:"\f2c2"}.fa-id-card-alt:before{content:"\f47f"}.fa-igloo:before{content:"\f7ae"}.fa-image:before{content:"\f03e"}.fa-images:before{content:"\f302"}.fa-imdb:before{content:"\f2d8"}.fa-inbox:before{content:"\f01c"}.fa-indent:before{content:"\f03c"}.fa-industry:before{content:"\f275"}.fa-infinity:before{content:"\f534"}.fa-info:before{content:"\f129"}.fa-info-circle:before{content:"\f05a"}.fa-instagram:before{content:"\f16d"}.fa-intercom:before{content:"\f7af"}.fa-internet-explorer:before{content:"\f26b"}.fa-invision:before{content:"\f7b0"}.fa-ioxhost:before{content:"\f208"}.fa-italic:before{content:"\f033"}.fa-itch-io:before{content:"\f83a"}.fa-itunes:before{content:"\f3b4"}.fa-itunes-note:before{content:"\f3b5"}.fa-java:before{content:"\f4e4"}.fa-jedi:before{content:"\f669"}.fa-jedi-order:before{content:"\f50e"}.fa-jenkins:before{content:"\f3b6"}.fa-jira:before{content:"\f7b1"}.fa-joget:before{content:"\f3b7"}.fa-joint:before{content:"\f595"}.fa-joomla:before{content:"\f1aa"}.fa-journal-whills:before{content:"\f66a"}.fa-js:before{content:"\f3b8"}.fa-js-square:before{content:"\f3b9"}.fa-jsfiddle:before{content:"\f1cc"}.fa-kaaba:before{content:"\f66b"}.fa-kaggle:before{content:"\f5fa"}.fa-key:before{content:"\f084"}.fa-keybase:before{content:"\f4f5"}.fa-keyboard:before{content:"\f11c"}.fa-keycdn:before{content:"\f3ba"}.fa-khanda:before{content:"\f66d"}.fa-kickstarter:before{content:"\f3bb"}.fa-kickstarter-k:before{content:"\f3bc"}.fa-kiss:before{content:"\f596"}.fa-kiss-beam:before{content:"\f597"}.fa-kiss-wink-heart:before{content:"\f598"}.fa-kiwi-bird:before{content:"\f535"}.fa-korvue:before{content:"\f42f"}.fa-landmark:before{content:"\f66f"}.fa-language:before{content:"\f1ab"}.fa-laptop:before{content:"\f109"}.fa-laptop-code:before{content:"\f5fc"}.fa-laptop-medical:before{content:"\f812"}.fa-laravel:before{content:"\f3bd"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-laugh:before{content:"\f599"}.fa-laugh-beam:before{content:"\f59a"}.fa-laugh-squint:before{content:"\f59b"}.fa-laugh-wink:before{content:"\f59c"}.fa-layer-group:before{content:"\f5fd"}.fa-leaf:before{content:"\f06c"}.fa-leanpub:before{content:"\f212"}.fa-lemon:before{content:"\f094"}.fa-less:before{content:"\f41d"}.fa-less-than:before{content:"\f536"}.fa-less-than-equal:before{content:"\f537"}.fa-level-down-alt:before{content:"\f3be"}.fa-level-up-alt:before{content:"\f3bf"}.fa-life-ring:before{content:"\f1cd"}.fa-lightbulb:before{content:"\f0eb"}.fa-line:before{content:"\f3c0"}.fa-link:before{content:"\f0c1"}.fa-linkedin:before{content:"\f08c"}.fa-linkedin-in:before{content:"\f0e1"}.fa-linode:before{content:"\f2b8"}.fa-linux:before{content:"\f17c"}.fa-lira-sign:before{content:"\f195"}.fa-list:before{content:"\f03a"}.fa-list-alt:before{content:"\f022"}.fa-list-ol:before{content:"\f0cb"}.fa-list-ul:before{content:"\f0ca"}.fa-location-arrow:before{content:"\f124"}.fa-lock:before{content:"\f023"}.fa-lock-open:before{content:"\f3c1"}.fa-long-arrow-alt-down:before{content:"\f309"}.fa-long-arrow-alt-left:before{content:"\f30a"}.fa-long-arrow-alt-right:before{content:"\f30b"}.fa-long-arrow-alt-up:before{content:"\f30c"}.fa-low-vision:before{content:"\f2a8"}.fa-luggage-cart:before{content:"\f59d"}.fa-lyft:before{content:"\f3c3"}.fa-magento:before{content:"\f3c4"}.fa-magic:before{content:"\f0d0"}.fa-magnet:before{content:"\f076"}.fa-mail-bulk:before{content:"\f674"}.fa-mailchimp:before{content:"\f59e"}.fa-male:before{content:"\f183"}.fa-mandalorian:before{content:"\f50f"}.fa-map:before{content:"\f279"}.fa-map-marked:before{content:"\f59f"}.fa-map-marked-alt:before{content:"\f5a0"}.fa-map-marker:before{content:"\f041"}.fa-map-marker-alt:before{content:"\f3c5"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-markdown:before{content:"\f60f"}.fa-marker:before{content:"\f5a1"}.fa-mars:before{content:"\f222"}.fa-mars-double:before{content:"\f227"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mask:before{content:"\f6fa"}.fa-mastodon:before{content:"\f4f6"}.fa-maxcdn:before{content:"\f136"}.fa-medal:before{content:"\f5a2"}.fa-medapps:before{content:"\f3c6"}.fa-medium:before{content:"\f23a"}.fa-medium-m:before{content:"\f3c7"}.fa-medkit:before{content:"\f0fa"}.fa-medrt:before{content:"\f3c8"}.fa-meetup:before{content:"\f2e0"}.fa-megaport:before{content:"\f5a3"}.fa-meh:before{content:"\f11a"}.fa-meh-blank:before{content:"\f5a4"}.fa-meh-rolling-eyes:before{content:"\f5a5"}.fa-memory:before{content:"\f538"}.fa-mendeley:before{content:"\f7b3"}.fa-menorah:before{content:"\f676"}.fa-mercury:before{content:"\f223"}.fa-meteor:before{content:"\f753"}.fa-microchip:before{content:"\f2db"}.fa-microphone:before{content:"\f130"}.fa-microphone-alt:before{content:"\f3c9"}.fa-microphone-alt-slash:before{content:"\f539"}.fa-microphone-slash:before{content:"\f131"}.fa-microscope:before{content:"\f610"}.fa-microsoft:before{content:"\f3ca"}.fa-minus:before{content:"\f068"}.fa-minus-circle:before{content:"\f056"}.fa-minus-square:before{content:"\f146"}.fa-mitten:before{content:"\f7b5"}.fa-mix:before{content:"\f3cb"}.fa-mixcloud:before{content:"\f289"}.fa-mizuni:before{content:"\f3cc"}.fa-mobile:before{content:"\f10b"}.fa-mobile-alt:before{content:"\f3cd"}.fa-modx:before{content:"\f285"}.fa-monero:before{content:"\f3d0"}.fa-money-bill:before{content:"\f0d6"}.fa-money-bill-alt:before{content:"\f3d1"}.fa-money-bill-wave:before{content:"\f53a"}.fa-money-bill-wave-alt:before{content:"\f53b"}.fa-money-check:before{content:"\f53c"}.fa-money-check-alt:before{content:"\f53d"}.fa-monument:before{content:"\f5a6"}.fa-moon:before{content:"\f186"}.fa-mortar-pestle:before{content:"\f5a7"}.fa-mosque:before{content:"\f678"}.fa-motorcycle:before{content:"\f21c"}.fa-mountain:before{content:"\f6fc"}.fa-mouse-pointer:before{content:"\f245"}.fa-mug-hot:before{content:"\f7b6"}.fa-music:before{content:"\f001"}.fa-napster:before{content:"\f3d2"}.fa-neos:before{content:"\f612"}.fa-network-wired:before{content:"\f6ff"}.fa-neuter:before{content:"\f22c"}.fa-newspaper:before{content:"\f1ea"}.fa-nimblr:before{content:"\f5a8"}.fa-node:before{content:"\f419"}.fa-node-js:before{content:"\f3d3"}.fa-not-equal:before{content:"\f53e"}.fa-notes-medical:before{content:"\f481"}.fa-npm:before{content:"\f3d4"}.fa-ns8:before{content:"\f3d5"}.fa-nutritionix:before{content:"\f3d6"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-oil-can:before{content:"\f613"}.fa-old-republic:before{content:"\f510"}.fa-om:before{content:"\f679"}.fa-opencart:before{content:"\f23d"}.fa-openid:before{content:"\f19b"}.fa-opera:before{content:"\f26a"}.fa-optin-monster:before{content:"\f23c"}.fa-osi:before{content:"\f41a"}.fa-otter:before{content:"\f700"}.fa-outdent:before{content:"\f03b"}.fa-page4:before{content:"\f3d7"}.fa-pagelines:before{content:"\f18c"}.fa-pager:before{content:"\f815"}.fa-paint-brush:before{content:"\f1fc"}.fa-paint-roller:before{content:"\f5aa"}.fa-palette:before{content:"\f53f"}.fa-palfed:before{content:"\f3d8"}.fa-pallet:before{content:"\f482"}.fa-paper-plane:before{content:"\f1d8"}.fa-paperclip:before{content:"\f0c6"}.fa-parachute-box:before{content:"\f4cd"}.fa-paragraph:before{content:"\f1dd"}.fa-parking:before{content:"\f540"}.fa-passport:before{content:"\f5ab"}.fa-pastafarianism:before{content:"\f67b"}.fa-paste:before{content:"\f0ea"}.fa-patreon:before{content:"\f3d9"}.fa-pause:before{content:"\f04c"}.fa-pause-circle:before{content:"\f28b"}.fa-paw:before{content:"\f1b0"}.fa-paypal:before{content:"\f1ed"}.fa-peace:before{content:"\f67c"}.fa-pen:before{content:"\f304"}.fa-pen-alt:before{content:"\f305"}.fa-pen-fancy:before{content:"\f5ac"}.fa-pen-nib:before{content:"\f5ad"}.fa-pen-square:before{content:"\f14b"}.fa-pencil-alt:before{content:"\f303"}.fa-pencil-ruler:before{content:"\f5ae"}.fa-penny-arcade:before{content:"\f704"}.fa-people-carry:before{content:"\f4ce"}.fa-pepper-hot:before{content:"\f816"}.fa-percent:before{content:"\f295"}.fa-percentage:before{content:"\f541"}.fa-periscope:before{content:"\f3da"}.fa-person-booth:before{content:"\f756"}.fa-phabricator:before{content:"\f3db"}.fa-phoenix-framework:before{content:"\f3dc"}.fa-phoenix-squadron:before{content:"\f511"}.fa-phone:before{content:"\f095"}.fa-phone-alt:before{content:"\f879"}.fa-phone-slash:before{content:"\f3dd"}.fa-phone-square:before{content:"\f098"}.fa-phone-square-alt:before{content:"\f87b"}.fa-phone-volume:before{content:"\f2a0"}.fa-photo-video:before{content:"\f87c"}.fa-php:before{content:"\f457"}.fa-pied-piper:before{content:"\f2ae"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-pied-piper-hat:before{content:"\f4e5"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-piggy-bank:before{content:"\f4d3"}.fa-pills:before{content:"\f484"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-p:before{content:"\f231"}.fa-pinterest-square:before{content:"\f0d3"}.fa-pizza-slice:before{content:"\f818"}.fa-place-of-worship:before{content:"\f67f"}.fa-plane:before{content:"\f072"}.fa-plane-arrival:before{content:"\f5af"}.fa-plane-departure:before{content:"\f5b0"}.fa-play:before{content:"\f04b"}.fa-play-circle:before{content:"\f144"}.fa-playstation:before{content:"\f3df"}.fa-plug:before{content:"\f1e6"}.fa-plus:before{content:"\f067"}.fa-plus-circle:before{content:"\f055"}.fa-plus-square:before{content:"\f0fe"}.fa-podcast:before{content:"\f2ce"}.fa-poll:before{content:"\f681"}.fa-poll-h:before{content:"\f682"}.fa-poo:before{content:"\f2fe"}.fa-poo-storm:before{content:"\f75a"}.fa-poop:before{content:"\f619"}.fa-portrait:before{content:"\f3e0"}.fa-pound-sign:before{content:"\f154"}.fa-power-off:before{content:"\f011"}.fa-pray:before{content:"\f683"}.fa-praying-hands:before{content:"\f684"}.fa-prescription:before{content:"\f5b1"}.fa-prescription-bottle:before{content:"\f485"}.fa-prescription-bottle-alt:before{content:"\f486"}.fa-print:before{content:"\f02f"}.fa-procedures:before{content:"\f487"}.fa-product-hunt:before{content:"\f288"}.fa-project-diagram:before{content:"\f542"}.fa-pushed:before{content:"\f3e1"}.fa-puzzle-piece:before{content:"\f12e"}.fa-python:before{content:"\f3e2"}.fa-qq:before{content:"\f1d6"}.fa-qrcode:before{content:"\f029"}.fa-question:before{content:"\f128"}.fa-question-circle:before{content:"\f059"}.fa-quidditch:before{content:"\f458"}.fa-quinscape:before{content:"\f459"}.fa-quora:before{content:"\f2c4"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-quran:before{content:"\f687"}.fa-r-project:before{content:"\f4f7"}.fa-radiation:before{content:"\f7b9"}.fa-radiation-alt:before{content:"\f7ba"}.fa-rainbow:before{content:"\f75b"}.fa-random:before{content:"\f074"}.fa-raspberry-pi:before{content:"\f7bb"}.fa-ravelry:before{content:"\f2d9"}.fa-react:before{content:"\f41b"}.fa-reacteurope:before{content:"\f75d"}.fa-readme:before{content:"\f4d5"}.fa-rebel:before{content:"\f1d0"}.fa-receipt:before{content:"\f543"}.fa-recycle:before{content:"\f1b8"}.fa-red-river:before{content:"\f3e3"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-alien:before{content:"\f281"}.fa-reddit-square:before{content:"\f1a2"}.fa-redhat:before{content:"\f7bc"}.fa-redo:before{content:"\f01e"}.fa-redo-alt:before{content:"\f2f9"}.fa-registered:before{content:"\f25d"}.fa-remove-format:before{content:"\f87d"}.fa-renren:before{content:"\f18b"}.fa-reply:before{content:"\f3e5"}.fa-reply-all:before{content:"\f122"}.fa-replyd:before{content:"\f3e6"}.fa-republican:before{content:"\f75e"}.fa-researchgate:before{content:"\f4f8"}.fa-resolving:before{content:"\f3e7"}.fa-restroom:before{content:"\f7bd"}.fa-retweet:before{content:"\f079"}.fa-rev:before{content:"\f5b2"}.fa-ribbon:before{content:"\f4d6"}.fa-ring:before{content:"\f70b"}.fa-road:before{content:"\f018"}.fa-robot:before{content:"\f544"}.fa-rocket:before{content:"\f135"}.fa-rocketchat:before{content:"\f3e8"}.fa-rockrms:before{content:"\f3e9"}.fa-route:before{content:"\f4d7"}.fa-rss:before{content:"\f09e"}.fa-rss-square:before{content:"\f143"}.fa-ruble-sign:before{content:"\f158"}.fa-ruler:before{content:"\f545"}.fa-ruler-combined:before{content:"\f546"}.fa-ruler-horizontal:before{content:"\f547"}.fa-ruler-vertical:before{content:"\f548"}.fa-running:before{content:"\f70c"}.fa-rupee-sign:before{content:"\f156"}.fa-sad-cry:before{content:"\f5b3"}.fa-sad-tear:before{content:"\f5b4"}.fa-safari:before{content:"\f267"}.fa-salesforce:before{content:"\f83b"}.fa-sass:before{content:"\f41e"}.fa-satellite:before{content:"\f7bf"}.fa-satellite-dish:before{content:"\f7c0"}.fa-save:before{content:"\f0c7"}.fa-schlix:before{content:"\f3ea"}.fa-school:before{content:"\f549"}.fa-screwdriver:before{content:"\f54a"}.fa-scribd:before{content:"\f28a"}.fa-scroll:before{content:"\f70e"}.fa-sd-card:before{content:"\f7c2"}.fa-search:before{content:"\f002"}.fa-search-dollar:before{content:"\f688"}.fa-search-location:before{content:"\f689"}.fa-search-minus:before{content:"\f010"}.fa-search-plus:before{content:"\f00e"}.fa-searchengin:before{content:"\f3eb"}.fa-seedling:before{content:"\f4d8"}.fa-sellcast:before{content:"\f2da"}.fa-sellsy:before{content:"\f213"}.fa-server:before{content:"\f233"}.fa-servicestack:before{content:"\f3ec"}.fa-shapes:before{content:"\f61f"}.fa-share:before{content:"\f064"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-share-square:before{content:"\f14d"}.fa-shekel-sign:before{content:"\f20b"}.fa-shield-alt:before{content:"\f3ed"}.fa-ship:before{content:"\f21a"}.fa-shipping-fast:before{content:"\f48b"}.fa-shirtsinbulk:before{content:"\f214"}.fa-shoe-prints:before{content:"\f54b"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-shopping-cart:before{content:"\f07a"}.fa-shopware:before{content:"\f5b5"}.fa-shower:before{content:"\f2cc"}.fa-shuttle-van:before{content:"\f5b6"}.fa-sign:before{content:"\f4d9"}.fa-sign-in-alt:before{content:"\f2f6"}.fa-sign-language:before{content:"\f2a7"}.fa-sign-out-alt:before{content:"\f2f5"}.fa-signal:before{content:"\f012"}.fa-signature:before{content:"\f5b7"}.fa-sim-card:before{content:"\f7c4"}.fa-simplybuilt:before{content:"\f215"}.fa-sistrix:before{content:"\f3ee"}.fa-sitemap:before{content:"\f0e8"}.fa-sith:before{content:"\f512"}.fa-skating:before{content:"\f7c5"}.fa-sketch:before{content:"\f7c6"}.fa-skiing:before{content:"\f7c9"}.fa-skiing-nordic:before{content:"\f7ca"}.fa-skull:before{content:"\f54c"}.fa-skull-crossbones:before{content:"\f714"}.fa-skyatlas:before{content:"\f216"}.fa-skype:before{content:"\f17e"}.fa-slack:before{content:"\f198"}.fa-slack-hash:before{content:"\f3ef"}.fa-slash:before{content:"\f715"}.fa-sleigh:before{content:"\f7cc"}.fa-sliders-h:before{content:"\f1de"}.fa-slideshare:before{content:"\f1e7"}.fa-smile:before{content:"\f118"}.fa-smile-beam:before{content:"\f5b8"}.fa-smile-wink:before{content:"\f4da"}.fa-smog:before{content:"\f75f"}.fa-smoking:before{content:"\f48d"}.fa-smoking-ban:before{content:"\f54d"}.fa-sms:before{content:"\f7cd"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-snowboarding:before{content:"\f7ce"}.fa-snowflake:before{content:"\f2dc"}.fa-snowman:before{content:"\f7d0"}.fa-snowplow:before{content:"\f7d2"}.fa-socks:before{content:"\f696"}.fa-solar-panel:before{content:"\f5ba"}.fa-sort:before{content:"\f0dc"}.fa-sort-alpha-down:before{content:"\f15d"}.fa-sort-alpha-down-alt:before{content:"\f881"}.fa-sort-alpha-up:before{content:"\f15e"}.fa-sort-alpha-up-alt:before{content:"\f882"}.fa-sort-amount-down:before{content:"\f160"}.fa-sort-amount-down-alt:before{content:"\f884"}.fa-sort-amount-up:before{content:"\f161"}.fa-sort-amount-up-alt:before{content:"\f885"}.fa-sort-down:before{content:"\f0dd"}.fa-sort-numeric-down:before{content:"\f162"}.fa-sort-numeric-down-alt:before{content:"\f886"}.fa-sort-numeric-up:before{content:"\f163"}.fa-sort-numeric-up-alt:before{content:"\f887"}.fa-sort-up:before{content:"\f0de"}.fa-soundcloud:before{content:"\f1be"}.fa-sourcetree:before{content:"\f7d3"}.fa-spa:before{content:"\f5bb"}.fa-space-shuttle:before{content:"\f197"}.fa-speakap:before{content:"\f3f3"}.fa-speaker-deck:before{content:"\f83c"}.fa-spell-check:before{content:"\f891"}.fa-spider:before{content:"\f717"}.fa-spinner:before{content:"\f110"}.fa-splotch:before{content:"\f5bc"}.fa-spotify:before{content:"\f1bc"}.fa-spray-can:before{content:"\f5bd"}.fa-square:before{content:"\f0c8"}.fa-square-full:before{content:"\f45c"}.fa-square-root-alt:before{content:"\f698"}.fa-squarespace:before{content:"\f5be"}.fa-stack-exchange:before{content:"\f18d"}.fa-stack-overflow:before{content:"\f16c"}.fa-stackpath:before{content:"\f842"}.fa-stamp:before{content:"\f5bf"}.fa-star:before{content:"\f005"}.fa-star-and-crescent:before{content:"\f699"}.fa-star-half:before{content:"\f089"}.fa-star-half-alt:before{content:"\f5c0"}.fa-star-of-david:before{content:"\f69a"}.fa-star-of-life:before{content:"\f621"}.fa-staylinked:before{content:"\f3f5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-steam-symbol:before{content:"\f3f6"}.fa-step-backward:before{content:"\f048"}.fa-step-forward:before{content:"\f051"}.fa-stethoscope:before{content:"\f0f1"}.fa-sticker-mule:before{content:"\f3f7"}.fa-sticky-note:before{content:"\f249"}.fa-stop:before{content:"\f04d"}.fa-stop-circle:before{content:"\f28d"}.fa-stopwatch:before{content:"\f2f2"}.fa-store:before{content:"\f54e"}.fa-store-alt:before{content:"\f54f"}.fa-strava:before{content:"\f428"}.fa-stream:before{content:"\f550"}.fa-street-view:before{content:"\f21d"}.fa-strikethrough:before{content:"\f0cc"}.fa-stripe:before{content:"\f429"}.fa-stripe-s:before{content:"\f42a"}.fa-stroopwafel:before{content:"\f551"}.fa-studiovinari:before{content:"\f3f8"}.fa-stumbleupon:before{content:"\f1a4"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-subscript:before{content:"\f12c"}.fa-subway:before{content:"\f239"}.fa-suitcase:before{content:"\f0f2"}.fa-suitcase-rolling:before{content:"\f5c1"}.fa-sun:before{content:"\f185"}.fa-superpowers:before{content:"\f2dd"}.fa-superscript:before{content:"\f12b"}.fa-supple:before{content:"\f3f9"}.fa-surprise:before{content:"\f5c2"}.fa-suse:before{content:"\f7d6"}.fa-swatchbook:before{content:"\f5c3"}.fa-swimmer:before{content:"\f5c4"}.fa-swimming-pool:before{content:"\f5c5"}.fa-symfony:before{content:"\f83d"}.fa-synagogue:before{content:"\f69b"}.fa-sync:before{content:"\f021"}.fa-sync-alt:before{content:"\f2f1"}.fa-syringe:before{content:"\f48e"}.fa-table:before{content:"\f0ce"}.fa-table-tennis:before{content:"\f45d"}.fa-tablet:before{content:"\f10a"}.fa-tablet-alt:before{content:"\f3fa"}.fa-tablets:before{content:"\f490"}.fa-tachometer-alt:before{content:"\f3fd"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-tape:before{content:"\f4db"}.fa-tasks:before{content:"\f0ae"}.fa-taxi:before{content:"\f1ba"}.fa-teamspeak:before{content:"\f4f9"}.fa-teeth:before{content:"\f62e"}.fa-teeth-open:before{content:"\f62f"}.fa-telegram:before{content:"\f2c6"}.fa-telegram-plane:before{content:"\f3fe"}.fa-temperature-high:before{content:"\f769"}.fa-temperature-low:before{content:"\f76b"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-tenge:before{content:"\f7d7"}.fa-terminal:before{content:"\f120"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-th:before{content:"\f00a"}.fa-th-large:before{content:"\f009"}.fa-th-list:before{content:"\f00b"}.fa-the-red-yeti:before{content:"\f69d"}.fa-theater-masks:before{content:"\f630"}.fa-themeco:before{content:"\f5c6"}.fa-themeisle:before{content:"\f2b2"}.fa-thermometer:before{content:"\f491"}.fa-thermometer-empty:before{content:"\f2cb"}.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-think-peaks:before{content:"\f731"}.fa-thumbs-down:before{content:"\f165"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbtack:before{content:"\f08d"}.fa-ticket-alt:before{content:"\f3ff"}.fa-times:before{content:"\f00d"}.fa-times-circle:before{content:"\f057"}.fa-tint:before{content:"\f043"}.fa-tint-slash:before{content:"\f5c7"}.fa-tired:before{content:"\f5c8"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-toilet:before{content:"\f7d8"}.fa-toilet-paper:before{content:"\f71e"}.fa-toolbox:before{content:"\f552"}.fa-tools:before{content:"\f7d9"}.fa-tooth:before{content:"\f5c9"}.fa-torah:before{content:"\f6a0"}.fa-torii-gate:before{content:"\f6a1"}.fa-tractor:before{content:"\f722"}.fa-trade-federation:before{content:"\f513"}.fa-trademark:before{content:"\f25c"}.fa-traffic-light:before{content:"\f637"}.fa-train:before{content:"\f238"}.fa-tram:before{content:"\f7da"}.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-trash:before{content:"\f1f8"}.fa-trash-alt:before{content:"\f2ed"}.fa-trash-restore:before{content:"\f829"}.fa-trash-restore-alt:before{content:"\f82a"}.fa-tree:before{content:"\f1bb"}.fa-trello:before{content:"\f181"}.fa-tripadvisor:before{content:"\f262"}.fa-trophy:before{content:"\f091"}.fa-truck:before{content:"\f0d1"}.fa-truck-loading:before{content:"\f4de"}.fa-truck-monster:before{content:"\f63b"}.fa-truck-moving:before{content:"\f4df"}.fa-truck-pickup:before{content:"\f63c"}.fa-tshirt:before{content:"\f553"}.fa-tty:before{content:"\f1e4"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-tv:before{content:"\f26c"}.fa-twitch:before{content:"\f1e8"}.fa-twitter:before{content:"\f099"}.fa-twitter-square:before{content:"\f081"}.fa-typo3:before{content:"\f42b"}.fa-uber:before{content:"\f402"}.fa-ubuntu:before{content:"\f7df"}.fa-uikit:before{content:"\f403"}.fa-umbrella:before{content:"\f0e9"}.fa-umbrella-beach:before{content:"\f5ca"}.fa-underline:before{content:"\f0cd"}.fa-undo:before{content:"\f0e2"}.fa-undo-alt:before{content:"\f2ea"}.fa-uniregistry:before{content:"\f404"}.fa-universal-access:before{content:"\f29a"}.fa-university:before{content:"\f19c"}.fa-unlink:before{content:"\f127"}.fa-unlock:before{content:"\f09c"}.fa-unlock-alt:before{content:"\f13e"}.fa-untappd:before{content:"\f405"}.fa-upload:before{content:"\f093"}.fa-ups:before{content:"\f7e0"}.fa-usb:before{content:"\f287"}.fa-user:before{content:"\f007"}.fa-user-alt:before{content:"\f406"}.fa-user-alt-slash:before{content:"\f4fa"}.fa-user-astronaut:before{content:"\f4fb"}.fa-user-check:before{content:"\f4fc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-clock:before{content:"\f4fd"}.fa-user-cog:before{content:"\f4fe"}.fa-user-edit:before{content:"\f4ff"}.fa-user-friends:before{content:"\f500"}.fa-user-graduate:before{content:"\f501"}.fa-user-injured:before{content:"\f728"}.fa-user-lock:before{content:"\f502"}.fa-user-md:before{content:"\f0f0"}.fa-user-minus:before{content:"\f503"}.fa-user-ninja:before{content:"\f504"}.fa-user-nurse:before{content:"\f82f"}.fa-user-plus:before{content:"\f234"}.fa-user-secret:before{content:"\f21b"}.fa-user-shield:before{content:"\f505"}.fa-user-slash:before{content:"\f506"}.fa-user-tag:before{content:"\f507"}.fa-user-tie:before{content:"\f508"}.fa-user-times:before{content:"\f235"}.fa-users:before{content:"\f0c0"}.fa-users-cog:before{content:"\f509"}.fa-usps:before{content:"\f7e1"}.fa-ussunnah:before{content:"\f407"}.fa-utensil-spoon:before{content:"\f2e5"}.fa-utensils:before{content:"\f2e7"}.fa-vaadin:before{content:"\f408"}.fa-vector-square:before{content:"\f5cb"}.fa-venus:before{content:"\f221"}.fa-venus-double:before{content:"\f226"}.fa-venus-mars:before{content:"\f228"}.fa-viacoin:before{content:"\f237"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-vial:before{content:"\f492"}.fa-vials:before{content:"\f493"}.fa-viber:before{content:"\f409"}.fa-video:before{content:"\f03d"}.fa-video-slash:before{content:"\f4e2"}.fa-vihara:before{content:"\f6a7"}.fa-vimeo:before{content:"\f40a"}.fa-vimeo-square:before{content:"\f194"}.fa-vimeo-v:before{content:"\f27d"}.fa-vine:before{content:"\f1ca"}.fa-vk:before{content:"\f189"}.fa-vnv:before{content:"\f40b"}.fa-voicemail:before{content:"\f897"}.fa-volleyball-ball:before{content:"\f45f"}.fa-volume-down:before{content:"\f027"}.fa-volume-mute:before{content:"\f6a9"}.fa-volume-off:before{content:"\f026"}.fa-volume-up:before{content:"\f028"}.fa-vote-yea:before{content:"\f772"}.fa-vr-cardboard:before{content:"\f729"}.fa-vuejs:before{content:"\f41f"}.fa-walking:before{content:"\f554"}.fa-wallet:before{content:"\f555"}.fa-warehouse:before{content:"\f494"}.fa-water:before{content:"\f773"}.fa-wave-square:before{content:"\f83e"}.fa-waze:before{content:"\f83f"}.fa-weebly:before{content:"\f5cc"}.fa-weibo:before{content:"\f18a"}.fa-weight:before{content:"\f496"}.fa-weight-hanging:before{content:"\f5cd"}.fa-weixin:before{content:"\f1d7"}.fa-whatsapp:before{content:"\f232"}.fa-whatsapp-square:before{content:"\f40c"}.fa-wheelchair:before{content:"\f193"}.fa-whmcs:before{content:"\f40d"}.fa-wifi:before{content:"\f1eb"}.fa-wikipedia-w:before{content:"\f266"}.fa-wind:before{content:"\f72e"}.fa-window-close:before{content:"\f410"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-windows:before{content:"\f17a"}.fa-wine-bottle:before{content:"\f72f"}.fa-wine-glass:before{content:"\f4e3"}.fa-wine-glass-alt:before{content:"\f5ce"}.fa-wix:before{content:"\f5cf"}.fa-wizards-of-the-coast:before{content:"\f730"}.fa-wolf-pack-battalion:before{content:"\f514"}.fa-won-sign:before{content:"\f159"}.fa-wordpress:before{content:"\f19a"}.fa-wordpress-simple:before{content:"\f411"}.fa-wpbeginner:before{content:"\f297"}.fa-wpexplorer:before{content:"\f2de"}.fa-wpforms:before{content:"\f298"}.fa-wpressr:before{content:"\f3e4"}.fa-wrench:before{content:"\f0ad"}.fa-x-ray:before{content:"\f497"}.fa-xbox:before{content:"\f412"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-y-combinator:before{content:"\f23b"}.fa-yahoo:before{content:"\f19e"}.fa-yammer:before{content:"\f840"}.fa-yandex:before{content:"\f413"}.fa-yandex-international:before{content:"\f414"}.fa-yarn:before{content:"\f7e3"}.fa-yelp:before{content:"\f1e9"}.fa-yen-sign:before{content:"\f157"}.fa-yin-yang:before{content:"\f6ad"}.fa-yoast:before{content:"\f2b1"}.fa-youtube:before{content:"\f167"}.fa-youtube-square:before{content:"\f431"}.fa-zhihu:before{content:"\f63f"}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}@font-face{font-family:"Font Awesome 5 Brands";font-style:normal;font-weight:normal;font-display:auto;src:url(../webfonts/fa-brands-400.eot);src:url(../webfonts/fa-brands-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-brands-400.woff2) format("woff2"),url(../webfonts/fa-brands-400.woff) format("woff"),url(../webfonts/fa-brands-400.ttf) format("truetype"),url(../webfonts/fa-brands-400.svg#fontawesome) format("svg")}.fab{font-family:"Font Awesome 5 Brands"}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:400;font-display:auto;src:url(../webfonts/fa-regular-400.eot);src:url(../webfonts/fa-regular-400.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.woff) format("woff"),url(../webfonts/fa-regular-400.ttf) format("truetype"),url(../webfonts/fa-regular-400.svg#fontawesome) format("svg")}.far{font-weight:400}@font-face{font-family:"Font Awesome 5 Free";font-style:normal;font-weight:900;font-display:auto;src:url(../webfonts/fa-solid-900.eot);src:url(../webfonts/fa-solid-900.eot?#iefix) format("embedded-opentype"),url(../webfonts/fa-solid-900.woff2) format("woff2"),url(../webfonts/fa-solid-900.woff) format("woff"),url(../webfonts/fa-solid-900.ttf) format("truetype"),url(../webfonts/fa-solid-900.svg#fontawesome) format("svg")}.fa,.far,.fas{font-family:"Font Awesome 5 Free"}.fa,.fas{font-weight:900} \ No newline at end of file diff --git a/assets/css/ma b/assets/css/ma deleted file mode 100644 index 04ec470d..00000000 --- a/assets/css/ma +++ /dev/null @@ -1,2404 +0,0 @@ -@import url("fontawesome-all.min.css"); -@import url("https://fonts.googleapis.com/css?family=Lato:400,400italic,700,700italic|Source+Code+Pro:400"); -html, body, div, span, applet, object, -iframe, h1, h2, h3, h4, h5, h6, p, blockquote, -pre, a, abbr, acronym, address, big, cite, -code, del, dfn, em, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, b, -u, i, center, dl, dt, dd, ol, ul, li, fieldset, -form, label, legend, table, caption, tbody, -tfoot, thead, tr, th, td, article, aside, -canvas, details, embed, figure, figcaption, -footer, header, hgroup, menu, nav, output, ruby, -section, summary, time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; - font-size: 100%; - font: inherit; - vertical-align: baseline; } - -article, aside, details, figcaption, figure, -footer, header, hgroup, menu, nav, section { - display: block; } - -body { - line-height: 1; } - -ol, ul { - list-style: none; } - -blockquote, q { - quotes: none; } - blockquote:before, blockquote:after, q:before, q:after { - content: ''; - content: none; } - -table { - border-collapse: collapse; - border-spacing: 0; } - -body { - -webkit-text-size-adjust: none; } - -mark { - background-color: transparent; - color: inherit; } - -input::-moz-focus-inner { - border: 0; - padding: 0; } - -input, select, textarea { - -moz-appearance: none; - -webkit-appearance: none; - -ms-appearance: none; - appearance: none; } - -/* Basic */ -html { - box-sizing: border-box; } - -*, *:before, *:after { - box-sizing: inherit; } - -body { - background: #fff; } - body.is-preload *, body.is-preload *:before, body.is-preload *:after { - -moz-animation: none !important; - -webkit-animation: none !important; - -ms-animation: none !important; - animation: none !important; - -moz-transition: none !important; - -webkit-transition: none !important; - -ms-transition: none !important; - transition: none !important; } - -body, input, select, textarea { - color: #888; - font-family: "Lato", sans-serif; - font-size: 16pt; - font-weight: 400; - line-height: 1.75em; } - -a { - -moz-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out; - -webkit-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out; - -ms-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out; - transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out; - border-bottom: solid 1px #e4e4e4; - color: inherit; - text-decoration: none; } - a:hover { - border-bottom-color: transparent; - color: #5ad3fe !important; } - -strong, b { - color: #777; - font-weight: 700; } - -em, i { - font-style: italic; } - -p { - margin: 0 0 2.25em 0; } - -h1, h2, h3, h4, h5, h6 { - color: #777; - font-weight: 700; - line-height: 1em; - margin: 0 0 0.5625em 0; } - h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { - border: 0; - color: inherit; - text-decoration: none; } - -h2 { - font-size: 2em; - line-height: 1.5em; } - -h3 { - font-size: 1.75em; - line-height: 1.5em; } - -h4 { - font-size: 1.25em; - line-height: 1.5em; } - -h5 { - font-size: 0.9em; - line-height: 1.5em; } - -h6 { - font-size: 0.7em; - line-height: 1.5em; } - -sub { - font-size: 0.8em; - position: relative; - top: 0.5em; } - -sup { - font-size: 0.8em; - position: relative; - top: -0.5em; } - -hr { - border: 0; - border-bottom: solid 2px #f4f4f4; - margin: 2.25em 0; } - hr.major { - margin: 3.375em 0; } - -blockquote { - border-left: solid 8px #e4e4e4; - font-style: italic; - margin: 0 0 2.25em 0; - padding: 0.5em 0 0.5em 2em; } - -code { - background: #555; - border-radius: 5px; - color: #fff; - font-family: "Source Code Pro", monospace; - font-size: 0.9em; - margin: 0 0.25em; - padding: 0.25em 0.65em; } - -pre { - font-family: "Source Code Pro", monospace; - font-size: 0.9em; - margin: 0 0 2.25em 0; } - pre code { - -webkit-overflow-scrolling: touch; - display: block; - line-height: 1.5em; - overflow-x: auto; - padding: 1em 1.5em; } - -.align-left { - text-align: left; } - -.align-center { - text-align: center; } - -.align-right { - text-align: right; } - -/* Row */ -.row { - display: flex; - flex-wrap: wrap; - box-sizing: border-box; - align-items: stretch; } - .row > * { - box-sizing: border-box; } - .row.gtr-uniform > * > :last-child { - margin-bottom: 0; } - .row.aln-left { - justify-content: flex-start; } - .row.aln-center { - justify-content: center; } - .row.aln-right { - justify-content: flex-end; } - .row.aln-top { - align-items: flex-start; } - .row.aln-middle { - align-items: center; } - .row.aln-bottom { - align-items: flex-end; } - .row > .imp { - order: -1; } - .row > .col-1 { - width: 8.3333333333%; } - .row > .off-1 { - margin-left: 8.3333333333%; } - .row > .col-2 { - width: 16.6666666667%; } - .row > .off-2 { - margin-left: 16.6666666667%; } - .row > .col-3 { - width: 25%; } - .row > .off-3 { - margin-left: 25%; } - .row > .col-4 { - width: 33.3333333333%; } - .row > .off-4 { - margin-left: 33.3333333333%; } - .row > .col-5 { - width: 41.6666666667%; } - .row > .off-5 { - margin-left: 41.6666666667%; } - .row > .col-6 { - width: 50%; } - .row > .off-6 { - margin-left: 50%; } - .row > .col-7 { - width: 58.3333333333%; } - .row > .off-7 { - margin-left: 58.3333333333%; } - .row > .col-8 { - width: 66.6666666667%; } - .row > .off-8 { - margin-left: 66.6666666667%; } - .row > .col-9 { - width: 75%; } - .row > .off-9 { - margin-left: 75%; } - .row > .col-10 { - width: 83.3333333333%; } - .row > .off-10 { - margin-left: 83.3333333333%; } - .row > .col-11 { - width: 91.6666666667%; } - .row > .off-11 { - margin-left: 91.6666666667%; } - .row > .col-12 { - width: 100%; } - .row > .off-12 { - margin-left: 100%; } - .row.gtr-0 { - margin-top: 0; - margin-left: 0em; } - .row.gtr-0 > * { - padding: 0 0 0 0em; } - .row.gtr-0.gtr-uniform { - margin-top: 0em; } - .row.gtr-0.gtr-uniform > * { - padding-top: 0em; } - .row.gtr-25 { - margin-top: 0; - margin-left: -0.5em; } - .row.gtr-25 > * { - padding: 0 0 0 0.5em; } - .row.gtr-25.gtr-uniform { - margin-top: -0.5em; } - .row.gtr-25.gtr-uniform > * { - padding-top: 0.5em; } - .row.gtr-50 { - margin-top: 0; - margin-left: -1em; } - .row.gtr-50 > * { - padding: 0 0 0 1em; } - .row.gtr-50.gtr-uniform { - margin-top: -1em; } - .row.gtr-50.gtr-uniform > * { - padding-top: 1em; } - .row { - margin-top: 0; - margin-left: -2em; } - .row > * { - padding: 0 0 0 2em; } - .row.gtr-uniform { - margin-top: -2em; } - .row.gtr-uniform > * { - padding-top: 2em; } - .row.gtr-150 { - margin-top: 0; - margin-left: -3em; } - .row.gtr-150 > * { - padding: 0 0 0 3em; } - .row.gtr-150.gtr-uniform { - margin-top: -3em; } - .row.gtr-150.gtr-uniform > * { - padding-top: 3em; } - .row.gtr-200 { - margin-top: 0; - margin-left: -4em; } - .row.gtr-200 > * { - padding: 0 0 0 4em; } - .row.gtr-200.gtr-uniform { - margin-top: -4em; } - .row.gtr-200.gtr-uniform > * { - padding-top: 4em; } - @media screen and (max-width: 1680px) { - .row { - display: flex; - flex-wrap: wrap; - box-sizing: border-box; - align-items: stretch; } - .row > * { - box-sizing: border-box; } - .row.gtr-uniform > * > :last-child { - margin-bottom: 0; } - .row.aln-left { - justify-content: flex-start; } - .row.aln-center { - justify-content: center; } - .row.aln-right { - justify-content: flex-end; } - .row.aln-top { - align-items: flex-start; } - .row.aln-middle { - align-items: center; } - .row.aln-bottom { - align-items: flex-end; } - .row > .imp-xlarge { - order: -1; } - .row > .col-1-xlarge { - width: 8.3333333333%; } - .row > .off-1-xlarge { - margin-left: 8.3333333333%; } - .row > .col-2-xlarge { - width: 16.6666666667%; } - .row > .off-2-xlarge { - margin-left: 16.6666666667%; } - .row > .col-3-xlarge { - width: 25%; } - .row > .off-3-xlarge { - margin-left: 25%; } - .row > .col-4-xlarge { - width: 33.3333333333%; } - .row > .off-4-xlarge { - margin-left: 33.3333333333%; } - .row > .col-5-xlarge { - width: 41.6666666667%; } - .row > .off-5-xlarge { - margin-left: 41.6666666667%; } - .row > .col-6-xlarge { - width: 50%; } - .row > .off-6-xlarge { - margin-left: 50%; } - .row > .col-7-xlarge { - width: 58.3333333333%; } - .row > .off-7-xlarge { - margin-left: 58.3333333333%; } - .row > .col-8-xlarge { - width: 66.6666666667%; } - .row > .off-8-xlarge { - margin-left: 66.6666666667%; } - .row > .col-9-xlarge { - width: 75%; } - .row > .off-9-xlarge { - margin-left: 75%; } - .row > .col-10-xlarge { - width: 83.3333333333%; } - .row > .off-10-xlarge { - margin-left: 83.3333333333%; } - .row > .col-11-xlarge { - width: 91.6666666667%; } - .row > .off-11-xlarge { - margin-left: 91.6666666667%; } - .row > .col-12-xlarge { - width: 100%; } - .row > .off-12-xlarge { - margin-left: 100%; } - .row.gtr-0 { - margin-top: 0; - margin-left: 0em; } - .row.gtr-0 > * { - padding: 0 0 0 0em; } - .row.gtr-0.gtr-uniform { - margin-top: 0em; } - .row.gtr-0.gtr-uniform > * { - padding-top: 0em; } - .row.gtr-25 { - margin-top: 0; - margin-left: -0.5em; } - .row.gtr-25 > * { - padding: 0 0 0 0.5em; } - .row.gtr-25.gtr-uniform { - margin-top: -0.5em; } - .row.gtr-25.gtr-uniform > * { - padding-top: 0.5em; } - .row.gtr-50 { - margin-top: 0; - margin-left: -1em; } - .row.gtr-50 > * { - padding: 0 0 0 1em; } - .row.gtr-50.gtr-uniform { - margin-top: -1em; } - .row.gtr-50.gtr-uniform > * { - padding-top: 1em; } - .row { - margin-top: 0; - margin-left: -2em; } - .row > * { - padding: 0 0 0 2em; } - .row.gtr-uniform { - margin-top: -2em; } - .row.gtr-uniform > * { - padding-top: 2em; } - .row.gtr-150 { - margin-top: 0; - margin-left: -3em; } - .row.gtr-150 > * { - padding: 0 0 0 3em; } - .row.gtr-150.gtr-uniform { - margin-top: -3em; } - .row.gtr-150.gtr-uniform > * { - padding-top: 3em; } - .row.gtr-200 { - margin-top: 0; - margin-left: -4em; } - .row.gtr-200 > * { - padding: 0 0 0 4em; } - .row.gtr-200.gtr-uniform { - margin-top: -4em; } - .row.gtr-200.gtr-uniform > * { - padding-top: 4em; } } - @media screen and (max-width: 1280px) { - .row { - display: flex; - flex-wrap: wrap; - box-sizing: border-box; - align-items: stretch; } - .row > * { - box-sizing: border-box; } - .row.gtr-uniform > * > :last-child { - margin-bottom: 0; } - .row.aln-left { - justify-content: flex-start; } - .row.aln-center { - justify-content: center; } - .row.aln-right { - justify-content: flex-end; } - .row.aln-top { - align-items: flex-start; } - .row.aln-middle { - align-items: center; } - .row.aln-bottom { - align-items: flex-end; } - .row > .imp-large { - order: -1; } - .row > .col-1-large { - width: 8.3333333333%; } - .row > .off-1-large { - margin-left: 8.3333333333%; } - .row > .col-2-large { - width: 16.6666666667%; } - .row > .off-2-large { - margin-left: 16.6666666667%; } - .row > .col-3-large { - width: 25%; } - .row > .off-3-large { - margin-left: 25%; } - .row > .col-4-large { - width: 33.3333333333%; } - .row > .off-4-large { - margin-left: 33.3333333333%; } - .row > .col-5-large { - width: 41.6666666667%; } - .row > .off-5-large { - margin-left: 41.6666666667%; } - .row > .col-6-large { - width: 50%; } - .row > .off-6-large { - margin-left: 50%; } - .row > .col-7-large { - width: 58.3333333333%; } - .row > .off-7-large { - margin-left: 58.3333333333%; } - .row > .col-8-large { - width: 66.6666666667%; } - .row > .off-8-large { - margin-left: 66.6666666667%; } - .row > .col-9-large { - width: 75%; } - .row > .off-9-large { - margin-left: 75%; } - .row > .col-10-large { - width: 83.3333333333%; } - .row > .off-10-large { - margin-left: 83.3333333333%; } - .row > .col-11-large { - width: 91.6666666667%; } - .row > .off-11-large { - margin-left: 91.6666666667%; } - .row > .col-12-large { - width: 100%; } - .row > .off-12-large { - margin-left: 100%; } - .row.gtr-0 { - margin-top: 0; - margin-left: 0em; } - .row.gtr-0 > * { - padding: 0 0 0 0em; } - .row.gtr-0.gtr-uniform { - margin-top: 0em; } - .row.gtr-0.gtr-uniform > * { - padding-top: 0em; } - .row.gtr-25 { - margin-top: 0; - margin-left: -0.375em; } - .row.gtr-25 > * { - padding: 0 0 0 0.375em; } - .row.gtr-25.gtr-uniform { - margin-top: -0.375em; } - .row.gtr-25.gtr-uniform > * { - padding-top: 0.375em; } - .row.gtr-50 { - margin-top: 0; - margin-left: -0.75em; } - .row.gtr-50 > * { - padding: 0 0 0 0.75em; } - .row.gtr-50.gtr-uniform { - margin-top: -0.75em; } - .row.gtr-50.gtr-uniform > * { - padding-top: 0.75em; } - .row { - margin-top: 0; - margin-left: -1.5em; } - .row > * { - padding: 0 0 0 1.5em; } - .row.gtr-uniform { - margin-top: -1.5em; } - .row.gtr-uniform > * { - padding-top: 1.5em; } - .row.gtr-150 { - margin-top: 0; - margin-left: -2.25em; } - .row.gtr-150 > * { - padding: 0 0 0 2.25em; } - .row.gtr-150.gtr-uniform { - margin-top: -2.25em; } - .row.gtr-150.gtr-uniform > * { - padding-top: 2.25em; } - .row.gtr-200 { - margin-top: 0; - margin-left: -3em; } - .row.gtr-200 > * { - padding: 0 0 0 3em; } - .row.gtr-200.gtr-uniform { - margin-top: -3em; } - .row.gtr-200.gtr-uniform > * { - padding-top: 3em; } } - @media screen and (max-width: 1024px) { - .row { - display: flex; - flex-wrap: wrap; - box-sizing: border-box; - align-items: stretch; } - .row > * { - box-sizing: border-box; } - .row.gtr-uniform > * > :last-child { - margin-bottom: 0; } - .row.aln-left { - justify-content: flex-start; } - .row.aln-center { - justify-content: center; } - .row.aln-right { - justify-content: flex-end; } - .row.aln-top { - align-items: flex-start; } - .row.aln-middle { - align-items: center; } - .row.aln-bottom { - align-items: flex-end; } - .row > .imp-medium { - order: -1; } - .row > .col-1-medium { - width: 8.3333333333%; } - .row > .off-1-medium { - margin-left: 8.3333333333%; } - .row > .col-2-medium { - width: 16.6666666667%; } - .row > .off-2-medium { - margin-left: 16.6666666667%; } - .row > .col-3-medium { - width: 25%; } - .row > .off-3-medium { - margin-left: 25%; } - .row > .col-4-medium { - width: 33.3333333333%; } - .row > .off-4-medium { - margin-left: 33.3333333333%; } - .row > .col-5-medium { - width: 41.6666666667%; } - .row > .off-5-medium { - margin-left: 41.6666666667%; } - .row > .col-6-medium { - width: 50%; } - .row > .off-6-medium { - margin-left: 50%; } - .row > .col-7-medium { - width: 58.3333333333%; } - .row > .off-7-medium { - margin-left: 58.3333333333%; } - .row > .col-8-medium { - width: 66.6666666667%; } - .row > .off-8-medium { - margin-left: 66.6666666667%; } - .row > .col-9-medium { - width: 75%; } - .row > .off-9-medium { - margin-left: 75%; } - .row > .col-10-medium { - width: 83.3333333333%; } - .row > .off-10-medium { - margin-left: 83.3333333333%; } - .row > .col-11-medium { - width: 91.6666666667%; } - .row > .off-11-medium { - margin-left: 91.6666666667%; } - .row > .col-12-medium { - width: 100%; } - .row > .off-12-medium { - margin-left: 100%; } - .row.gtr-0 { - margin-top: 0; - margin-left: 0em; } - .row.gtr-0 > * { - padding: 0 0 0 0em; } - .row.gtr-0.gtr-uniform { - margin-top: 0em; } - .row.gtr-0.gtr-uniform > * { - padding-top: 0em; } - .row.gtr-25 { - margin-top: 0; - margin-left: -0.375em; } - .row.gtr-25 > * { - padding: 0 0 0 0.375em; } - .row.gtr-25.gtr-uniform { - margin-top: -0.375em; } - .row.gtr-25.gtr-uniform > * { - padding-top: 0.375em; } - .row.gtr-50 { - margin-top: 0; - margin-left: -0.75em; } - .row.gtr-50 > * { - padding: 0 0 0 0.75em; } - .row.gtr-50.gtr-uniform { - margin-top: -0.75em; } - .row.gtr-50.gtr-uniform > * { - padding-top: 0.75em; } - .row { - margin-top: 0; - margin-left: -1.5em; } - .row > * { - padding: 0 0 0 1.5em; } - .row.gtr-uniform { - margin-top: -1.5em; } - .row.gtr-uniform > * { - padding-top: 1.5em; } - .row.gtr-150 { - margin-top: 0; - margin-left: -2.25em; } - .row.gtr-150 > * { - padding: 0 0 0 2.25em; } - .row.gtr-150.gtr-uniform { - margin-top: -2.25em; } - .row.gtr-150.gtr-uniform > * { - padding-top: 2.25em; } - .row.gtr-200 { - margin-top: 0; - margin-left: -3em; } - .row.gtr-200 > * { - padding: 0 0 0 3em; } - .row.gtr-200.gtr-uniform { - margin-top: -3em; } - .row.gtr-200.gtr-uniform > * { - padding-top: 3em; } } - @media screen and (max-width: 736px) { - .row { - display: flex; - flex-wrap: wrap; - box-sizing: border-box; - align-items: stretch; } - .row > * { - box-sizing: border-box; } - .row.gtr-uniform > * > :last-child { - margin-bottom: 0; } - .row.aln-left { - justify-content: flex-start; } - .row.aln-center { - justify-content: center; } - .row.aln-right { - justify-content: flex-end; } - .row.aln-top { - align-items: flex-start; } - .row.aln-middle { - align-items: center; } - .row.aln-bottom { - align-items: flex-end; } - .row > .imp-small { - order: -1; } - .row > .col-1-small { - width: 8.3333333333%; } - .row > .off-1-small { - margin-left: 8.3333333333%; } - .row > .col-2-small { - width: 16.6666666667%; } - .row > .off-2-small { - margin-left: 16.6666666667%; } - .row > .col-3-small { - width: 25%; } - .row > .off-3-small { - margin-left: 25%; } - .row > .col-4-small { - width: 33.3333333333%; } - .row > .off-4-small { - margin-left: 33.3333333333%; } - .row > .col-5-small { - width: 41.6666666667%; } - .row > .off-5-small { - margin-left: 41.6666666667%; } - .row > .col-6-small { - width: 50%; } - .row > .off-6-small { - margin-left: 50%; } - .row > .col-7-small { - width: 58.3333333333%; } - .row > .off-7-small { - margin-left: 58.3333333333%; } - .row > .col-8-small { - width: 66.6666666667%; } - .row > .off-8-small { - margin-left: 66.6666666667%; } - .row > .col-9-small { - width: 75%; } - .row > .off-9-small { - margin-left: 75%; } - .row > .col-10-small { - width: 83.3333333333%; } - .row > .off-10-small { - margin-left: 83.3333333333%; } - .row > .col-11-small { - width: 91.6666666667%; } - .row > .off-11-small { - margin-left: 91.6666666667%; } - .row > .col-12-small { - width: 100%; } - .row > .off-12-small { - margin-left: 100%; } - .row.gtr-0 { - margin-top: 0; - margin-left: 0em; } - .row.gtr-0 > * { - padding: 0 0 0 0em; } - .row.gtr-0.gtr-uniform { - margin-top: 0em; } - .row.gtr-0.gtr-uniform > * { - padding-top: 0em; } - .row.gtr-25 { - margin-top: 0; - margin-left: -0.3125em; } - .row.gtr-25 > * { - padding: 0 0 0 0.3125em; } - .row.gtr-25.gtr-uniform { - margin-top: -0.3125em; } - .row.gtr-25.gtr-uniform > * { - padding-top: 0.3125em; } - .row.gtr-50 { - margin-top: 0; - margin-left: -0.625em; } - .row.gtr-50 > * { - padding: 0 0 0 0.625em; } - .row.gtr-50.gtr-uniform { - margin-top: -0.625em; } - .row.gtr-50.gtr-uniform > * { - padding-top: 0.625em; } - .row { - margin-top: 0; - margin-left: -1.25em; } - .row > * { - padding: 0 0 0 1.25em; } - .row.gtr-uniform { - margin-top: -1.25em; } - .row.gtr-uniform > * { - padding-top: 1.25em; } - .row.gtr-150 { - margin-top: 0; - margin-left: -1.875em; } - .row.gtr-150 > * { - padding: 0 0 0 1.875em; } - .row.gtr-150.gtr-uniform { - margin-top: -1.875em; } - .row.gtr-150.gtr-uniform > * { - padding-top: 1.875em; } - .row.gtr-200 { - margin-top: 0; - margin-left: -2.5em; } - .row.gtr-200 > * { - padding: 0 0 0 2.5em; } - .row.gtr-200.gtr-uniform { - margin-top: -2.5em; } - .row.gtr-200.gtr-uniform > * { - padding-top: 2.5em; } } - @media screen and (max-width: 480px) { - .row { - display: flex; - flex-wrap: wrap; - box-sizing: border-box; - align-items: stretch; } - .row > * { - box-sizing: border-box; } - .row.gtr-uniform > * > :last-child { - margin-bottom: 0; } - .row.aln-left { - justify-content: flex-start; } - .row.aln-center { - justify-content: center; } - .row.aln-right { - justify-content: flex-end; } - .row.aln-top { - align-items: flex-start; } - .row.aln-middle { - align-items: center; } - .row.aln-bottom { - align-items: flex-end; } - .row > .imp-xsmall { - order: -1; } - .row > .col-1-xsmall { - width: 8.3333333333%; } - .row > .off-1-xsmall { - margin-left: 8.3333333333%; } - .row > .col-2-xsmall { - width: 16.6666666667%; } - .row > .off-2-xsmall { - margin-left: 16.6666666667%; } - .row > .col-3-xsmall { - width: 25%; } - .row > .off-3-xsmall { - margin-left: 25%; } - .row > .col-4-xsmall { - width: 33.3333333333%; } - .row > .off-4-xsmall { - margin-left: 33.3333333333%; } - .row > .col-5-xsmall { - width: 41.6666666667%; } - .row > .off-5-xsmall { - margin-left: 41.6666666667%; } - .row > .col-6-xsmall { - width: 50%; } - .row > .off-6-xsmall { - margin-left: 50%; } - .row > .col-7-xsmall { - width: 58.3333333333%; } - .row > .off-7-xsmall { - margin-left: 58.3333333333%; } - .row > .col-8-xsmall { - width: 66.6666666667%; } - .row > .off-8-xsmall { - margin-left: 66.6666666667%; } - .row > .col-9-xsmall { - width: 75%; } - .row > .off-9-xsmall { - margin-left: 75%; } - .row > .col-10-xsmall { - width: 83.3333333333%; } - .row > .off-10-xsmall { - margin-left: 83.3333333333%; } - .row > .col-11-xsmall { - width: 91.6666666667%; } - .row > .off-11-xsmall { - margin-left: 91.6666666667%; } - .row > .col-12-xsmall { - width: 100%; } - .row > .off-12-xsmall { - margin-left: 100%; } - .row.gtr-0 { - margin-top: 0; - margin-left: 0em; } - .row.gtr-0 > * { - padding: 0 0 0 0em; } - .row.gtr-0.gtr-uniform { - margin-top: 0em; } - .row.gtr-0.gtr-uniform > * { - padding-top: 0em; } - .row.gtr-25 { - margin-top: 0; - margin-left: -0.3125em; } - .row.gtr-25 > * { - padding: 0 0 0 0.3125em; } - .row.gtr-25.gtr-uniform { - margin-top: -0.3125em; } - .row.gtr-25.gtr-uniform > * { - padding-top: 0.3125em; } - .row.gtr-50 { - margin-top: 0; - margin-left: -0.625em; } - .row.gtr-50 > * { - padding: 0 0 0 0.625em; } - .row.gtr-50.gtr-uniform { - margin-top: -0.625em; } - .row.gtr-50.gtr-uniform > * { - padding-top: 0.625em; } - .row { - margin-top: 0; - margin-left: -1.25em; } - .row > * { - padding: 0 0 0 1.25em; } - .row.gtr-uniform { - margin-top: -1.25em; } - .row.gtr-uniform > * { - padding-top: 1.25em; } - .row.gtr-150 { - margin-top: 0; - margin-left: -1.875em; } - .row.gtr-150 > * { - padding: 0 0 0 1.875em; } - .row.gtr-150.gtr-uniform { - margin-top: -1.875em; } - .row.gtr-150.gtr-uniform > * { - padding-top: 1.875em; } - .row.gtr-200 { - margin-top: 0; - margin-left: -2.5em; } - .row.gtr-200 > * { - padding: 0 0 0 2.5em; } - .row.gtr-200.gtr-uniform { - margin-top: -2.5em; } - .row.gtr-200.gtr-uniform > * { - padding-top: 2.5em; } } - -/* Container */ -.container { - margin: 0 auto; - max-width: calc(100% - 4.5em); - width: 45em; } - .container.xsmall { - width: 11.25em; } - .container.small { - width: 22.5em; } - .container.medium { - width: 33.75em; } - .container.large { - width: 56.25em; } - .container.xlarge { - width: 67.5em; } - .container.max { - width: 100%; } - @media screen and (max-width: 1024px) { - .container { - width: 100% !important; } } - @media screen and (max-width: 480px) { - .container { - max-width: calc(100% - 3.375em); } } - -/* Section/Article */ -section.special, article.special { - text-align: center; } - -header p { - color: #aaa; - position: relative; - margin: 0 0 1.6875em 0; } -header h2 + p { - font-size: 1.25em; - margin-top: -0.5em; - line-height: 1.5em; } -header h3 + p { - font-size: 1.1em; - margin-top: -0.35em; - line-height: 1.5em; } -header h4 + p, -header h5 + p, -header h6 + p { - font-size: 0.9em; - margin-top: -0.25em; - line-height: 1.5em; } -header.major h2 { - color: #5ad3fe; - font-size: 3.5em; } - header.major h2 + p { - color: #777; - font-size: 1.75em; - font-weight: 700; - margin-top: -0.75em; } - -/* Form */ -form { - margin: 0 0 2.25em 0; } - -label { - color: #777; - display: block; - font-size: 0.9em; - font-weight: 700; - margin: 0 0 1.125em 0; } - -input::-moz-focus-inner { - border: 0; - padding: 0; } - -input[type="text"], -input[type="password"], -input[type="email"], -select, -textarea { - -moz-appearance: none; - -webkit-appearance: none; - -ms-appearance: none; - appearance: none; - border-radius: 5px; - border: none; - border: solid 2px #e4e4e4; - color: inherit; - display: block; - outline: 0; - padding: 0 1em; - text-decoration: none; - width: 100%; } - input[type="text"]:invalid, - input[type="password"]:invalid, - input[type="email"]:invalid, - select:invalid, - textarea:invalid { - box-shadow: none; } - input[type="text"]:focus, - input[type="password"]:focus, - input[type="email"]:focus, - select:focus, - textarea:focus { - border-color: #5ad3fe; } - -select { - background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'%3E%3Cpath d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='%23e4e4e4' /%3E%3C/svg%3E"); - background-size: 1.25em; - background-repeat: no-repeat; - background-position: calc(100% - 1em) center; - height: 2.75em; - padding-right: 2.75em; - text-overflow: ellipsis; } - select option { - color: #777; - background: #fff; } - select:focus::-ms-value { - background-color: transparent; } - select::-ms-expand { - display: none; } - -input[type="text"], -input[type="password"], -input[type="email"], -select { - height: 2.75em; } - -textarea { - padding: 0.75em 1em; } - -input[type="checkbox"], -input[type="radio"] { - -moz-appearance: none; - -webkit-appearance: none; - -ms-appearance: none; - appearance: none; - display: block; - float: left; - margin-right: -2em; - opacity: 0; - width: 1em; - z-index: -1; } - input[type="checkbox"] + label, - input[type="radio"] + label { - text-decoration: none; - color: #888; - cursor: pointer; - display: inline-block; - font-size: 1em; - font-weight: 400; - padding-left: 2.4em; - padding-right: 0.75em; - position: relative; } - input[type="checkbox"] + label:before, - input[type="radio"] + label:before { - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - display: inline-block; - font-style: normal; - font-variant: normal; - text-rendering: auto; - line-height: 1; - text-transform: none !important; - font-family: 'Font Awesome 5 Free'; - font-weight: 900; } - input[type="checkbox"] + label:before, - input[type="radio"] + label:before { - background: #fafafa; - border-radius: 5px; - border: solid 2px #e4e4e4; - content: ''; - display: inline-block; - font-size: 0.8em; - height: 2.0625em; - left: 0; - line-height: 2.0625em; - position: absolute; - text-align: center; - top: 0; - width: 2.0625em; } - input[type="checkbox"]:checked + label:before, - input[type="radio"]:checked + label:before { - background: #989898; - border-color: #989898; - color: #ffffff; - content: '\f00c'; } - input[type="checkbox"]:focus + label:before, - input[type="radio"]:focus + label:before { - border-color: #5ad3fe; } - -input[type="checkbox"] + label:before { - border-radius: 5px; } - -input[type="radio"] + label:before { - border-radius: 100%; } - -::-webkit-input-placeholder { - color: #aaa !important; - font-style: italic; - opacity: 1.0; } - -:-moz-placeholder { - color: #aaa !important; - font-style: italic; - opacity: 1.0; } - -::-moz-placeholder { - color: #aaa !important; - font-style: italic; - opacity: 1.0; } - -:-ms-input-placeholder { - color: #aaa !important; - font-style: italic; - opacity: 1.0; } - -/* Box */ -.box { - border-radius: 5px; - border: solid 2px #e4e4e4; - margin-bottom: 2.25em; - padding: 1.5em; } - .box > :last-child, - .box > :last-child > :last-child, - .box > :last-child > :last-child > :last-child { - margin-bottom: 0; } - .box.alt { - border: 0; - border-radius: 0; - padding: 0; } - -/* Icon */ -.icon { - text-decoration: none; - border-bottom: none; - position: relative; } - .icon:before { - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - display: inline-block; - font-style: normal; - font-variant: normal; - text-rendering: auto; - line-height: 1; - text-transform: none !important; - font-family: 'Font Awesome 5 Free'; - font-weight: 400; } - .icon > .label { - display: none; } - .icon:before { - line-height: inherit; } - .icon.solid:before { - font-weight: 900; } - .icon.brands:before { - font-family: 'Font Awesome 5 Brands'; } - -/* Image */ -.image { - border-radius: 5px; - border: 0; - display: inline-block; - position: relative; } - .image[data-position] img { - -moz-object-fit: cover; - -webkit-object-fit: cover; - -ms-object-fit: cover; - object-fit: cover; - display: block; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; } - .image[data-position="top left"] img { - -moz-object-position: top left; - -webkit-object-position: top left; - -ms-object-position: top left; - object-position: top left; } - .image[data-position="top"] img { - -moz-object-position: top; - -webkit-object-position: top; - -ms-object-position: top; - object-position: top; } - .image[data-position="top right"] img { - -moz-object-position: top right; - -webkit-object-position: top right; - -ms-object-position: top right; - object-position: top right; } - .image[data-position="right"] img { - -moz-object-position: right; - -webkit-object-position: right; - -ms-object-position: right; - object-position: right; } - .image[data-position="bottom right"] img { - -moz-object-position: bottom right; - -webkit-object-position: bottom right; - -ms-object-position: bottom right; - object-position: bottom right; } - .image[data-position="bottom"] img { - -moz-object-position: bottom; - -webkit-object-position: bottom; - -ms-object-position: bottom; - object-position: bottom; } - .image[data-position="bottom left"] img { - -moz-object-position: bottom left; - -webkit-object-position: bottom left; - -ms-object-position: bottom left; - object-position: bottom left; } - .image[data-position="left"] img { - -moz-object-position: left; - -webkit-object-position: left; - -ms-object-position: left; - object-position: left; } - .image[data-position="center"] img { - -moz-object-position: center; - -webkit-object-position: center; - -ms-object-position: center; - object-position: center; } - .image[data-position="25% 25%"] img { - -moz-object-position: 25% 25%; - -webkit-object-position: 25% 25%; - -ms-object-position: 25% 25%; - object-position: 25% 25%; } - .image[data-position="75% 25%"] img { - -moz-object-position: 75% 25%; - -webkit-object-position: 75% 25%; - -ms-object-position: 75% 25%; - object-position: 75% 25%; } - .image[data-position="75% 75%"] img { - -moz-object-position: 75% 75%; - -webkit-object-position: 75% 75%; - -ms-object-position: 75% 75%; - object-position: 75% 75%; } - .image[data-position="25% 75%"] img { - -moz-object-position: 25% 75%; - -webkit-object-position: 25% 75%; - -ms-object-position: 25% 75%; - object-position: 25% 75%; } - .image img { - border-radius: 5px; - display: block; } - .image.left { - float: left; - margin: 0 2.5em 2em 0; - top: 0.25em; } - .image.right { - float: right; - margin: 0 0 2em 2.5em; - top: 0.25em; } - .image.fit { - display: block; - margin: 0 0 2.25em 0; - width: 100%; } - .image.fit img { - display: block; - width: 100%; } - .image.avatar { - border-radius: 200px; - overflow: hidden; - background: white; - width: 100%; - height: 70%; } - .image.avatar img { - border-radius: 200px; - display: inline-block; - width: 85%; } - .image.main { - display: block; - height: 20em; - border-radius: 0; } - .image.main img { - border-radius: 0; } - -/* List */ -ol { - list-style: decimal; - margin: 0 0 2.25em 0; - padding-left: 1.25em; } - ol li { - padding-left: 0.25em; } - -ul { - list-style: disc; - margin: 0 0 2.25em 0; - padding-left: 1em; } - ul li { - padding-left: 0.5em; } - ul.alt { - list-style: none; - padding-left: 0; } - ul.alt li { - border-top: solid 2px #f4f4f4; - padding: 0.5em 0; } - ul.alt li:first-child { - border-top: 0; - padding-top: 0; } - -dl { - margin: 0 0 2.25em 0; } - -/* Actions */ -ul.actions { - display: -moz-flex; - display: -webkit-flex; - display: -ms-flex; - display: flex; - cursor: default; - list-style: none; - margin-left: -1.125em; - padding-left: 0; } - ul.actions li { - padding: 0 0 0 1.125em; - vertical-align: middle; } - ul.actions.special { - -moz-justify-content: center; - -webkit-justify-content: center; - -ms-justify-content: center; - justify-content: center; - width: 100%; - margin-left: 0; } - ul.actions.special li:first-child { - padding-left: 0; } - ul.actions.stacked { - -moz-flex-direction: column; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - margin-left: 0; } - ul.actions.stacked li { - padding: 1.125em 0 0 0; } - ul.actions.stacked li:first-child { - padding-top: 0; } - ul.actions.fit { - width: calc(100% + 1.125em); } - ul.actions.fit li { - -moz-flex-grow: 1; - -webkit-flex-grow: 1; - -ms-flex-grow: 1; - flex-grow: 1; - -moz-flex-shrink: 1; - -webkit-flex-shrink: 1; - -ms-flex-shrink: 1; - flex-shrink: 1; - width: 100%; } - ul.actions.fit li > * { - width: 100%; } - ul.actions.fit.stacked { - width: 100%; } - @media screen and (max-width: 480px) { - ul.actions:not(.fixed) { - -moz-flex-direction: column; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - margin-left: 0; - width: 100% !important; } - ul.actions:not(.fixed) li { - -moz-flex-grow: 1; - -webkit-flex-grow: 1; - -ms-flex-grow: 1; - flex-grow: 1; - -moz-flex-shrink: 1; - -webkit-flex-shrink: 1; - -ms-flex-shrink: 1; - flex-shrink: 1; - padding: 1.125em 0 0 0; - text-align: center; - width: 100%; } - ul.actions:not(.fixed) li > * { - width: 100%; } - ul.actions:not(.fixed) li:first-child { - padding-top: 0; } - ul.actions:not(.fixed) li input[type="submit"], - ul.actions:not(.fixed) li input[type="reset"], - ul.actions:not(.fixed) li input[type="button"], - ul.actions:not(.fixed) li button, - ul.actions:not(.fixed) li .button { - width: 100%; } - ul.actions:not(.fixed) li input[type="submit"].icon:before, - ul.actions:not(.fixed) li input[type="reset"].icon:before, - ul.actions:not(.fixed) li input[type="button"].icon:before, - ul.actions:not(.fixed) li button.icon:before, - ul.actions:not(.fixed) li .button.icon:before { - margin-left: -0.5rem; } } - -/* Feature Icons */ -ul.feature-icons { - list-style: none; - padding-left: 0; } - ul.feature-icons li { - text-decoration: none; - display: inline-block; - margin: 0 0 1.6875em 0; - padding: 0.35em 0 0 3.5em; - position: relative; - vertical-align: top; - width: 48%; } - ul.feature-icons li:before { - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - display: inline-block; - font-style: normal; - font-variant: normal; - text-rendering: auto; - line-height: 1; - text-transform: none !important; - font-family: 'Font Awesome 5 Free'; - font-weight: 400; } - ul.feature-icons li:before { - background: #5ad3fe; - border-radius: 100%; - color: #ffffff; - display: block; - height: 2.5em; - left: 0; - line-height: 2.5em; - position: absolute; - text-align: center; - top: 0; - width: 2.5em; } - -/* Icons */ -ul.icons { - cursor: default; - list-style: none; - padding-left: 0; } - ul.icons li { - display: inline-block; - padding: 0 1em 0 0; } - ul.icons li:last-child { - padding-right: 0 !important; } - ul.icons li .icon:before { - font-size: 1.25em; } - -/* Table */ -.table-wrapper { - -webkit-overflow-scrolling: touch; - overflow-x: auto; } - -table { - margin: 0 0 2.25em 0; - width: 100%; } - table tbody tr { - border: solid 2px #f4f4f4; - border-left: 0; - border-right: 0; } - table tbody tr:nth-child(2n + 1) { - background-color: #fafafa; } - table td { - padding: 0.75em 0.75em; } - table th { - color: #777; - font-size: 0.9em; - font-weight: 700; - padding: 0 0.75em 0.75em 0.75em; - text-align: left; } - table thead { - border-bottom: solid 4px #e4e4e4; } - table tfoot { - border-top: solid 4px #e4e4e4; } - table.alt { - border-collapse: separate; } - table.alt tbody tr td { - border: solid 2px #e4e4e4; - border-left-width: 0; - border-top-width: 0; } - table.alt tbody tr td:first-child { - border-left-width: 2px; } - table.alt tbody tr:first-child td { - border-top-width: 2px; } - table.alt thead { - border-bottom: 0; } - table.alt tfoot { - border-top: 0; } - -/* Button */ -input[type="submit"], -input[type="reset"], -input[type="button"], -.button { - -moz-appearance: none; - -webkit-appearance: none; - -ms-appearance: none; - appearance: none; - -moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; - -webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; - -ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; - transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; - background-color: #989898; - border-radius: 5px; - border: 0; - color: #ffffff !important; - cursor: pointer; - display: inline-block; - font-weight: 700; - height: 2.75em; - line-height: 2.75em; - padding: 0 1.5em; - text-align: center; - text-decoration: none; - white-space: nowrap; } - input[type="submit"]:hover, - input[type="reset"]:hover, - input[type="button"]:hover, - .button:hover { - background-color: #a5a5a5; - color: #ffffff !important; } - input[type="submit"]:active, - input[type="reset"]:active, - input[type="button"]:active, - .button:active { - background-color: #8b8b8b; } - input[type="submit"].icon, - input[type="reset"].icon, - input[type="button"].icon, - .button.icon { - padding-left: 1.35em; } - input[type="submit"].icon:before, - input[type="reset"].icon:before, - input[type="button"].icon:before, - .button.icon:before { - margin-right: 0.5em; } - input[type="submit"].fit, - input[type="reset"].fit, - input[type="button"].fit, - .button.fit { - width: 100%; } - input[type="submit"].small, - input[type="reset"].small, - input[type="button"].small, - .button.small { - font-size: 0.8em; } - input[type="submit"].large, - input[type="reset"].large, - input[type="button"].large, - .button.large { - font-size: 1.35em; } - input[type="submit"].alt, - input[type="reset"].alt, - input[type="button"].alt, - .button.alt { - background-color: transparent; - box-shadow: inset 0 0 0 2px #e4e4e4; - color: #777 !important; } - input[type="submit"].alt:hover, - input[type="reset"].alt:hover, - input[type="button"].alt:hover, - .button.alt:hover { - background-color: #f4f4f4; - color: #777 !important; } - input[type="submit"].alt:active, - input[type="reset"].alt:active, - input[type="button"].alt:active, - .button.alt:active { - background-color: #eaeaea; } - input[type="submit"].alt.icon:before, - input[type="reset"].alt.icon:before, - input[type="button"].alt.icon:before, - .button.alt.icon:before { - color: #aaa; } - input[type="submit"].primary, - input[type="reset"].primary, - input[type="button"].primary, - .button.primary { - background-color: #5ad3fe; - color: #ffffff !important; } - input[type="submit"].primary:hover, - input[type="reset"].primary:hover, - input[type="button"].primary:hover, - .button.primary:hover { - background-color: #73dafe; } - input[type="submit"].primary:active, - input[type="reset"].primary:active, - input[type="button"].primary:active, - .button.primary:active { - background-color: #41ccfe; } - input[type="submit"].disabled, input[type="submit"]:disabled, - input[type="reset"].disabled, - input[type="reset"]:disabled, - input[type="button"].disabled, - input[type="button"]:disabled, - .button.disabled, - .button:disabled { - background-color: #888 !important; - box-shadow: inset 0 -0.15em 0 0 rgba(0, 0, 0, 0.15); - color: #fff !important; - cursor: default; - opacity: 0.25; } - -/* Features */ -.features article { - border-top: solid 3px #f4f4f4; - margin-bottom: 2.25em; - padding-top: 2.25em; } - .features article:first-child { - border-top: 0; - padding-top: 0; } - .features article .image { - display: inline-block; - padding-right: 2.5em; - vertical-align: middle; - width: 48%; } - .features article .image img { - display: block; - width: 100%; } - .features article .inner { - display: inline-block; - vertical-align: middle; - width: 50%; - padding-left: 10px; - padding-right: 10px; } - .features article .inner > :last-child { - margin-bottom: 0; } - -/* Header */ -#header::-webkit-scrollbar { - display: none; } - -#header { - display: -moz-flex; - display: -webkit-flex; - display: -ms-flex; - display: flex; - -moz-flex-direction: column; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -moz-justify-content: space-between; - -webkit-justify-content: space-between; - -ms-justify-content: space-between; - justify-content: space-between; - background: #5ad3fe; - color: #d6f4ff; - height: 100%; - overflow-y: auto; - position: fixed; - text-align: center; - top: 0; - width: 23em; - transition: linear .5s; - -ms-overflow-style: none; - /* IE and Edge */ - scrollbar-width: none; - /* Firefox */ - right: 0; } - #header h1, #header h2, #header h3, #header h4, #header h5, #header h6 { - color: #ffffff; } - #header h1 a, #header h2 a, #header h3 a, #header h4 a, #header h5 a, #header h6 a { - color: #ffffff; } - #header header p { - color: #bdedff; } - #header a { - color: #d6f4ff; } - #header a:hover { - color: #ffffff !important; } - #header > header { - -moz-flex-shrink: 0; - -webkit-flex-shrink: 0; - -ms-flex-shrink: 0; - flex-shrink: 0; - padding: 2em; } - #header > header .avatar { - display: block; - margin: 0 auto 2.25em auto; - width: 8em; } - #header > header h1 { - font-size: 1.75em; - margin: 0; } - #header > header p { - color: #d6f4ff; - font-style: italic; - margin: 1em 0 0 0; } - #header > footer { - -moz-flex-shrink: 0; - -webkit-flex-shrink: 0; - -ms-flex-shrink: 0; - flex-shrink: 0; - bottom: 0; - left: 0; - padding: 2em; - width: 100%; } - #header > footer .icons { - margin: 0; } - #header > footer .icons li a { - color: #bdedff; } - #header > nav { - -moz-flex-grow: 1; - -webkit-flex-grow: 1; - -ms-flex-grow: 1; - flex-grow: 1; } - #header > nav ul { - list-style: none; - margin: 0; - padding: 0; } - #header > nav ul li { - border-top: solid 2px #6bd7fe; - display: block; - padding: 0; } - #header > nav ul li a { - -moz-transition: none; - -webkit-transition: none; - -ms-transition: none; - transition: none; - border: 0; - color: #ffffff !important; - display: block; - padding: 0.85em 0; - text-decoration: none; } - #header > nav ul li a.active { - background: #fff; - color: #5ad3fe !important; } - #header > nav ul li:first-child { - border-top: 0; } - -#header.hidden { - right: -23em; } - -/* Wrapper */ -#wrapper { - background: #fff; - transition: linear .5s; - padding-right: 23em; } - -#wrapper.expand { - padding-right: 0; } - -/* Main */ -#main > section { - border-bottom: solid 6px #f4f4f4; } - #main > section > .container { - padding: 6em 0 4em 0; } - #main > section:first-child { - border-top: 0; } - -/* Footer */ -#footer { - background: #fafafa; - border-top: 0; - color: #c0c0c0; - overflow: hidden; - padding: 4em 0 2em 0; } - #footer .copyright { - line-height: 1em; - list-style: none; - padding: 0; } - #footer .copyright li { - border-left: solid 1px #d4d4d4; - display: inline-block; - font-size: 0.8em; - margin-left: 1em; - padding-left: 1em; } - #footer .copyright li:first-child { - border-left: 0; - margin-left: 0; - padding-left: 0; } - #footer .copyright li a { - color: inherit; } - -/* XLarge */ -@media screen and (max-width: 1680px) { - /* Basic */ - body, input, select, textarea { - font-size: 13pt; } - - /* Header */ - #header { - width: 21em; } - #header > header { - padding: 2em; } - #header > footer { - padding: 1.5em; } - - /* Wrapper */ - #wrapper { - padding-right: 21em; } - - /* Main */ - #main > section > .container { - padding: 4em 0 2em 0; } } -/* Large */ -@media screen and (max-width: 1280px) { - /* Basic */ - body, input, select, textarea { - font-size: 11pt; } - - /* Header */ - #header { - width: 20em; } - - /* Wrapper */ - #wrapper { - padding-right: 20em; } } -/* Medium */ -#titleBar { - display: none; } - -@media screen and (max-width: 1024px) { - /* Basic */ - html, body { - overflow-x: hidden; } - - body, input, select, textarea { - font-size: 12pt; } - - /* Image */ - .image.left, .image.right { - max-width: 40%; } - .image.left img, .image.right img { - width: 100%; } - .image.main { - height: 20em; } - - /* Header */ - #header { - -moz-backface-visibility: hidden; - -webkit-backface-visibility: hidden; - -ms-backface-visibility: hidden; - backface-visibility: hidden; - -moz-transition: -moz-transform 0.5s ease; - -webkit-transition: -webkit-transform 0.5s ease; - -ms-transition: -ms-transform 0.5s ease; - transition: transform 0.5s ease; - display: block; - height: 100%; - overflow-y: auto; - position: fixed; - top: 0; - width: 23em; - z-index: 10002; - -moz-transform: translateX(23em); - -webkit-transform: translateX(23em); - -ms-transform: translateX(23em); - transform: translateX(23em); - right: 0; } - #header > footer { - bottom: auto; - left: auto; - margin: 0.5em 0 0 0; - position: relative; - right: auto; - top: auto; } - - /* Wrapper */ - #wrapper { - -moz-backface-visibility: hidden; - -webkit-backface-visibility: hidden; - -ms-backface-visibility: hidden; - backface-visibility: hidden; - -moz-transition: -moz-transform 0.5s ease; - -webkit-transition: -webkit-transform 0.5s ease; - -ms-transition: -ms-transform 0.5s ease; - transition: transform 0.5s ease; - padding: 44px 0 1px 0; } - - /* Header Panel */ - #titleBar { - -moz-backface-visibility: hidden; - -webkit-backface-visibility: hidden; - -ms-backface-visibility: hidden; - backface-visibility: hidden; - -moz-transition: -moz-transform 0.5s ease; - -webkit-transition: -webkit-transform 0.5s ease; - -ms-transition: -ms-transform 0.5s ease; - transition: transform 0.5s ease; - display: block; - height: 44px; - left: 0; - position: fixed; - top: 0; - width: 100%; - z-index: 10001; - background: #222; - color: #fff; - min-width: 320px; } - #titleBar .title { - color: #fff; - display: block; - font-weight: 700; - height: 44px; - line-height: 44px; - padding: 0 1em; - width: 100%; - text-align: left; } - #titleBar .title a { - border: 0; - text-decoration: none; } - #titleBar .toggle { - text-decoration: none; - height: 4em; - position: absolute; - top: 0; - width: 6em; - border: 0; - outline: 0; - right: 0; } - #titleBar .toggle:before { - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - display: inline-block; - font-style: normal; - font-variant: normal; - text-rendering: auto; - line-height: 1; - text-transform: none !important; - font-family: 'Font Awesome 5 Free'; - font-weight: 900; } - #titleBar .toggle:before { - background: #5ad3fe; - color: #ffffff; - content: '\f0c9'; - display: block; - font-size: 18px; - height: 44px; - line-height: 44px; - position: absolute; - text-align: center; - top: 0; - width: 64px; - right: 0; } - - body.header-visible #wrapper, body.header-visible #titleBar { - -moz-transform: translateX(-23em); - -webkit-transform: translateX(-23em); - -ms-transform: translateX(-23em); - transform: translateX(-23em); } - body.header-visible #header { - -moz-transform: translateX(0); - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); } } -/* Small */ -@media screen and (max-width: 736px) { - /* Basic */ - body, input, select, textarea { - font-size: 12pt; } - - h1 br, h2 br, h3 br, h4 br, h5 br, h6 br { - display: none; } - - h2 { - font-size: 1.75em; } - - h3 { - font-size: 1.5em; } - - h4 { - font-size: 1em; } - - /* Image */ - .image.left { - margin: 0 1.5em 1em 0; } - .image.right { - margin: 0 0 1em 1.5em; } - .image.main { - height: 12em; } - - /* Section/Article */ - header br { - display: none; } - header.major h2 { - font-size: 2.5em; } - header.major h2 + p { - font-size: 1.5em; } - - /* Features */ - .features article .image { - display: block; - margin: 0 0 2.25em 0; - padding-right: 0; - width: 100%; } - .features article .inner { - display: block; - width: 100%; } - - /* Header */ - #header { - width: 17em; - -moz-transform: translateX(17em); - -webkit-transform: translateX(17em); - -ms-transform: translateX(17em); - transform: translateX(17em); - right: 0; } - #header > header { - padding: 2em; } - #header > header .avatar { - margin: 0 auto 1.6875em auto; - width: 6em; } - #header > header h1 { - font-size: 1.5em; } - #header > header p { - margin: 1em 0 0 0; } - #header > footer { - padding: 1.5em; } - - /* Main */ - #main > section > .container { - padding: 2em 0 0 0; } - - /* Footer */ - #footer { - text-align: center; } - #footer .copyright li { - border-left: 0; - display: block; - line-height: 1.75em; - margin: 0.75em 0 0 0; - padding-left: 0; } - #footer .copyright li:first-child { - margin-top: 0; } - - /* Header Panel */ - #titleBar .toggle { - height: 4em; - width: 6em; } - #titleBar .toggle:before { - font-size: 14px; - width: 44px; } - - body.header-visible #wrapper, body.header-visible #titleBar { - -moz-transform: translateX(-17em); - -webkit-transform: translateX(-17em); - -ms-transform: translateX(-17em); - transform: translateX(-17em); } } -/* XSmall */ -@media screen and (max-width: 480px) { - /* Basic */ - html, body { - min-width: 320px; } - - body, input, select, textarea { - font-size: 12pt; } - - /* List */ - ul.actions { - margin: 0 0 2.25em 0; } - ul.actions li { - display: block; - padding: 1.125em 0 0 0; - text-align: center; - width: 100%; } - ul.actions li:first-child { - padding-top: 0; } - ul.actions li > * { - width: 100%; - margin: 0 !important; } - ul.actions li > *.icon:before { - margin-left: -2em; } - ul.actions.small li { - padding: 0.5625em 0 0 0; } - ul.actions.small li:first-child { - padding-top: 0; } - ul.feature-icons li { - display: block; - width: 100%; } - - /* Button */ - input[type="submit"], - input[type="reset"], - input[type="button"], - .button { - padding: 0; } } -/* Loading Screen */ -.loader { - position: fixed; - z-index: 99; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: #191f26; - display: flex; - justify-content: center; - align-items: center; } - -.loader.hidden { - animation: fadeOut 1s; - animation-fill-mode: forwards; } - -@keyframes fadeOut { - 100% { - opacity: 0; - visibility: hidden; } } -/* Hide Sidebar Button */ -/* Team */ -.our-team { - padding: 40px 0; - background: white; - text-align: center; } - -.team-inner { - max-width: 1200px; - margin: auto; - overflow: hidden; - padding: 0 20px; } - -.team-border { - width: 160px; - height: 5px; - background: #5ad3fe; - margin: 26px auto; } - -.team-row { - display: flex; - flex-wrap: wrap; - justify-content: center; } - -.team-col { - flex: 33.33%; - max-width: 33.33%; - box-sizing: border-box; - padding: 15px; } - -.team-member { - background: #fff; - padding: 30px; } - -.team-member img { - width: 100px; - height: 100px; - border-radius: 50%; } - -.team-member-name { - font-size: 20px; - text-transform: uppercase; - margin: 20px 0; } - -@media screen and (max-width: 600px) { - .team-col { - flex: 100%; - max-width: 100%; } } -@media screen and (max-width: 960px) { - .team-col { - flex: 100%; - max-width: 80%; } } -#toggle-btn.shift { - right: 0; } - -#toggle-btn { - display: block; - position: fixed; - height: 40px; - border: none; - width: 45px; - z-index: 2; - background: #5ad3fe; - color: #5ad3fe; } - -.icon-bars { - text-align: center; - vertical-align: middle; } - -@media screen and (max-width: 1024px) { - #toggle-btn { - display: none; } } -/* Card */ -.card { - box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); - transition: 0.5s; - border-radius: 10px; } - -.card:hover { - box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2); } - -.container { - padding: 2px 16px; } - -/* Modal */ -.Modal { - display: block; - position: fixed; - left: 0; - top: 0; - z-index: 100; - width: 100%; - height: 100%; - padding-top: 100px; - background-color: black; - background-color: rgba(0, 0, 0, 0.4); - -webkit-transition: 0.2s; - overflow: auto; - transition: all 0.3s linear; } - -.Modal-content { - background-color: #fefefe; - margin: auto; - max-width: 90%; - min-width: 50%; - min-height: 80%; - padding: 20px; - border-radius: 6px; - margin-bottom: 100px; } - -.Close { - color: #aaaaaa; - float: right; - font-size: 36px; } - -.Close:hover, .Close:focus { - color: #000; - text-decoration: none; - cursor: pointer; } - -.is-blurred { - filter: blur(2px); - -webkit-filter: blur(2px); } - -.is-visuallyHidden { - opacity: 0; } - -.is-hidden { - display: none; } - -.ModalOpen { - overflow: hidden; } - -.collapsible { - background-color: #777; - color: white; - cursor: pointer; - padding: 18px; - width: 100%; - border: none; - text-align: left; - outline: none; - font-size: 15px; } - -.active, .collapsible:hover { - background-color: #ccc; } - -.content { - padding: 0 18px; - display: none; - overflow: hidden; - background-color: #f1f1f1; } - -.links { - color: #5ad3fe; - padding-right: 0px; - float: right; } - -@media only screen and (max-width: 950px) { - .links { - color: #5ad3fe; - padding-right: 0px; - float: inherit; } } -.lm-images { - max-width: 50%; - height: auto; - padding: 10px; } - -.show { - display: block; } - -.btn { - border: none; - outline: none; - padding: 12px 16px; - background-color: #f1f1f1; - cursor: pointer; - float: right; } - -.btn:hover { - background-color: #ddd; } - -.btn.active { - background-color: #666; - color: white; } - -.card-btn { - padding: 10px; } - -/* All Post Cards */ -.cards { - box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); - transition: 0.5s; - border-radius: 10px; - border-radius: 10px 10px 10px 10px; - width: auto; - margin-bottom: 8px; } - -.cards:hover { - box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2); } - -.container { - padding: 2px 16px; } - -.image_box { - display: inline-flex; - padding: 10px; } - -.title { - display: flex; - justify-content: center; - font-size: 25px; } - -.img_all { - width: 8%; - min-width: 150px; } - -@media only screen and (max-width: 950px) { - .cards { - box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); - transition: 0.5s; - border-radius: 10px 10px 10px 10px; - width: auto; } - - .cards:hover { - box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2); } - - .container { - padding: 2px 16px; } - - .image_box { - display: inline-flex; - padding: 10px; } - - .title { - display: flex; - justify-content: center; - text-align: center; - font-size: 20px; } - - .img_all { - display: none; } - - #titleBar .toggle { - display: none; } } -/* All blogs page view */ -.all-post-header { - text-align: center; } - -.dropbtn { - background-color: #3498DB; - color: white; - padding: 16px; - font-size: 16px; - border: none; - cursor: pointer; } - -.dropbtn:hover, .dropbtn:focus { - background-color: #2980B9; } - -.dropdown { - position: relative; - display: inline-block; } - -.dropdown-content { - position: absolute; - background-color: #f1f1f1; - min-width: 160px; - overflow: auto; - box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); - z-index: 1; } - -.dropdown-content a { - color: black; - padding: 12px 16px; - text-decoration: none; - display: block; } - -.dropdown a:hover { - background-color: #ddd; } - -/*# sourceMappingURL=ma.map */ diff --git a/assets/css/ma.map b/assets/css/ma.map deleted file mode 100644 index f2ed01d7..00000000 --- a/assets/css/ma.map +++ /dev/null @@ -1,7 +0,0 @@ -{ -"version": 3, -"mappings": "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", -"sources": ["../../_sass/main.scss","../../_sass/libs/_functions.scss","../../_sass/libs/_vendor.scss","../../_sass/libs/_html-grid.scss","../../_sass/libs/_breakpoints.scss","../../_sass/libs/_mixins.scss"], -"names": [], -"file": "ma" -} diff --git a/assets/css/main.css b/assets/css/main.css deleted file mode 100644 index 5c0f8e09..00000000 --- a/assets/css/main.css +++ /dev/null @@ -1,2456 +0,0 @@ -@import url("fontawesome-all.min.css"); -@import url("https://fonts.googleapis.com/css?family=Lato:400,400italic,700,700italic|Source+Code+Pro:400"); -html, body, div, span, applet, object, -iframe, h1, h2, h3, h4, h5, h6, p, blockquote, -pre, a, abbr, acronym, address, big, cite, -code, del, dfn, em, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, b, -u, i, center, dl, dt, dd, ol, ul, li, fieldset, -form, label, legend, table, caption, tbody, -tfoot, thead, tr, th, td, article, aside, -canvas, details, embed, figure, figcaption, -footer, header, hgroup, menu, nav, output, ruby, -section, summary, time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; - font-size: 100%; - font: inherit; - vertical-align: baseline; } - -article, aside, details, figcaption, figure, -footer, header, hgroup, menu, nav, section { - display: block; } - -body { - line-height: 1; } - -ol, ul { - list-style: none; } - -blockquote, q { - quotes: none; } - blockquote:before, blockquote:after, q:before, q:after { - content: ''; - content: none; } - -table { - border-collapse: collapse; - border-spacing: 0; } - -body { - -webkit-text-size-adjust: none; } - -mark { - background-color: transparent; - color: inherit; } - -input::-moz-focus-inner { - border: 0; - padding: 0; } - -input, select, textarea { - -moz-appearance: none; - -webkit-appearance: none; - -ms-appearance: none; - appearance: none; } - -/* Basic */ -html { - box-sizing: border-box; } - -*, *:before, *:after { - box-sizing: inherit; } - -body { - background: #fff; } - body.is-preload *, body.is-preload *:before, body.is-preload *:after { - -moz-animation: none !important; - -webkit-animation: none !important; - -ms-animation: none !important; - animation: none !important; - -moz-transition: none !important; - -webkit-transition: none !important; - -ms-transition: none !important; - transition: none !important; } - -body, input, select, textarea { - color: #888; - font-family: "Lato", sans-serif; - font-size: 16pt; - font-weight: 400; - line-height: 1.75em; } - -a { - -moz-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out; - -webkit-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out; - -ms-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out; - transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out; - border-bottom: solid 1px #e4e4e4; - color: inherit; - text-decoration: none; } - a:hover { - border-bottom-color: transparent; - color: #5ad3fe !important; } - -strong, b { - color: #777; - font-weight: 700; } - -em, i { - font-style: italic; } - -p { - margin: 0 0 2.25em 0; } - -h1, h2, h3, h4, h5, h6 { - color: #777; - font-weight: 700; - line-height: 1em; - margin: 0 0 0.5625em 0; } - h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { - border: 0; - color: inherit; - text-decoration: none; } - -h2 { - font-size: 2em; - line-height: 1.5em; } - -h3 { - font-size: 1.75em; - line-height: 1.5em; } - -h4 { - font-size: 1.25em; - line-height: 1.5em; } - -h5 { - font-size: 0.9em; - line-height: 1.5em; } - -h6 { - font-size: 0.7em; - line-height: 1.5em; } - -sub { - font-size: 0.8em; - position: relative; - top: 0.5em; } - -sup { - font-size: 0.8em; - position: relative; - top: -0.5em; } - -hr { - border: 0; - border-bottom: solid 2px #f4f4f4; - margin: 2.25em 0; } - hr.major { - margin: 3.375em 0; } - -blockquote { - border-left: solid 8px #e4e4e4; - font-style: italic; - margin: 0 0 2.25em 0; - padding: 0.5em 0 0.5em 2em; } - -code { - background: #555; - border-radius: 5px; - color: #fff; - font-family: "Source Code Pro", monospace; - font-size: 0.9em; - margin: 0 0.25em; - padding: 0.25em 0.65em; } - -pre { - font-family: "Source Code Pro", monospace; - font-size: 0.9em; - margin: 0 0 2.25em 0; } - pre code { - -webkit-overflow-scrolling: touch; - display: block; - line-height: 1.5em; - overflow-x: auto; - padding: 1em 1.5em; } - -.align-left { - text-align: left; } - -.align-center { - text-align: center; } - -.align-right { - text-align: right; } - -/* Row */ -.row { - display: flex; - flex-wrap: wrap; - box-sizing: border-box; - align-items: stretch; } - .row > * { - box-sizing: border-box; } - .row.gtr-uniform > * > :last-child { - margin-bottom: 0; } - .row.aln-left { - justify-content: flex-start; } - .row.aln-center { - justify-content: center; } - .row.aln-right { - justify-content: flex-end; } - .row.aln-top { - align-items: flex-start; } - .row.aln-middle { - align-items: center; } - .row.aln-bottom { - align-items: flex-end; } - .row > .imp { - order: -1; } - .row > .col-1 { - width: 8.3333333333%; } - .row > .off-1 { - margin-left: 8.3333333333%; } - .row > .col-2 { - width: 16.6666666667%; } - .row > .off-2 { - margin-left: 16.6666666667%; } - .row > .col-3 { - width: 25%; } - .row > .off-3 { - margin-left: 25%; } - .row > .col-4 { - width: 33.3333333333%; } - .row > .off-4 { - margin-left: 33.3333333333%; } - .row > .col-5 { - width: 41.6666666667%; } - .row > .off-5 { - margin-left: 41.6666666667%; } - .row > .col-6 { - width: 50%; } - .row > .off-6 { - margin-left: 50%; } - .row > .col-7 { - width: 58.3333333333%; } - .row > .off-7 { - margin-left: 58.3333333333%; } - .row > .col-8 { - width: 66.6666666667%; } - .row > .off-8 { - margin-left: 66.6666666667%; } - .row > .col-9 { - width: 75%; } - .row > .off-9 { - margin-left: 75%; } - .row > .col-10 { - width: 83.3333333333%; } - .row > .off-10 { - margin-left: 83.3333333333%; } - .row > .col-11 { - width: 91.6666666667%; } - .row > .off-11 { - margin-left: 91.6666666667%; } - .row > .col-12 { - width: 100%; } - .row > .off-12 { - margin-left: 100%; } - .row.gtr-0 { - margin-top: 0; - margin-left: 0em; } - .row.gtr-0 > * { - padding: 0 0 0 0em; } - .row.gtr-0.gtr-uniform { - margin-top: 0em; } - .row.gtr-0.gtr-uniform > * { - padding-top: 0em; } - .row.gtr-25 { - margin-top: 0; - margin-left: -0.5em; } - .row.gtr-25 > * { - padding: 0 0 0 0.5em; } - .row.gtr-25.gtr-uniform { - margin-top: -0.5em; } - .row.gtr-25.gtr-uniform > * { - padding-top: 0.5em; } - .row.gtr-50 { - margin-top: 0; - margin-left: -1em; } - .row.gtr-50 > * { - padding: 0 0 0 1em; } - .row.gtr-50.gtr-uniform { - margin-top: -1em; } - .row.gtr-50.gtr-uniform > * { - padding-top: 1em; } - .row { - margin-top: 0; - margin-left: -2em; } - .row > * { - padding: 0 0 0 2em; } - .row.gtr-uniform { - margin-top: -2em; } - .row.gtr-uniform > * { - padding-top: 2em; } - .row.gtr-150 { - margin-top: 0; - margin-left: -3em; } - .row.gtr-150 > * { - padding: 0 0 0 3em; } - .row.gtr-150.gtr-uniform { - margin-top: -3em; } - .row.gtr-150.gtr-uniform > * { - padding-top: 3em; } - .row.gtr-200 { - margin-top: 0; - margin-left: -4em; } - .row.gtr-200 > * { - padding: 0 0 0 4em; } - .row.gtr-200.gtr-uniform { - margin-top: -4em; } - .row.gtr-200.gtr-uniform > * { - padding-top: 4em; } - @media screen and (max-width: 1680px) { - .row { - display: flex; - flex-wrap: wrap; - box-sizing: border-box; - align-items: stretch; } - .row > * { - box-sizing: border-box; } - .row.gtr-uniform > * > :last-child { - margin-bottom: 0; } - .row.aln-left { - justify-content: flex-start; } - .row.aln-center { - justify-content: center; } - .row.aln-right { - justify-content: flex-end; } - .row.aln-top { - align-items: flex-start; } - .row.aln-middle { - align-items: center; } - .row.aln-bottom { - align-items: flex-end; } - .row > .imp-xlarge { - order: -1; } - .row > .col-1-xlarge { - width: 8.3333333333%; } - .row > .off-1-xlarge { - margin-left: 8.3333333333%; } - .row > .col-2-xlarge { - width: 16.6666666667%; } - .row > .off-2-xlarge { - margin-left: 16.6666666667%; } - .row > .col-3-xlarge { - width: 25%; } - .row > .off-3-xlarge { - margin-left: 25%; } - .row > .col-4-xlarge { - width: 33.3333333333%; } - .row > .off-4-xlarge { - margin-left: 33.3333333333%; } - .row > .col-5-xlarge { - width: 41.6666666667%; } - .row > .off-5-xlarge { - margin-left: 41.6666666667%; } - .row > .col-6-xlarge { - width: 50%; } - .row > .off-6-xlarge { - margin-left: 50%; } - .row > .col-7-xlarge { - width: 58.3333333333%; } - .row > .off-7-xlarge { - margin-left: 58.3333333333%; } - .row > .col-8-xlarge { - width: 66.6666666667%; } - .row > .off-8-xlarge { - margin-left: 66.6666666667%; } - .row > .col-9-xlarge { - width: 75%; } - .row > .off-9-xlarge { - margin-left: 75%; } - .row > .col-10-xlarge { - width: 83.3333333333%; } - .row > .off-10-xlarge { - margin-left: 83.3333333333%; } - .row > .col-11-xlarge { - width: 91.6666666667%; } - .row > .off-11-xlarge { - margin-left: 91.6666666667%; } - .row > .col-12-xlarge { - width: 100%; } - .row > .off-12-xlarge { - margin-left: 100%; } - .row.gtr-0 { - margin-top: 0; - margin-left: 0em; } - .row.gtr-0 > * { - padding: 0 0 0 0em; } - .row.gtr-0.gtr-uniform { - margin-top: 0em; } - .row.gtr-0.gtr-uniform > * { - padding-top: 0em; } - .row.gtr-25 { - margin-top: 0; - margin-left: -0.5em; } - .row.gtr-25 > * { - padding: 0 0 0 0.5em; } - .row.gtr-25.gtr-uniform { - margin-top: -0.5em; } - .row.gtr-25.gtr-uniform > * { - padding-top: 0.5em; } - .row.gtr-50 { - margin-top: 0; - margin-left: -1em; } - .row.gtr-50 > * { - padding: 0 0 0 1em; } - .row.gtr-50.gtr-uniform { - margin-top: -1em; } - .row.gtr-50.gtr-uniform > * { - padding-top: 1em; } - .row { - margin-top: 0; - margin-left: -2em; } - .row > * { - padding: 0 0 0 2em; } - .row.gtr-uniform { - margin-top: -2em; } - .row.gtr-uniform > * { - padding-top: 2em; } - .row.gtr-150 { - margin-top: 0; - margin-left: -3em; } - .row.gtr-150 > * { - padding: 0 0 0 3em; } - .row.gtr-150.gtr-uniform { - margin-top: -3em; } - .row.gtr-150.gtr-uniform > * { - padding-top: 3em; } - .row.gtr-200 { - margin-top: 0; - margin-left: -4em; } - .row.gtr-200 > * { - padding: 0 0 0 4em; } - .row.gtr-200.gtr-uniform { - margin-top: -4em; } - .row.gtr-200.gtr-uniform > * { - padding-top: 4em; } } - @media screen and (max-width: 1280px) { - .row { - display: flex; - flex-wrap: wrap; - box-sizing: border-box; - align-items: stretch; } - .row > * { - box-sizing: border-box; } - .row.gtr-uniform > * > :last-child { - margin-bottom: 0; } - .row.aln-left { - justify-content: flex-start; } - .row.aln-center { - justify-content: center; } - .row.aln-right { - justify-content: flex-end; } - .row.aln-top { - align-items: flex-start; } - .row.aln-middle { - align-items: center; } - .row.aln-bottom { - align-items: flex-end; } - .row > .imp-large { - order: -1; } - .row > .col-1-large { - width: 8.3333333333%; } - .row > .off-1-large { - margin-left: 8.3333333333%; } - .row > .col-2-large { - width: 16.6666666667%; } - .row > .off-2-large { - margin-left: 16.6666666667%; } - .row > .col-3-large { - width: 25%; } - .row > .off-3-large { - margin-left: 25%; } - .row > .col-4-large { - width: 33.3333333333%; } - .row > .off-4-large { - margin-left: 33.3333333333%; } - .row > .col-5-large { - width: 41.6666666667%; } - .row > .off-5-large { - margin-left: 41.6666666667%; } - .row > .col-6-large { - width: 50%; } - .row > .off-6-large { - margin-left: 50%; } - .row > .col-7-large { - width: 58.3333333333%; } - .row > .off-7-large { - margin-left: 58.3333333333%; } - .row > .col-8-large { - width: 66.6666666667%; } - .row > .off-8-large { - margin-left: 66.6666666667%; } - .row > .col-9-large { - width: 75%; } - .row > .off-9-large { - margin-left: 75%; } - .row > .col-10-large { - width: 83.3333333333%; } - .row > .off-10-large { - margin-left: 83.3333333333%; } - .row > .col-11-large { - width: 91.6666666667%; } - .row > .off-11-large { - margin-left: 91.6666666667%; } - .row > .col-12-large { - width: 100%; } - .row > .off-12-large { - margin-left: 100%; } - .row.gtr-0 { - margin-top: 0; - margin-left: 0em; } - .row.gtr-0 > * { - padding: 0 0 0 0em; } - .row.gtr-0.gtr-uniform { - margin-top: 0em; } - .row.gtr-0.gtr-uniform > * { - padding-top: 0em; } - .row.gtr-25 { - margin-top: 0; - margin-left: -0.375em; } - .row.gtr-25 > * { - padding: 0 0 0 0.375em; } - .row.gtr-25.gtr-uniform { - margin-top: -0.375em; } - .row.gtr-25.gtr-uniform > * { - padding-top: 0.375em; } - .row.gtr-50 { - margin-top: 0; - margin-left: -0.75em; } - .row.gtr-50 > * { - padding: 0 0 0 0.75em; } - .row.gtr-50.gtr-uniform { - margin-top: -0.75em; } - .row.gtr-50.gtr-uniform > * { - padding-top: 0.75em; } - .row { - margin-top: 0; - margin-left: -1.5em; } - .row > * { - padding: 0 0 0 1.5em; } - .row.gtr-uniform { - margin-top: -1.5em; } - .row.gtr-uniform > * { - padding-top: 1.5em; } - .row.gtr-150 { - margin-top: 0; - margin-left: -2.25em; } - .row.gtr-150 > * { - padding: 0 0 0 2.25em; } - .row.gtr-150.gtr-uniform { - margin-top: -2.25em; } - .row.gtr-150.gtr-uniform > * { - padding-top: 2.25em; } - .row.gtr-200 { - margin-top: 0; - margin-left: -3em; } - .row.gtr-200 > * { - padding: 0 0 0 3em; } - .row.gtr-200.gtr-uniform { - margin-top: -3em; } - .row.gtr-200.gtr-uniform > * { - padding-top: 3em; } } - @media screen and (max-width: 1024px) { - .row { - display: flex; - flex-wrap: wrap; - box-sizing: border-box; - align-items: stretch; } - .row > * { - box-sizing: border-box; } - .row.gtr-uniform > * > :last-child { - margin-bottom: 0; } - .row.aln-left { - justify-content: flex-start; } - .row.aln-center { - justify-content: center; } - .row.aln-right { - justify-content: flex-end; } - .row.aln-top { - align-items: flex-start; } - .row.aln-middle { - align-items: center; } - .row.aln-bottom { - align-items: flex-end; } - .row > .imp-medium { - order: -1; } - .row > .col-1-medium { - width: 8.3333333333%; } - .row > .off-1-medium { - margin-left: 8.3333333333%; } - .row > .col-2-medium { - width: 16.6666666667%; } - .row > .off-2-medium { - margin-left: 16.6666666667%; } - .row > .col-3-medium { - width: 25%; } - .row > .off-3-medium { - margin-left: 25%; } - .row > .col-4-medium { - width: 33.3333333333%; } - .row > .off-4-medium { - margin-left: 33.3333333333%; } - .row > .col-5-medium { - width: 41.6666666667%; } - .row > .off-5-medium { - margin-left: 41.6666666667%; } - .row > .col-6-medium { - width: 50%; } - .row > .off-6-medium { - margin-left: 50%; } - .row > .col-7-medium { - width: 58.3333333333%; } - .row > .off-7-medium { - margin-left: 58.3333333333%; } - .row > .col-8-medium { - width: 66.6666666667%; } - .row > .off-8-medium { - margin-left: 66.6666666667%; } - .row > .col-9-medium { - width: 75%; } - .row > .off-9-medium { - margin-left: 75%; } - .row > .col-10-medium { - width: 83.3333333333%; } - .row > .off-10-medium { - margin-left: 83.3333333333%; } - .row > .col-11-medium { - width: 91.6666666667%; } - .row > .off-11-medium { - margin-left: 91.6666666667%; } - .row > .col-12-medium { - width: 100%; } - .row > .off-12-medium { - margin-left: 100%; } - .row.gtr-0 { - margin-top: 0; - margin-left: 0em; } - .row.gtr-0 > * { - padding: 0 0 0 0em; } - .row.gtr-0.gtr-uniform { - margin-top: 0em; } - .row.gtr-0.gtr-uniform > * { - padding-top: 0em; } - .row.gtr-25 { - margin-top: 0; - margin-left: -0.375em; } - .row.gtr-25 > * { - padding: 0 0 0 0.375em; } - .row.gtr-25.gtr-uniform { - margin-top: -0.375em; } - .row.gtr-25.gtr-uniform > * { - padding-top: 0.375em; } - .row.gtr-50 { - margin-top: 0; - margin-left: -0.75em; } - .row.gtr-50 > * { - padding: 0 0 0 0.75em; } - .row.gtr-50.gtr-uniform { - margin-top: -0.75em; } - .row.gtr-50.gtr-uniform > * { - padding-top: 0.75em; } - .row { - margin-top: 0; - margin-left: -1.5em; } - .row > * { - padding: 0 0 0 1.5em; } - .row.gtr-uniform { - margin-top: -1.5em; } - .row.gtr-uniform > * { - padding-top: 1.5em; } - .row.gtr-150 { - margin-top: 0; - margin-left: -2.25em; } - .row.gtr-150 > * { - padding: 0 0 0 2.25em; } - .row.gtr-150.gtr-uniform { - margin-top: -2.25em; } - .row.gtr-150.gtr-uniform > * { - padding-top: 2.25em; } - .row.gtr-200 { - margin-top: 0; - margin-left: -3em; } - .row.gtr-200 > * { - padding: 0 0 0 3em; } - .row.gtr-200.gtr-uniform { - margin-top: -3em; } - .row.gtr-200.gtr-uniform > * { - padding-top: 3em; } } - @media screen and (max-width: 736px) { - .row { - display: flex; - flex-wrap: wrap; - box-sizing: border-box; - align-items: stretch; } - .row > * { - box-sizing: border-box; } - .row.gtr-uniform > * > :last-child { - margin-bottom: 0; } - .row.aln-left { - justify-content: flex-start; } - .row.aln-center { - justify-content: center; } - .row.aln-right { - justify-content: flex-end; } - .row.aln-top { - align-items: flex-start; } - .row.aln-middle { - align-items: center; } - .row.aln-bottom { - align-items: flex-end; } - .row > .imp-small { - order: -1; } - .row > .col-1-small { - width: 8.3333333333%; } - .row > .off-1-small { - margin-left: 8.3333333333%; } - .row > .col-2-small { - width: 16.6666666667%; } - .row > .off-2-small { - margin-left: 16.6666666667%; } - .row > .col-3-small { - width: 25%; } - .row > .off-3-small { - margin-left: 25%; } - .row > .col-4-small { - width: 33.3333333333%; } - .row > .off-4-small { - margin-left: 33.3333333333%; } - .row > .col-5-small { - width: 41.6666666667%; } - .row > .off-5-small { - margin-left: 41.6666666667%; } - .row > .col-6-small { - width: 50%; } - .row > .off-6-small { - margin-left: 50%; } - .row > .col-7-small { - width: 58.3333333333%; } - .row > .off-7-small { - margin-left: 58.3333333333%; } - .row > .col-8-small { - width: 66.6666666667%; } - .row > .off-8-small { - margin-left: 66.6666666667%; } - .row > .col-9-small { - width: 75%; } - .row > .off-9-small { - margin-left: 75%; } - .row > .col-10-small { - width: 83.3333333333%; } - .row > .off-10-small { - margin-left: 83.3333333333%; } - .row > .col-11-small { - width: 91.6666666667%; } - .row > .off-11-small { - margin-left: 91.6666666667%; } - .row > .col-12-small { - width: 100%; } - .row > .off-12-small { - margin-left: 100%; } - .row.gtr-0 { - margin-top: 0; - margin-left: 0em; } - .row.gtr-0 > * { - padding: 0 0 0 0em; } - .row.gtr-0.gtr-uniform { - margin-top: 0em; } - .row.gtr-0.gtr-uniform > * { - padding-top: 0em; } - .row.gtr-25 { - margin-top: 0; - margin-left: -0.3125em; } - .row.gtr-25 > * { - padding: 0 0 0 0.3125em; } - .row.gtr-25.gtr-uniform { - margin-top: -0.3125em; } - .row.gtr-25.gtr-uniform > * { - padding-top: 0.3125em; } - .row.gtr-50 { - margin-top: 0; - margin-left: -0.625em; } - .row.gtr-50 > * { - padding: 0 0 0 0.625em; } - .row.gtr-50.gtr-uniform { - margin-top: -0.625em; } - .row.gtr-50.gtr-uniform > * { - padding-top: 0.625em; } - .row { - margin-top: 0; - margin-left: -1.25em; } - .row > * { - padding: 0 0 0 1.25em; } - .row.gtr-uniform { - margin-top: -1.25em; } - .row.gtr-uniform > * { - padding-top: 1.25em; } - .row.gtr-150 { - margin-top: 0; - margin-left: -1.875em; } - .row.gtr-150 > * { - padding: 0 0 0 1.875em; } - .row.gtr-150.gtr-uniform { - margin-top: -1.875em; } - .row.gtr-150.gtr-uniform > * { - padding-top: 1.875em; } - .row.gtr-200 { - margin-top: 0; - margin-left: -2.5em; } - .row.gtr-200 > * { - padding: 0 0 0 2.5em; } - .row.gtr-200.gtr-uniform { - margin-top: -2.5em; } - .row.gtr-200.gtr-uniform > * { - padding-top: 2.5em; } } - @media screen and (max-width: 480px) { - .row { - display: flex; - flex-wrap: wrap; - box-sizing: border-box; - align-items: stretch; } - .row > * { - box-sizing: border-box; } - .row.gtr-uniform > * > :last-child { - margin-bottom: 0; } - .row.aln-left { - justify-content: flex-start; } - .row.aln-center { - justify-content: center; } - .row.aln-right { - justify-content: flex-end; } - .row.aln-top { - align-items: flex-start; } - .row.aln-middle { - align-items: center; } - .row.aln-bottom { - align-items: flex-end; } - .row > .imp-xsmall { - order: -1; } - .row > .col-1-xsmall { - width: 8.3333333333%; } - .row > .off-1-xsmall { - margin-left: 8.3333333333%; } - .row > .col-2-xsmall { - width: 16.6666666667%; } - .row > .off-2-xsmall { - margin-left: 16.6666666667%; } - .row > .col-3-xsmall { - width: 25%; } - .row > .off-3-xsmall { - margin-left: 25%; } - .row > .col-4-xsmall { - width: 33.3333333333%; } - .row > .off-4-xsmall { - margin-left: 33.3333333333%; } - .row > .col-5-xsmall { - width: 41.6666666667%; } - .row > .off-5-xsmall { - margin-left: 41.6666666667%; } - .row > .col-6-xsmall { - width: 50%; } - .row > .off-6-xsmall { - margin-left: 50%; } - .row > .col-7-xsmall { - width: 58.3333333333%; } - .row > .off-7-xsmall { - margin-left: 58.3333333333%; } - .row > .col-8-xsmall { - width: 66.6666666667%; } - .row > .off-8-xsmall { - margin-left: 66.6666666667%; } - .row > .col-9-xsmall { - width: 75%; } - .row > .off-9-xsmall { - margin-left: 75%; } - .row > .col-10-xsmall { - width: 83.3333333333%; } - .row > .off-10-xsmall { - margin-left: 83.3333333333%; } - .row > .col-11-xsmall { - width: 91.6666666667%; } - .row > .off-11-xsmall { - margin-left: 91.6666666667%; } - .row > .col-12-xsmall { - width: 100%; } - .row > .off-12-xsmall { - margin-left: 100%; } - .row.gtr-0 { - margin-top: 0; - margin-left: 0em; } - .row.gtr-0 > * { - padding: 0 0 0 0em; } - .row.gtr-0.gtr-uniform { - margin-top: 0em; } - .row.gtr-0.gtr-uniform > * { - padding-top: 0em; } - .row.gtr-25 { - margin-top: 0; - margin-left: -0.3125em; } - .row.gtr-25 > * { - padding: 0 0 0 0.3125em; } - .row.gtr-25.gtr-uniform { - margin-top: -0.3125em; } - .row.gtr-25.gtr-uniform > * { - padding-top: 0.3125em; } - .row.gtr-50 { - margin-top: 0; - margin-left: -0.625em; } - .row.gtr-50 > * { - padding: 0 0 0 0.625em; } - .row.gtr-50.gtr-uniform { - margin-top: -0.625em; } - .row.gtr-50.gtr-uniform > * { - padding-top: 0.625em; } - .row { - margin-top: 0; - margin-left: -1.25em; } - .row > * { - padding: 0 0 0 1.25em; } - .row.gtr-uniform { - margin-top: -1.25em; } - .row.gtr-uniform > * { - padding-top: 1.25em; } - .row.gtr-150 { - margin-top: 0; - margin-left: -1.875em; } - .row.gtr-150 > * { - padding: 0 0 0 1.875em; } - .row.gtr-150.gtr-uniform { - margin-top: -1.875em; } - .row.gtr-150.gtr-uniform > * { - padding-top: 1.875em; } - .row.gtr-200 { - margin-top: 0; - margin-left: -2.5em; } - .row.gtr-200 > * { - padding: 0 0 0 2.5em; } - .row.gtr-200.gtr-uniform { - margin-top: -2.5em; } - .row.gtr-200.gtr-uniform > * { - padding-top: 2.5em; } } - -/* Container */ -.container { - margin: 0 auto; - max-width: calc(100% - 4.5em); - width: 45em; } - .container.xsmall { - width: 11.25em; } - .container.small { - width: 22.5em; } - .container.medium { - width: 33.75em; } - .container.large { - width: 56.25em; } - .container.xlarge { - width: 67.5em; } - .container.max { - width: 100%; } - @media screen and (max-width: 1024px) { - .container { - width: 100% !important; } } - @media screen and (max-width: 480px) { - .container { - max-width: calc(100% - 3.375em); } } - -/* Section/Article */ -section.special, article.special { - text-align: center; } - -header p { - color: #aaa; - position: relative; - margin: 0 0 1.6875em 0; } -header h2 + p { - font-size: 1.25em; - margin-top: -0.5em; - line-height: 1.5em; } -header h3 + p { - font-size: 1.1em; - margin-top: -0.35em; - line-height: 1.5em; } -header h4 + p, -header h5 + p, -header h6 + p { - font-size: 0.9em; - margin-top: -0.25em; - line-height: 1.5em; } -header.major h2 { - color: #5ad3fe; - font-size: 3.5em; } - header.major h2 + p { - color: #777; - font-size: 1.75em; - font-weight: 700; - margin-top: -0.75em; } - -/* Form */ -form { - margin: 0 0 2.25em 0; } - -label { - color: #777; - display: block; - font-size: 0.9em; - font-weight: 700; - margin: 0 0 1.125em 0; } - -input::-moz-focus-inner { - border: 0; - padding: 0; } - -input[type="text"], -input[type="password"], -input[type="email"], -select, -textarea { - -moz-appearance: none; - -webkit-appearance: none; - -ms-appearance: none; - appearance: none; - border-radius: 5px; - border: none; - border: solid 2px #e4e4e4; - color: inherit; - display: block; - outline: 0; - padding: 0 1em; - text-decoration: none; - width: 100%; } - input[type="text"]:invalid, - input[type="password"]:invalid, - input[type="email"]:invalid, - select:invalid, - textarea:invalid { - box-shadow: none; } - input[type="text"]:focus, - input[type="password"]:focus, - input[type="email"]:focus, - select:focus, - textarea:focus { - border-color: #5ad3fe; } - -select { - background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'%3E%3Cpath d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='%23e4e4e4' /%3E%3C/svg%3E"); - background-size: 1.25em; - background-repeat: no-repeat; - background-position: calc(100% - 1em) center; - height: 2.75em; - padding-right: 2.75em; - text-overflow: ellipsis; } - select option { - color: #777; - background: #fff; } - select:focus::-ms-value { - background-color: transparent; } - select::-ms-expand { - display: none; } - -input[type="text"], -input[type="password"], -input[type="email"], -select { - height: 2.75em; } - -textarea { - padding: 0.75em 1em; } - -input[type="checkbox"], -input[type="radio"] { - -moz-appearance: none; - -webkit-appearance: none; - -ms-appearance: none; - appearance: none; - display: block; - float: left; - margin-right: -2em; - opacity: 0; - width: 1em; - z-index: -1; } - input[type="checkbox"] + label, - input[type="radio"] + label { - text-decoration: none; - color: #888; - cursor: pointer; - display: inline-block; - font-size: 1em; - font-weight: 400; - padding-left: 2.4em; - padding-right: 0.75em; - position: relative; } - input[type="checkbox"] + label:before, - input[type="radio"] + label:before { - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - display: inline-block; - font-style: normal; - font-variant: normal; - text-rendering: auto; - line-height: 1; - text-transform: none !important; - font-family: 'Font Awesome 5 Free'; - font-weight: 900; } - input[type="checkbox"] + label:before, - input[type="radio"] + label:before { - background: #fafafa; - border-radius: 5px; - border: solid 2px #e4e4e4; - content: ''; - display: inline-block; - font-size: 0.8em; - height: 2.0625em; - left: 0; - line-height: 2.0625em; - position: absolute; - text-align: center; - top: 0; - width: 2.0625em; } - input[type="checkbox"]:checked + label:before, - input[type="radio"]:checked + label:before { - background: #989898; - border-color: #989898; - color: #ffffff; - content: '\f00c'; } - input[type="checkbox"]:focus + label:before, - input[type="radio"]:focus + label:before { - border-color: #5ad3fe; } - -input[type="checkbox"] + label:before { - border-radius: 5px; } - -input[type="radio"] + label:before { - border-radius: 100%; } - -::-webkit-input-placeholder { - color: #aaa !important; - font-style: italic; - opacity: 1.0; } - -:-moz-placeholder { - color: #aaa !important; - font-style: italic; - opacity: 1.0; } - -::-moz-placeholder { - color: #aaa !important; - font-style: italic; - opacity: 1.0; } - -:-ms-input-placeholder { - color: #aaa !important; - font-style: italic; - opacity: 1.0; } - -/* Box */ -.box { - border-radius: 5px; - border: solid 2px #e4e4e4; - margin-bottom: 2.25em; - padding: 1.5em; } - .box > :last-child, - .box > :last-child > :last-child, - .box > :last-child > :last-child > :last-child { - margin-bottom: 0; } - .box.alt { - border: 0; - border-radius: 0; - padding: 0; } - -/* Icon */ -.icon { - text-decoration: none; - border-bottom: none; - position: relative; } - .icon:before { - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - display: inline-block; - font-style: normal; - font-variant: normal; - text-rendering: auto; - line-height: 1; - text-transform: none !important; - font-family: 'Font Awesome 5 Free'; - font-weight: 400; } - .icon > .label { - display: none; } - .icon:before { - line-height: inherit; } - .icon.solid:before { - font-weight: 900; } - .icon.brands:before { - font-family: 'Font Awesome 5 Brands'; } - -/* Image */ -.image { - border-radius: 5px; - border: 0; - display: inline-block; - position: relative; } - .image[data-position] img { - -moz-object-fit: cover; - -webkit-object-fit: cover; - -ms-object-fit: cover; - object-fit: cover; - display: block; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; } - .image[data-position="top left"] img { - -moz-object-position: top left; - -webkit-object-position: top left; - -ms-object-position: top left; - object-position: top left; } - .image[data-position="top"] img { - -moz-object-position: top; - -webkit-object-position: top; - -ms-object-position: top; - object-position: top; } - .image[data-position="top right"] img { - -moz-object-position: top right; - -webkit-object-position: top right; - -ms-object-position: top right; - object-position: top right; } - .image[data-position="right"] img { - -moz-object-position: right; - -webkit-object-position: right; - -ms-object-position: right; - object-position: right; } - .image[data-position="bottom right"] img { - -moz-object-position: bottom right; - -webkit-object-position: bottom right; - -ms-object-position: bottom right; - object-position: bottom right; } - .image[data-position="bottom"] img { - -moz-object-position: bottom; - -webkit-object-position: bottom; - -ms-object-position: bottom; - object-position: bottom; } - .image[data-position="bottom left"] img { - -moz-object-position: bottom left; - -webkit-object-position: bottom left; - -ms-object-position: bottom left; - object-position: bottom left; } - .image[data-position="left"] img { - -moz-object-position: left; - -webkit-object-position: left; - -ms-object-position: left; - object-position: left; } - .image[data-position="center"] img { - -moz-object-position: center; - -webkit-object-position: center; - -ms-object-position: center; - object-position: center; } - .image[data-position="25% 25%"] img { - -moz-object-position: 25% 25%; - -webkit-object-position: 25% 25%; - -ms-object-position: 25% 25%; - object-position: 25% 25%; } - .image[data-position="75% 25%"] img { - -moz-object-position: 75% 25%; - -webkit-object-position: 75% 25%; - -ms-object-position: 75% 25%; - object-position: 75% 25%; } - .image[data-position="75% 75%"] img { - -moz-object-position: 75% 75%; - -webkit-object-position: 75% 75%; - -ms-object-position: 75% 75%; - object-position: 75% 75%; } - .image[data-position="25% 75%"] img { - -moz-object-position: 25% 75%; - -webkit-object-position: 25% 75%; - -ms-object-position: 25% 75%; - object-position: 25% 75%; } - .image img { - border-radius: 5px; - display: block; } - .image.left { - float: left; - margin: 0 2.5em 2em 0; - top: 0.25em; } - .image.right { - float: right; - margin: 0 0 2em 2.5em; - top: 0.25em; } - .image.fit { - display: block; - margin: 0 0 2.25em 0; - width: 100%; } - .image.fit img { - display: block; - width: 100%; } - .image.avatar { - border-radius: 200px; - overflow: hidden; - background: white; - width: 100%; - height: 70%; } - .image.avatar img { - border-radius: 200px; - display: inline-block; - width: 85%; } - .image.main { - display: block; - height: 20em; - border-radius: 0; } - .image.main img { - border-radius: 0; } - -/* List */ -ol { - list-style: decimal; - margin: 0 0 2.25em 0; - padding-left: 1.25em; } - ol li { - padding-left: 0.25em; } - -ul { - list-style: disc; - margin: 0 0 2.25em 0; - padding-left: 1em; } - ul li { - padding-left: 0.5em; } - ul.alt { - list-style: none; - padding-left: 0; } - ul.alt li { - border-top: solid 2px #f4f4f4; - padding: 0.5em 0; } - ul.alt li:first-child { - border-top: 0; - padding-top: 0; } - -dl { - margin: 0 0 2.25em 0; } - -/* Actions */ -ul.actions { - display: -moz-flex; - display: -webkit-flex; - display: -ms-flex; - display: flex; - cursor: default; - list-style: none; - margin-left: -1.125em; - padding-left: 0; } - ul.actions li { - padding: 0 0 0 1.125em; - vertical-align: middle; } - ul.actions.special { - -moz-justify-content: center; - -webkit-justify-content: center; - -ms-justify-content: center; - justify-content: center; - width: 100%; - margin-left: 0; } - ul.actions.special li:first-child { - padding-left: 0; } - ul.actions.stacked { - -moz-flex-direction: column; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - margin-left: 0; } - ul.actions.stacked li { - padding: 1.125em 0 0 0; } - ul.actions.stacked li:first-child { - padding-top: 0; } - ul.actions.fit { - width: calc(100% + 1.125em); } - ul.actions.fit li { - -moz-flex-grow: 1; - -webkit-flex-grow: 1; - -ms-flex-grow: 1; - flex-grow: 1; - -moz-flex-shrink: 1; - -webkit-flex-shrink: 1; - -ms-flex-shrink: 1; - flex-shrink: 1; - width: 100%; } - ul.actions.fit li > * { - width: 100%; } - ul.actions.fit.stacked { - width: 100%; } - @media screen and (max-width: 480px) { - ul.actions:not(.fixed) { - -moz-flex-direction: column; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - margin-left: 0; - width: 100% !important; } - ul.actions:not(.fixed) li { - -moz-flex-grow: 1; - -webkit-flex-grow: 1; - -ms-flex-grow: 1; - flex-grow: 1; - -moz-flex-shrink: 1; - -webkit-flex-shrink: 1; - -ms-flex-shrink: 1; - flex-shrink: 1; - padding: 1.125em 0 0 0; - text-align: center; - width: 100%; } - ul.actions:not(.fixed) li > * { - width: 100%; } - ul.actions:not(.fixed) li:first-child { - padding-top: 0; } - ul.actions:not(.fixed) li input[type="submit"], - ul.actions:not(.fixed) li input[type="reset"], - ul.actions:not(.fixed) li input[type="button"], - ul.actions:not(.fixed) li button, - ul.actions:not(.fixed) li .button { - width: 100%; } - ul.actions:not(.fixed) li input[type="submit"].icon:before, - ul.actions:not(.fixed) li input[type="reset"].icon:before, - ul.actions:not(.fixed) li input[type="button"].icon:before, - ul.actions:not(.fixed) li button.icon:before, - ul.actions:not(.fixed) li .button.icon:before { - margin-left: -0.5rem; } } - -/* Feature Icons */ -ul.feature-icons { - list-style: none; - padding-left: 0; } - ul.feature-icons li { - text-decoration: none; - display: inline-block; - margin: 0 0 1.6875em 0; - padding: 0.35em 0 0 3.5em; - position: relative; - vertical-align: top; - width: 48%; } - ul.feature-icons li:before { - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - display: inline-block; - font-style: normal; - font-variant: normal; - text-rendering: auto; - line-height: 1; - text-transform: none !important; - font-family: 'Font Awesome 5 Free'; - font-weight: 400; } - ul.feature-icons li:before { - background: #5ad3fe; - border-radius: 100%; - color: #ffffff; - display: block; - height: 2.5em; - left: 0; - line-height: 2.5em; - position: absolute; - text-align: center; - top: 0; - width: 2.5em; } - -/* Icons */ -ul.icons { - cursor: default; - list-style: none; - padding-left: 0; } - ul.icons li { - display: inline-block; - padding: 0 1em 0 0; } - ul.icons li:last-child { - padding-right: 0 !important; } - ul.icons li .icon:before { - font-size: 1.25em; } - -/* Table */ -.table-wrapper { - -webkit-overflow-scrolling: touch; - overflow-x: auto; } - -table { - margin: 0 0 2.25em 0; - width: 100%; } - table tbody tr { - border: solid 2px #f4f4f4; - border-left: 0; - border-right: 0; } - table tbody tr:nth-child(2n + 1) { - background-color: #fafafa; } - table td { - padding: 0.75em 0.75em; } - table th { - color: #777; - font-size: 0.9em; - font-weight: 700; - padding: 0 0.75em 0.75em 0.75em; - text-align: left; } - table thead { - border-bottom: solid 4px #e4e4e4; } - table tfoot { - border-top: solid 4px #e4e4e4; } - table.alt { - border-collapse: separate; } - table.alt tbody tr td { - border: solid 2px #e4e4e4; - border-left-width: 0; - border-top-width: 0; } - table.alt tbody tr td:first-child { - border-left-width: 2px; } - table.alt tbody tr:first-child td { - border-top-width: 2px; } - table.alt thead { - border-bottom: 0; } - table.alt tfoot { - border-top: 0; } - -/* Button */ -input[type="submit"], -input[type="reset"], -input[type="button"], -.button { - -moz-appearance: none; - -webkit-appearance: none; - -ms-appearance: none; - appearance: none; - -moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; - -webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; - -ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; - transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; - background-color: #989898; - border-radius: 5px; - border: 0; - color: #ffffff !important; - cursor: pointer; - display: inline-block; - font-weight: 700; - height: 2.75em; - line-height: 2.75em; - padding: 0 1.5em; - text-align: center; - text-decoration: none; - white-space: nowrap; } - input[type="submit"]:hover, - input[type="reset"]:hover, - input[type="button"]:hover, - .button:hover { - background-color: #a5a5a5; - color: #ffffff !important; } - input[type="submit"]:active, - input[type="reset"]:active, - input[type="button"]:active, - .button:active { - background-color: #8b8b8b; } - input[type="submit"].icon, - input[type="reset"].icon, - input[type="button"].icon, - .button.icon { - padding-left: 1.35em; } - input[type="submit"].icon:before, - input[type="reset"].icon:before, - input[type="button"].icon:before, - .button.icon:before { - margin-right: 0.5em; } - input[type="submit"].fit, - input[type="reset"].fit, - input[type="button"].fit, - .button.fit { - width: 100%; } - input[type="submit"].small, - input[type="reset"].small, - input[type="button"].small, - .button.small { - font-size: 0.8em; } - input[type="submit"].large, - input[type="reset"].large, - input[type="button"].large, - .button.large { - font-size: 1.35em; } - input[type="submit"].alt, - input[type="reset"].alt, - input[type="button"].alt, - .button.alt { - background-color: transparent; - box-shadow: inset 0 0 0 2px #e4e4e4; - color: #777 !important; } - input[type="submit"].alt:hover, - input[type="reset"].alt:hover, - input[type="button"].alt:hover, - .button.alt:hover { - background-color: #f4f4f4; - color: #777 !important; } - input[type="submit"].alt:active, - input[type="reset"].alt:active, - input[type="button"].alt:active, - .button.alt:active { - background-color: #eaeaea; } - input[type="submit"].alt.icon:before, - input[type="reset"].alt.icon:before, - input[type="button"].alt.icon:before, - .button.alt.icon:before { - color: #aaa; } - input[type="submit"].primary, - input[type="reset"].primary, - input[type="button"].primary, - .button.primary { - background-color: #5ad3fe; - color: #ffffff !important; } - input[type="submit"].primary:hover, - input[type="reset"].primary:hover, - input[type="button"].primary:hover, - .button.primary:hover { - background-color: #73dafe; } - input[type="submit"].primary:active, - input[type="reset"].primary:active, - input[type="button"].primary:active, - .button.primary:active { - background-color: #41ccfe; } - input[type="submit"].disabled, input[type="submit"]:disabled, - input[type="reset"].disabled, - input[type="reset"]:disabled, - input[type="button"].disabled, - input[type="button"]:disabled, - .button.disabled, - .button:disabled { - background-color: #888 !important; - box-shadow: inset 0 -0.15em 0 0 rgba(0, 0, 0, 0.15); - color: #fff !important; - cursor: default; - opacity: 0.25; } - -/* Features */ -.features article { - border-top: solid 3px #f4f4f4; - margin-bottom: 2.25em; - padding-top: 2.25em; } - .features article:first-child { - border-top: 0; - padding-top: 0; } - .features article .image { - display: inline-block; - padding-right: 2.5em; - vertical-align: middle; - width: 48%; } - .features article .image img { - display: block; - width: 100%; } - .features article .inner { - display: inline-block; - vertical-align: middle; - width: 50%; - padding-left: 10px; - padding-right: 10px; } - .features article .inner > :last-child { - margin-bottom: 0; } - -/* Header */ -#header::-webkit-scrollbar { - display: none; } - -#header { - display: -moz-flex; - display: -webkit-flex; - display: -ms-flex; - display: flex; - -moz-flex-direction: column; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -moz-justify-content: space-between; - -webkit-justify-content: space-between; - -ms-justify-content: space-between; - justify-content: space-between; - background: #5ad3fe; - color: #d6f4ff; - height: 100%; - overflow-y: auto; - position: fixed; - text-align: center; - top: 0; - width: 23em; - transition: linear .5s; - -ms-overflow-style: none; - /* IE and Edge */ - scrollbar-width: none; - /* Firefox */ - right: 0; } - #header h1, #header h2, #header h3, #header h4, #header h5, #header h6 { - color: #ffffff; } - #header h1 a, #header h2 a, #header h3 a, #header h4 a, #header h5 a, #header h6 a { - color: #ffffff; } - #header header p { - color: #bdedff; } - #header a { - color: #d6f4ff; } - #header a:hover { - color: #ffffff !important; } - #header > header { - -moz-flex-shrink: 0; - -webkit-flex-shrink: 0; - -ms-flex-shrink: 0; - flex-shrink: 0; - padding: 2em; } - #header > header .avatar { - display: block; - margin: 0 auto 2.25em auto; - width: 8em; } - #header > header h1 { - font-size: 1.75em; - margin: 0; } - #header > header p { - color: #d6f4ff; - font-style: italic; - margin: 1em 0 0 0; } - #header > footer { - -moz-flex-shrink: 0; - -webkit-flex-shrink: 0; - -ms-flex-shrink: 0; - flex-shrink: 0; - bottom: 0; - left: 0; - padding: 2em; - width: 100%; } - #header > footer .icons { - margin: 0; } - #header > footer .icons li a { - color: #bdedff; } - #header > nav { - -moz-flex-grow: 1; - -webkit-flex-grow: 1; - -ms-flex-grow: 1; - flex-grow: 1; } - #header > nav ul { - list-style: none; - margin: 0; - padding: 0; } - #header > nav ul li { - border-top: solid 2px #6bd7fe; - display: block; - padding: 0; } - #header > nav ul li a { - -moz-transition: none; - -webkit-transition: none; - -ms-transition: none; - transition: none; - border: 0; - color: #ffffff !important; - display: block; - padding: 0.85em 0; - text-decoration: none; } - #header > nav ul li a.active { - background: #fff; - color: #5ad3fe !important; } - #header > nav ul li:first-child { - border-top: 0; } - -#header.hidden { - right: -23em; } - -/* Wrapper */ -#wrapper { - background: #fff; - transition: linear .5s; - padding-right: 23em; } - -#wrapper.expand { - padding-right: 0; } - -/* Main */ -#main > section { - border-bottom: solid 6px #f4f4f4; } - #main > section > .container { - padding: 6em 0 4em 0; } - #main > section:first-child { - border-top: 0; } - -/* Footer */ -#footer { - background: #fafafa; - border-top: 0; - color: #c0c0c0; - overflow: hidden; - padding: 4em 0 2em 0; } - #footer .copyright { - line-height: 1em; - list-style: none; - padding: 0; } - #footer .copyright li { - border-left: solid 1px #d4d4d4; - display: inline-block; - font-size: 0.8em; - margin-left: 1em; - padding-left: 1em; } - #footer .copyright li:first-child { - border-left: 0; - margin-left: 0; - padding-left: 0; } - #footer .copyright li a { - color: inherit; } - -/* XLarge */ -@media screen and (max-width: 1680px) { - /* Basic */ - body, input, select, textarea { - font-size: 13pt; } - - /* Header */ - #header { - width: 21em; } - #header > header { - padding: 2em; } - #header > footer { - padding: 1.5em; } - - /* Wrapper */ - #wrapper { - padding-right: 21em; } - - /* Main */ - #main > section > .container { - padding: 4em 0 2em 0; } } -/* Large */ -@media screen and (max-width: 1280px) { - /* Basic */ - body, input, select, textarea { - font-size: 11pt; } - - /* Header */ - #header { - width: 20em; } - - /* Wrapper */ - #wrapper { - padding-right: 20em; } } -/* Medium */ -#titleBar { - display: none; } - -@media screen and (max-width: 1024px) { - /* Basic */ - html, body { - overflow-x: hidden; } - - body, input, select, textarea { - font-size: 12pt; } - - /* Image */ - .image.left, .image.right { - max-width: 40%; } - .image.left img, .image.right img { - width: 100%; } - .image.main { - height: 20em; } - - /* Header */ - #header { - -moz-backface-visibility: hidden; - -webkit-backface-visibility: hidden; - -ms-backface-visibility: hidden; - backface-visibility: hidden; - -moz-transition: -moz-transform 0.5s ease; - -webkit-transition: -webkit-transform 0.5s ease; - -ms-transition: -ms-transform 0.5s ease; - transition: transform 0.5s ease; - display: block; - height: 100%; - overflow-y: auto; - position: fixed; - top: 0; - width: 23em; - z-index: 10002; - -moz-transform: translateX(23em); - -webkit-transform: translateX(23em); - -ms-transform: translateX(23em); - transform: translateX(23em); - right: 0; } - #header > footer { - bottom: auto; - left: auto; - margin: 0.5em 0 0 0; - position: relative; - right: auto; - top: auto; } - - /* Wrapper */ - #wrapper { - -moz-backface-visibility: hidden; - -webkit-backface-visibility: hidden; - -ms-backface-visibility: hidden; - backface-visibility: hidden; - -moz-transition: -moz-transform 0.5s ease; - -webkit-transition: -webkit-transform 0.5s ease; - -ms-transition: -ms-transform 0.5s ease; - transition: transform 0.5s ease; - padding: 44px 0 1px 0; } - - /* Header Panel */ - #titleBar { - -moz-backface-visibility: hidden; - -webkit-backface-visibility: hidden; - -ms-backface-visibility: hidden; - backface-visibility: hidden; - -moz-transition: -moz-transform 0.5s ease; - -webkit-transition: -webkit-transform 0.5s ease; - -ms-transition: -ms-transform 0.5s ease; - transition: transform 0.5s ease; - display: block; - height: 44px; - left: 0; - position: fixed; - top: 0; - width: 100%; - z-index: 10001; - background: #222; - color: #fff; - min-width: 320px; } - #titleBar .title { - color: #fff; - display: block; - font-weight: 700; - height: 44px; - line-height: 44px; - padding: 0 1em; - width: 100%; - text-align: left; } - #titleBar .title a { - border: 0; - text-decoration: none; } - #titleBar .toggle { - text-decoration: none; - height: 4em; - position: absolute; - top: 0; - width: 6em; - border: 0; - outline: 0; - right: 0; } - #titleBar .toggle:before { - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - display: inline-block; - font-style: normal; - font-variant: normal; - text-rendering: auto; - line-height: 1; - text-transform: none !important; - font-family: 'Font Awesome 5 Free'; - font-weight: 900; } - #titleBar .toggle:before { - background: #5ad3fe; - color: #ffffff; - content: '\f0c9'; - display: block; - font-size: 18px; - height: 44px; - line-height: 44px; - position: absolute; - text-align: center; - top: 0; - width: 64px; - right: 0; } - - body.header-visible #wrapper, body.header-visible #titleBar { - -moz-transform: translateX(-23em); - -webkit-transform: translateX(-23em); - -ms-transform: translateX(-23em); - transform: translateX(-23em); } - body.header-visible #header { - -moz-transform: translateX(0); - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); } } -/* Small */ -@media screen and (max-width: 736px) { - /* Basic */ - body, input, select, textarea { - font-size: 12pt; } - - h1 br, h2 br, h3 br, h4 br, h5 br, h6 br { - display: none; } - - h2 { - font-size: 1.75em; } - - h3 { - font-size: 1.5em; } - - h4 { - font-size: 1em; } - - /* Image */ - .image.left { - margin: 0 1.5em 1em 0; } - .image.right { - margin: 0 0 1em 1.5em; } - .image.main { - height: 12em; } - - /* Section/Article */ - header br { - display: none; } - header.major h2 { - font-size: 2.5em; } - header.major h2 + p { - font-size: 1.5em; } - - /* Features */ - .features article .image { - display: block; - margin: 0 0 2.25em 0; - padding-right: 0; - width: 100%; } - .features article .inner { - display: block; - width: 100%; } - - /* Header */ - #header { - width: 17em; - -moz-transform: translateX(17em); - -webkit-transform: translateX(17em); - -ms-transform: translateX(17em); - transform: translateX(17em); - right: 0; } - #header > header { - padding: 2em; } - #header > header .avatar { - margin: 0 auto 1.6875em auto; - width: 6em; } - #header > header h1 { - font-size: 1.5em; } - #header > header p { - margin: 1em 0 0 0; } - #header > footer { - padding: 1.5em; } - - /* Main */ - #main > section > .container { - padding: 2em 0 0 0; } - - /* Footer */ - #footer { - text-align: center; } - #footer .copyright li { - border-left: 0; - display: block; - line-height: 1.75em; - margin: 0.75em 0 0 0; - padding-left: 0; } - #footer .copyright li:first-child { - margin-top: 0; } - - /* Header Panel */ - #titleBar .toggle { - height: 4em; - width: 6em; } - #titleBar .toggle:before { - font-size: 14px; - width: 44px; } - - body.header-visible #wrapper, body.header-visible #titleBar { - -moz-transform: translateX(-17em); - -webkit-transform: translateX(-17em); - -ms-transform: translateX(-17em); - transform: translateX(-17em); } } -/* XSmall */ -@media screen and (max-width: 480px) { - /* Basic */ - html, body { - min-width: 320px; } - - body, input, select, textarea { - font-size: 12pt; } - - /* List */ - ul.actions { - margin: 0 0 2.25em 0; } - ul.actions li { - display: block; - padding: 1.125em 0 0 0; - text-align: center; - width: 100%; } - ul.actions li:first-child { - padding-top: 0; } - ul.actions li > * { - width: 100%; - margin: 0 !important; } - ul.actions li > *.icon:before { - margin-left: -2em; } - ul.actions.small li { - padding: 0.5625em 0 0 0; } - ul.actions.small li:first-child { - padding-top: 0; } - ul.feature-icons li { - display: block; - width: 100%; } - - /* Button */ - input[type="submit"], - input[type="reset"], - input[type="button"], - .button { - padding: 0; } } -/* Loading Screen */ -.loader { - position: fixed; - z-index: 99; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: #191f26; - display: flex; - justify-content: center; - align-items: center; } - -.loader.hidden { - animation: fadeOut 1s; - animation-fill-mode: forwards; } - -@keyframes fadeOut { - 100% { - opacity: 0; - visibility: hidden; } } -/* Hide Sidebar Button */ -/* Team */ -.our-team { - padding: 40px 0; - background: white; - text-align: center; } - -.team-inner { - max-width: 1200px; - margin: auto; - overflow: hidden; - padding: 0 20px; } - -.team-border { - width: 160px; - height: 5px; - background: #5ad3fe; - margin: 26px auto; } - -.team-row { - display: flex; - flex-wrap: wrap; - justify-content: center; } - -.team-col { - flex: 33.33%; - max-width: 33.33%; - box-sizing: border-box; - padding: 15px; } - -.team-member { - background: #fff; - padding: 30px; } - -.team-member img { - width: 100px; - height: 100px; - border-radius: 50%; } - -.team-member-name { - font-size: 20px; - text-transform: uppercase; - margin: 20px 0; } - -@media screen and (max-width: 600px) { - .team-col { - flex: 100%; - max-width: 100%; } } -@media screen and (max-width: 960px) { - .team-col { - flex: 100%; - max-width: 80%; } } -#toggle-btn.shift { - right: 0; } - -#toggle-btn { - display: block; - position: fixed; - height: 40px; - border: none; - width: 45px; - z-index: 2; - background: #5ad3fe; - color: #5ad3fe; } - -.icon-bars { - text-align: center; - vertical-align: middle; } - -@media screen and (max-width: 1024px) { - #toggle-btn { - display: none; } } -/* Card */ -.card { - box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); - transition: 0.5s; - border-radius: 10px; } - -.card:hover { - box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2); } - -.container { - padding: 2px 16px; } - -/* Modal */ -.Modal { - display: block; - position: fixed; - left: 0; - top: 0; - z-index: 100; - width: 100%; - height: 100%; - padding-top: 100px; - background-color: black; - background-color: rgba(0, 0, 0, 0.4); - -webkit-transition: 0.2s; - overflow: auto; - transition: all 0.3s linear; } - -.Modal-content { - background-color: #fefefe; - margin: auto; - max-width: 90%; - min-width: 50%; - min-height: 80%; - padding: 20px; - border-radius: 6px; - margin-bottom: 100px; } - -.Close { - color: #aaaaaa; - float: right; - font-size: 36px; } - -.Close:hover, .Close:focus { - color: #000; - text-decoration: none; - cursor: pointer; } - -.is-blurred { - filter: blur(2px); - -webkit-filter: blur(2px); } - -.is-visuallyHidden { - opacity: 0; } - -.is-hidden { - display: none; } - -.ModalOpen { - overflow: hidden; } - -.collapsible { - background-color: #777; - color: white; - cursor: pointer; - padding: 18px; - width: 100%; - border: none; - text-align: left; - outline: none; - font-size: 15px; } - -.active, .collapsible:hover { - background-color: #ccc; } - -.content { - padding: 0 18px; - display: none; - overflow: hidden; - background-color: #f1f1f1; } - -.links { - color: #5ad3fe; - padding-right: 0px; - float: right; } - -@media only screen and (max-width: 950px) { - .links { - color: #5ad3fe; - padding-right: 0px; - float: inherit; } } -.lm-images { - max-width: 50%; - height: auto; - padding: 10px; } - -.show { - display: block; } - -.btn { - border: none; - outline: none; - padding: 12px 16px; - background-color: #f1f1f1; - cursor: pointer; - float: right; } - -.btn:hover { - background-color: #ddd; } - -.btn.active { - background-color: #666; - color: white; } - -.card-btn { - padding: 10px; } - -/* All Post Cards */ -.cards { - box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); - transition: 0.5s; - border-radius: 10px; - border-radius: 10px 10px 10px 10px; - width: auto; - margin-bottom: 8px; } - -.cards:hover { - box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2); } - -.container { - padding: 2px 16px; } - -.image_box { - display: inline-flex; - padding: 10px; } - -.title { - display: flex; - justify-content: center; - font-size: 25px; } - -.img_all { - width: 8%; - min-width: 150px; } - -@media only screen and (max-width: 950px) { - .cards { - box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); - transition: 0.5s; - border-radius: 10px 10px 10px 10px; - width: auto; } - - .cards:hover { - box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2); } - - .container { - padding: 2px 16px; } - - .image_box { - display: inline-flex; - padding: 10px; } - - .title { - display: flex; - justify-content: center; - text-align: center; - font-size: 20px; } - - .img_all { - display: none; } - - #titleBar .toggle { - display: none; } } -/* All blogs page view */ -.all-post-header { - text-align: center; } - -#total-value { - text-align: center; } - -#dropdown-options { - margin: 10px; - display: grid; - grid-template-columns: auto auto auto auto; - text-align: center; } - -.dropdown-box { - width: min-content; - margin: auto; - border: none; - margin-block: inherit; } - -.price-head { - text-align: center; } - -.total, .reset_button { - display: inline-grid; } - -@media only screen and (max-width: 950px) { - #total-value { - text-align: center; } - - #dropdown-options { - margin: 10px; - display: block; } - - .dropdown-box { - border: none; - margin: auto; - width: min-content; - margin-block: inherit; } - - .price-head { - text-align: center; } - - .total, .reset_button { - display: inline-grid; } } -.dropdown-text { - padding: .5em; } - -.dropdown-text::after { - content: '?'; - display: inline-block; - font-family: sans-serif; - font-weight: bold; - text-align: center; - font-size: 0.8em; - line-height: 0.8em; - border-radius: 50%; - margin-left: 6px; - padding: 0.13em 0.2em 0.09em 0.2em; - color: inherit; - border: 1px solid; - text-decoration: none; } - -.popuptext { - display: none; } - -.popuptext-test { - display: none; } - -.dropdown-text:hover + .popuptext { - display: block; - position: absolute; - background-color: #555; - color: #fff; - text-align: center; - width: 51em; - border-radius: 1em; - margin: 1.5em; } - -.dropdown-text:hover + .popuptext-test { - display: inline-block; - position: absolute; - background-color: #555; - color: #fff; - text-align: center; - width: 51em; - border-radius: 1em; - margin: 1.5em; } - -/*# sourceMappingURL=main.css.map */ diff --git a/assets/css/main.css.map b/assets/css/main.css.map deleted file mode 100644 index 04ca8caa..00000000 --- a/assets/css/main.css.map +++ /dev/null @@ -1,7 +0,0 @@ -{ -"version": 3, -"mappings": "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", -"sources": ["../../_sass/main.scss","../../_sass/libs/_functions.scss","../../_sass/libs/_vendor.scss","../../_sass/libs/_html-grid.scss","../../_sass/libs/_breakpoints.scss","../../_sass/libs/_mixins.scss"], -"names": [], -"file": "main.css" -} diff --git a/assets/css/mamain.css b/assets/css/mamain.css deleted file mode 100644 index 86368fe5..00000000 --- a/assets/css/mamain.css +++ /dev/null @@ -1,2273 +0,0 @@ -@import url("fontawesome-all.min.css"); -@import url("https://fonts.googleapis.com/css?family=Lato:400,400italic,700,700italic|Source+Code+Pro:400"); -html, body, div, span, applet, object, -iframe, h1, h2, h3, h4, h5, h6, p, blockquote, -pre, a, abbr, acronym, address, big, cite, -code, del, dfn, em, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, b, -u, i, center, dl, dt, dd, ol, ul, li, fieldset, -form, label, legend, table, caption, tbody, -tfoot, thead, tr, th, td, article, aside, -canvas, details, embed, figure, figcaption, -footer, header, hgroup, menu, nav, output, ruby, -section, summary, time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; - font-size: 100%; - font: inherit; - vertical-align: baseline; } - -article, aside, details, figcaption, figure, -footer, header, hgroup, menu, nav, section { - display: block; } - -body { - line-height: 1; } - -ol, ul { - list-style: none; } - -blockquote, q { - quotes: none; } - blockquote:before, blockquote:after, q:before, q:after { - content: ''; - content: none; } - -table { - border-collapse: collapse; - border-spacing: 0; } - -body { - -webkit-text-size-adjust: none; } - -mark { - background-color: transparent; - color: inherit; } - -input::-moz-focus-inner { - border: 0; - padding: 0; } - -input, select, textarea { - -moz-appearance: none; - -webkit-appearance: none; - -ms-appearance: none; - appearance: none; } - -/* Basic */ -html { - box-sizing: border-box; } - -*, *:before, *:after { - box-sizing: inherit; } - -body { - background: #fff; } - body.is-preload *, body.is-preload *:before, body.is-preload *:after { - -moz-animation: none !important; - -webkit-animation: none !important; - -ms-animation: none !important; - animation: none !important; - -moz-transition: none !important; - -webkit-transition: none !important; - -ms-transition: none !important; - transition: none !important; } - -body, input, select, textarea { - color: #888; - font-family: "Lato", sans-serif; - font-size: 16pt; - font-weight: 400; - line-height: 1.75em; } - -a { - -moz-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out; - -webkit-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out; - -ms-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out; - transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out; - border-bottom: solid 1px #e4e4e4; - color: inherit; - text-decoration: none; } - a:hover { - border-bottom-color: transparent; - color: #5ad3fe !important; } - -strong, b { - color: #777; - font-weight: 700; } - -em, i { - font-style: italic; } - -p { - margin: 0 0 2.25em 0; } - -h1, h2, h3, h4, h5, h6 { - color: #777; - font-weight: 700; - line-height: 1em; - margin: 0 0 0.5625em 0; } - h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { - border: 0; - color: inherit; - text-decoration: none; } - -h2 { - font-size: 2em; - line-height: 1.5em; } - -h3 { - font-size: 1.75em; - line-height: 1.5em; } - -h4 { - font-size: 1.25em; - line-height: 1.5em; } - -h5 { - font-size: 0.9em; - line-height: 1.5em; } - -h6 { - font-size: 0.7em; - line-height: 1.5em; } - -sub { - font-size: 0.8em; - position: relative; - top: 0.5em; } - -sup { - font-size: 0.8em; - position: relative; - top: -0.5em; } - -hr { - border: 0; - border-bottom: solid 2px #f4f4f4; - margin: 2.25em 0; } - hr.major { - margin: 3.375em 0; } - -blockquote { - border-left: solid 8px #e4e4e4; - font-style: italic; - margin: 0 0 2.25em 0; - padding: 0.5em 0 0.5em 2em; } - -code { - background: #555; - border-radius: 5px; - color: #fff; - font-family: "Source Code Pro", monospace; - font-size: 0.9em; - margin: 0 0.25em; - padding: 0.25em 0.65em; } - -pre { - font-family: "Source Code Pro", monospace; - font-size: 0.9em; - margin: 0 0 2.25em 0; } - pre code { - -webkit-overflow-scrolling: touch; - display: block; - line-height: 1.5em; - overflow-x: auto; - padding: 1em 1.5em; } - -.align-left { - text-align: left; } - -.align-center { - text-align: center; } - -.align-right { - text-align: right; } - -/* Row */ -.row { - display: flex; - flex-wrap: wrap; - box-sizing: border-box; - align-items: stretch; } - .row > * { - box-sizing: border-box; } - .row.gtr-uniform > * > :last-child { - margin-bottom: 0; } - .row.aln-left { - justify-content: flex-start; } - .row.aln-center { - justify-content: center; } - .row.aln-right { - justify-content: flex-end; } - .row.aln-top { - align-items: flex-start; } - .row.aln-middle { - align-items: center; } - .row.aln-bottom { - align-items: flex-end; } - .row > .imp { - order: -1; } - .row > .col-1 { - width: 8.3333333333%; } - .row > .off-1 { - margin-left: 8.3333333333%; } - .row > .col-2 { - width: 16.6666666667%; } - .row > .off-2 { - margin-left: 16.6666666667%; } - .row > .col-3 { - width: 25%; } - .row > .off-3 { - margin-left: 25%; } - .row > .col-4 { - width: 33.3333333333%; } - .row > .off-4 { - margin-left: 33.3333333333%; } - .row > .col-5 { - width: 41.6666666667%; } - .row > .off-5 { - margin-left: 41.6666666667%; } - .row > .col-6 { - width: 50%; } - .row > .off-6 { - margin-left: 50%; } - .row > .col-7 { - width: 58.3333333333%; } - .row > .off-7 { - margin-left: 58.3333333333%; } - .row > .col-8 { - width: 66.6666666667%; } - .row > .off-8 { - margin-left: 66.6666666667%; } - .row > .col-9 { - width: 75%; } - .row > .off-9 { - margin-left: 75%; } - .row > .col-10 { - width: 83.3333333333%; } - .row > .off-10 { - margin-left: 83.3333333333%; } - .row > .col-11 { - width: 91.6666666667%; } - .row > .off-11 { - margin-left: 91.6666666667%; } - .row > .col-12 { - width: 100%; } - .row > .off-12 { - margin-left: 100%; } - .row.gtr-0 { - margin-top: 0; - margin-left: 0em; } - .row.gtr-0 > * { - padding: 0 0 0 0em; } - .row.gtr-0.gtr-uniform { - margin-top: 0em; } - .row.gtr-0.gtr-uniform > * { - padding-top: 0em; } - .row.gtr-25 { - margin-top: 0; - margin-left: -0.5em; } - .row.gtr-25 > * { - padding: 0 0 0 0.5em; } - .row.gtr-25.gtr-uniform { - margin-top: -0.5em; } - .row.gtr-25.gtr-uniform > * { - padding-top: 0.5em; } - .row.gtr-50 { - margin-top: 0; - margin-left: -1em; } - .row.gtr-50 > * { - padding: 0 0 0 1em; } - .row.gtr-50.gtr-uniform { - margin-top: -1em; } - .row.gtr-50.gtr-uniform > * { - padding-top: 1em; } - .row { - margin-top: 0; - margin-left: -2em; } - .row > * { - padding: 0 0 0 2em; } - .row.gtr-uniform { - margin-top: -2em; } - .row.gtr-uniform > * { - padding-top: 2em; } - .row.gtr-150 { - margin-top: 0; - margin-left: -3em; } - .row.gtr-150 > * { - padding: 0 0 0 3em; } - .row.gtr-150.gtr-uniform { - margin-top: -3em; } - .row.gtr-150.gtr-uniform > * { - padding-top: 3em; } - .row.gtr-200 { - margin-top: 0; - margin-left: -4em; } - .row.gtr-200 > * { - padding: 0 0 0 4em; } - .row.gtr-200.gtr-uniform { - margin-top: -4em; } - .row.gtr-200.gtr-uniform > * { - padding-top: 4em; } - @media screen and (max-width: 1680px) { - .row { - display: flex; - flex-wrap: wrap; - box-sizing: border-box; - align-items: stretch; } - .row > * { - box-sizing: border-box; } - .row.gtr-uniform > * > :last-child { - margin-bottom: 0; } - .row.aln-left { - justify-content: flex-start; } - .row.aln-center { - justify-content: center; } - .row.aln-right { - justify-content: flex-end; } - .row.aln-top { - align-items: flex-start; } - .row.aln-middle { - align-items: center; } - .row.aln-bottom { - align-items: flex-end; } - .row > .imp-xlarge { - order: -1; } - .row > .col-1-xlarge { - width: 8.3333333333%; } - .row > .off-1-xlarge { - margin-left: 8.3333333333%; } - .row > .col-2-xlarge { - width: 16.6666666667%; } - .row > .off-2-xlarge { - margin-left: 16.6666666667%; } - .row > .col-3-xlarge { - width: 25%; } - .row > .off-3-xlarge { - margin-left: 25%; } - .row > .col-4-xlarge { - width: 33.3333333333%; } - .row > .off-4-xlarge { - margin-left: 33.3333333333%; } - .row > .col-5-xlarge { - width: 41.6666666667%; } - .row > .off-5-xlarge { - margin-left: 41.6666666667%; } - .row > .col-6-xlarge { - width: 50%; } - .row > .off-6-xlarge { - margin-left: 50%; } - .row > .col-7-xlarge { - width: 58.3333333333%; } - .row > .off-7-xlarge { - margin-left: 58.3333333333%; } - .row > .col-8-xlarge { - width: 66.6666666667%; } - .row > .off-8-xlarge { - margin-left: 66.6666666667%; } - .row > .col-9-xlarge { - width: 75%; } - .row > .off-9-xlarge { - margin-left: 75%; } - .row > .col-10-xlarge { - width: 83.3333333333%; } - .row > .off-10-xlarge { - margin-left: 83.3333333333%; } - .row > .col-11-xlarge { - width: 91.6666666667%; } - .row > .off-11-xlarge { - margin-left: 91.6666666667%; } - .row > .col-12-xlarge { - width: 100%; } - .row > .off-12-xlarge { - margin-left: 100%; } - .row.gtr-0 { - margin-top: 0; - margin-left: 0em; } - .row.gtr-0 > * { - padding: 0 0 0 0em; } - .row.gtr-0.gtr-uniform { - margin-top: 0em; } - .row.gtr-0.gtr-uniform > * { - padding-top: 0em; } - .row.gtr-25 { - margin-top: 0; - margin-left: -0.5em; } - .row.gtr-25 > * { - padding: 0 0 0 0.5em; } - .row.gtr-25.gtr-uniform { - margin-top: -0.5em; } - .row.gtr-25.gtr-uniform > * { - padding-top: 0.5em; } - .row.gtr-50 { - margin-top: 0; - margin-left: -1em; } - .row.gtr-50 > * { - padding: 0 0 0 1em; } - .row.gtr-50.gtr-uniform { - margin-top: -1em; } - .row.gtr-50.gtr-uniform > * { - padding-top: 1em; } - .row { - margin-top: 0; - margin-left: -2em; } - .row > * { - padding: 0 0 0 2em; } - .row.gtr-uniform { - margin-top: -2em; } - .row.gtr-uniform > * { - padding-top: 2em; } - .row.gtr-150 { - margin-top: 0; - margin-left: -3em; } - .row.gtr-150 > * { - padding: 0 0 0 3em; } - .row.gtr-150.gtr-uniform { - margin-top: -3em; } - .row.gtr-150.gtr-uniform > * { - padding-top: 3em; } - .row.gtr-200 { - margin-top: 0; - margin-left: -4em; } - .row.gtr-200 > * { - padding: 0 0 0 4em; } - .row.gtr-200.gtr-uniform { - margin-top: -4em; } - .row.gtr-200.gtr-uniform > * { - padding-top: 4em; } } - @media screen and (max-width: 1280px) { - .row { - display: flex; - flex-wrap: wrap; - box-sizing: border-box; - align-items: stretch; } - .row > * { - box-sizing: border-box; } - .row.gtr-uniform > * > :last-child { - margin-bottom: 0; } - .row.aln-left { - justify-content: flex-start; } - .row.aln-center { - justify-content: center; } - .row.aln-right { - justify-content: flex-end; } - .row.aln-top { - align-items: flex-start; } - .row.aln-middle { - align-items: center; } - .row.aln-bottom { - align-items: flex-end; } - .row > .imp-large { - order: -1; } - .row > .col-1-large { - width: 8.3333333333%; } - .row > .off-1-large { - margin-left: 8.3333333333%; } - .row > .col-2-large { - width: 16.6666666667%; } - .row > .off-2-large { - margin-left: 16.6666666667%; } - .row > .col-3-large { - width: 25%; } - .row > .off-3-large { - margin-left: 25%; } - .row > .col-4-large { - width: 33.3333333333%; } - .row > .off-4-large { - margin-left: 33.3333333333%; } - .row > .col-5-large { - width: 41.6666666667%; } - .row > .off-5-large { - margin-left: 41.6666666667%; } - .row > .col-6-large { - width: 50%; } - .row > .off-6-large { - margin-left: 50%; } - .row > .col-7-large { - width: 58.3333333333%; } - .row > .off-7-large { - margin-left: 58.3333333333%; } - .row > .col-8-large { - width: 66.6666666667%; } - .row > .off-8-large { - margin-left: 66.6666666667%; } - .row > .col-9-large { - width: 75%; } - .row > .off-9-large { - margin-left: 75%; } - .row > .col-10-large { - width: 83.3333333333%; } - .row > .off-10-large { - margin-left: 83.3333333333%; } - .row > .col-11-large { - width: 91.6666666667%; } - .row > .off-11-large { - margin-left: 91.6666666667%; } - .row > .col-12-large { - width: 100%; } - .row > .off-12-large { - margin-left: 100%; } - .row.gtr-0 { - margin-top: 0; - margin-left: 0em; } - .row.gtr-0 > * { - padding: 0 0 0 0em; } - .row.gtr-0.gtr-uniform { - margin-top: 0em; } - .row.gtr-0.gtr-uniform > * { - padding-top: 0em; } - .row.gtr-25 { - margin-top: 0; - margin-left: -0.375em; } - .row.gtr-25 > * { - padding: 0 0 0 0.375em; } - .row.gtr-25.gtr-uniform { - margin-top: -0.375em; } - .row.gtr-25.gtr-uniform > * { - padding-top: 0.375em; } - .row.gtr-50 { - margin-top: 0; - margin-left: -0.75em; } - .row.gtr-50 > * { - padding: 0 0 0 0.75em; } - .row.gtr-50.gtr-uniform { - margin-top: -0.75em; } - .row.gtr-50.gtr-uniform > * { - padding-top: 0.75em; } - .row { - margin-top: 0; - margin-left: -1.5em; } - .row > * { - padding: 0 0 0 1.5em; } - .row.gtr-uniform { - margin-top: -1.5em; } - .row.gtr-uniform > * { - padding-top: 1.5em; } - .row.gtr-150 { - margin-top: 0; - margin-left: -2.25em; } - .row.gtr-150 > * { - padding: 0 0 0 2.25em; } - .row.gtr-150.gtr-uniform { - margin-top: -2.25em; } - .row.gtr-150.gtr-uniform > * { - padding-top: 2.25em; } - .row.gtr-200 { - margin-top: 0; - margin-left: -3em; } - .row.gtr-200 > * { - padding: 0 0 0 3em; } - .row.gtr-200.gtr-uniform { - margin-top: -3em; } - .row.gtr-200.gtr-uniform > * { - padding-top: 3em; } } - @media screen and (max-width: 1024px) { - .row { - display: flex; - flex-wrap: wrap; - box-sizing: border-box; - align-items: stretch; } - .row > * { - box-sizing: border-box; } - .row.gtr-uniform > * > :last-child { - margin-bottom: 0; } - .row.aln-left { - justify-content: flex-start; } - .row.aln-center { - justify-content: center; } - .row.aln-right { - justify-content: flex-end; } - .row.aln-top { - align-items: flex-start; } - .row.aln-middle { - align-items: center; } - .row.aln-bottom { - align-items: flex-end; } - .row > .imp-medium { - order: -1; } - .row > .col-1-medium { - width: 8.3333333333%; } - .row > .off-1-medium { - margin-left: 8.3333333333%; } - .row > .col-2-medium { - width: 16.6666666667%; } - .row > .off-2-medium { - margin-left: 16.6666666667%; } - .row > .col-3-medium { - width: 25%; } - .row > .off-3-medium { - margin-left: 25%; } - .row > .col-4-medium { - width: 33.3333333333%; } - .row > .off-4-medium { - margin-left: 33.3333333333%; } - .row > .col-5-medium { - width: 41.6666666667%; } - .row > .off-5-medium { - margin-left: 41.6666666667%; } - .row > .col-6-medium { - width: 50%; } - .row > .off-6-medium { - margin-left: 50%; } - .row > .col-7-medium { - width: 58.3333333333%; } - .row > .off-7-medium { - margin-left: 58.3333333333%; } - .row > .col-8-medium { - width: 66.6666666667%; } - .row > .off-8-medium { - margin-left: 66.6666666667%; } - .row > .col-9-medium { - width: 75%; } - .row > .off-9-medium { - margin-left: 75%; } - .row > .col-10-medium { - width: 83.3333333333%; } - .row > .off-10-medium { - margin-left: 83.3333333333%; } - .row > .col-11-medium { - width: 91.6666666667%; } - .row > .off-11-medium { - margin-left: 91.6666666667%; } - .row > .col-12-medium { - width: 100%; } - .row > .off-12-medium { - margin-left: 100%; } - .row.gtr-0 { - margin-top: 0; - margin-left: 0em; } - .row.gtr-0 > * { - padding: 0 0 0 0em; } - .row.gtr-0.gtr-uniform { - margin-top: 0em; } - .row.gtr-0.gtr-uniform > * { - padding-top: 0em; } - .row.gtr-25 { - margin-top: 0; - margin-left: -0.375em; } - .row.gtr-25 > * { - padding: 0 0 0 0.375em; } - .row.gtr-25.gtr-uniform { - margin-top: -0.375em; } - .row.gtr-25.gtr-uniform > * { - padding-top: 0.375em; } - .row.gtr-50 { - margin-top: 0; - margin-left: -0.75em; } - .row.gtr-50 > * { - padding: 0 0 0 0.75em; } - .row.gtr-50.gtr-uniform { - margin-top: -0.75em; } - .row.gtr-50.gtr-uniform > * { - padding-top: 0.75em; } - .row { - margin-top: 0; - margin-left: -1.5em; } - .row > * { - padding: 0 0 0 1.5em; } - .row.gtr-uniform { - margin-top: -1.5em; } - .row.gtr-uniform > * { - padding-top: 1.5em; } - .row.gtr-150 { - margin-top: 0; - margin-left: -2.25em; } - .row.gtr-150 > * { - padding: 0 0 0 2.25em; } - .row.gtr-150.gtr-uniform { - margin-top: -2.25em; } - .row.gtr-150.gtr-uniform > * { - padding-top: 2.25em; } - .row.gtr-200 { - margin-top: 0; - margin-left: -3em; } - .row.gtr-200 > * { - padding: 0 0 0 3em; } - .row.gtr-200.gtr-uniform { - margin-top: -3em; } - .row.gtr-200.gtr-uniform > * { - padding-top: 3em; } } - @media screen and (max-width: 736px) { - .row { - display: flex; - flex-wrap: wrap; - box-sizing: border-box; - align-items: stretch; } - .row > * { - box-sizing: border-box; } - .row.gtr-uniform > * > :last-child { - margin-bottom: 0; } - .row.aln-left { - justify-content: flex-start; } - .row.aln-center { - justify-content: center; } - .row.aln-right { - justify-content: flex-end; } - .row.aln-top { - align-items: flex-start; } - .row.aln-middle { - align-items: center; } - .row.aln-bottom { - align-items: flex-end; } - .row > .imp-small { - order: -1; } - .row > .col-1-small { - width: 8.3333333333%; } - .row > .off-1-small { - margin-left: 8.3333333333%; } - .row > .col-2-small { - width: 16.6666666667%; } - .row > .off-2-small { - margin-left: 16.6666666667%; } - .row > .col-3-small { - width: 25%; } - .row > .off-3-small { - margin-left: 25%; } - .row > .col-4-small { - width: 33.3333333333%; } - .row > .off-4-small { - margin-left: 33.3333333333%; } - .row > .col-5-small { - width: 41.6666666667%; } - .row > .off-5-small { - margin-left: 41.6666666667%; } - .row > .col-6-small { - width: 50%; } - .row > .off-6-small { - margin-left: 50%; } - .row > .col-7-small { - width: 58.3333333333%; } - .row > .off-7-small { - margin-left: 58.3333333333%; } - .row > .col-8-small { - width: 66.6666666667%; } - .row > .off-8-small { - margin-left: 66.6666666667%; } - .row > .col-9-small { - width: 75%; } - .row > .off-9-small { - margin-left: 75%; } - .row > .col-10-small { - width: 83.3333333333%; } - .row > .off-10-small { - margin-left: 83.3333333333%; } - .row > .col-11-small { - width: 91.6666666667%; } - .row > .off-11-small { - margin-left: 91.6666666667%; } - .row > .col-12-small { - width: 100%; } - .row > .off-12-small { - margin-left: 100%; } - .row.gtr-0 { - margin-top: 0; - margin-left: 0em; } - .row.gtr-0 > * { - padding: 0 0 0 0em; } - .row.gtr-0.gtr-uniform { - margin-top: 0em; } - .row.gtr-0.gtr-uniform > * { - padding-top: 0em; } - .row.gtr-25 { - margin-top: 0; - margin-left: -0.3125em; } - .row.gtr-25 > * { - padding: 0 0 0 0.3125em; } - .row.gtr-25.gtr-uniform { - margin-top: -0.3125em; } - .row.gtr-25.gtr-uniform > * { - padding-top: 0.3125em; } - .row.gtr-50 { - margin-top: 0; - margin-left: -0.625em; } - .row.gtr-50 > * { - padding: 0 0 0 0.625em; } - .row.gtr-50.gtr-uniform { - margin-top: -0.625em; } - .row.gtr-50.gtr-uniform > * { - padding-top: 0.625em; } - .row { - margin-top: 0; - margin-left: -1.25em; } - .row > * { - padding: 0 0 0 1.25em; } - .row.gtr-uniform { - margin-top: -1.25em; } - .row.gtr-uniform > * { - padding-top: 1.25em; } - .row.gtr-150 { - margin-top: 0; - margin-left: -1.875em; } - .row.gtr-150 > * { - padding: 0 0 0 1.875em; } - .row.gtr-150.gtr-uniform { - margin-top: -1.875em; } - .row.gtr-150.gtr-uniform > * { - padding-top: 1.875em; } - .row.gtr-200 { - margin-top: 0; - margin-left: -2.5em; } - .row.gtr-200 > * { - padding: 0 0 0 2.5em; } - .row.gtr-200.gtr-uniform { - margin-top: -2.5em; } - .row.gtr-200.gtr-uniform > * { - padding-top: 2.5em; } } - @media screen and (max-width: 480px) { - .row { - display: flex; - flex-wrap: wrap; - box-sizing: border-box; - align-items: stretch; } - .row > * { - box-sizing: border-box; } - .row.gtr-uniform > * > :last-child { - margin-bottom: 0; } - .row.aln-left { - justify-content: flex-start; } - .row.aln-center { - justify-content: center; } - .row.aln-right { - justify-content: flex-end; } - .row.aln-top { - align-items: flex-start; } - .row.aln-middle { - align-items: center; } - .row.aln-bottom { - align-items: flex-end; } - .row > .imp-xsmall { - order: -1; } - .row > .col-1-xsmall { - width: 8.3333333333%; } - .row > .off-1-xsmall { - margin-left: 8.3333333333%; } - .row > .col-2-xsmall { - width: 16.6666666667%; } - .row > .off-2-xsmall { - margin-left: 16.6666666667%; } - .row > .col-3-xsmall { - width: 25%; } - .row > .off-3-xsmall { - margin-left: 25%; } - .row > .col-4-xsmall { - width: 33.3333333333%; } - .row > .off-4-xsmall { - margin-left: 33.3333333333%; } - .row > .col-5-xsmall { - width: 41.6666666667%; } - .row > .off-5-xsmall { - margin-left: 41.6666666667%; } - .row > .col-6-xsmall { - width: 50%; } - .row > .off-6-xsmall { - margin-left: 50%; } - .row > .col-7-xsmall { - width: 58.3333333333%; } - .row > .off-7-xsmall { - margin-left: 58.3333333333%; } - .row > .col-8-xsmall { - width: 66.6666666667%; } - .row > .off-8-xsmall { - margin-left: 66.6666666667%; } - .row > .col-9-xsmall { - width: 75%; } - .row > .off-9-xsmall { - margin-left: 75%; } - .row > .col-10-xsmall { - width: 83.3333333333%; } - .row > .off-10-xsmall { - margin-left: 83.3333333333%; } - .row > .col-11-xsmall { - width: 91.6666666667%; } - .row > .off-11-xsmall { - margin-left: 91.6666666667%; } - .row > .col-12-xsmall { - width: 100%; } - .row > .off-12-xsmall { - margin-left: 100%; } - .row.gtr-0 { - margin-top: 0; - margin-left: 0em; } - .row.gtr-0 > * { - padding: 0 0 0 0em; } - .row.gtr-0.gtr-uniform { - margin-top: 0em; } - .row.gtr-0.gtr-uniform > * { - padding-top: 0em; } - .row.gtr-25 { - margin-top: 0; - margin-left: -0.3125em; } - .row.gtr-25 > * { - padding: 0 0 0 0.3125em; } - .row.gtr-25.gtr-uniform { - margin-top: -0.3125em; } - .row.gtr-25.gtr-uniform > * { - padding-top: 0.3125em; } - .row.gtr-50 { - margin-top: 0; - margin-left: -0.625em; } - .row.gtr-50 > * { - padding: 0 0 0 0.625em; } - .row.gtr-50.gtr-uniform { - margin-top: -0.625em; } - .row.gtr-50.gtr-uniform > * { - padding-top: 0.625em; } - .row { - margin-top: 0; - margin-left: -1.25em; } - .row > * { - padding: 0 0 0 1.25em; } - .row.gtr-uniform { - margin-top: -1.25em; } - .row.gtr-uniform > * { - padding-top: 1.25em; } - .row.gtr-150 { - margin-top: 0; - margin-left: -1.875em; } - .row.gtr-150 > * { - padding: 0 0 0 1.875em; } - .row.gtr-150.gtr-uniform { - margin-top: -1.875em; } - .row.gtr-150.gtr-uniform > * { - padding-top: 1.875em; } - .row.gtr-200 { - margin-top: 0; - margin-left: -2.5em; } - .row.gtr-200 > * { - padding: 0 0 0 2.5em; } - .row.gtr-200.gtr-uniform { - margin-top: -2.5em; } - .row.gtr-200.gtr-uniform > * { - padding-top: 2.5em; } } - -/* Container */ -.container { - margin: 0 auto; - max-width: calc(100% - 4.5em); - width: 45em; } - .container.xsmall { - width: 11.25em; } - .container.small { - width: 22.5em; } - .container.medium { - width: 33.75em; } - .container.large { - width: 56.25em; } - .container.xlarge { - width: 67.5em; } - .container.max { - width: 100%; } - @media screen and (max-width: 1024px) { - .container { - width: 100% !important; } } - @media screen and (max-width: 480px) { - .container { - max-width: calc(100% - 3.375em); } } - -/* Section/Article */ -section.special, article.special { - text-align: center; } - -header p { - color: #aaa; - position: relative; - margin: 0 0 1.6875em 0; } -header h2 + p { - font-size: 1.25em; - margin-top: -0.5em; - line-height: 1.5em; } -header h3 + p { - font-size: 1.1em; - margin-top: -0.35em; - line-height: 1.5em; } -header h4 + p, -header h5 + p, -header h6 + p { - font-size: 0.9em; - margin-top: -0.25em; - line-height: 1.5em; } -header.major h2 { - color: #5ad3fe; - font-size: 3.5em; } - header.major h2 + p { - color: #777; - font-size: 1.75em; - font-weight: 700; - margin-top: -0.75em; } - -/* Form */ -form { - margin: 0 0 2.25em 0; } - -label { - color: #777; - display: block; - font-size: 0.9em; - font-weight: 700; - margin: 0 0 1.125em 0; } - -input::-moz-focus-inner { - border: 0; - padding: 0; } - -input[type="text"], -input[type="password"], -input[type="email"], -select, -textarea { - -moz-appearance: none; - -webkit-appearance: none; - -ms-appearance: none; - appearance: none; - border-radius: 5px; - border: none; - border: solid 2px #e4e4e4; - color: inherit; - display: block; - outline: 0; - padding: 0 1em; - text-decoration: none; - width: 100%; } - input[type="text"]:invalid, - input[type="password"]:invalid, - input[type="email"]:invalid, - select:invalid, - textarea:invalid { - box-shadow: none; } - input[type="text"]:focus, - input[type="password"]:focus, - input[type="email"]:focus, - select:focus, - textarea:focus { - border-color: #5ad3fe; } - -select { - background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'%3E%3Cpath d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='%23e4e4e4' /%3E%3C/svg%3E"); - background-size: 1.25em; - background-repeat: no-repeat; - background-position: calc(100% - 1em) center; - height: 2.75em; - padding-right: 2.75em; - text-overflow: ellipsis; } - select option { - color: #777; - background: #fff; } - select:focus::-ms-value { - background-color: transparent; } - select::-ms-expand { - display: none; } - -input[type="text"], -input[type="password"], -input[type="email"], -select { - height: 2.75em; } - -textarea { - padding: 0.75em 1em; } - -input[type="checkbox"], -input[type="radio"] { - -moz-appearance: none; - -webkit-appearance: none; - -ms-appearance: none; - appearance: none; - display: block; - float: left; - margin-right: -2em; - opacity: 0; - width: 1em; - z-index: -1; } - input[type="checkbox"] + label, - input[type="radio"] + label { - text-decoration: none; - color: #888; - cursor: pointer; - display: inline-block; - font-size: 1em; - font-weight: 400; - padding-left: 2.4em; - padding-right: 0.75em; - position: relative; } - input[type="checkbox"] + label:before, - input[type="radio"] + label:before { - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - display: inline-block; - font-style: normal; - font-variant: normal; - text-rendering: auto; - line-height: 1; - text-transform: none !important; - font-family: 'Font Awesome 5 Free'; - font-weight: 900; } - input[type="checkbox"] + label:before, - input[type="radio"] + label:before { - background: #fafafa; - border-radius: 5px; - border: solid 2px #e4e4e4; - content: ''; - display: inline-block; - font-size: 0.8em; - height: 2.0625em; - left: 0; - line-height: 2.0625em; - position: absolute; - text-align: center; - top: 0; - width: 2.0625em; } - input[type="checkbox"]:checked + label:before, - input[type="radio"]:checked + label:before { - background: #989898; - border-color: #989898; - color: #ffffff; - content: '\f00c'; } - input[type="checkbox"]:focus + label:before, - input[type="radio"]:focus + label:before { - border-color: #5ad3fe; } - -input[type="checkbox"] + label:before { - border-radius: 5px; } - -input[type="radio"] + label:before { - border-radius: 100%; } - -::-webkit-input-placeholder { - color: #aaa !important; - font-style: italic; - opacity: 1.0; } - -:-moz-placeholder { - color: #aaa !important; - font-style: italic; - opacity: 1.0; } - -::-moz-placeholder { - color: #aaa !important; - font-style: italic; - opacity: 1.0; } - -:-ms-input-placeholder { - color: #aaa !important; - font-style: italic; - opacity: 1.0; } - -/* Box */ -.box { - border-radius: 5px; - border: solid 2px #e4e4e4; - margin-bottom: 2.25em; - padding: 1.5em; } - .box > :last-child, - .box > :last-child > :last-child, - .box > :last-child > :last-child > :last-child { - margin-bottom: 0; } - .box.alt { - border: 0; - border-radius: 0; - padding: 0; } - -/* Icon */ -.icon { - text-decoration: none; - border-bottom: none; - position: relative; } - .icon:before { - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - display: inline-block; - font-style: normal; - font-variant: normal; - text-rendering: auto; - line-height: 1; - text-transform: none !important; - font-family: 'Font Awesome 5 Free'; - font-weight: 400; } - .icon > .label { - display: none; } - .icon:before { - line-height: inherit; } - .icon.solid:before { - font-weight: 900; } - .icon.brands:before { - font-family: 'Font Awesome 5 Brands'; } - -/* Image */ -.image { - border-radius: 5px; - border: 0; - display: inline-block; - position: relative; } - .image[data-position] img { - -moz-object-fit: cover; - -webkit-object-fit: cover; - -ms-object-fit: cover; - object-fit: cover; - display: block; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; } - .image[data-position="top left"] img { - -moz-object-position: top left; - -webkit-object-position: top left; - -ms-object-position: top left; - object-position: top left; } - .image[data-position="top"] img { - -moz-object-position: top; - -webkit-object-position: top; - -ms-object-position: top; - object-position: top; } - .image[data-position="top right"] img { - -moz-object-position: top right; - -webkit-object-position: top right; - -ms-object-position: top right; - object-position: top right; } - .image[data-position="right"] img { - -moz-object-position: right; - -webkit-object-position: right; - -ms-object-position: right; - object-position: right; } - .image[data-position="bottom right"] img { - -moz-object-position: bottom right; - -webkit-object-position: bottom right; - -ms-object-position: bottom right; - object-position: bottom right; } - .image[data-position="bottom"] img { - -moz-object-position: bottom; - -webkit-object-position: bottom; - -ms-object-position: bottom; - object-position: bottom; } - .image[data-position="bottom left"] img { - -moz-object-position: bottom left; - -webkit-object-position: bottom left; - -ms-object-position: bottom left; - object-position: bottom left; } - .image[data-position="left"] img { - -moz-object-position: left; - -webkit-object-position: left; - -ms-object-position: left; - object-position: left; } - .image[data-position="center"] img { - -moz-object-position: center; - -webkit-object-position: center; - -ms-object-position: center; - object-position: center; } - .image[data-position="25% 25%"] img { - -moz-object-position: 25% 25%; - -webkit-object-position: 25% 25%; - -ms-object-position: 25% 25%; - object-position: 25% 25%; } - .image[data-position="75% 25%"] img { - -moz-object-position: 75% 25%; - -webkit-object-position: 75% 25%; - -ms-object-position: 75% 25%; - object-position: 75% 25%; } - .image[data-position="75% 75%"] img { - -moz-object-position: 75% 75%; - -webkit-object-position: 75% 75%; - -ms-object-position: 75% 75%; - object-position: 75% 75%; } - .image[data-position="25% 75%"] img { - -moz-object-position: 25% 75%; - -webkit-object-position: 25% 75%; - -ms-object-position: 25% 75%; - object-position: 25% 75%; } - .image img { - border-radius: 5px; - display: block; } - .image.left { - float: left; - margin: 0 2.5em 2em 0; - top: 0.25em; } - .image.right { - float: right; - margin: 0 0 2em 2.5em; - top: 0.25em; } - .image.fit { - display: block; - margin: 0 0 2.25em 0; - width: 100%; } - .image.fit img { - display: block; - width: 100%; } - .image.avatar { - border-radius: 100%; - overflow: hidden; } - .image.avatar img { - border-radius: 100%; - display: block; - width: 100%; } - .image.main { - display: block; - height: 20em; - border-radius: 0; } - .image.main img { - border-radius: 0; } - -/* List */ -ol { - list-style: decimal; - margin: 0 0 2.25em 0; - padding-left: 1.25em; } - ol li { - padding-left: 0.25em; } - -ul { - list-style: disc; - margin: 0 0 2.25em 0; - padding-left: 1em; } - ul li { - padding-left: 0.5em; } - ul.alt { - list-style: none; - padding-left: 0; } - ul.alt li { - border-top: solid 2px #f4f4f4; - padding: 0.5em 0; } - ul.alt li:first-child { - border-top: 0; - padding-top: 0; } - -dl { - margin: 0 0 2.25em 0; } - -/* Actions */ -ul.actions { - display: -moz-flex; - display: -webkit-flex; - display: -ms-flex; - display: flex; - cursor: default; - list-style: none; - margin-left: -1.125em; - padding-left: 0; } - ul.actions li { - padding: 0 0 0 1.125em; - vertical-align: middle; } - ul.actions.special { - -moz-justify-content: center; - -webkit-justify-content: center; - -ms-justify-content: center; - justify-content: center; - width: 100%; - margin-left: 0; } - ul.actions.special li:first-child { - padding-left: 0; } - ul.actions.stacked { - -moz-flex-direction: column; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - margin-left: 0; } - ul.actions.stacked li { - padding: 1.125em 0 0 0; } - ul.actions.stacked li:first-child { - padding-top: 0; } - ul.actions.fit { - width: calc(100% + 1.125em); } - ul.actions.fit li { - -moz-flex-grow: 1; - -webkit-flex-grow: 1; - -ms-flex-grow: 1; - flex-grow: 1; - -moz-flex-shrink: 1; - -webkit-flex-shrink: 1; - -ms-flex-shrink: 1; - flex-shrink: 1; - width: 100%; } - ul.actions.fit li > * { - width: 100%; } - ul.actions.fit.stacked { - width: 100%; } - @media screen and (max-width: 480px) { - ul.actions:not(.fixed) { - -moz-flex-direction: column; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - margin-left: 0; - width: 100% !important; } - ul.actions:not(.fixed) li { - -moz-flex-grow: 1; - -webkit-flex-grow: 1; - -ms-flex-grow: 1; - flex-grow: 1; - -moz-flex-shrink: 1; - -webkit-flex-shrink: 1; - -ms-flex-shrink: 1; - flex-shrink: 1; - padding: 1.125em 0 0 0; - text-align: center; - width: 100%; } - ul.actions:not(.fixed) li > * { - width: 100%; } - ul.actions:not(.fixed) li:first-child { - padding-top: 0; } - ul.actions:not(.fixed) li input[type="submit"], - ul.actions:not(.fixed) li input[type="reset"], - ul.actions:not(.fixed) li input[type="button"], - ul.actions:not(.fixed) li button, - ul.actions:not(.fixed) li .button { - width: 100%; } - ul.actions:not(.fixed) li input[type="submit"].icon:before, - ul.actions:not(.fixed) li input[type="reset"].icon:before, - ul.actions:not(.fixed) li input[type="button"].icon:before, - ul.actions:not(.fixed) li button.icon:before, - ul.actions:not(.fixed) li .button.icon:before { - margin-left: -0.5rem; } } - -/* Feature Icons */ -ul.feature-icons { - list-style: none; - padding-left: 0; } - ul.feature-icons li { - text-decoration: none; - display: inline-block; - margin: 0 0 1.6875em 0; - padding: 0.35em 0 0 3.5em; - position: relative; - vertical-align: top; - width: 48%; } - ul.feature-icons li:before { - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - display: inline-block; - font-style: normal; - font-variant: normal; - text-rendering: auto; - line-height: 1; - text-transform: none !important; - font-family: 'Font Awesome 5 Free'; - font-weight: 400; } - ul.feature-icons li:before { - background: #5ad3fe; - border-radius: 100%; - color: #ffffff; - display: block; - height: 2.5em; - left: 0; - line-height: 2.5em; - position: absolute; - text-align: center; - top: 0; - width: 2.5em; } - -/* Icons */ -ul.icons { - cursor: default; - list-style: none; - padding-left: 0; } - ul.icons li { - display: inline-block; - padding: 0 1em 0 0; } - ul.icons li:last-child { - padding-right: 0 !important; } - ul.icons li .icon:before { - font-size: 1.25em; } - -/* Table */ -.table-wrapper { - -webkit-overflow-scrolling: touch; - overflow-x: auto; } - -table { - margin: 0 0 2.25em 0; - width: 100%; } - table tbody tr { - border: solid 2px #f4f4f4; - border-left: 0; - border-right: 0; } - table tbody tr:nth-child(2n + 1) { - background-color: #fafafa; } - table td { - padding: 0.75em 0.75em; } - table th { - color: #777; - font-size: 0.9em; - font-weight: 700; - padding: 0 0.75em 0.75em 0.75em; - text-align: left; } - table thead { - border-bottom: solid 4px #e4e4e4; } - table tfoot { - border-top: solid 4px #e4e4e4; } - table.alt { - border-collapse: separate; } - table.alt tbody tr td { - border: solid 2px #e4e4e4; - border-left-width: 0; - border-top-width: 0; } - table.alt tbody tr td:first-child { - border-left-width: 2px; } - table.alt tbody tr:first-child td { - border-top-width: 2px; } - table.alt thead { - border-bottom: 0; } - table.alt tfoot { - border-top: 0; } - -/* Button */ -input[type="submit"], -input[type="reset"], -input[type="button"], -.button { - -moz-appearance: none; - -webkit-appearance: none; - -ms-appearance: none; - appearance: none; - -moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; - -webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; - -ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; - transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; - background-color: #989898; - border-radius: 5px; - border: 0; - color: #ffffff !important; - cursor: pointer; - display: inline-block; - font-weight: 700; - height: 2.75em; - line-height: 2.75em; - padding: 0 1.5em; - text-align: center; - text-decoration: none; - white-space: nowrap; } - input[type="submit"]:hover, - input[type="reset"]:hover, - input[type="button"]:hover, - .button:hover { - background-color: #a5a5a5; - color: #ffffff !important; } - input[type="submit"]:active, - input[type="reset"]:active, - input[type="button"]:active, - .button:active { - background-color: #8b8b8b; } - input[type="submit"].icon, - input[type="reset"].icon, - input[type="button"].icon, - .button.icon { - padding-left: 1.35em; } - input[type="submit"].icon:before, - input[type="reset"].icon:before, - input[type="button"].icon:before, - .button.icon:before { - margin-right: 0.5em; } - input[type="submit"].fit, - input[type="reset"].fit, - input[type="button"].fit, - .button.fit { - width: 100%; } - input[type="submit"].small, - input[type="reset"].small, - input[type="button"].small, - .button.small { - font-size: 0.8em; } - input[type="submit"].large, - input[type="reset"].large, - input[type="button"].large, - .button.large { - font-size: 1.35em; } - input[type="submit"].alt, - input[type="reset"].alt, - input[type="button"].alt, - .button.alt { - background-color: transparent; - box-shadow: inset 0 0 0 2px #e4e4e4; - color: #777 !important; } - input[type="submit"].alt:hover, - input[type="reset"].alt:hover, - input[type="button"].alt:hover, - .button.alt:hover { - background-color: #f4f4f4; - color: #777 !important; } - input[type="submit"].alt:active, - input[type="reset"].alt:active, - input[type="button"].alt:active, - .button.alt:active { - background-color: #eaeaea; } - input[type="submit"].alt.icon:before, - input[type="reset"].alt.icon:before, - input[type="button"].alt.icon:before, - .button.alt.icon:before { - color: #aaa; } - input[type="submit"].primary, - input[type="reset"].primary, - input[type="button"].primary, - .button.primary { - background-color: #5ad3fe; - color: #ffffff !important; } - input[type="submit"].primary:hover, - input[type="reset"].primary:hover, - input[type="button"].primary:hover, - .button.primary:hover { - background-color: #73dafe; } - input[type="submit"].primary:active, - input[type="reset"].primary:active, - input[type="button"].primary:active, - .button.primary:active { - background-color: #41ccfe; } - input[type="submit"].disabled, input[type="submit"]:disabled, - input[type="reset"].disabled, - input[type="reset"]:disabled, - input[type="button"].disabled, - input[type="button"]:disabled, - .button.disabled, - .button:disabled { - background-color: #888 !important; - box-shadow: inset 0 -0.15em 0 0 rgba(0, 0, 0, 0.15); - color: #fff !important; - cursor: default; - opacity: 0.25; } - -/* Features */ -.features article { - border-top: solid 3px #f4f4f4; - margin-bottom: 2.25em; - padding-top: 2.25em; } - .features article:first-child { - border-top: 0; - padding-top: 0; } - .features article .image { - display: inline-block; - padding-right: 2.5em; - vertical-align: middle; - width: 48%; } - .features article .image img { - display: block; - width: 100%; } - .features article .inner { - display: inline-block; - vertical-align: middle; - width: 50%; - padding-left: 10px; - padding-right: 10px; } - .features article .inner > :last-child { - margin-bottom: 0; } - -/* Header */ -#header::-webkit-scrollbar { - display: none; } - -#header { - display: -moz-flex; - display: -webkit-flex; - display: -ms-flex; - display: flex; - -moz-flex-direction: column; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -moz-justify-content: space-between; - -webkit-justify-content: space-between; - -ms-justify-content: space-between; - justify-content: space-between; - background: #5ad3fe; - color: #d6f4ff; - height: 100%; - overflow-y: auto; - position: fixed; - text-align: center; - top: 0; - width: 23em; - transition: linear .5s; - -ms-overflow-style: none; - /* IE and Edge */ - scrollbar-width: none; - /* Firefox */ - right: 0; } - #header h1, #header h2, #header h3, #header h4, #header h5, #header h6 { - color: #ffffff; } - #header h1 a, #header h2 a, #header h3 a, #header h4 a, #header h5 a, #header h6 a { - color: #ffffff; } - #header header p { - color: #bdedff; } - #header a { - color: #d6f4ff; } - #header a:hover { - color: #ffffff !important; } - #header > header { - -moz-flex-shrink: 0; - -webkit-flex-shrink: 0; - -ms-flex-shrink: 0; - flex-shrink: 0; - padding: 2em; } - #header > header .avatar { - display: block; - margin: 0 auto 2.25em auto; - width: 8em; } - #header > header h1 { - font-size: 1.75em; - margin: 0; } - #header > header p { - color: #d6f4ff; - font-style: italic; - margin: 1em 0 0 0; } - #header > footer { - -moz-flex-shrink: 0; - -webkit-flex-shrink: 0; - -ms-flex-shrink: 0; - flex-shrink: 0; - bottom: 0; - left: 0; - padding: 2em; - width: 100%; } - #header > footer .icons { - margin: 0; } - #header > footer .icons li a { - color: #bdedff; } - #header > nav { - -moz-flex-grow: 1; - -webkit-flex-grow: 1; - -ms-flex-grow: 1; - flex-grow: 1; } - #header > nav ul { - list-style: none; - margin: 0; - padding: 0; } - #header > nav ul li { - border-top: solid 2px #6bd7fe; - display: block; - padding: 0; } - #header > nav ul li a { - -moz-transition: none; - -webkit-transition: none; - -ms-transition: none; - transition: none; - border: 0; - color: #ffffff !important; - display: block; - padding: 0.85em 0; - text-decoration: none; } - #header > nav ul li a.active { - background: #fff; - color: #5ad3fe !important; } - #header > nav ul li:first-child { - border-top: 0; } - -#header.hidden { - right: -23em; } - -/* Wrapper */ -#wrapper { - background: #fff; - transition: linear .5s; - padding-right: 23em; } - -#wrapper.expand { - padding-right: 0; } - -/* Main */ -#main > section { - border-bottom: solid 6px #f4f4f4; } - #main > section > .container { - padding: 6em 0 4em 0; } - #main > section:first-child { - border-top: 0; } - -/* Footer */ -#footer { - background: #fafafa; - border-top: 0; - color: #c0c0c0; - overflow: hidden; - padding: 4em 0 2em 0; } - #footer .copyright { - line-height: 1em; - list-style: none; - padding: 0; } - #footer .copyright li { - border-left: solid 1px #d4d4d4; - display: inline-block; - font-size: 0.8em; - margin-left: 1em; - padding-left: 1em; } - #footer .copyright li:first-child { - border-left: 0; - margin-left: 0; - padding-left: 0; } - #footer .copyright li a { - color: inherit; } - -/* XLarge */ -@media screen and (max-width: 1680px) { - /* Basic */ - body, input, select, textarea { - font-size: 13pt; } - - /* Header */ - #header { - width: 21em; } - #header > header { - padding: 2em; } - #header > footer { - padding: 1.5em; } - - /* Wrapper */ - #wrapper { - padding-right: 21em; } - - /* Main */ - #main > section > .container { - padding: 4em 0 2em 0; } } -/* Large */ -@media screen and (max-width: 1280px) { - /* Basic */ - body, input, select, textarea { - font-size: 11pt; } - - /* Header */ - #header { - width: 20em; } - - /* Wrapper */ - #wrapper { - padding-right: 20em; } } -/* Medium */ -#titleBar { - display: none; } - -@media screen and (max-width: 1024px) { - /* Basic */ - html, body { - overflow-x: hidden; } - - body, input, select, textarea { - font-size: 12pt; } - - /* Image */ - .image.left, .image.right { - max-width: 40%; } - .image.left img, .image.right img { - width: 100%; } - .image.main { - height: 20em; } - - /* Header */ - #header { - -moz-backface-visibility: hidden; - -webkit-backface-visibility: hidden; - -ms-backface-visibility: hidden; - backface-visibility: hidden; - -moz-transition: -moz-transform 0.5s ease; - -webkit-transition: -webkit-transform 0.5s ease; - -ms-transition: -ms-transform 0.5s ease; - transition: transform 0.5s ease; - display: block; - height: 100%; - overflow-y: auto; - position: fixed; - top: 0; - width: 23em; - z-index: 10002; - -moz-transform: translateX(23em); - -webkit-transform: translateX(23em); - -ms-transform: translateX(23em); - transform: translateX(23em); - right: 0; } - #header > footer { - bottom: auto; - left: auto; - margin: 0.5em 0 0 0; - position: relative; - right: auto; - top: auto; } - - /* Wrapper */ - #wrapper { - -moz-backface-visibility: hidden; - -webkit-backface-visibility: hidden; - -ms-backface-visibility: hidden; - backface-visibility: hidden; - -moz-transition: -moz-transform 0.5s ease; - -webkit-transition: -webkit-transform 0.5s ease; - -ms-transition: -ms-transform 0.5s ease; - transition: transform 0.5s ease; - padding: 44px 0 1px 0; } - - /* Header Panel */ - #titleBar { - -moz-backface-visibility: hidden; - -webkit-backface-visibility: hidden; - -ms-backface-visibility: hidden; - backface-visibility: hidden; - -moz-transition: -moz-transform 0.5s ease; - -webkit-transition: -webkit-transform 0.5s ease; - -ms-transition: -ms-transform 0.5s ease; - transition: transform 0.5s ease; - display: block; - height: 44px; - left: 0; - position: fixed; - top: 0; - width: 100%; - z-index: 10001; - background: #222; - color: #fff; - min-width: 320px; } - #titleBar .title { - color: #fff; - display: block; - font-weight: 700; - height: 44px; - line-height: 44px; - padding: 0 1em; - width: 100%; - text-align: left; } - #titleBar .title a { - border: 0; - text-decoration: none; } - #titleBar .toggle { - text-decoration: none; - height: 4em; - position: absolute; - top: 0; - width: 6em; - border: 0; - outline: 0; - right: 0; } - #titleBar .toggle:before { - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - display: inline-block; - font-style: normal; - font-variant: normal; - text-rendering: auto; - line-height: 1; - text-transform: none !important; - font-family: 'Font Awesome 5 Free'; - font-weight: 900; } - #titleBar .toggle:before { - background: #5ad3fe; - color: #ffffff; - content: '\f0c9'; - display: block; - font-size: 18px; - height: 44px; - line-height: 44px; - position: absolute; - text-align: center; - top: 0; - width: 64px; - right: 0; } - - body.header-visible #wrapper, body.header-visible #titleBar { - -moz-transform: translateX(-23em); - -webkit-transform: translateX(-23em); - -ms-transform: translateX(-23em); - transform: translateX(-23em); } - body.header-visible #header { - -moz-transform: translateX(0); - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); } } -/* Small */ -@media screen and (max-width: 736px) { - /* Basic */ - body, input, select, textarea { - font-size: 12pt; } - - h1 br, h2 br, h3 br, h4 br, h5 br, h6 br { - display: none; } - - h2 { - font-size: 1.75em; } - - h3 { - font-size: 1.5em; } - - h4 { - font-size: 1em; } - - /* Image */ - .image.left { - margin: 0 1.5em 1em 0; } - .image.right { - margin: 0 0 1em 1.5em; } - .image.main { - height: 12em; } - - /* Section/Article */ - header br { - display: none; } - header.major h2 { - font-size: 2.5em; } - header.major h2 + p { - font-size: 1.5em; } - - /* Features */ - .features article .image { - display: block; - margin: 0 0 2.25em 0; - padding-right: 0; - width: 100%; } - .features article .inner { - display: block; - width: 100%; } - - /* Header */ - #header { - width: 17em; - -moz-transform: translateX(17em); - -webkit-transform: translateX(17em); - -ms-transform: translateX(17em); - transform: translateX(17em); - right: 0; } - #header > header { - padding: 2em; } - #header > header .avatar { - margin: 0 auto 1.6875em auto; - width: 6em; } - #header > header h1 { - font-size: 1.5em; } - #header > header p { - margin: 1em 0 0 0; } - #header > footer { - padding: 1.5em; } - - /* Main */ - #main > section > .container { - padding: 2em 0 0 0; } - - /* Footer */ - #footer { - text-align: center; } - #footer .copyright li { - border-left: 0; - display: block; - line-height: 1.75em; - margin: 0.75em 0 0 0; - padding-left: 0; } - #footer .copyright li:first-child { - margin-top: 0; } - - /* Header Panel */ - #titleBar .toggle { - height: 4em; - width: 6em; } - #titleBar .toggle:before { - font-size: 14px; - width: 44px; } - - body.header-visible #wrapper, body.header-visible #titleBar { - -moz-transform: translateX(-17em); - -webkit-transform: translateX(-17em); - -ms-transform: translateX(-17em); - transform: translateX(-17em); } } -/* XSmall */ -@media screen and (max-width: 480px) { - /* Basic */ - html, body { - min-width: 320px; } - - body, input, select, textarea { - font-size: 12pt; } - - /* List */ - ul.actions { - margin: 0 0 2.25em 0; } - ul.actions li { - display: block; - padding: 1.125em 0 0 0; - text-align: center; - width: 100%; } - ul.actions li:first-child { - padding-top: 0; } - ul.actions li > * { - width: 100%; - margin: 0 !important; } - ul.actions li > *.icon:before { - margin-left: -2em; } - ul.actions.small li { - padding: 0.5625em 0 0 0; } - ul.actions.small li:first-child { - padding-top: 0; } - ul.feature-icons li { - display: block; - width: 100%; } - - /* Button */ - input[type="submit"], - input[type="reset"], - input[type="button"], - .button { - padding: 0; } } -/* Loading Screen */ -.loader { - position: fixed; - z-index: 99; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: #191f26; - display: flex; - justify-content: center; - align-items: center; } - -.loader.hidden { - animation: fadeOut 1s; - animation-fill-mode: forwards; } - -@keyframes fadeOut { - 100% { - opacity: 0; - visibility: hidden; } } -/* Hide Sidebar Button */ -/* Team */ -.our-team { - padding: 40px 0; - background: white; - text-align: center; } - -.team-inner { - max-width: 1200px; - margin: auto; - overflow: hidden; - padding: 0 20px; } - -.team-border { - width: 160px; - height: 5px; - background: #5ad3fe; - margin: 26px auto; } - -.team-row { - display: flex; - flex-wrap: wrap; - justify-content: center; } - -.team-col { - flex: 33.33%; - max-width: 33.33%; - box-sizing: border-box; - padding: 15px; } - -.team-member { - background: #fff; - padding: 30px; } - -.team-member img { - width: 100px; - height: 100px; - border-radius: 50%; } - -.team-member-name { - font-size: 20px; - text-transform: uppercase; - margin: 20px 0; } - -@media screen and (max-width: 600px) { - .team-col { - flex: 100%; - max-width: 100%; } } -@media screen and (max-width: 960px) { - .team-col { - flex: 100%; - max-width: 80%; } } -#toggle-btn.shift { - right: 0; } - -#toggle-btn { - display: block; - position: fixed; - height: 40px; - border: none; - width: 45px; - z-index: 2; - background: #5ad3fe; - color: #5ad3fe; } - -.icon-bars { - text-align: center; - vertical-align: middle; } - -@media screen and (max-width: 1024px) { - #toggle-btn { - display: none; } } -/* Card */ -.card { - box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); - transition: 0.5s; - border-radius: 10px; } - -.card:hover { - box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2); } - -.container { - padding: 2px 16px; } - -/* Modal */ -.Modal { - display: block; - position: fixed; - left: 0; - top: 0; - z-index: 100; - width: 100%; - height: 100%; - padding-top: 100px; - background-color: black; - background-color: rgba(0, 0, 0, 0.4); - -webkit-transition: 0.2s; - overflow: auto; - transition: all 0.3s linear; } - -.Modal-content { - background-color: #fefefe; - margin: auto; - max-width: 90%; - min-width: 50%; - min-height: 80%; - padding: 20px; - border-radius: 6px; - margin-bottom: 100px; } - -.Close { - color: #aaaaaa; - float: right; - font-size: 36px; } - -.Close:hover, .Close:focus { - color: #000; - text-decoration: none; - cursor: pointer; } - -.is-blurred { - filter: blur(2px); - -webkit-filter: blur(2px); } - -.is-visuallyHidden { - opacity: 0; } - -.is-hidden { - display: none; } - -.ModalOpen { - overflow: hidden; } - -.collapsible { - background-color: #777; - color: white; - cursor: pointer; - padding: 18px; - width: 100%; - border: none; - text-align: left; - outline: none; - font-size: 15px; } - -.active, .collapsible:hover { - background-color: #ccc; } - -.content { - padding: 0 18px; - display: none; - overflow: hidden; - background-color: #f1f1f1; } - -/*# sourceMappingURL=mamain.css.map */ diff --git a/assets/css/mamain.css.map b/assets/css/mamain.css.map deleted file mode 100644 index 6f8c30c7..00000000 --- a/assets/css/mamain.css.map +++ /dev/null @@ -1,7 +0,0 @@ -{ -"version": 3, -"mappings": "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", -"sources": ["../../_sass/main.scss","../../_sass/libs/_functions.scss","../../_sass/libs/_vendor.scss","../../_sass/libs/_html-grid.scss","../../_sass/libs/_breakpoints.scss","../../_sass/libs/_mixins.scss"], -"names": [], -"file": "mamain.css" -} diff --git a/assets/cssmain.css b/assets/cssmain.css deleted file mode 100644 index 0d21e1eb..00000000 --- a/assets/cssmain.css +++ /dev/null @@ -1,2274 +0,0 @@ -@import url("fontawesome-all.min.css"); -@import url("https://fonts.googleapis.com/css?family=Lato:400,400italic,700,700italic|Source+Code+Pro:400"); -html, body, div, span, applet, object, -iframe, h1, h2, h3, h4, h5, h6, p, blockquote, -pre, a, abbr, acronym, address, big, cite, -code, del, dfn, em, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, b, -u, i, center, dl, dt, dd, ol, ul, li, fieldset, -form, label, legend, table, caption, tbody, -tfoot, thead, tr, th, td, article, aside, -canvas, details, embed, figure, figcaption, -footer, header, hgroup, menu, nav, output, ruby, -section, summary, time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; - font-size: 100%; - font: inherit; - vertical-align: baseline; } - -article, aside, details, figcaption, figure, -footer, header, hgroup, menu, nav, section { - display: block; } - -body { - line-height: 1; } - -ol, ul { - list-style: none; } - -blockquote, q { - quotes: none; } - blockquote:before, blockquote:after, q:before, q:after { - content: ''; - content: none; } - -table { - border-collapse: collapse; - border-spacing: 0; } - -body { - -webkit-text-size-adjust: none; } - -mark { - background-color: transparent; - color: inherit; } - -input::-moz-focus-inner { - border: 0; - padding: 0; } - -input, select, textarea { - -moz-appearance: none; - -webkit-appearance: none; - -ms-appearance: none; - appearance: none; } - -/* Basic */ -html { - box-sizing: border-box; } - -*, *:before, *:after { - box-sizing: inherit; } - -body { - background: #fff; } - body.is-preload *, body.is-preload *:before, body.is-preload *:after { - -moz-animation: none !important; - -webkit-animation: none !important; - -ms-animation: none !important; - animation: none !important; - -moz-transition: none !important; - -webkit-transition: none !important; - -ms-transition: none !important; - transition: none !important; } - -body, input, select, textarea { - color: #888; - font-family: "Lato", sans-serif; - font-size: 16pt; - font-weight: 400; - line-height: 1.75em; } - -a { - -moz-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out; - -webkit-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out; - -ms-transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out; - transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out; - border-bottom: solid 1px #e4e4e4; - color: inherit; - text-decoration: none; } - a:hover { - border-bottom-color: transparent; - color: #5ad3fe !important; } - -strong, b { - color: #777; - font-weight: 700; } - -em, i { - font-style: italic; } - -p { - margin: 0 0 2.25em 0; } - -h1, h2, h3, h4, h5, h6 { - color: #777; - font-weight: 700; - line-height: 1em; - margin: 0 0 0.5625em 0; } - h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { - border: 0; - color: inherit; - text-decoration: none; } - -h2 { - font-size: 2em; - line-height: 1.5em; } - -h3 { - font-size: 1.75em; - line-height: 1.5em; } - -h4 { - font-size: 1.25em; - line-height: 1.5em; } - -h5 { - font-size: 0.9em; - line-height: 1.5em; } - -h6 { - font-size: 0.7em; - line-height: 1.5em; } - -sub { - font-size: 0.8em; - position: relative; - top: 0.5em; } - -sup { - font-size: 0.8em; - position: relative; - top: -0.5em; } - -hr { - border: 0; - border-bottom: solid 2px #f4f4f4; - margin: 2.25em 0; } - hr.major { - margin: 3.375em 0; } - -blockquote { - border-left: solid 8px #e4e4e4; - font-style: italic; - margin: 0 0 2.25em 0; - padding: 0.5em 0 0.5em 2em; } - -code { - background: #555; - border-radius: 5px; - color: #fff; - font-family: "Source Code Pro", monospace; - font-size: 0.9em; - margin: 0 0.25em; - padding: 0.25em 0.65em; } - -pre { - font-family: "Source Code Pro", monospace; - font-size: 0.9em; - margin: 0 0 2.25em 0; } - pre code { - -webkit-overflow-scrolling: touch; - display: block; - line-height: 1.5em; - overflow-x: auto; - padding: 1em 1.5em; } - -.align-left { - text-align: left; } - -.align-center { - text-align: center; } - -.align-right { - text-align: right; } - -/* Row */ -.row { - display: flex; - flex-wrap: wrap; - box-sizing: border-box; - align-items: stretch; } - .row > * { - box-sizing: border-box; } - .row.gtr-uniform > * > :last-child { - margin-bottom: 0; } - .row.aln-left { - justify-content: flex-start; } - .row.aln-center { - justify-content: center; } - .row.aln-right { - justify-content: flex-end; } - .row.aln-top { - align-items: flex-start; } - .row.aln-middle { - align-items: center; } - .row.aln-bottom { - align-items: flex-end; } - .row > .imp { - order: -1; } - .row > .col-1 { - width: 8.3333333333%; } - .row > .off-1 { - margin-left: 8.3333333333%; } - .row > .col-2 { - width: 16.6666666667%; } - .row > .off-2 { - margin-left: 16.6666666667%; } - .row > .col-3 { - width: 25%; } - .row > .off-3 { - margin-left: 25%; } - .row > .col-4 { - width: 33.3333333333%; } - .row > .off-4 { - margin-left: 33.3333333333%; } - .row > .col-5 { - width: 41.6666666667%; } - .row > .off-5 { - margin-left: 41.6666666667%; } - .row > .col-6 { - width: 50%; } - .row > .off-6 { - margin-left: 50%; } - .row > .col-7 { - width: 58.3333333333%; } - .row > .off-7 { - margin-left: 58.3333333333%; } - .row > .col-8 { - width: 66.6666666667%; } - .row > .off-8 { - margin-left: 66.6666666667%; } - .row > .col-9 { - width: 75%; } - .row > .off-9 { - margin-left: 75%; } - .row > .col-10 { - width: 83.3333333333%; } - .row > .off-10 { - margin-left: 83.3333333333%; } - .row > .col-11 { - width: 91.6666666667%; } - .row > .off-11 { - margin-left: 91.6666666667%; } - .row > .col-12 { - width: 100%; } - .row > .off-12 { - margin-left: 100%; } - .row.gtr-0 { - margin-top: 0; - margin-left: 0em; } - .row.gtr-0 > * { - padding: 0 0 0 0em; } - .row.gtr-0.gtr-uniform { - margin-top: 0em; } - .row.gtr-0.gtr-uniform > * { - padding-top: 0em; } - .row.gtr-25 { - margin-top: 0; - margin-left: -0.5em; } - .row.gtr-25 > * { - padding: 0 0 0 0.5em; } - .row.gtr-25.gtr-uniform { - margin-top: -0.5em; } - .row.gtr-25.gtr-uniform > * { - padding-top: 0.5em; } - .row.gtr-50 { - margin-top: 0; - margin-left: -1em; } - .row.gtr-50 > * { - padding: 0 0 0 1em; } - .row.gtr-50.gtr-uniform { - margin-top: -1em; } - .row.gtr-50.gtr-uniform > * { - padding-top: 1em; } - .row { - margin-top: 0; - margin-left: -2em; } - .row > * { - padding: 0 0 0 2em; } - .row.gtr-uniform { - margin-top: -2em; } - .row.gtr-uniform > * { - padding-top: 2em; } - .row.gtr-150 { - margin-top: 0; - margin-left: -3em; } - .row.gtr-150 > * { - padding: 0 0 0 3em; } - .row.gtr-150.gtr-uniform { - margin-top: -3em; } - .row.gtr-150.gtr-uniform > * { - padding-top: 3em; } - .row.gtr-200 { - margin-top: 0; - margin-left: -4em; } - .row.gtr-200 > * { - padding: 0 0 0 4em; } - .row.gtr-200.gtr-uniform { - margin-top: -4em; } - .row.gtr-200.gtr-uniform > * { - padding-top: 4em; } - @media screen and (max-width: 1680px) { - .row { - display: flex; - flex-wrap: wrap; - box-sizing: border-box; - align-items: stretch; } - .row > * { - box-sizing: border-box; } - .row.gtr-uniform > * > :last-child { - margin-bottom: 0; } - .row.aln-left { - justify-content: flex-start; } - .row.aln-center { - justify-content: center; } - .row.aln-right { - justify-content: flex-end; } - .row.aln-top { - align-items: flex-start; } - .row.aln-middle { - align-items: center; } - .row.aln-bottom { - align-items: flex-end; } - .row > .imp-xlarge { - order: -1; } - .row > .col-1-xlarge { - width: 8.3333333333%; } - .row > .off-1-xlarge { - margin-left: 8.3333333333%; } - .row > .col-2-xlarge { - width: 16.6666666667%; } - .row > .off-2-xlarge { - margin-left: 16.6666666667%; } - .row > .col-3-xlarge { - width: 25%; } - .row > .off-3-xlarge { - margin-left: 25%; } - .row > .col-4-xlarge { - width: 33.3333333333%; } - .row > .off-4-xlarge { - margin-left: 33.3333333333%; } - .row > .col-5-xlarge { - width: 41.6666666667%; } - .row > .off-5-xlarge { - margin-left: 41.6666666667%; } - .row > .col-6-xlarge { - width: 50%; } - .row > .off-6-xlarge { - margin-left: 50%; } - .row > .col-7-xlarge { - width: 58.3333333333%; } - .row > .off-7-xlarge { - margin-left: 58.3333333333%; } - .row > .col-8-xlarge { - width: 66.6666666667%; } - .row > .off-8-xlarge { - margin-left: 66.6666666667%; } - .row > .col-9-xlarge { - width: 75%; } - .row > .off-9-xlarge { - margin-left: 75%; } - .row > .col-10-xlarge { - width: 83.3333333333%; } - .row > .off-10-xlarge { - margin-left: 83.3333333333%; } - .row > .col-11-xlarge { - width: 91.6666666667%; } - .row > .off-11-xlarge { - margin-left: 91.6666666667%; } - .row > .col-12-xlarge { - width: 100%; } - .row > .off-12-xlarge { - margin-left: 100%; } - .row.gtr-0 { - margin-top: 0; - margin-left: 0em; } - .row.gtr-0 > * { - padding: 0 0 0 0em; } - .row.gtr-0.gtr-uniform { - margin-top: 0em; } - .row.gtr-0.gtr-uniform > * { - padding-top: 0em; } - .row.gtr-25 { - margin-top: 0; - margin-left: -0.5em; } - .row.gtr-25 > * { - padding: 0 0 0 0.5em; } - .row.gtr-25.gtr-uniform { - margin-top: -0.5em; } - .row.gtr-25.gtr-uniform > * { - padding-top: 0.5em; } - .row.gtr-50 { - margin-top: 0; - margin-left: -1em; } - .row.gtr-50 > * { - padding: 0 0 0 1em; } - .row.gtr-50.gtr-uniform { - margin-top: -1em; } - .row.gtr-50.gtr-uniform > * { - padding-top: 1em; } - .row { - margin-top: 0; - margin-left: -2em; } - .row > * { - padding: 0 0 0 2em; } - .row.gtr-uniform { - margin-top: -2em; } - .row.gtr-uniform > * { - padding-top: 2em; } - .row.gtr-150 { - margin-top: 0; - margin-left: -3em; } - .row.gtr-150 > * { - padding: 0 0 0 3em; } - .row.gtr-150.gtr-uniform { - margin-top: -3em; } - .row.gtr-150.gtr-uniform > * { - padding-top: 3em; } - .row.gtr-200 { - margin-top: 0; - margin-left: -4em; } - .row.gtr-200 > * { - padding: 0 0 0 4em; } - .row.gtr-200.gtr-uniform { - margin-top: -4em; } - .row.gtr-200.gtr-uniform > * { - padding-top: 4em; } } - @media screen and (max-width: 1280px) { - .row { - display: flex; - flex-wrap: wrap; - box-sizing: border-box; - align-items: stretch; } - .row > * { - box-sizing: border-box; } - .row.gtr-uniform > * > :last-child { - margin-bottom: 0; } - .row.aln-left { - justify-content: flex-start; } - .row.aln-center { - justify-content: center; } - .row.aln-right { - justify-content: flex-end; } - .row.aln-top { - align-items: flex-start; } - .row.aln-middle { - align-items: center; } - .row.aln-bottom { - align-items: flex-end; } - .row > .imp-large { - order: -1; } - .row > .col-1-large { - width: 8.3333333333%; } - .row > .off-1-large { - margin-left: 8.3333333333%; } - .row > .col-2-large { - width: 16.6666666667%; } - .row > .off-2-large { - margin-left: 16.6666666667%; } - .row > .col-3-large { - width: 25%; } - .row > .off-3-large { - margin-left: 25%; } - .row > .col-4-large { - width: 33.3333333333%; } - .row > .off-4-large { - margin-left: 33.3333333333%; } - .row > .col-5-large { - width: 41.6666666667%; } - .row > .off-5-large { - margin-left: 41.6666666667%; } - .row > .col-6-large { - width: 50%; } - .row > .off-6-large { - margin-left: 50%; } - .row > .col-7-large { - width: 58.3333333333%; } - .row > .off-7-large { - margin-left: 58.3333333333%; } - .row > .col-8-large { - width: 66.6666666667%; } - .row > .off-8-large { - margin-left: 66.6666666667%; } - .row > .col-9-large { - width: 75%; } - .row > .off-9-large { - margin-left: 75%; } - .row > .col-10-large { - width: 83.3333333333%; } - .row > .off-10-large { - margin-left: 83.3333333333%; } - .row > .col-11-large { - width: 91.6666666667%; } - .row > .off-11-large { - margin-left: 91.6666666667%; } - .row > .col-12-large { - width: 100%; } - .row > .off-12-large { - margin-left: 100%; } - .row.gtr-0 { - margin-top: 0; - margin-left: 0em; } - .row.gtr-0 > * { - padding: 0 0 0 0em; } - .row.gtr-0.gtr-uniform { - margin-top: 0em; } - .row.gtr-0.gtr-uniform > * { - padding-top: 0em; } - .row.gtr-25 { - margin-top: 0; - margin-left: -0.375em; } - .row.gtr-25 > * { - padding: 0 0 0 0.375em; } - .row.gtr-25.gtr-uniform { - margin-top: -0.375em; } - .row.gtr-25.gtr-uniform > * { - padding-top: 0.375em; } - .row.gtr-50 { - margin-top: 0; - margin-left: -0.75em; } - .row.gtr-50 > * { - padding: 0 0 0 0.75em; } - .row.gtr-50.gtr-uniform { - margin-top: -0.75em; } - .row.gtr-50.gtr-uniform > * { - padding-top: 0.75em; } - .row { - margin-top: 0; - margin-left: -1.5em; } - .row > * { - padding: 0 0 0 1.5em; } - .row.gtr-uniform { - margin-top: -1.5em; } - .row.gtr-uniform > * { - padding-top: 1.5em; } - .row.gtr-150 { - margin-top: 0; - margin-left: -2.25em; } - .row.gtr-150 > * { - padding: 0 0 0 2.25em; } - .row.gtr-150.gtr-uniform { - margin-top: -2.25em; } - .row.gtr-150.gtr-uniform > * { - padding-top: 2.25em; } - .row.gtr-200 { - margin-top: 0; - margin-left: -3em; } - .row.gtr-200 > * { - padding: 0 0 0 3em; } - .row.gtr-200.gtr-uniform { - margin-top: -3em; } - .row.gtr-200.gtr-uniform > * { - padding-top: 3em; } } - @media screen and (max-width: 1024px) { - .row { - display: flex; - flex-wrap: wrap; - box-sizing: border-box; - align-items: stretch; } - .row > * { - box-sizing: border-box; } - .row.gtr-uniform > * > :last-child { - margin-bottom: 0; } - .row.aln-left { - justify-content: flex-start; } - .row.aln-center { - justify-content: center; } - .row.aln-right { - justify-content: flex-end; } - .row.aln-top { - align-items: flex-start; } - .row.aln-middle { - align-items: center; } - .row.aln-bottom { - align-items: flex-end; } - .row > .imp-medium { - order: -1; } - .row > .col-1-medium { - width: 8.3333333333%; } - .row > .off-1-medium { - margin-left: 8.3333333333%; } - .row > .col-2-medium { - width: 16.6666666667%; } - .row > .off-2-medium { - margin-left: 16.6666666667%; } - .row > .col-3-medium { - width: 25%; } - .row > .off-3-medium { - margin-left: 25%; } - .row > .col-4-medium { - width: 33.3333333333%; } - .row > .off-4-medium { - margin-left: 33.3333333333%; } - .row > .col-5-medium { - width: 41.6666666667%; } - .row > .off-5-medium { - margin-left: 41.6666666667%; } - .row > .col-6-medium { - width: 50%; } - .row > .off-6-medium { - margin-left: 50%; } - .row > .col-7-medium { - width: 58.3333333333%; } - .row > .off-7-medium { - margin-left: 58.3333333333%; } - .row > .col-8-medium { - width: 66.6666666667%; } - .row > .off-8-medium { - margin-left: 66.6666666667%; } - .row > .col-9-medium { - width: 75%; } - .row > .off-9-medium { - margin-left: 75%; } - .row > .col-10-medium { - width: 83.3333333333%; } - .row > .off-10-medium { - margin-left: 83.3333333333%; } - .row > .col-11-medium { - width: 91.6666666667%; } - .row > .off-11-medium { - margin-left: 91.6666666667%; } - .row > .col-12-medium { - width: 100%; } - .row > .off-12-medium { - margin-left: 100%; } - .row.gtr-0 { - margin-top: 0; - margin-left: 0em; } - .row.gtr-0 > * { - padding: 0 0 0 0em; } - .row.gtr-0.gtr-uniform { - margin-top: 0em; } - .row.gtr-0.gtr-uniform > * { - padding-top: 0em; } - .row.gtr-25 { - margin-top: 0; - margin-left: -0.375em; } - .row.gtr-25 > * { - padding: 0 0 0 0.375em; } - .row.gtr-25.gtr-uniform { - margin-top: -0.375em; } - .row.gtr-25.gtr-uniform > * { - padding-top: 0.375em; } - .row.gtr-50 { - margin-top: 0; - margin-left: -0.75em; } - .row.gtr-50 > * { - padding: 0 0 0 0.75em; } - .row.gtr-50.gtr-uniform { - margin-top: -0.75em; } - .row.gtr-50.gtr-uniform > * { - padding-top: 0.75em; } - .row { - margin-top: 0; - margin-left: -1.5em; } - .row > * { - padding: 0 0 0 1.5em; } - .row.gtr-uniform { - margin-top: -1.5em; } - .row.gtr-uniform > * { - padding-top: 1.5em; } - .row.gtr-150 { - margin-top: 0; - margin-left: -2.25em; } - .row.gtr-150 > * { - padding: 0 0 0 2.25em; } - .row.gtr-150.gtr-uniform { - margin-top: -2.25em; } - .row.gtr-150.gtr-uniform > * { - padding-top: 2.25em; } - .row.gtr-200 { - margin-top: 0; - margin-left: -3em; } - .row.gtr-200 > * { - padding: 0 0 0 3em; } - .row.gtr-200.gtr-uniform { - margin-top: -3em; } - .row.gtr-200.gtr-uniform > * { - padding-top: 3em; } } - @media screen and (max-width: 736px) { - .row { - display: flex; - flex-wrap: wrap; - box-sizing: border-box; - align-items: stretch; } - .row > * { - box-sizing: border-box; } - .row.gtr-uniform > * > :last-child { - margin-bottom: 0; } - .row.aln-left { - justify-content: flex-start; } - .row.aln-center { - justify-content: center; } - .row.aln-right { - justify-content: flex-end; } - .row.aln-top { - align-items: flex-start; } - .row.aln-middle { - align-items: center; } - .row.aln-bottom { - align-items: flex-end; } - .row > .imp-small { - order: -1; } - .row > .col-1-small { - width: 8.3333333333%; } - .row > .off-1-small { - margin-left: 8.3333333333%; } - .row > .col-2-small { - width: 16.6666666667%; } - .row > .off-2-small { - margin-left: 16.6666666667%; } - .row > .col-3-small { - width: 25%; } - .row > .off-3-small { - margin-left: 25%; } - .row > .col-4-small { - width: 33.3333333333%; } - .row > .off-4-small { - margin-left: 33.3333333333%; } - .row > .col-5-small { - width: 41.6666666667%; } - .row > .off-5-small { - margin-left: 41.6666666667%; } - .row > .col-6-small { - width: 50%; } - .row > .off-6-small { - margin-left: 50%; } - .row > .col-7-small { - width: 58.3333333333%; } - .row > .off-7-small { - margin-left: 58.3333333333%; } - .row > .col-8-small { - width: 66.6666666667%; } - .row > .off-8-small { - margin-left: 66.6666666667%; } - .row > .col-9-small { - width: 75%; } - .row > .off-9-small { - margin-left: 75%; } - .row > .col-10-small { - width: 83.3333333333%; } - .row > .off-10-small { - margin-left: 83.3333333333%; } - .row > .col-11-small { - width: 91.6666666667%; } - .row > .off-11-small { - margin-left: 91.6666666667%; } - .row > .col-12-small { - width: 100%; } - .row > .off-12-small { - margin-left: 100%; } - .row.gtr-0 { - margin-top: 0; - margin-left: 0em; } - .row.gtr-0 > * { - padding: 0 0 0 0em; } - .row.gtr-0.gtr-uniform { - margin-top: 0em; } - .row.gtr-0.gtr-uniform > * { - padding-top: 0em; } - .row.gtr-25 { - margin-top: 0; - margin-left: -0.3125em; } - .row.gtr-25 > * { - padding: 0 0 0 0.3125em; } - .row.gtr-25.gtr-uniform { - margin-top: -0.3125em; } - .row.gtr-25.gtr-uniform > * { - padding-top: 0.3125em; } - .row.gtr-50 { - margin-top: 0; - margin-left: -0.625em; } - .row.gtr-50 > * { - padding: 0 0 0 0.625em; } - .row.gtr-50.gtr-uniform { - margin-top: -0.625em; } - .row.gtr-50.gtr-uniform > * { - padding-top: 0.625em; } - .row { - margin-top: 0; - margin-left: -1.25em; } - .row > * { - padding: 0 0 0 1.25em; } - .row.gtr-uniform { - margin-top: -1.25em; } - .row.gtr-uniform > * { - padding-top: 1.25em; } - .row.gtr-150 { - margin-top: 0; - margin-left: -1.875em; } - .row.gtr-150 > * { - padding: 0 0 0 1.875em; } - .row.gtr-150.gtr-uniform { - margin-top: -1.875em; } - .row.gtr-150.gtr-uniform > * { - padding-top: 1.875em; } - .row.gtr-200 { - margin-top: 0; - margin-left: -2.5em; } - .row.gtr-200 > * { - padding: 0 0 0 2.5em; } - .row.gtr-200.gtr-uniform { - margin-top: -2.5em; } - .row.gtr-200.gtr-uniform > * { - padding-top: 2.5em; } } - @media screen and (max-width: 480px) { - .row { - display: flex; - flex-wrap: wrap; - box-sizing: border-box; - align-items: stretch; } - .row > * { - box-sizing: border-box; } - .row.gtr-uniform > * > :last-child { - margin-bottom: 0; } - .row.aln-left { - justify-content: flex-start; } - .row.aln-center { - justify-content: center; } - .row.aln-right { - justify-content: flex-end; } - .row.aln-top { - align-items: flex-start; } - .row.aln-middle { - align-items: center; } - .row.aln-bottom { - align-items: flex-end; } - .row > .imp-xsmall { - order: -1; } - .row > .col-1-xsmall { - width: 8.3333333333%; } - .row > .off-1-xsmall { - margin-left: 8.3333333333%; } - .row > .col-2-xsmall { - width: 16.6666666667%; } - .row > .off-2-xsmall { - margin-left: 16.6666666667%; } - .row > .col-3-xsmall { - width: 25%; } - .row > .off-3-xsmall { - margin-left: 25%; } - .row > .col-4-xsmall { - width: 33.3333333333%; } - .row > .off-4-xsmall { - margin-left: 33.3333333333%; } - .row > .col-5-xsmall { - width: 41.6666666667%; } - .row > .off-5-xsmall { - margin-left: 41.6666666667%; } - .row > .col-6-xsmall { - width: 50%; } - .row > .off-6-xsmall { - margin-left: 50%; } - .row > .col-7-xsmall { - width: 58.3333333333%; } - .row > .off-7-xsmall { - margin-left: 58.3333333333%; } - .row > .col-8-xsmall { - width: 66.6666666667%; } - .row > .off-8-xsmall { - margin-left: 66.6666666667%; } - .row > .col-9-xsmall { - width: 75%; } - .row > .off-9-xsmall { - margin-left: 75%; } - .row > .col-10-xsmall { - width: 83.3333333333%; } - .row > .off-10-xsmall { - margin-left: 83.3333333333%; } - .row > .col-11-xsmall { - width: 91.6666666667%; } - .row > .off-11-xsmall { - margin-left: 91.6666666667%; } - .row > .col-12-xsmall { - width: 100%; } - .row > .off-12-xsmall { - margin-left: 100%; } - .row.gtr-0 { - margin-top: 0; - margin-left: 0em; } - .row.gtr-0 > * { - padding: 0 0 0 0em; } - .row.gtr-0.gtr-uniform { - margin-top: 0em; } - .row.gtr-0.gtr-uniform > * { - padding-top: 0em; } - .row.gtr-25 { - margin-top: 0; - margin-left: -0.3125em; } - .row.gtr-25 > * { - padding: 0 0 0 0.3125em; } - .row.gtr-25.gtr-uniform { - margin-top: -0.3125em; } - .row.gtr-25.gtr-uniform > * { - padding-top: 0.3125em; } - .row.gtr-50 { - margin-top: 0; - margin-left: -0.625em; } - .row.gtr-50 > * { - padding: 0 0 0 0.625em; } - .row.gtr-50.gtr-uniform { - margin-top: -0.625em; } - .row.gtr-50.gtr-uniform > * { - padding-top: 0.625em; } - .row { - margin-top: 0; - margin-left: -1.25em; } - .row > * { - padding: 0 0 0 1.25em; } - .row.gtr-uniform { - margin-top: -1.25em; } - .row.gtr-uniform > * { - padding-top: 1.25em; } - .row.gtr-150 { - margin-top: 0; - margin-left: -1.875em; } - .row.gtr-150 > * { - padding: 0 0 0 1.875em; } - .row.gtr-150.gtr-uniform { - margin-top: -1.875em; } - .row.gtr-150.gtr-uniform > * { - padding-top: 1.875em; } - .row.gtr-200 { - margin-top: 0; - margin-left: -2.5em; } - .row.gtr-200 > * { - padding: 0 0 0 2.5em; } - .row.gtr-200.gtr-uniform { - margin-top: -2.5em; } - .row.gtr-200.gtr-uniform > * { - padding-top: 2.5em; } } - -/* Container */ -.container { - margin: 0 auto; - max-width: calc(100% - 4.5em); - width: 45em; } - .container.xsmall { - width: 11.25em; } - .container.small { - width: 22.5em; } - .container.medium { - width: 33.75em; } - .container.large { - width: 56.25em; } - .container.xlarge { - width: 67.5em; } - .container.max { - width: 100%; } - @media screen and (max-width: 1024px) { - .container { - width: 100% !important; } } - @media screen and (max-width: 480px) { - .container { - max-width: calc(100% - 3.375em); } } - -/* Section/Article */ -section.special, article.special { - text-align: center; } - -header p { - color: #aaa; - position: relative; - margin: 0 0 1.6875em 0; } -header h2 + p { - font-size: 1.25em; - margin-top: -0.5em; - line-height: 1.5em; } -header h3 + p { - font-size: 1.1em; - margin-top: -0.35em; - line-height: 1.5em; } -header h4 + p, -header h5 + p, -header h6 + p { - font-size: 0.9em; - margin-top: -0.25em; - line-height: 1.5em; } -header.major h2 { - color: #5ad3fe; - font-size: 3.5em; } - header.major h2 + p { - color: #777; - font-size: 1.75em; - font-weight: 700; - margin-top: -0.75em; } - -/* Form */ -form { - margin: 0 0 2.25em 0; } - -label { - color: #777; - display: block; - font-size: 0.9em; - font-weight: 700; - margin: 0 0 1.125em 0; } - -input::-moz-focus-inner { - border: 0; - padding: 0; } - -input[type="text"], -input[type="password"], -input[type="email"], -select, -textarea { - -moz-appearance: none; - -webkit-appearance: none; - -ms-appearance: none; - appearance: none; - border-radius: 5px; - border: none; - border: solid 2px #e4e4e4; - color: inherit; - display: block; - outline: 0; - padding: 0 1em; - text-decoration: none; - width: 100%; } - input[type="text"]:invalid, - input[type="password"]:invalid, - input[type="email"]:invalid, - select:invalid, - textarea:invalid { - box-shadow: none; } - input[type="text"]:focus, - input[type="password"]:focus, - input[type="email"]:focus, - select:focus, - textarea:focus { - border-color: #5ad3fe; } - -select { - background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'%3E%3Cpath d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='%23e4e4e4' /%3E%3C/svg%3E"); - background-size: 1.25em; - background-repeat: no-repeat; - background-position: calc(100% - 1em) center; - height: 2.75em; - padding-right: 2.75em; - text-overflow: ellipsis; } - select option { - color: #777; - background: #fff; } - select:focus::-ms-value { - background-color: transparent; } - select::-ms-expand { - display: none; } - -input[type="text"], -input[type="password"], -input[type="email"], -select { - height: 2.75em; } - -textarea { - padding: 0.75em 1em; } - -input[type="checkbox"], -input[type="radio"] { - -moz-appearance: none; - -webkit-appearance: none; - -ms-appearance: none; - appearance: none; - display: block; - float: left; - margin-right: -2em; - opacity: 0; - width: 1em; - z-index: -1; } - input[type="checkbox"] + label, - input[type="radio"] + label { - text-decoration: none; - color: #888; - cursor: pointer; - display: inline-block; - font-size: 1em; - font-weight: 400; - padding-left: 2.4em; - padding-right: 0.75em; - position: relative; } - input[type="checkbox"] + label:before, - input[type="radio"] + label:before { - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - display: inline-block; - font-style: normal; - font-variant: normal; - text-rendering: auto; - line-height: 1; - text-transform: none !important; - font-family: 'Font Awesome 5 Free'; - font-weight: 900; } - input[type="checkbox"] + label:before, - input[type="radio"] + label:before { - background: #fafafa; - border-radius: 5px; - border: solid 2px #e4e4e4; - content: ''; - display: inline-block; - font-size: 0.8em; - height: 2.0625em; - left: 0; - line-height: 2.0625em; - position: absolute; - text-align: center; - top: 0; - width: 2.0625em; } - input[type="checkbox"]:checked + label:before, - input[type="radio"]:checked + label:before { - background: #989898; - border-color: #989898; - color: #ffffff; - content: '\f00c'; } - input[type="checkbox"]:focus + label:before, - input[type="radio"]:focus + label:before { - border-color: #5ad3fe; } - -input[type="checkbox"] + label:before { - border-radius: 5px; } - -input[type="radio"] + label:before { - border-radius: 100%; } - -::-webkit-input-placeholder { - color: #aaa !important; - font-style: italic; - opacity: 1.0; } - -:-moz-placeholder { - color: #aaa !important; - font-style: italic; - opacity: 1.0; } - -::-moz-placeholder { - color: #aaa !important; - font-style: italic; - opacity: 1.0; } - -:-ms-input-placeholder { - color: #aaa !important; - font-style: italic; - opacity: 1.0; } - -/* Box */ -.box { - border-radius: 5px; - border: solid 2px #e4e4e4; - margin-bottom: 2.25em; - padding: 1.5em; } - .box > :last-child, - .box > :last-child > :last-child, - .box > :last-child > :last-child > :last-child { - margin-bottom: 0; } - .box.alt { - border: 0; - border-radius: 0; - padding: 0; } - -/* Icon */ -.icon { - text-decoration: none; - border-bottom: none; - position: relative; } - .icon:before { - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - display: inline-block; - font-style: normal; - font-variant: normal; - text-rendering: auto; - line-height: 1; - text-transform: none !important; - font-family: 'Font Awesome 5 Free'; - font-weight: 400; } - .icon > .label { - display: none; } - .icon:before { - line-height: inherit; } - .icon.solid:before { - font-weight: 900; } - .icon.brands:before { - font-family: 'Font Awesome 5 Brands'; } - -/* Image */ -.image { - border-radius: 5px; - border: 0; - display: inline-block; - position: relative; } - .image[data-position] img { - -moz-object-fit: cover; - -webkit-object-fit: cover; - -ms-object-fit: cover; - object-fit: cover; - display: block; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; } - .image[data-position="top left"] img { - -moz-object-position: top left; - -webkit-object-position: top left; - -ms-object-position: top left; - object-position: top left; } - .image[data-position="top"] img { - -moz-object-position: top; - -webkit-object-position: top; - -ms-object-position: top; - object-position: top; } - .image[data-position="top right"] img { - -moz-object-position: top right; - -webkit-object-position: top right; - -ms-object-position: top right; - object-position: top right; } - .image[data-position="right"] img { - -moz-object-position: right; - -webkit-object-position: right; - -ms-object-position: right; - object-position: right; } - .image[data-position="bottom right"] img { - -moz-object-position: bottom right; - -webkit-object-position: bottom right; - -ms-object-position: bottom right; - object-position: bottom right; } - .image[data-position="bottom"] img { - -moz-object-position: bottom; - -webkit-object-position: bottom; - -ms-object-position: bottom; - object-position: bottom; } - .image[data-position="bottom left"] img { - -moz-object-position: bottom left; - -webkit-object-position: bottom left; - -ms-object-position: bottom left; - object-position: bottom left; } - .image[data-position="left"] img { - -moz-object-position: left; - -webkit-object-position: left; - -ms-object-position: left; - object-position: left; } - .image[data-position="center"] img { - -moz-object-position: center; - -webkit-object-position: center; - -ms-object-position: center; - object-position: center; } - .image[data-position="25% 25%"] img { - -moz-object-position: 25% 25%; - -webkit-object-position: 25% 25%; - -ms-object-position: 25% 25%; - object-position: 25% 25%; } - .image[data-position="75% 25%"] img { - -moz-object-position: 75% 25%; - -webkit-object-position: 75% 25%; - -ms-object-position: 75% 25%; - object-position: 75% 25%; } - .image[data-position="75% 75%"] img { - -moz-object-position: 75% 75%; - -webkit-object-position: 75% 75%; - -ms-object-position: 75% 75%; - object-position: 75% 75%; } - .image[data-position="25% 75%"] img { - -moz-object-position: 25% 75%; - -webkit-object-position: 25% 75%; - -ms-object-position: 25% 75%; - object-position: 25% 75%; } - .image img { - border-radius: 5px; - display: block; } - .image.left { - float: left; - margin: 0 2.5em 2em 0; - top: 0.25em; } - .image.right { - float: right; - margin: 0 0 2em 2.5em; - top: 0.25em; } - .image.fit { - display: block; - margin: 0 0 2.25em 0; - width: 100%; } - .image.fit img { - display: block; - width: 100%; } - .image.avatar { - border-radius: 100%; - overflow: hidden; } - .image.avatar img { - border-radius: 100%; - display: block; - width: 100%; } - .image.main { - display: block; - height: 20em; - border-radius: 0; } - .image.main img { - border-radius: 0; } - -/* List */ -ol { - list-style: decimal; - margin: 0 0 2.25em 0; - padding-left: 1.25em; } - ol li { - padding-left: 0.25em; } - -ul { - list-style: disc; - margin: 0 0 2.25em 0; - padding-left: 1em; } - ul li { - padding-left: 0.5em; } - ul.alt { - list-style: none; - padding-left: 0; } - ul.alt li { - border-top: solid 2px #f4f4f4; - padding: 0.5em 0; } - ul.alt li:first-child { - border-top: 0; - padding-top: 0; } - -dl { - margin: 0 0 2.25em 0; } - -/* Actions */ -ul.actions { - display: -moz-flex; - display: -webkit-flex; - display: -ms-flex; - display: flex; - cursor: default; - list-style: none; - margin-left: -1.125em; - padding-left: 0; } - ul.actions li { - padding: 0 0 0 1.125em; - vertical-align: middle; } - ul.actions.special { - -moz-justify-content: center; - -webkit-justify-content: center; - -ms-justify-content: center; - justify-content: center; - width: 100%; - margin-left: 0; } - ul.actions.special li:first-child { - padding-left: 0; } - ul.actions.stacked { - -moz-flex-direction: column; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - margin-left: 0; } - ul.actions.stacked li { - padding: 1.125em 0 0 0; } - ul.actions.stacked li:first-child { - padding-top: 0; } - ul.actions.fit { - width: calc(100% + 1.125em); } - ul.actions.fit li { - -moz-flex-grow: 1; - -webkit-flex-grow: 1; - -ms-flex-grow: 1; - flex-grow: 1; - -moz-flex-shrink: 1; - -webkit-flex-shrink: 1; - -ms-flex-shrink: 1; - flex-shrink: 1; - width: 100%; } - ul.actions.fit li > * { - width: 100%; } - ul.actions.fit.stacked { - width: 100%; } - @media screen and (max-width: 480px) { - ul.actions:not(.fixed) { - -moz-flex-direction: column; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - margin-left: 0; - width: 100% !important; } - ul.actions:not(.fixed) li { - -moz-flex-grow: 1; - -webkit-flex-grow: 1; - -ms-flex-grow: 1; - flex-grow: 1; - -moz-flex-shrink: 1; - -webkit-flex-shrink: 1; - -ms-flex-shrink: 1; - flex-shrink: 1; - padding: 1.125em 0 0 0; - text-align: center; - width: 100%; } - ul.actions:not(.fixed) li > * { - width: 100%; } - ul.actions:not(.fixed) li:first-child { - padding-top: 0; } - ul.actions:not(.fixed) li input[type="submit"], - ul.actions:not(.fixed) li input[type="reset"], - ul.actions:not(.fixed) li input[type="button"], - ul.actions:not(.fixed) li button, - ul.actions:not(.fixed) li .button { - width: 100%; } - ul.actions:not(.fixed) li input[type="submit"].icon:before, - ul.actions:not(.fixed) li input[type="reset"].icon:before, - ul.actions:not(.fixed) li input[type="button"].icon:before, - ul.actions:not(.fixed) li button.icon:before, - ul.actions:not(.fixed) li .button.icon:before { - margin-left: -0.5rem; } } - -/* Feature Icons */ -ul.feature-icons { - list-style: none; - padding-left: 0; } - ul.feature-icons li { - text-decoration: none; - display: inline-block; - margin: 0 0 1.6875em 0; - padding: 0.35em 0 0 3.5em; - position: relative; - vertical-align: top; - width: 48%; } - ul.feature-icons li:before { - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - display: inline-block; - font-style: normal; - font-variant: normal; - text-rendering: auto; - line-height: 1; - text-transform: none !important; - font-family: 'Font Awesome 5 Free'; - font-weight: 400; } - ul.feature-icons li:before { - background: #5ad3fe; - border-radius: 100%; - color: #ffffff; - display: block; - height: 2.5em; - left: 0; - line-height: 2.5em; - position: absolute; - text-align: center; - top: 0; - width: 2.5em; } - -/* Icons */ -ul.icons { - cursor: default; - list-style: none; - padding-left: 0; } - ul.icons li { - display: inline-block; - padding: 0 1em 0 0; } - ul.icons li:last-child { - padding-right: 0 !important; } - ul.icons li .icon:before { - font-size: 1.25em; } - -/* Table */ -.table-wrapper { - -webkit-overflow-scrolling: touch; - overflow-x: auto; } - -table { - margin: 0 0 2.25em 0; - width: 100%; } - table tbody tr { - border: solid 2px #f4f4f4; - border-left: 0; - border-right: 0; } - table tbody tr:nth-child(2n + 1) { - background-color: #fafafa; } - table td { - padding: 0.75em 0.75em; } - table th { - color: #777; - font-size: 0.9em; - font-weight: 700; - padding: 0 0.75em 0.75em 0.75em; - text-align: left; } - table thead { - border-bottom: solid 4px #e4e4e4; } - table tfoot { - border-top: solid 4px #e4e4e4; } - table.alt { - border-collapse: separate; } - table.alt tbody tr td { - border: solid 2px #e4e4e4; - border-left-width: 0; - border-top-width: 0; } - table.alt tbody tr td:first-child { - border-left-width: 2px; } - table.alt tbody tr:first-child td { - border-top-width: 2px; } - table.alt thead { - border-bottom: 0; } - table.alt tfoot { - border-top: 0; } - -/* Button */ -input[type="submit"], -input[type="reset"], -input[type="button"], -.button { - -moz-appearance: none; - -webkit-appearance: none; - -ms-appearance: none; - appearance: none; - -moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; - -webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; - -ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; - transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out; - background-color: #989898; - border-radius: 5px; - border: 0; - color: #ffffff !important; - cursor: pointer; - display: inline-block; - font-weight: 700; - height: 2.75em; - line-height: 2.75em; - padding: 0 1.5em; - text-align: center; - text-decoration: none; - white-space: nowrap; } - input[type="submit"]:hover, - input[type="reset"]:hover, - input[type="button"]:hover, - .button:hover { - background-color: #a5a5a5; - color: #ffffff !important; } - input[type="submit"]:active, - input[type="reset"]:active, - input[type="button"]:active, - .button:active { - background-color: #8b8b8b; } - input[type="submit"].icon, - input[type="reset"].icon, - input[type="button"].icon, - .button.icon { - padding-left: 1.35em; } - input[type="submit"].icon:before, - input[type="reset"].icon:before, - input[type="button"].icon:before, - .button.icon:before { - margin-right: 0.5em; } - input[type="submit"].fit, - input[type="reset"].fit, - input[type="button"].fit, - .button.fit { - width: 100%; } - input[type="submit"].small, - input[type="reset"].small, - input[type="button"].small, - .button.small { - font-size: 0.8em; } - input[type="submit"].large, - input[type="reset"].large, - input[type="button"].large, - .button.large { - font-size: 1.35em; } - input[type="submit"].alt, - input[type="reset"].alt, - input[type="button"].alt, - .button.alt { - background-color: transparent; - box-shadow: inset 0 0 0 2px #e4e4e4; - color: #777 !important; } - input[type="submit"].alt:hover, - input[type="reset"].alt:hover, - input[type="button"].alt:hover, - .button.alt:hover { - background-color: #f4f4f4; - color: #777 !important; } - input[type="submit"].alt:active, - input[type="reset"].alt:active, - input[type="button"].alt:active, - .button.alt:active { - background-color: #eaeaea; } - input[type="submit"].alt.icon:before, - input[type="reset"].alt.icon:before, - input[type="button"].alt.icon:before, - .button.alt.icon:before { - color: #aaa; } - input[type="submit"].primary, - input[type="reset"].primary, - input[type="button"].primary, - .button.primary { - background-color: #5ad3fe; - color: #ffffff !important; } - input[type="submit"].primary:hover, - input[type="reset"].primary:hover, - input[type="button"].primary:hover, - .button.primary:hover { - background-color: #73dafe; } - input[type="submit"].primary:active, - input[type="reset"].primary:active, - input[type="button"].primary:active, - .button.primary:active { - background-color: #41ccfe; } - input[type="submit"].disabled, input[type="submit"]:disabled, - input[type="reset"].disabled, - input[type="reset"]:disabled, - input[type="button"].disabled, - input[type="button"]:disabled, - .button.disabled, - .button:disabled { - background-color: #888 !important; - box-shadow: inset 0 -0.15em 0 0 rgba(0, 0, 0, 0.15); - color: #fff !important; - cursor: default; - opacity: 0.25; } - -/* Features */ -.features article { - border-top: solid 3px #f4f4f4; - margin-bottom: 2.25em; - padding-top: 2.25em; } - .features article:first-child { - border-top: 0; - padding-top: 0; } - .features article .image { - display: inline-block; - padding-right: 2.5em; - vertical-align: middle; - width: 48%; } - .features article .image img { - display: block; - width: 100%; } - .features article .inner { - display: inline-block; - vertical-align: middle; - width: 50%; - padding-left: 10px; - padding-right: 10px; } - .features article .inner > :last-child { - margin-bottom: 0; } - -/* Header */ -#header::-webkit-scrollbar { - display: none; } - -#header { - display: -moz-flex; - display: -webkit-flex; - display: -ms-flex; - display: flex; - -moz-flex-direction: column; - -webkit-flex-direction: column; - -ms-flex-direction: column; - flex-direction: column; - -moz-justify-content: space-between; - -webkit-justify-content: space-between; - -ms-justify-content: space-between; - justify-content: space-between; - background: #5ad3fe; - color: #d6f4ff; - height: 100%; - overflow-y: auto; - position: fixed; - text-align: center; - top: 0; - width: 23em; - transition: linear .5s; - -ms-overflow-style: none; - /* IE and Edge */ - scrollbar-width: none; - /* Firefox */ - right: 0; } - #header h1, #header h2, #header h3, #header h4, #header h5, #header h6 { - color: #ffffff; } - #header h1 a, #header h2 a, #header h3 a, #header h4 a, #header h5 a, #header h6 a { - color: #ffffff; } - #header header p { - color: #bdedff; } - #header a { - color: #d6f4ff; } - #header a:hover { - color: #ffffff !important; } - #header > header { - -moz-flex-shrink: 0; - -webkit-flex-shrink: 0; - -ms-flex-shrink: 0; - flex-shrink: 0; - padding: 2em; } - #header > header .avatar { - display: block; - margin: 0 auto 2.25em auto; - width: 8em; } - #header > header h1 { - font-size: 1.75em; - margin: 0; } - #header > header p { - color: #d6f4ff; - font-style: italic; - margin: 1em 0 0 0; } - #header > footer { - -moz-flex-shrink: 0; - -webkit-flex-shrink: 0; - -ms-flex-shrink: 0; - flex-shrink: 0; - bottom: 0; - left: 0; - padding: 2em; - width: 100%; } - #header > footer .icons { - margin: 0; } - #header > footer .icons li a { - color: #bdedff; } - #header > nav { - -moz-flex-grow: 1; - -webkit-flex-grow: 1; - -ms-flex-grow: 1; - flex-grow: 1; } - #header > nav ul { - list-style: none; - margin: 0; - padding: 0; } - #header > nav ul li { - border-top: solid 2px #6bd7fe; - display: block; - padding: 0; } - #header > nav ul li a { - -moz-transition: none; - -webkit-transition: none; - -ms-transition: none; - transition: none; - border: 0; - color: #ffffff !important; - display: block; - padding: 0.85em 0; - text-decoration: none; } - #header > nav ul li a.active { - background: #fff; - color: #5ad3fe !important; } - #header > nav ul li:first-child { - border-top: 0; } - -#header.hidden { - right: -23em; } - -/* Wrapper */ -#wrapper { - background: #fff; - transition: linear .5s; - padding-right: 23em; } - -#wrapper.expand { - padding-right: 0; } - -/* Main */ -#main > section { - border-bottom: solid 6px #f4f4f4; } - #main > section > .container { - padding: 6em 0 4em 0; } - #main > section:first-child { - border-top: 0; } - -/* Footer */ -#footer { - background: #fafafa; - border-top: 0; - color: #c0c0c0; - overflow: hidden; - padding: 4em 0 2em 0; } - #footer .copyright { - line-height: 1em; - list-style: none; - padding: 0; } - #footer .copyright li { - border-left: solid 1px #d4d4d4; - display: inline-block; - font-size: 0.8em; - margin-left: 1em; - padding-left: 1em; } - #footer .copyright li:first-child { - border-left: 0; - margin-left: 0; - padding-left: 0; } - #footer .copyright li a { - color: inherit; } - -/* XLarge */ -@media screen and (max-width: 1680px) { - /* Basic */ - body, input, select, textarea { - font-size: 13pt; } - - /* Header */ - #header { - width: 21em; } - #header > header { - padding: 2em; } - #header > footer { - padding: 1.5em; } - - /* Wrapper */ - #wrapper { - padding-right: 21em; } - - /* Main */ - #main > section > .container { - padding: 4em 0 2em 0; } } -/* Large */ -@media screen and (max-width: 1280px) { - /* Basic */ - body, input, select, textarea { - font-size: 11pt; } - - /* Header */ - #header { - width: 20em; } - - /* Wrapper */ - #wrapper { - padding-right: 20em; } } -/* Medium */ -#titleBar { - display: none; } - -@media screen and (max-width: 1024px) { - /* Basic */ - html, body { - overflow-x: hidden; } - - body, input, select, textarea { - font-size: 12pt; } - - /* Image */ - .image.left, .image.right { - max-width: 40%; } - .image.left img, .image.right img { - width: 100%; } - .image.main { - height: 20em; } - - /* Header */ - #header { - -moz-backface-visibility: hidden; - -webkit-backface-visibility: hidden; - -ms-backface-visibility: hidden; - backface-visibility: hidden; - -moz-transition: -moz-transform 0.5s ease; - -webkit-transition: -webkit-transform 0.5s ease; - -ms-transition: -ms-transform 0.5s ease; - transition: transform 0.5s ease; - display: block; - height: 100%; - overflow-y: auto; - position: fixed; - top: 0; - width: 23em; - z-index: 10002; - -moz-transform: translateX(23em); - -webkit-transform: translateX(23em); - -ms-transform: translateX(23em); - transform: translateX(23em); - right: 0; } - #header > footer { - bottom: auto; - left: auto; - margin: 0.5em 0 0 0; - position: relative; - right: auto; - top: auto; } - - /* Wrapper */ - #wrapper { - -moz-backface-visibility: hidden; - -webkit-backface-visibility: hidden; - -ms-backface-visibility: hidden; - backface-visibility: hidden; - -moz-transition: -moz-transform 0.5s ease; - -webkit-transition: -webkit-transform 0.5s ease; - -ms-transition: -ms-transform 0.5s ease; - transition: transform 0.5s ease; - padding: 44px 0 1px 0; } - - /* Header Panel */ - #titleBar { - -moz-backface-visibility: hidden; - -webkit-backface-visibility: hidden; - -ms-backface-visibility: hidden; - backface-visibility: hidden; - -moz-transition: -moz-transform 0.5s ease; - -webkit-transition: -webkit-transform 0.5s ease; - -ms-transition: -ms-transform 0.5s ease; - transition: transform 0.5s ease; - display: block; - height: 44px; - left: 0; - position: fixed; - top: 0; - width: 100%; - z-index: 10001; - background: #222; - color: #fff; - min-width: 320px; } - #titleBar .title { - color: #fff; - display: block; - font-weight: 700; - height: 44px; - line-height: 44px; - padding: 0 1em; - width: 100%; - text-align: left; } - #titleBar .title a { - border: 0; - text-decoration: none; } - #titleBar .toggle { - text-decoration: none; - height: 4em; - position: absolute; - top: 0; - width: 6em; - border: 0; - outline: 0; - right: 0; } - #titleBar .toggle:before { - -moz-osx-font-smoothing: grayscale; - -webkit-font-smoothing: antialiased; - display: inline-block; - font-style: normal; - font-variant: normal; - text-rendering: auto; - line-height: 1; - text-transform: none !important; - font-family: 'Font Awesome 5 Free'; - font-weight: 900; } - #titleBar .toggle:before { - background: #5ad3fe; - color: #ffffff; - content: '\f0c9'; - display: block; - font-size: 18px; - height: 44px; - line-height: 44px; - position: absolute; - text-align: center; - top: 0; - width: 64px; - right: 0; } - - body.header-visible #wrapper, body.header-visible #titleBar { - -moz-transform: translateX(-23em); - -webkit-transform: translateX(-23em); - -ms-transform: translateX(-23em); - transform: translateX(-23em); } - body.header-visible #header { - -moz-transform: translateX(0); - -webkit-transform: translateX(0); - -ms-transform: translateX(0); - transform: translateX(0); } } -/* Small */ -@media screen and (max-width: 736px) { - /* Basic */ - body, input, select, textarea { - font-size: 12pt; } - - h1 br, h2 br, h3 br, h4 br, h5 br, h6 br { - display: none; } - - h2 { - font-size: 1.75em; } - - h3 { - font-size: 1.5em; } - - h4 { - font-size: 1em; } - - /* Image */ - .image.left { - margin: 0 1.5em 1em 0; } - .image.right { - margin: 0 0 1em 1.5em; } - .image.main { - height: 12em; } - - /* Section/Article */ - header br { - display: none; } - header.major h2 { - font-size: 2.5em; } - header.major h2 + p { - font-size: 1.5em; } - - /* Features */ - .features article .image { - display: block; - margin: 0 0 2.25em 0; - padding-right: 0; - width: 100%; } - .features article .inner { - display: block; - width: 100%; } - - /* Header */ - #header { - width: 17em; - -moz-transform: translateX(17em); - -webkit-transform: translateX(17em); - -ms-transform: translateX(17em); - transform: translateX(17em); - right: 0; } - #header > header { - padding: 2em; } - #header > header .avatar { - margin: 0 auto 1.6875em auto; - width: 6em; } - #header > header h1 { - font-size: 1.5em; } - #header > header p { - margin: 1em 0 0 0; } - #header > footer { - padding: 1.5em; } - - /* Main */ - #main > section > .container { - padding: 2em 0 0 0; } - - /* Footer */ - #footer { - text-align: center; } - #footer .copyright li { - border-left: 0; - display: block; - line-height: 1.75em; - margin: 0.75em 0 0 0; - padding-left: 0; } - #footer .copyright li:first-child { - margin-top: 0; } - - /* Header Panel */ - #titleBar .toggle { - height: 4em; - width: 6em; } - #titleBar .toggle:before { - font-size: 14px; - width: 44px; } - - body.header-visible #wrapper, body.header-visible #titleBar { - -moz-transform: translateX(-17em); - -webkit-transform: translateX(-17em); - -ms-transform: translateX(-17em); - transform: translateX(-17em); } } -/* XSmall */ -@media screen and (max-width: 480px) { - /* Basic */ - html, body { - min-width: 320px; } - - body, input, select, textarea { - font-size: 12pt; } - - /* List */ - ul.actions { - margin: 0 0 2.25em 0; } - ul.actions li { - display: block; - padding: 1.125em 0 0 0; - text-align: center; - width: 100%; } - ul.actions li:first-child { - padding-top: 0; } - ul.actions li > * { - width: 100%; - margin: 0 !important; } - ul.actions li > *.icon:before { - margin-left: -2em; } - ul.actions.small li { - padding: 0.5625em 0 0 0; } - ul.actions.small li:first-child { - padding-top: 0; } - ul.feature-icons li { - display: block; - width: 100%; } - - /* Button */ - input[type="submit"], - input[type="reset"], - input[type="button"], - .button { - padding: 0; } } -/* Loading Screen */ -.loader { - position: fixed; - z-index: 99; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: #191f26; - display: flex; - justify-content: center; - align-items: center; } - -.loader.hidden { - animation: fadeOut 1s; - animation-fill-mode: forwards; } - -@keyframes fadeOut { - 100% { - opacity: 0; - visibility: hidden; } } -/* Hide Sidebar Button */ -/* Team */ -.our-team { - padding: 40px 0; - background: white; - text-align: center; } - -.team-inner { - max-width: 1200px; - margin: auto; - overflow: hidden; - padding: 0 20px; } - -.team-border { - width: 160px; - height: 5px; - background: #5ad3fe; - margin: 26px auto; } - -.team-row { - display: flex; - flex-wrap: wrap; - justify-content: center; } - -.team-col { - flex: 33.33%; - max-width: 33.33%; - box-sizing: border-box; - padding: 15px; } - -.team-member { - background: #fff; - padding: 30px; } - -.team-member img { - width: 100px; - height: 100px; - border-radius: 50%; } - -.team-member-name { - font-size: 20px; - text-transform: uppercase; - margin: 20px 0; } - -@media screen and (max-width: 600px) { - .team-col { - flex: 100%; - max-width: 100%; } } -@media screen and (max-width: 960px) { - .team-col { - flex: 100%; - max-width: 80%; } } -#toggle-btn.shift { - right: 0; } - -#toggle-btn { - display: block; - position: fixed; - height: 40px; - border: none; - width: 45px; - z-index: 2; - background: #5ad3fe; - color: #5ad3fe; } - -.icon-bars { - text-align: center; - vertical-align: middle; } - -@media screen and (max-width: 1024px) { - #toggle-btn { - display: none; } } -/* Card */ -.card { - box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); - transition: 0.5s; - border-radius: 10px; } - -.card:hover { - box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2); } - -.container { - padding: 2px 16px; } - -/* Modal */ -.Modal { - display: block; - position: fixed; - left: 0; - top: 0; - z-index: 100; - width: 100%; - height: 100%; - padding-top: 100px; - background-color: black; - background-color: rgba(0, 0, 0, 0.4); - -webkit-transition: 0.2s; - overflow: auto; - transition: all 0.3s linear; } - -.Modal-content { - background-color: #fefefe; - margin: auto; - max-width: 90%; - min-width: 50%; - min-height: 80%; - padding: 20px; - border-radius: 6px; - margin-bottom: 100px; } - -.Close { - color: #aaaaaa; - float: right; - font-size: 36px; } - -.Close:hover, .Close:focus { - color: #000; - text-decoration: none; - cursor: pointer; } - -.is-blurred { - filter: blur(2px); - -webkit-filter: blur(2px); } - -.is-visuallyHidden { - opacity: 0; } - -.is-hidden { - display: none; } - -.ModalOpen { - overflow: hidden; } - -.collapsible { - background-color: #777; - color: white; - cursor: pointer; - padding: 18px; - width: 100%; - border: none; - text-align: left; - outline: none; - font-size: 15px; } - -.active, .collapsible:hover { - background-color: #555; } - -.content { - padding: 0 18px; - display: none; - overflow: hidden; - background-color: #f1f1f1; - transition: width 600ms ease-out, height 600ms ease-out; } - -/*# sourceMappingURL=cssmain.css.map */ diff --git a/assets/cssmain.css.map b/assets/cssmain.css.map deleted file mode 100644 index 89ab3ab7..00000000 --- a/assets/cssmain.css.map +++ /dev/null @@ -1,7 +0,0 @@ -{ -"version": 3, -"mappings": "AAOQ,sCAA8B;AAC9B,2GAAmG;AAgB1G;;;;;;;;;;0CAU2C;EAC1C,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,CAAC;EACV,MAAM,EAAE,CAAC;EACT,SAAS,EAAE,IAAI;EACf,IAAI,EAAE,OAAO;EACb,cAAc,EAAE,QAAQ;;AAGzB;0CAC2C;EAC1C,OAAO,EAAE,KAAK;;AAGf,IAAK;EACJ,WAAW,EAAE,CAAC;;AAGf,MAAO;EACN,UAAU,EAAC,IAAI;;AAGhB,aAAc;EACb,MAAM,EAAE,IAAI;EAEZ,sDACQ;IACP,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,IAAI;;AAIf,KAAM;EACL,eAAe,EAAE,QAAQ;EACzB,cAAc,EAAE,CAAC;;AAGlB,IAAK;EACJ,wBAAwB,EAAE,IAAI;;AAG/B,IAAK;EACJ,gBAAgB,EAAE,WAAW;EAC7B,KAAK,EAAE,OAAO;;AAGf,uBAAwB;EACvB,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,CAAC;;AAGX,uBAAwB;EACvB,eAAe,EAAE,IAAI;EACrB,kBAAkB,EAAE,IAAI;EACxB,cAAc,EAAE,IAAI;EACpB,UAAU,EAAE,IAAI;;AAGlB,WAAW;AAIT,IAAK;EACJ,UAAU,EAAE,UAAU;;AAGvB,oBAAqB;EACpB,UAAU,EAAE,OAAO;;AAGrB,IAAK;EACJ,UAAU,ECxDJ,IAAmB;ED4DvB,oEAAqB;IE0Pd,cAAsB,EAAE,eAA+C;IAAvE,iBAAsB,EAAE,eAA+C;IAAvE,aAAsB,EAAE,eAA+C;IAAvE,SAAsB,EAAE,eAA+C;IAAvE,eAAsB,EAAE,eAA+C;IAAvE,kBAAsB,EAAE,eAA+C;IAAvE,cAAsB,EAAE,eAA+C;IAAvE,UAAsB,EAAE,eAA+C;;AFlPjF,6BAA8B;EAC7B,KAAK,ECrEC,IAAmB;EDsEzB,WAAW,ECtEL,kBAAmB;EDuEzB,SAAS,EAAE,IAAI;EACf,WAAW,ECxEL,GAAmB;EDyEzB,WAAW,EAAE,MAAM;;AAGpB,CAAE;EE0OQ,eAAsB,EAAE,qDAA+C;EAAvE,kBAAsB,EAAE,qDAA+C;EAAvE,cAAsB,EAAE,qDAA+C;EAAvE,UAAsB,EAAE,qDAA+C;EFxOhF,aAAa,EAAE,iBAA2B;EAC1C,KAAK,EAAE,OAAO;EACd,eAAe,EAAE,IAAI;EAErB,OAAQ;IACP,mBAAmB,EAAE,WAAW;IAChC,KAAK,EAAE,kBAAgC;;AAIzC,SAAU;EACT,KAAK,ECzFC,IAAmB;ED0FzB,WAAW,EC1FL,GAAmB;;AD6F1B,KAAM;EACL,UAAU,EAAE,MAAM;;AAGnB,CAAE;EACD,MAAM,EAAE,YAA2B;;AAGpC,sBAAuB;EACtB,KAAK,ECtGC,IAAmB;EDuGzB,WAAW,ECvGL,GAAmB;EDwGzB,WAAW,EAAE,GAAG;EAChB,MAAM,EAAE,cAAoC;EAE5C,kCAAE;IACD,MAAM,EAAE,CAAC;IACT,KAAK,EAAE,OAAO;IACd,eAAe,EAAE,IAAI;;AAIvB,EAAG;EACF,SAAS,EAAE,GAAG;EACd,WAAW,EAAE,KAAK;;AAGnB,EAAG;EACF,SAAS,EAAE,MAAM;EACjB,WAAW,EAAE,KAAK;;AAGnB,EAAG;EACF,SAAS,EAAE,MAAM;EACjB,WAAW,EAAE,KAAK;;AAGnB,EAAG;EACF,SAAS,EAAE,KAAK;EAChB,WAAW,EAAE,KAAK;;AAGnB,EAAG;EACF,SAAS,EAAE,KAAK;EAChB,WAAW,EAAE,KAAK;;AAGnB,GAAI;EACH,SAAS,EAAE,KAAK;EAChB,QAAQ,EAAE,QAAQ;EAClB,GAAG,EAAE,KAAK;;AAGX,GAAI;EACH,SAAS,EAAE,KAAK;EAChB,QAAQ,EAAE,QAAQ;EAClB,GAAG,EAAE,MAAM;;AAGZ,EAAG;EACF,MAAM,EAAE,CAAC;EACT,aAAa,EAAE,iBAA0C;EACzD,MAAM,EAAE,QAAuB;EAE/B,QAAQ;IACP,MAAM,EAAE,SAA+B;;AAIzC,UAAW;EACV,WAAW,EAAE,iBAAiD;EAC9D,UAAU,EAAE,MAAM;EAClB,MAAM,EAAE,YAA2B;EACnC,OAAO,EAAE,iBAAiB;;AAG3B,IAAK;EACJ,UAAU,EAAE,IAAI;EAChB,aAAa,EC1KP,GAAmB;ED2KzB,KAAK,EAAE,IAAI;EACX,WAAW,EC5KL,4BAAmB;ED6KzB,SAAS,EAAE,KAAK;EAChB,MAAM,EAAE,QAAQ;EAChB,OAAO,EAAE,aAAa;;AAGvB,GAAI;EACH,WAAW,ECnLL,4BAAmB;EDoLzB,SAAS,EAAE,KAAK;EAChB,MAAM,EAAE,YAA2B;EAEnC,QAAK;IACJ,0BAA0B,EAAE,KAAK;IACjC,OAAO,EAAE,KAAK;IACd,WAAW,EAAE,KAAK;IAClB,UAAU,EAAE,IAAI;IAChB,OAAO,EAAE,SAAS;;AAIpB,WAAY;EACX,UAAU,EAAE,IAAI;;AAGjB,aAAc;EACb,UAAU,EAAE,MAAM;;AAGnB,YAAa;EACZ,UAAU,EAAE,KAAK;;AAGnB,SAAS;AAER,IAAK;EGrNH,OAAO,EAAE,IAAI;EACb,SAAS,EAAE,IAAI;EACf,UAAU,EAAE,UAAU;EACtB,WAAW,EAAE,OAAO;EAGnB,QAAI;IACH,UAAU,EAAE,UAAU;EAMrB,kCAAc;IACb,aAAa,EAAE,CAAC;EAMnB,aAAW;IACV,eAAe,EAAE,UAAU;EAG5B,eAAa;IACZ,eAAe,EAAE,MAAM;EAGxB,cAAY;IACX,eAAe,EAAE,QAAQ;EAG1B,YAAU;IACT,WAAW,EAAE,UAAU;EAGxB,eAAa;IACZ,WAAW,EAAE,MAAM;EAGpB,eAAa;IACZ,WAAW,EAAE,QAAQ;EAiBpB,WAAiB;IAChB,KAAK,EAAE,EAAE;EAKT,aAAuB;IACtB,KAAK,EAAE,aAAU;EAGlB,aAAuB;IACtB,WAAW,EAAE,aAAU;EALxB,aAAuB;IACtB,KAAK,EAAE,cAAU;EAGlB,aAAuB;IACtB,WAAW,EAAE,cAAU;EALxB,aAAuB;IACtB,KAAK,EAAE,GAAU;EAGlB,aAAuB;IACtB,WAAW,EAAE,GAAU;EALxB,aAAuB;IACtB,KAAK,EAAE,cAAU;EAGlB,aAAuB;IACtB,WAAW,EAAE,cAAU;EALxB,aAAuB;IACtB,KAAK,EAAE,cAAU;EAGlB,aAAuB;IACtB,WAAW,EAAE,cAAU;EALxB,aAAuB;IACtB,KAAK,EAAE,GAAU;EAGlB,aAAuB;IACtB,WAAW,EAAE,GAAU;EALxB,aAAuB;IACtB,KAAK,EAAE,cAAU;EAGlB,aAAuB;IACtB,WAAW,EAAE,cAAU;EALxB,aAAuB;IACtB,KAAK,EAAE,cAAU;EAGlB,aAAuB;IACtB,WAAW,EAAE,cAAU;EALxB,aAAuB;IACtB,KAAK,EAAE,GAAU;EAGlB,aAAuB;IACtB,WAAW,EAAE,GAAU;EALxB,cAAuB;IACtB,KAAK,EAAE,cAAU;EAGlB,cAAuB;IACtB,WAAW,EAAE,cAAU;EALxB,cAAuB;IACtB,KAAK,EAAE,cAAU;EAGlB,cAAuB;IACtB,WAAW,EAAE,cAAU;EALxB,cAAuB;IACtB,KAAK,EAAE,IAAU;EAGlB,cAAuB;IACtB,WAAW,EAAE,IAAU;EAcvB,UAAW;IACV,UAAU,EAAE,CAAiC;IAC7C,WAAW,EAAE,GAAiC;IAE9C,cAAI;MACH,OAAO,EAAE,SAA6D;IAItE,sBAAc;MACb,UAAU,EAAE,GAA+B;MAE3C,0BAAI;QACH,WAAW,EAAE,GAA0B;EAb3C,WAAW;IACV,UAAU,EAAE,CAAiC;IAC7C,WAAW,EAAE,MAAiC;IAE9C,eAAI;MACH,OAAO,EAAE,WAA6D;IAItE,uBAAc;MACb,UAAU,EAAE,MAA+B;MAE3C,2BAAI;QACH,WAAW,EAAE,KAA0B;EAb3C,WAAW;IACV,UAAU,EAAE,CAAiC;IAC7C,WAAW,EAAE,IAAiC;IAE9C,eAAI;MACH,OAAO,EAAE,SAA6D;IAItE,uBAAc;MACb,UAAU,EAAE,IAA+B;MAE3C,2BAAI;QACH,WAAW,EAAE,GAA0B;EAb3C,IAAW;IACV,UAAU,EAAE,CAAiC;IAC7C,WAAW,EAAE,IAAiC;IAE9C,QAAI;MACH,OAAO,EAAE,SAA6D;IAItE,gBAAc;MACb,UAAU,EAAE,IAA+B;MAE3C,oBAAI;QACH,WAAW,EAAE,GAA0B;EAb3C,YAAW;IACV,UAAU,EAAE,CAAiC;IAC7C,WAAW,EAAE,IAAiC;IAE9C,gBAAI;MACH,OAAO,EAAE,SAA6D;IAItE,wBAAc;MACb,UAAU,EAAE,IAA+B;MAE3C,4BAAI;QACH,WAAW,EAAE,GAA0B;EAb3C,YAAW;IACV,UAAU,EAAE,CAAiC;IAC7C,WAAW,EAAE,IAAiC;IAE9C,gBAAI;MACH,OAAO,EAAE,SAA6D;IAItE,wBAAc;MACb,UAAU,EAAE,IAA+B;MAE3C,4BAAI;QACH,WAAW,EAAE,GAA0B;ECgF1C,qCAAiB;IJqCzB,IAAK;MGrNH,OAAO,EAAE,IAAI;MACb,SAAS,EAAE,IAAI;MACf,UAAU,EAAE,UAAU;MACtB,WAAW,EAAE,OAAO;MAGnB,QAAI;QACH,UAAU,EAAE,UAAU;MAMrB,kCAAc;QACb,aAAa,EAAE,CAAC;MAMnB,aAAW;QACV,eAAe,EAAE,UAAU;MAG5B,eAAa;QACZ,eAAe,EAAE,MAAM;MAGxB,cAAY;QACX,eAAe,EAAE,QAAQ;MAG1B,YAAU;QACT,WAAW,EAAE,UAAU;MAGxB,eAAa;QACZ,WAAW,EAAE,MAAM;MAGpB,eAAa;QACZ,WAAW,EAAE,QAAQ;MAiBpB,kBAAiB;QAChB,KAAK,EAAE,EAAE;MAKT,oBAAuB;QACtB,KAAK,EAAE,aAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,aAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,GAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,GAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,GAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,GAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,GAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,GAAU;MALxB,qBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,qBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,qBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,qBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,qBAAuB;QACtB,KAAK,EAAE,IAAU;MAGlB,qBAAuB;QACtB,WAAW,EAAE,IAAU;MAcvB,UAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,GAAiC;QAE9C,cAAI;UACH,OAAO,EAAE,SAA6D;QAItE,sBAAc;UACb,UAAU,EAAE,GAA+B;UAE3C,0BAAI;YACH,WAAW,EAAE,GAA0B;MAb3C,WAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,MAAiC;QAE9C,eAAI;UACH,OAAO,EAAE,WAA6D;QAItE,uBAAc;UACb,UAAU,EAAE,MAA+B;UAE3C,2BAAI;YACH,WAAW,EAAE,KAA0B;MAb3C,WAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,IAAiC;QAE9C,eAAI;UACH,OAAO,EAAE,SAA6D;QAItE,uBAAc;UACb,UAAU,EAAE,IAA+B;UAE3C,2BAAI;YACH,WAAW,EAAE,GAA0B;MAb3C,IAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,IAAiC;QAE9C,QAAI;UACH,OAAO,EAAE,SAA6D;QAItE,gBAAc;UACb,UAAU,EAAE,IAA+B;UAE3C,oBAAI;YACH,WAAW,EAAE,GAA0B;MAb3C,YAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,IAAiC;QAE9C,gBAAI;UACH,OAAO,EAAE,SAA6D;QAItE,wBAAc;UACb,UAAU,EAAE,IAA+B;UAE3C,4BAAI;YACH,WAAW,EAAE,GAA0B;MAb3C,YAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,IAAiC;QAE9C,gBAAI;UACH,OAAO,EAAE,SAA6D;QAItE,wBAAc;UACb,UAAU,EAAE,IAA+B;UAE3C,4BAAI;YACH,WAAW,EAAE,GAA0B;ECgF1C,qCAAiB;IJqCzB,IAAK;MGrNH,OAAO,EAAE,IAAI;MACb,SAAS,EAAE,IAAI;MACf,UAAU,EAAE,UAAU;MACtB,WAAW,EAAE,OAAO;MAGnB,QAAI;QACH,UAAU,EAAE,UAAU;MAMrB,kCAAc;QACb,aAAa,EAAE,CAAC;MAMnB,aAAW;QACV,eAAe,EAAE,UAAU;MAG5B,eAAa;QACZ,eAAe,EAAE,MAAM;MAGxB,cAAY;QACX,eAAe,EAAE,QAAQ;MAG1B,YAAU;QACT,WAAW,EAAE,UAAU;MAGxB,eAAa;QACZ,WAAW,EAAE,MAAM;MAGpB,eAAa;QACZ,WAAW,EAAE,QAAQ;MAiBpB,iBAAiB;QAChB,KAAK,EAAE,EAAE;MAKT,mBAAuB;QACtB,KAAK,EAAE,aAAU;MAGlB,mBAAuB;QACtB,WAAW,EAAE,aAAU;MALxB,mBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,mBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,mBAAuB;QACtB,KAAK,EAAE,GAAU;MAGlB,mBAAuB;QACtB,WAAW,EAAE,GAAU;MALxB,mBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,mBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,mBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,mBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,mBAAuB;QACtB,KAAK,EAAE,GAAU;MAGlB,mBAAuB;QACtB,WAAW,EAAE,GAAU;MALxB,mBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,mBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,mBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,mBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,mBAAuB;QACtB,KAAK,EAAE,GAAU;MAGlB,mBAAuB;QACtB,WAAW,EAAE,GAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,IAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,IAAU;MAcvB,UAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,GAAiC;QAE9C,cAAI;UACH,OAAO,EAAE,SAA6D;QAItE,sBAAc;UACb,UAAU,EAAE,GAA+B;UAE3C,0BAAI;YACH,WAAW,EAAE,GAA0B;MAb3C,WAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,QAAiC;QAE9C,eAAI;UACH,OAAO,EAAE,aAA6D;QAItE,uBAAc;UACb,UAAU,EAAE,QAA+B;UAE3C,2BAAI;YACH,WAAW,EAAE,OAA0B;MAb3C,WAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,OAAiC;QAE9C,eAAI;UACH,OAAO,EAAE,YAA6D;QAItE,uBAAc;UACb,UAAU,EAAE,OAA+B;UAE3C,2BAAI;YACH,WAAW,EAAE,MAA0B;MAb3C,IAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,MAAiC;QAE9C,QAAI;UACH,OAAO,EAAE,WAA6D;QAItE,gBAAc;UACb,UAAU,EAAE,MAA+B;UAE3C,oBAAI;YACH,WAAW,EAAE,KAA0B;MAb3C,YAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,OAAiC;QAE9C,gBAAI;UACH,OAAO,EAAE,YAA6D;QAItE,wBAAc;UACb,UAAU,EAAE,OAA+B;UAE3C,4BAAI;YACH,WAAW,EAAE,MAA0B;MAb3C,YAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,IAAiC;QAE9C,gBAAI;UACH,OAAO,EAAE,SAA6D;QAItE,wBAAc;UACb,UAAU,EAAE,IAA+B;UAE3C,4BAAI;YACH,WAAW,EAAE,GAA0B;ECgF1C,qCAAiB;IJqCzB,IAAK;MGrNH,OAAO,EAAE,IAAI;MACb,SAAS,EAAE,IAAI;MACf,UAAU,EAAE,UAAU;MACtB,WAAW,EAAE,OAAO;MAGnB,QAAI;QACH,UAAU,EAAE,UAAU;MAMrB,kCAAc;QACb,aAAa,EAAE,CAAC;MAMnB,aAAW;QACV,eAAe,EAAE,UAAU;MAG5B,eAAa;QACZ,eAAe,EAAE,MAAM;MAGxB,cAAY;QACX,eAAe,EAAE,QAAQ;MAG1B,YAAU;QACT,WAAW,EAAE,UAAU;MAGxB,eAAa;QACZ,WAAW,EAAE,MAAM;MAGpB,eAAa;QACZ,WAAW,EAAE,QAAQ;MAiBpB,kBAAiB;QAChB,KAAK,EAAE,EAAE;MAKT,oBAAuB;QACtB,KAAK,EAAE,aAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,aAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,GAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,GAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,GAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,GAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,GAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,GAAU;MALxB,qBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,qBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,qBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,qBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,qBAAuB;QACtB,KAAK,EAAE,IAAU;MAGlB,qBAAuB;QACtB,WAAW,EAAE,IAAU;MAcvB,UAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,GAAiC;QAE9C,cAAI;UACH,OAAO,EAAE,SAA6D;QAItE,sBAAc;UACb,UAAU,EAAE,GAA+B;UAE3C,0BAAI;YACH,WAAW,EAAE,GAA0B;MAb3C,WAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,QAAiC;QAE9C,eAAI;UACH,OAAO,EAAE,aAA6D;QAItE,uBAAc;UACb,UAAU,EAAE,QAA+B;UAE3C,2BAAI;YACH,WAAW,EAAE,OAA0B;MAb3C,WAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,OAAiC;QAE9C,eAAI;UACH,OAAO,EAAE,YAA6D;QAItE,uBAAc;UACb,UAAU,EAAE,OAA+B;UAE3C,2BAAI;YACH,WAAW,EAAE,MAA0B;MAb3C,IAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,MAAiC;QAE9C,QAAI;UACH,OAAO,EAAE,WAA6D;QAItE,gBAAc;UACb,UAAU,EAAE,MAA+B;UAE3C,oBAAI;YACH,WAAW,EAAE,KAA0B;MAb3C,YAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,OAAiC;QAE9C,gBAAI;UACH,OAAO,EAAE,YAA6D;QAItE,wBAAc;UACb,UAAU,EAAE,OAA+B;UAE3C,4BAAI;YACH,WAAW,EAAE,MAA0B;MAb3C,YAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,IAAiC;QAE9C,gBAAI;UACH,OAAO,EAAE,SAA6D;QAItE,wBAAc;UACb,UAAU,EAAE,IAA+B;UAE3C,4BAAI;YACH,WAAW,EAAE,GAA0B;ECgF1C,oCAAiB;IJqCzB,IAAK;MGrNH,OAAO,EAAE,IAAI;MACb,SAAS,EAAE,IAAI;MACf,UAAU,EAAE,UAAU;MACtB,WAAW,EAAE,OAAO;MAGnB,QAAI;QACH,UAAU,EAAE,UAAU;MAMrB,kCAAc;QACb,aAAa,EAAE,CAAC;MAMnB,aAAW;QACV,eAAe,EAAE,UAAU;MAG5B,eAAa;QACZ,eAAe,EAAE,MAAM;MAGxB,cAAY;QACX,eAAe,EAAE,QAAQ;MAG1B,YAAU;QACT,WAAW,EAAE,UAAU;MAGxB,eAAa;QACZ,WAAW,EAAE,MAAM;MAGpB,eAAa;QACZ,WAAW,EAAE,QAAQ;MAiBpB,iBAAiB;QAChB,KAAK,EAAE,EAAE;MAKT,mBAAuB;QACtB,KAAK,EAAE,aAAU;MAGlB,mBAAuB;QACtB,WAAW,EAAE,aAAU;MALxB,mBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,mBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,mBAAuB;QACtB,KAAK,EAAE,GAAU;MAGlB,mBAAuB;QACtB,WAAW,EAAE,GAAU;MALxB,mBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,mBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,mBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,mBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,mBAAuB;QACtB,KAAK,EAAE,GAAU;MAGlB,mBAAuB;QACtB,WAAW,EAAE,GAAU;MALxB,mBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,mBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,mBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,mBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,mBAAuB;QACtB,KAAK,EAAE,GAAU;MAGlB,mBAAuB;QACtB,WAAW,EAAE,GAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,IAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,IAAU;MAcvB,UAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,GAAiC;QAE9C,cAAI;UACH,OAAO,EAAE,SAA6D;QAItE,sBAAc;UACb,UAAU,EAAE,GAA+B;UAE3C,0BAAI;YACH,WAAW,EAAE,GAA0B;MAb3C,WAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,SAAiC;QAE9C,eAAI;UACH,OAAO,EAAE,cAA6D;QAItE,uBAAc;UACb,UAAU,EAAE,SAA+B;UAE3C,2BAAI;YACH,WAAW,EAAE,QAA0B;MAb3C,WAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,QAAiC;QAE9C,eAAI;UACH,OAAO,EAAE,aAA6D;QAItE,uBAAc;UACb,UAAU,EAAE,QAA+B;UAE3C,2BAAI;YACH,WAAW,EAAE,OAA0B;MAb3C,IAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,OAAiC;QAE9C,QAAI;UACH,OAAO,EAAE,YAA6D;QAItE,gBAAc;UACb,UAAU,EAAE,OAA+B;UAE3C,oBAAI;YACH,WAAW,EAAE,MAA0B;MAb3C,YAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,QAAiC;QAE9C,gBAAI;UACH,OAAO,EAAE,aAA6D;QAItE,wBAAc;UACb,UAAU,EAAE,QAA+B;UAE3C,4BAAI;YACH,WAAW,EAAE,OAA0B;MAb3C,YAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,MAAiC;QAE9C,gBAAI;UACH,OAAO,EAAE,WAA6D;QAItE,wBAAc;UACb,UAAU,EAAE,MAA+B;UAE3C,4BAAI;YACH,WAAW,EAAE,KAA0B;ECgF1C,oCAAiB;IJqCzB,IAAK;MGrNH,OAAO,EAAE,IAAI;MACb,SAAS,EAAE,IAAI;MACf,UAAU,EAAE,UAAU;MACtB,WAAW,EAAE,OAAO;MAGnB,QAAI;QACH,UAAU,EAAE,UAAU;MAMrB,kCAAc;QACb,aAAa,EAAE,CAAC;MAMnB,aAAW;QACV,eAAe,EAAE,UAAU;MAG5B,eAAa;QACZ,eAAe,EAAE,MAAM;MAGxB,cAAY;QACX,eAAe,EAAE,QAAQ;MAG1B,YAAU;QACT,WAAW,EAAE,UAAU;MAGxB,eAAa;QACZ,WAAW,EAAE,MAAM;MAGpB,eAAa;QACZ,WAAW,EAAE,QAAQ;MAiBpB,kBAAiB;QAChB,KAAK,EAAE,EAAE;MAKT,oBAAuB;QACtB,KAAK,EAAE,aAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,aAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,GAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,GAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,GAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,GAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,oBAAuB;QACtB,KAAK,EAAE,GAAU;MAGlB,oBAAuB;QACtB,WAAW,EAAE,GAAU;MALxB,qBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,qBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,qBAAuB;QACtB,KAAK,EAAE,cAAU;MAGlB,qBAAuB;QACtB,WAAW,EAAE,cAAU;MALxB,qBAAuB;QACtB,KAAK,EAAE,IAAU;MAGlB,qBAAuB;QACtB,WAAW,EAAE,IAAU;MAcvB,UAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,GAAiC;QAE9C,cAAI;UACH,OAAO,EAAE,SAA6D;QAItE,sBAAc;UACb,UAAU,EAAE,GAA+B;UAE3C,0BAAI;YACH,WAAW,EAAE,GAA0B;MAb3C,WAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,SAAiC;QAE9C,eAAI;UACH,OAAO,EAAE,cAA6D;QAItE,uBAAc;UACb,UAAU,EAAE,SAA+B;UAE3C,2BAAI;YACH,WAAW,EAAE,QAA0B;MAb3C,WAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,QAAiC;QAE9C,eAAI;UACH,OAAO,EAAE,aAA6D;QAItE,uBAAc;UACb,UAAU,EAAE,QAA+B;UAE3C,2BAAI;YACH,WAAW,EAAE,OAA0B;MAb3C,IAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,OAAiC;QAE9C,QAAI;UACH,OAAO,EAAE,YAA6D;QAItE,gBAAc;UACb,UAAU,EAAE,OAA+B;UAE3C,oBAAI;YACH,WAAW,EAAE,MAA0B;MAb3C,YAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,QAAiC;QAE9C,gBAAI;UACH,OAAO,EAAE,aAA6D;QAItE,wBAAc;UACb,UAAU,EAAE,QAA+B;UAE3C,4BAAI;YACH,WAAW,EAAE,OAA0B;MAb3C,YAAW;QACV,UAAU,EAAE,CAAiC;QAC7C,WAAW,EAAE,MAAiC;QAE9C,gBAAI;UACH,OAAO,EAAE,WAA6D;QAItE,wBAAc;UACb,UAAU,EAAE,MAA+B;UAE3C,4BAAI;YACH,WAAW,EAAE,KAA0B;;AH6InD,eAAe;AAEd,UAAW;EACV,MAAM,EAAE,MAAM;EACd,SAAS,EAAE,kBAAyC;EACpD,KAAK,EC3OC,IAAmB;ED6OzB,iBAAS;IACR,KAAK,EAAE,OAA+B;EAGvC,gBAAQ;IACP,KAAK,EAAE,MAA8B;EAGtC,iBAAS;IACR,KAAK,EAAE,OAA+B;EAGvC,gBAAQ;IACP,KAAK,EAAE,OAA+B;EAGvC,iBAAS;IACR,KAAK,EAAE,MAA8B;EAGtC,cAAM;IACL,KAAK,EAAE,IAAI;EIzFL,qCAAiB;IJ+DzB,UAAW;MA8BT,KAAK,EAAE,eAAe;EI7FhB,oCAAiB;IJ+DzB,UAAW;MAkCT,SAAS,EAAE,oBAA2C;;AAIzD,qBAAqB;AAGnB,gCAAU;EACT,UAAU,EAAE,MAAM;;AAKnB,QAAE;EACD,KAAK,ECxRA,IAAmB;EDyRxB,QAAQ,EAAE,QAAQ;EAClB,MAAM,EAAE,cAAoC;AAG7C,aAAO;EACN,SAAS,EAAE,MAAM;EACjB,UAAU,EAAE,MAAM;EAClB,WAAW,EAAE,KAAK;AAGnB,aAAO;EACN,SAAS,EAAE,KAAK;EAChB,UAAU,EAAE,OAAO;EACnB,WAAW,EAAE,KAAK;AAGnB;;aAEO;EACN,SAAS,EAAE,KAAK;EAChB,UAAU,EAAE,OAAO;EACnB,WAAW,EAAE,KAAK;AAIlB,eAAG;EACF,KAAK,ECnTD,OAAmB;EDoTvB,SAAS,EAAE,KAAK;EAEhB,mBAAM;IACL,KAAK,ECvTF,IAAmB;IDwTtB,SAAS,EAAE,MAAM;IACjB,WAAW,ECzTR,GAAmB;ID0TtB,UAAU,EAAE,OAAO;;AASxB,UAAU;AAET,IAAK;EACJ,MAAM,EAAE,YAA2B;;AAGpC,KAAM;EACL,KAAK,EC1UC,IAAmB;ED2UzB,OAAO,EAAE,KAAK;EACd,SAAS,EAAE,KAAK;EAChB,WAAW,EC7UL,GAAmB;ED8UzB,MAAM,EAAE,aAAmC;;AAG5C,uBAAwB;EACvB,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,CAAC;;AAGX;;;;QAIS;EEpCC,eAAsB,EAAE,IAA+C;EAAvE,kBAAsB,EAAE,IAA+C;EAAvE,cAAsB,EAAE,IAA+C;EAAvE,UAAsB,EAAE,IAA+C;EFsChF,aAAa,EC5VP,GAAmB;ED6VzB,MAAM,EAAE,IAAI;EACZ,MAAM,EAAE,iBAA2C;EACnD,KAAK,EAAE,OAAO;EACd,OAAO,EAAE,KAAK;EACd,OAAO,EAAE,CAAC;EACV,OAAO,EAAE,KAAK;EACd,eAAe,EAAE,IAAI;EACrB,KAAK,EAAE,IAAI;EAEX;;;;kBAAU;IACT,UAAU,EAAE,IAAI;EAGjB;;;;gBAAQ;IACP,YAAY,EC3WP,OAAmB;;AD+W1B,MAAO;EACN,gBAAgB,EAAE,6eAAgd;EACle,eAAe,EAAE,MAAM;EACvB,iBAAiB,EAAE,SAAS;EAC5B,mBAAmB,EAAE,uBAAuB;EAC5C,MAAM,ECpXA,MAAmB;EDqXzB,aAAa,ECrXP,MAAmB;EDsXzB,aAAa,EAAE,QAAQ;EAEvB,aAAO;IACN,KAAK,ECzXA,IAAmB;ID0XxB,UAAU,EC1XL,IAAmB;ED8XxB,uBAAa;IACZ,gBAAgB,EAAE,WAAW;EAI/B,kBAAc;IACb,OAAO,EAAE,IAAI;;AAIf;;;MAGO;EACN,MAAM,EC5YA,MAAmB;;AD+Y1B,QAAS;EACR,OAAO,EAAE,UAAU;;AAGpB;mBACoB;EE9FV,eAAsB,EAAE,IAA+C;EAAvE,kBAAsB,EAAE,IAA+C;EAAvE,cAAsB,EAAE,IAA+C;EAAvE,UAAsB,EAAE,IAA+C;EFgGhF,OAAO,EAAE,KAAK;EACd,KAAK,EAAE,IAAI;EACX,YAAY,EAAE,IAAI;EAClB,OAAO,EAAE,CAAC;EACV,KAAK,EAAE,GAAG;EACV,OAAO,EAAE,EAAE;EAEX;6BAAU;IKxcX,eAAe,EAAE,IAAI;IL0cnB,KAAK,EC/ZA,IAAmB;IDgaxB,MAAM,EAAE,OAAO;IACf,OAAO,EAAE,YAAY;IACrB,SAAS,EAAE,GAAG;IACd,WAAW,ECnaN,GAAmB;IDoaxB,YAAY,EAAE,KAAsC;IACpD,aAAa,EAAE,MAAM;IACrB,QAAQ,EAAE,QAAQ;IK/cpB;sCAAY;MAMX,uBAAuB,EAAE,SAAS;MAClC,sBAAsB,EAAE,WAAW;MACnC,OAAO,EAAE,YAAY;MACrB,UAAU,EAAE,MAAM;MAClB,YAAY,EAAE,MAAM;MACpB,cAAc,EAAE,IAAI;MACpB,WAAW,EAAE,CAAC;MACd,cAAc,EAAE,eAAe;MAM9B,WAAW,EAAE,qBAAqB;MAClC,WAAW,EAAE,GAAG;IL6bhB;sCAAS;MACR,UAAU,ECzaN,OAAmB;MD0avB,aAAa,EC1aT,GAAmB;MD2avB,MAAM,EAAE,iBAA2C;MACnD,OAAO,EAAE,EAAE;MACX,OAAO,EAAE,YAAY;MACrB,SAAS,EAAE,KAAK;MAChB,MAAM,EAAE,QAA8B;MACtC,IAAI,EAAE,CAAC;MACP,WAAW,EAAE,QAA8B;MAC3C,QAAQ,EAAE,QAAQ;MAClB,UAAU,EAAE,MAAM;MAClB,GAAG,EAAE,CAAC;MACN,KAAK,EAAE,QAA8B;EAKtC;4CAAS;IACR,UAAU,EC3bN,OAAmB;ID4bvB,YAAY,EC5bR,OAAmB;ID6bvB,KAAK,EC7bD,OAAmB;ID8bvB,OAAO,EAAE,OAAO;EAKjB;0CAAS;IACR,YAAY,ECpcR,OAAmB;;AD2cxB,qCAAS;EACR,aAAa,EC5cT,GAAmB;;ADmdxB,kCAAS;EACR,aAAa,EAAE,IAAI;;AAKtB,2BAA4B;EAC3B,KAAK,EAAE,eAA6B;EACpC,UAAU,EAAE,MAAM;EAClB,OAAO,EAAE,GAAG;;AAGb,iBAAkB;EACjB,KAAK,EAAE,eAA6B;EACpC,UAAU,EAAE,MAAM;EAClB,OAAO,EAAE,GAAG;;AAGb,kBAAmB;EAClB,KAAK,EAAE,eAA6B;EACpC,UAAU,EAAE,MAAM;EAClB,OAAO,EAAE,GAAG;;AAGb,sBAAuB;EACtB,KAAK,EAAE,eAA6B;EACpC,UAAU,EAAE,MAAM;EAClB,OAAO,EAAE,GAAG;;AAGd,SAAS;AAER,IAAK;EACJ,aAAa,ECpfP,GAAmB;EDqfzB,MAAM,EAAE,iBAA2C;EACnD,aAAa,ECtfP,MAAmB;EDufzB,OAAO,EAAE,KAAK;EAEd;;gDAE0C;IACzC,aAAa,EAAE,CAAC;EAGjB,QAAM;IACL,MAAM,EAAE,CAAC;IACT,aAAa,EAAE,CAAC;IAChB,OAAO,EAAE,CAAC;;AAKb,UAAU;AAET,KAAM;EKpjBN,eAAe,EAAE,IAAI;ELsjBpB,aAAa,EAAE,IAAI;EACnB,QAAQ,EAAE,QAAQ;EKrjBnB,YAAY;IAMX,uBAAuB,EAAE,SAAS;IAClC,sBAAsB,EAAE,WAAW;IACnC,OAAO,EAAE,YAAY;IACrB,UAAU,EAAE,MAAM;IAClB,YAAY,EAAE,MAAM;IACpB,cAAc,EAAE,IAAI;IACpB,WAAW,EAAE,CAAC;IACd,cAAc,EAAE,eAAe;IAU9B,WAAW,EAAE,qBAAqB;IAClC,WAAW,EAAE,GAAG;EL+hBjB,cAAS;IACR,OAAO,EAAE,IAAI;EAGd,YAAS;IACR,WAAW,EAAE,OAAO;EAIpB,kBAAS;IACR,WAAW,EAAE,GAAG;EAKjB,mBAAS;IACR,WAAW,EAAE,uBAAuB;;AAKxC,WAAW;AAEV,MAAO;EACN,aAAa,ECtiBP,GAAmB;EDuiBzB,MAAM,EAAE,CAAC;EACT,OAAO,EAAE,YAAY;EACrB,QAAQ,EAAE,QAAQ;EAGjB,yBAAI;IEtPI,eAAsB,EAAE,KAA+C;IAAvE,kBAAsB,EAAE,KAA+C;IAAvE,cAAsB,EAAE,KAA+C;IAAvE,UAAsB,EAAE,KAA+C;IFwP9E,OAAO,EAAE,KAAK;IACd,QAAQ,EAAE,QAAQ;IAClB,GAAG,EAAE,CAAC;IACN,IAAI,EAAE,CAAC;IACP,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,IAAI;EAKb,oCAAI;IElQI,oBAAsB,EAAE,QAA+C;IAAvE,uBAAsB,EAAE,QAA+C;IAAvE,mBAAsB,EAAE,QAA+C;IAAvE,eAAsB,EAAE,QAA+C;EFwQ/E,+BAAI;IExQI,oBAAsB,EAAE,GAA+C;IAAvE,uBAAsB,EAAE,GAA+C;IAAvE,mBAAsB,EAAE,GAA+C;IAAvE,eAAsB,EAAE,GAA+C;EF8Q/E,qCAAI;IE9QI,oBAAsB,EAAE,SAA+C;IAAvE,uBAAsB,EAAE,SAA+C;IAAvE,mBAAsB,EAAE,SAA+C;IAAvE,eAAsB,EAAE,SAA+C;EFoR/E,iCAAI;IEpRI,oBAAsB,EAAE,KAA+C;IAAvE,uBAAsB,EAAE,KAA+C;IAAvE,mBAAsB,EAAE,KAA+C;IAAvE,eAAsB,EAAE,KAA+C;EF0R/E,wCAAI;IE1RI,oBAAsB,EAAE,YAA+C;IAAvE,uBAAsB,EAAE,YAA+C;IAAvE,mBAAsB,EAAE,YAA+C;IAAvE,eAAsB,EAAE,YAA+C;EFgS/E,kCAAI;IEhSI,oBAAsB,EAAE,MAA+C;IAAvE,uBAAsB,EAAE,MAA+C;IAAvE,mBAAsB,EAAE,MAA+C;IAAvE,eAAsB,EAAE,MAA+C;EFsS/E,uCAAI;IEtSI,oBAAsB,EAAE,WAA+C;IAAvE,uBAAsB,EAAE,WAA+C;IAAvE,mBAAsB,EAAE,WAA+C;IAAvE,eAAsB,EAAE,WAA+C;EF4S/E,gCAAI;IE5SI,oBAAsB,EAAE,IAA+C;IAAvE,uBAAsB,EAAE,IAA+C;IAAvE,mBAAsB,EAAE,IAA+C;IAAvE,eAAsB,EAAE,IAA+C;EFkT/E,kCAAI;IElTI,oBAAsB,EAAE,MAA+C;IAAvE,uBAAsB,EAAE,MAA+C;IAAvE,mBAAsB,EAAE,MAA+C;IAAvE,eAAsB,EAAE,MAA+C;EFwT/E,mCAAI;IExTI,oBAAsB,EAAE,OAA+C;IAAvE,uBAAsB,EAAE,OAA+C;IAAvE,mBAAsB,EAAE,OAA+C;IAAvE,eAAsB,EAAE,OAA+C;EF8T/E,mCAAI;IE9TI,oBAAsB,EAAE,OAA+C;IAAvE,uBAAsB,EAAE,OAA+C;IAAvE,mBAAsB,EAAE,OAA+C;IAAvE,eAAsB,EAAE,OAA+C;EFoU/E,mCAAI;IEpUI,oBAAsB,EAAE,OAA+C;IAAvE,uBAAsB,EAAE,OAA+C;IAAvE,mBAAsB,EAAE,OAA+C;IAAvE,eAAsB,EAAE,OAA+C;EF0U/E,mCAAI;IE1UI,oBAAsB,EAAE,OAA+C;IAAvE,uBAAsB,EAAE,OAA+C;IAAvE,mBAAsB,EAAE,OAA+C;IAAvE,eAAsB,EAAE,OAA+C;EF+UhF,UAAI;IACH,aAAa,ECtoBR,GAAmB;IDuoBxB,OAAO,EAAE,KAAK;EAGf,WAAO;IACN,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,aAAa;IACrB,GAAG,EAAE,MAAM;EAGZ,YAAQ;IACP,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,aAAa;IACrB,GAAG,EAAE,MAAM;EAGZ,UAAM;IACL,OAAO,EAAE,KAAK;IACd,MAAM,EAAE,YAA2B;IACnC,KAAK,EAAE,IAAI;IAEX,cAAI;MACH,OAAO,EAAE,KAAK;MACd,KAAK,EAAE,IAAI;EAIb,aAAS;IACR,aAAa,EAAE,IAAI;IACnB,QAAQ,EAAE,MAAM;IAEhB,iBAAI;MACH,aAAa,EAAE,IAAI;MACnB,OAAO,EAAE,KAAK;MACd,KAAK,EAAE,IAAI;EAIb,WAAO;IACN,OAAO,EAAE,KAAK;IACd,MAAM,EAAE,IAAI;IACZ,aAAa,EAAE,CAAC;IAEhB,eAAI;MACH,aAAa,EAAE,CAAC;;AAKpB,UAAU;AAET,EAAG;EACF,UAAU,EAAE,OAAO;EACnB,MAAM,EAAE,YAA2B;EACnC,YAAY,EAAE,MAAM;EAEpB,KAAG;IACF,YAAY,EAAE,MAAM;;AAItB,EAAG;EACF,UAAU,EAAE,IAAI;EAChB,MAAM,EAAE,YAA2B;EACnC,YAAY,EAAE,GAAG;EAEjB,KAAG;IACF,YAAY,EAAE,KAAK;EAGpB,MAAM;IACL,UAAU,EAAE,IAAI;IAChB,YAAY,EAAE,CAAC;IAEf,SAAG;MACF,UAAU,EAAE,iBAA0C;MACtD,OAAO,EAAE,OAAO;MAEhB,qBAAc;QACb,UAAU,EAAE,CAAC;QACb,WAAW,EAAE,CAAC;;AAMlB,EAAG;EACF,MAAM,EAAE,YAA2B;;AAGrC,aAAa;AAEZ,UAAW;EEraD,OAAY,EAAE,SAA+C;EAA7D,OAAY,EAAE,YAA+C;EAA7D,OAAY,EAAE,QAA+C;EAA7D,OAAY,EAAE,IAA+C;EFuatE,MAAM,EAAE,OAAO;EACf,UAAU,EAAE,IAAI;EAChB,WAAW,EAAE,QAA8B;EAC3C,YAAY,EAAE,CAAC;EAEf,aAAG;IACF,OAAO,EAAE,aAAmC;IAC5C,cAAc,EAAE,MAAM;EAGvB,kBAAU;IExbD,oBAAsB,EAAE,MAA+C;IAAvE,uBAAsB,EAAE,MAA+C;IAAvE,mBAAsB,EAAE,MAA+C;IAAvE,eAAsB,EAAE,MAA+C;IF0b/E,KAAK,EAAE,IAAI;IACX,WAAW,EAAE,CAAC;IAGb,iCAAc;MACb,YAAY,EAAE,CAAC;EAKlB,kBAAU;IEpcD,mBAAsB,EAAE,MAA+C;IAAvE,sBAAsB,EAAE,MAA+C;IAAvE,kBAAsB,EAAE,MAA+C;IAAvE,cAAsB,EAAE,MAA+C;IFsc/E,WAAW,EAAE,CAAC;IAEd,qBAAG;MACF,OAAO,EAAE,aAAmC;MAE5C,iCAAc;QACb,WAAW,EAAE,CAAC;EAKjB,cAAM;IACL,KAAK,EAAE,oBAA2C;IAElD,iBAAG;MEpdK,cAAsB,EAAE,CAA+C;MAAvE,iBAAsB,EAAE,CAA+C;MAAvE,aAAsB,EAAE,CAA+C;MAAvE,SAAsB,EAAE,CAA+C;MAAvE,gBAAsB,EAAE,CAA+C;MAAvE,mBAAsB,EAAE,CAA+C;MAAvE,eAAsB,EAAE,CAA+C;MAAvE,WAAsB,EAAE,CAA+C;MFud9E,KAAK,EAAE,IAAI;MAEX,qBAAI;QACH,KAAK,EAAE,IAAI;IAIb,sBAAU;MACT,KAAK,EAAE,IAAI;EI5mBN,oCAAiB;IJinBvB,sBAAc;MEpeN,mBAAsB,EAAE,MAA+C;MAAvE,sBAAsB,EAAE,MAA+C;MAAvE,kBAAsB,EAAE,MAA+C;MAAvE,cAAsB,EAAE,MAA+C;MFse9E,WAAW,EAAE,CAAC;MACd,KAAK,EAAE,eAAe;MAEtB,yBAAG;QEzeI,cAAsB,EAAE,CAA+C;QAAvE,iBAAsB,EAAE,CAA+C;QAAvE,aAAsB,EAAE,CAA+C;QAAvE,SAAsB,EAAE,CAA+C;QAAvE,gBAAsB,EAAE,CAA+C;QAAvE,mBAAsB,EAAE,CAA+C;QAAvE,eAAsB,EAAE,CAA+C;QAAvE,WAAsB,EAAE,CAA+C;QF4e7E,OAAO,EAAE,aAAmC;QAC5C,UAAU,EAAE,MAAM;QAClB,KAAK,EAAE,IAAI;QAEX,6BAAI;UACH,KAAK,EAAE,IAAI;QAGZ,qCAAc;UACb,WAAW,EAAE,CAAC;QAGf;;;;yCAIQ;UACP,KAAK,EAAE,IAAI;UAGV;;;;uDAAS;YACR,WAAW,EAAE,OAAO;;AAS5B,mBAAmB;AAElB,gBAAiB;EAChB,UAAU,EAAE,IAAI;EAChB,YAAY,EAAE,CAAC;EAEf,mBAAG;IKj3BJ,eAAe,EAAE,IAAI;ILm3BnB,OAAO,EAAE,YAAY;IACrB,MAAM,EAAE,cAAoC;IAC5C,OAAO,EAAE,gBAAgB;IACzB,QAAQ,EAAE,QAAQ;IAClB,cAAc,EAAE,GAAG;IACnB,KAAK,EAAE,GAAG;IKt3BZ,0BAAY;MAMX,uBAAuB,EAAE,SAAS;MAClC,sBAAsB,EAAE,WAAW;MACnC,OAAO,EAAE,YAAY;MACrB,UAAU,EAAE,MAAM;MAClB,YAAY,EAAE,MAAM;MACpB,cAAc,EAAE,IAAI;MACpB,WAAW,EAAE,CAAC;MACd,cAAc,EAAE,eAAe;MAU9B,WAAW,EAAE,qBAAqB;MAClC,WAAW,EAAE,GAAG;ILg2BhB,0BAAS;MACR,UAAU,ECh1BN,OAAmB;MDi1BvB,aAAa,EAAE,IAAI;MACnB,KAAK,ECl1BD,OAAmB;MDm1BvB,OAAO,EAAE,KAAK;MACd,MAAM,EAAE,KAAK;MACb,IAAI,EAAE,CAAC;MACP,WAAW,EAAE,KAAK;MAClB,QAAQ,EAAE,QAAQ;MAClB,UAAU,EAAE,MAAM;MAClB,GAAG,EAAE,CAAC;MACN,KAAK,EAAE,KAAK;;AAKhB,WAAW;AAEV,QAAS;EACR,MAAM,EAAE,OAAO;EACf,UAAU,EAAE,IAAI;EAChB,YAAY,EAAE,CAAC;EAEf,WAAG;IACF,OAAO,EAAE,YAAY;IACrB,OAAO,EAAE,SAAS;IAElB,sBAAa;MACZ,aAAa,EAAE,YAAY;IAI3B,wBAAS;MACR,SAAS,EAAE,MAAM;;AAMtB,WAAW;AAEV,cAAe;EACd,0BAA0B,EAAE,KAAK;EACjC,UAAU,EAAE,IAAI;;AAGjB,KAAM;EACL,MAAM,EAAE,YAA2B;EACnC,KAAK,EAAE,IAAI;EAGV,cAAG;IACF,MAAM,EAAE,iBAA0C;IAClD,WAAW,EAAE,CAAC;IACd,YAAY,EAAE,CAAC;IAEf,gCAAoB;MACnB,gBAAgB,ECx4Bb,OAAmB;ED64BzB,QAAG;IACF,OAAO,EAAE,aAAa;EAGvB,QAAG;IACF,KAAK,ECl5BA,IAAmB;IDm5BxB,SAAS,EAAE,KAAK;IAChB,WAAW,ECp5BN,GAAmB;IDq5BxB,OAAO,EAAE,sBAAsB;IAC/B,UAAU,EAAE,IAAI;EAGjB,WAAM;IACL,aAAa,EAAE,iBAAiD;EAGjE,WAAM;IACL,UAAU,EAAE,iBAAiD;EAG9D,SAAM;IACL,eAAe,EAAE,QAAQ;IAIvB,qBAAG;MACF,MAAM,EAAE,iBAA2C;MACnD,iBAAiB,EAAE,CAAC;MACpB,gBAAgB,EAAE,CAAC;MAEnB,iCAAc;QACb,iBAAiB,EC56BhB,GAAmB;IDi7BrB,iCAAG;MACF,gBAAgB,ECl7Bf,GAAmB;IDw7BxB,eAAM;MACL,aAAa,EAAE,CAAC;IAGjB,eAAM;MACL,UAAU,EAAE,CAAC;;AAKjB,YAAY;AAEX;;;OAGQ;EEjpBE,eAAsB,EAAE,IAA+C;EAAvE,kBAAsB,EAAE,IAA+C;EAAvE,cAAsB,EAAE,IAA+C;EAAvE,UAAsB,EAAE,IAA+C;EAAvE,eAAsB,EAAE,yDAA+C;EAAvE,kBAAsB,EAAE,yDAA+C;EAAvE,cAAsB,EAAE,yDAA+C;EAAvE,UAAsB,EAAE,yDAA+C;EFopBhF,gBAAgB,EC18BV,OAAmB;ED28BzB,aAAa,EC38BP,GAAmB;ED48BzB,MAAM,EAAE,CAAC;EACT,KAAK,EAAE,kBAAqC;EAC5C,MAAM,EAAE,OAAO;EACf,OAAO,EAAE,YAAY;EACrB,WAAW,ECh9BL,GAAmB;EDi9BzB,MAAM,ECj9BA,MAAmB;EDk9BzB,WAAW,ECl9BL,MAAmB;EDm9BzB,OAAO,EAAE,OAAO;EAChB,UAAU,EAAE,MAAM;EAClB,eAAe,EAAE,IAAI;EACrB,WAAW,EAAE,MAAM;EAEnB;;;eAAQ;IACP,gBAAgB,EAAE,OAAiC;IACnD,KAAK,EAAE,kBAAqC;EAG7C;;;gBAAS;IACR,gBAAgB,EAAE,OAAgC;EAGnD;;;cAAO;IACN,YAAY,EAAE,MAAM;IAEpB;;;uBAAS;MACR,YAAY,EAAE,KAAK;EAIrB;;;aAAM;IACL,KAAK,EAAE,IAAI;EAGZ;;;eAAQ;IACP,SAAS,EAAE,KAAK;EAGjB;;;eAAQ;IACP,SAAS,EAAE,MAAM;EAGlB;;;aAAM;IACL,gBAAgB,EAAE,WAAW;IAC7B,UAAU,EAAE,uBAAiD;IAC7D,KAAK,EAAE,eAA4B;IAEnC;;;qBAAQ;MACP,gBAAgB,EC3/BZ,OAAmB;MD4/BvB,KAAK,EAAE,eAA4B;IAGpC;;;sBAAS;MACR,gBAAgB,EChgCZ,OAAmB;IDogCvB;;;2BAAS;MACR,KAAK,ECrgCF,IAAmB;ED0gCzB;;;iBAAU;IACT,gBAAgB,EC3gCX,OAAmB;ID4gCxB,KAAK,EAAE,kBAAqC;IAE5C;;;yBAAQ;MACP,gBAAgB,EAAE,OAAiC;IAGpD;;;0BAAS;MACR,gBAAgB,EAAE,OAAgC;EAIpD;;;;;;kBACW;IACV,gBAAgB,EAAE,eAAuB;IACzC,UAAU,EAAE,uCAAoC;IAChD,KAAK,EAAE,eAAuB;IAC9B,MAAM,EAAE,OAAO;IACf,OAAO,EAAE,IAAI;;AAIhB,cAAc;AAGZ,iBAAQ;EACP,UAAU,EAAE,iBAAkD;EAC9D,aAAa,ECtiCR,MAAmB;EDuiCxB,WAAW,ECviCN,MAAmB;EDyiCxB,6BAAc;IACb,UAAU,EAAE,CAAC;IACb,WAAW,EAAE,CAAC;EAGf,wBAAO;IACN,OAAO,EAAE,YAAY;IACrB,aAAa,EAAE,KAAK;IACpB,cAAc,EAAE,MAAM;IACtB,KAAK,EAAE,GAAG;IAEV,4BAAI;MACH,OAAO,EAAE,KAAK;MACd,KAAK,EAAE,IAAI;EAIb,wBAAO;IACN,OAAO,EAAE,YAAY;IACrB,cAAc,EAAE,MAAM;IACtB,KAAK,EAAE,GAAG;IACV,YAAY,EAAE,IAAI;IAClB,aAAa,EAAE,IAAI;IAEnB,sCAAc;MACb,aAAa,EAAE,CAAC;;AAMrB,YAAY;AAEX,0BAA2B;EAC1B,OAAO,EAAE,IAAI;;AAGd,OAAQ;EEjxBE,OAAY,EAAE,SAA+C;EAA7D,OAAY,EAAE,YAA+C;EAA7D,OAAY,EAAE,QAA+C;EAA7D,OAAY,EAAE,IAA+C;EAP7D,mBAAsB,EAAE,MAA+C;EAAvE,sBAAsB,EAAE,MAA+C;EAAvE,kBAAsB,EAAE,MAA+C;EAAvE,cAAsB,EAAE,MAA+C;EAAvE,oBAAsB,EAAE,aAA+C;EAAvE,uBAAsB,EAAE,aAA+C;EAAvE,mBAAsB,EAAE,aAA+C;EAAvE,eAAsB,EAAE,aAA+C;EF4xBhF,UAAU,ECllCJ,OAAmB;EDmlCzB,KAAK,ECnlCC,OAAmB;EDolCzB,MAAM,EAAE,IAAI;EACZ,UAAU,EAAE,IAAI;EAChB,QAAQ,EAAE,KAAK;EACf,UAAU,EAAE,MAAM;EAClB,GAAG,EAAE,CAAC;EACN,KAAK,EAvnCQ,IAAI;EAwnCjB,UAAU,EAAE,UAAU;EACtB,kBAAkB,EAAE,IAAI;EAAG,iBAAiB;EAC5C,eAAe,EAAE,IAAI;EAAG,aAAa;EAGpC,KAAK,EAAE,CAAC;EAMT,sEAAuB;IACtB,KAAK,ECtmCA,OAAmB;IDwmCxB,kFAAE;MACD,KAAK,ECzmCD,OAAmB;ED8mCxB,gBAAE;IACD,KAAK,EC/mCD,OAAmB;EDmnCzB,SAAE;IACD,KAAK,ECpnCA,OAAmB;IDsnCxB,eAAQ;MACP,KAAK,EAAE,kBAAoC;EAI7C,gBAAS;IEr0BA,gBAAsB,EAAE,CAA+C;IAAvE,mBAAsB,EAAE,CAA+C;IAAvE,eAAsB,EAAE,CAA+C;IAAvE,WAAsB,EAAE,CAA+C;IFu0B/E,OAAO,EAAE,GAAG;IAGZ,wBAAQ;MACP,OAAO,EAAE,KAAK;MACd,MAAM,EAAE,kBAAiC;MACzC,KAAK,EAAE,GAAG;IAGX,mBAAG;MACF,SAAS,EAAE,MAAM;MACjB,MAAM,EAAE,CAAC;IAGV,kBAAE;MACD,KAAK,EC5oCD,OAAmB;MD6oCvB,UAAU,EAAE,MAAM;MAClB,MAAM,EAAE,SAAS;EAInB,gBAAS;IE51BA,gBAAsB,EAAE,CAA+C;IAAvE,mBAAsB,EAAE,CAA+C;IAAvE,eAAsB,EAAE,CAA+C;IAAvE,WAAsB,EAAE,CAA+C;IF81B/E,MAAM,EAAE,CAAC;IACT,IAAI,EAAE,CAAC;IACP,OAAO,EAAE,GAAG;IACZ,KAAK,EAAE,IAAI;IAEX,uBAAO;MACN,MAAM,EAAE,CAAC;MAGR,4BAAE;QACD,KAAK,EC9pCH,OAAmB;EDoqCzB,aAAM;IE92BG,cAAsB,EAAE,CAA+C;IAAvE,iBAAsB,EAAE,CAA+C;IAAvE,aAAsB,EAAE,CAA+C;IAAvE,SAAsB,EAAE,CAA+C;IFi3B/E,gBAAG;MACF,UAAU,EAAE,IAAI;MAChB,MAAM,EAAE,CAAC;MACT,OAAO,EAAE,CAAC;MAEV,mBAAG;QACF,UAAU,EAAE,iBAAkD;QAC9D,OAAO,EAAE,KAAK;QACd,OAAO,EAAE,CAAC;QAGV,qBAAE;UE53BI,eAAsB,EAAE,IAA+C;UAAvE,kBAAsB,EAAE,IAA+C;UAAvE,cAAsB,EAAE,IAA+C;UAAvE,UAAsB,EAAE,IAA+C;UF83B5E,MAAM,EAAE,CAAC;UACT,KAAK,EAAE,kBAAoC;UAC3C,OAAO,EAAE,KAAK;UACd,OAAO,EAAE,QAAQ;UACjB,eAAe,EAAE,IAAI;UAErB,4BAAS;YACR,UAAU,EC3rCT,IAAmB;YD4rCpB,KAAK,EAAE,kBAA+B;QAIxC,+BAAc;UACb,UAAU,EAAE,CAAC;;AAOlB,cAAe;EACd,KAAK,EAAE,KAAK;;AAGd,aAAa;AAEZ,QAAS;EACR,UAAU,EC/sCJ,IAAmB;EDgtCzB,UAAU,EAAE,UAAU;EAGrB,aAAa,EAjvCD,IAAI;;AAwvClB,eAAgB;EACf,aAAa,EAAE,CAAC;;AAGlB,UAAU;AAGR,eAAU;EACT,aAAa,EAAE,iBAAgD;EAE/D,4BAAa;IACZ,OAAO,EAAE,WAAW;EAGrB,2BAAc;IACb,UAAU,EAAE,CAAC;;AAKjB,YAAY;AAEX,OAAQ;EACP,UAAU,EAAE,OAAO;EACnB,UAAU,EAAE,CAAC;EACb,KAAK,EAAE,OAAO;EACd,QAAQ,EAAE,MAAM;EAChB,OAAO,EAAE,WAAW;EAEpB,kBAAW;IACV,WAAW,EAAE,GAAG;IAChB,UAAU,EAAE,IAAI;IAChB,OAAO,EAAE,CAAC;IAEV,qBAAG;MACF,WAAW,EAAE,iBAAiB;MAC9B,OAAO,EAAE,YAAY;MACrB,SAAS,EAAE,KAAK;MAChB,WAAW,EAAE,GAAG;MAChB,YAAY,EAAE,GAAG;MAEjB,iCAAc;QACb,WAAW,EAAE,CAAC;QACd,WAAW,EAAE,CAAC;QACd,YAAY,EAAE,CAAC;MAGhB,uBAAE;QACD,KAAK,EAAE,OAAO;;AAMnB,YAAY;AIvmCH,qCAAiB;EJ6mCxB,WAAW;EAEV,6BAA8B;IAC7B,SAAS,EAAE,IAAI;;EAGjB,YAAY;EAEX,OAAQ;IACP,KAAK,EAXO,IAAI;IAahB,gBAAS;MACR,OAAO,EAAE,GAAG;IAGb,gBAAS;MACR,OAAO,EAAE,KAAK;;EAIjB,aAAa;EAEZ,QAAS;IAEP,aAAa,EA1BF,IAAI;;EAiClB,UAAU;EAIP,4BAAa;IACZ,OAAO,EAAE,WAAW;AAO1B,WAAW;AIxpCF,qCAAiB;EJ8pCxB,WAAW;EAEV,6BAA8B;IAC7B,SAAS,EAAE,IAAI;;EAGjB,YAAY;EAEX,OAAQ;IACP,KAAK,EAXO,IAAI;;EAclB,aAAa;EAEZ,QAAS;IAEP,aAAa,EAlBF,IAAI;AA2BpB,YAAY;AAEX,SAAU;EACT,OAAO,EAAE,IAAI;;AI1rCN,qCAAiB;EJ+rCxB,WAAW;EAEV,UAAW;IACV,UAAU,EAAE,MAAM;;EAGnB,6BAA8B;IAC7B,SAAS,EAAE,IAAI;;EAGjB,WAAW;EAGT,yBACQ;IACP,SAAS,EAAE,GAAG;IAEd,iCAAI;MACH,KAAK,EAAE,IAAI;EAIb,WAAO;IACN,MAAM,EAAE,IAAI;;EAIf,YAAY;EAEX,OAAQ;IE/kCA,wBAAsB,EAAE,MAA+C;IAAvE,2BAAsB,EAAE,MAA+C;IAAvE,uBAAsB,EAAE,MAA+C;IAAvE,mBAAsB,EAAE,MAA+C;IAAvE,eAAsB,EAAE,wBAA+C;IAAvE,kBAAsB,EAAE,2BAA+C;IAAvE,cAAsB,EAAE,uBAA+C;IAAvE,UAAsB,EAAE,mBAA+C;IFklC9E,OAAO,EAAE,KAAK;IACd,MAAM,EAAE,IAAI;IACZ,UAAU,EAAE,IAAI;IAChB,QAAQ,EAAE,KAAK;IACf,GAAG,EAAE,CAAC;IACN,KAAK,EA36CM,IAAI;IA46Cf,OAAO,EAAE,KAAuB;IExlCzB,cAAsB,EAAE,gBAA+C;IAAvE,iBAAsB,EAAE,gBAA+C;IAAvE,aAAsB,EAAE,gBAA+C;IAAvE,SAAsB,EAAE,gBAA+C;IF4lC7E,KAAK,EAAE,CAAC;IAOT,gBAAS;MACR,MAAM,EAAE,IAAI;MACZ,IAAI,EAAE,IAAI;MACV,MAAM,EAAE,WAAW;MACnB,QAAQ,EAAE,QAAQ;MAClB,KAAK,EAAE,IAAI;MACX,GAAG,EAAE,IAAI;;EAIZ,aAAa;EAEZ,QAAS;IE/mCD,wBAAsB,EAAE,MAA+C;IAAvE,2BAAsB,EAAE,MAA+C;IAAvE,uBAAsB,EAAE,MAA+C;IAAvE,mBAAsB,EAAE,MAA+C;IAAvE,eAAsB,EAAE,wBAA+C;IAAvE,kBAAsB,EAAE,2BAA+C;IAAvE,cAAsB,EAAE,uBAA+C;IAAvE,UAAsB,EAAE,mBAA+C;IFknC9E,OAAO,EAAE,YAAY;;EAGvB,kBAAkB;EAEjB,SAAU;IEvnCF,wBAAsB,EAAE,MAA+C;IAAvE,2BAAsB,EAAE,MAA+C;IAAvE,uBAAsB,EAAE,MAA+C;IAAvE,mBAAsB,EAAE,MAA+C;IAAvE,eAAsB,EAAE,wBAA+C;IAAvE,kBAAsB,EAAE,2BAA+C;IAAvE,cAAsB,EAAE,uBAA+C;IAAvE,UAAsB,EAAE,mBAA+C;IF0nC9E,OAAO,EAAE,KAAK;IACd,MAAM,EAAE,IAAI;IACZ,IAAI,EAAE,CAAC;IACP,QAAQ,EAAE,KAAK;IACf,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,IAAI;IACX,OAAO,EAAE,KAAuB;IAChC,UAAU,EAAE,IAAI;IAChB,KAAK,EAAE,IAAI;IACX,SAAS,EAAE,KAAK;IAEhB,gBAAO;MACN,KAAK,EAAE,IAAI;MACX,OAAO,EAAE,KAAK;MACd,WAAW,EC97CR,GAAmB;MD+7CtB,MAAM,EAAE,IAAI;MACZ,WAAW,EAAE,IAAI;MACjB,OAAO,EAAE,KAAK;MACd,KAAK,EAAE,IAAI;MAGV,UAAU,EAAE,IAAI;MAMjB,kBAAE;QACD,MAAM,EAAE,CAAC;QACT,eAAe,EAAE,IAAI;IAIvB,iBAAQ;MK5/CX,eAAe,EAAE,IAAI;ML8/CjB,MAAM,EAAE,GAAG;MACX,QAAQ,EAAE,QAAQ;MAClB,GAAG,EAAE,CAAC;MACN,KAAK,EAAE,GAAG;MACV,MAAM,EAAE,CAAC;MACT,OAAO,EAAE,CAAC;MAGT,KAAK,EAAE,CAAC;MKpgDb,wBAAY;QAMX,uBAAuB,EAAE,SAAS;QAClC,sBAAsB,EAAE,WAAW;QACnC,OAAO,EAAE,YAAY;QACrB,UAAU,EAAE,MAAM;QAClB,YAAY,EAAE,MAAM;QACpB,cAAc,EAAE,IAAI;QACpB,WAAW,EAAE,CAAC;QACd,cAAc,EAAE,eAAe;QAM9B,WAAW,EAAE,qBAAqB;QAClC,WAAW,EAAE,GAAG;MLs/Cd,wBAAS;QACR,UAAU,ECl+CR,OAAmB;QDm+CrB,KAAK,ECn+CH,OAAmB;QDo+CrB,OAAO,EAAE,OAAO;QAChB,OAAO,EAAE,KAAK;QACd,SAAS,EAAE,IAAI;QACf,MAAM,EAAE,IAAI;QACZ,WAAW,EAAE,IAAI;QACjB,QAAQ,EAAE,QAAQ;QAClB,UAAU,EAAE,MAAM;QAClB,GAAG,EAAE,CAAC;QACN,KAAK,EAAE,IAAI;QAGV,KAAK,EAAE,CAAC;;EAWV,2DAAoB;IEpsCd,cAAsB,EAAE,iBAA+C;IAAvE,iBAAsB,EAAE,iBAA+C;IAAvE,aAAsB,EAAE,iBAA+C;IAAvE,SAAsB,EAAE,iBAA+C;EF6sC7E,2BAAQ;IE7sCF,cAAsB,EAAE,aAA+C;IAAvE,iBAAsB,EAAE,aAA+C;IAAvE,aAAsB,EAAE,aAA+C;IAAvE,SAAsB,EAAE,aAA+C;AFqtClF,WAAW;AIl2CF,oCAAiB;EJw2CxB,WAAW;EAEV,6BAA8B;IAC7B,SAAS,EAAE,IAAI;;EAIf,wCAAG;IACF,OAAO,EAAE,IAAI;;EAIf,EAAG;IACF,SAAS,EAAE,MAAM;;EAGlB,EAAG;IACF,SAAS,EAAE,KAAK;;EAGjB,EAAG;IACF,SAAS,EAAE,GAAG;;EAGhB,WAAW;EAGT,WAAO;IACN,MAAM,EAAE,aAAa;EAGtB,YAAQ;IACP,MAAM,EAAE,aAAa;EAGtB,WAAO;IACN,MAAM,EAAE,IAAI;;EAIf,qBAAqB;EAGnB,SAAG;IACF,OAAO,EAAE,IAAI;EAIb,eAAG;IACF,SAAS,EAAE,KAAK;IAEhB,mBAAM;MACL,SAAS,EAAE,KAAK;;EAMrB,cAAc;EAIX,wBAAO;IACN,OAAO,EAAE,KAAK;IACd,MAAM,EAAE,YAA2B;IACnC,aAAa,EAAE,CAAC;IAChB,KAAK,EAAE,IAAI;EAGZ,wBAAO;IACN,OAAO,EAAE,KAAK;IACd,KAAK,EAAE,IAAI;;EAKf,YAAY;EAEX,OAAQ;IACP,KAAK,EAjFO,IAAI;IEztCT,cAAsB,EAAE,gBAA+C;IAAvE,iBAAsB,EAAE,gBAA+C;IAAvE,aAAsB,EAAE,gBAA+C;IAAvE,SAAsB,EAAE,gBAA+C;IF8yC7E,KAAK,EAAE,CAAC;IAOT,gBAAS;MACR,OAAO,EAAE,GAAG;MAEZ,wBAAQ;QACP,MAAM,EAAE,oBAA0C;QAClD,KAAK,EAAE,GAAG;MAGX,mBAAG;QACF,SAAS,EAAE,KAAK;MAGjB,kBAAE;QACD,MAAM,EAAE,SAAS;IAInB,gBAAS;MACR,OAAO,EAAE,KAAK;;EAIjB,UAAU;EAIP,4BAAa;IACZ,OAAO,EAAE,SAAS;;EAKtB,YAAY;EAEX,OAAQ;IACP,UAAU,EAAE,MAAM;IAGjB,qBAAG;MACF,WAAW,EAAE,CAAC;MACd,OAAO,EAAE,KAAK;MACd,WAAW,EAAE,MAAM;MACnB,MAAM,EAAE,YAAY;MACpB,YAAY,EAAE,CAAC;MAEf,iCAAc;QACb,UAAU,EAAE,CAAC;;EAMlB,kBAAkB;EAGhB,iBAAQ;IACP,MAAM,EAAE,GAAG;IACX,KAAK,EAAE,GAAG;IAEV,wBAAS;MACR,SAAS,EAAE,IAAI;MACf,KAAK,EAAE,IAAI;;EAOZ,2DAAoB;IEz3Cd,cAAsB,EAAE,iBAA+C;IAAvE,iBAAsB,EAAE,iBAA+C;IAAvE,aAAsB,EAAE,iBAA+C;IAAvE,SAAsB,EAAE,iBAA+C;AFs4ClF,YAAY;AInhDH,oCAAiB;EJuhDxB,WAAW;EAEV,UAAW;IACV,SAAS,EAAE,KAAK;;EAGjB,6BAA8B;IAC7B,SAAS,EAAE,IAAI;;EAGjB,UAAU;EAGR,UAAU;IACT,MAAM,EAAE,YAA2B;IAEnC,aAAG;MACF,OAAO,EAAE,KAAK;MACd,OAAO,EAAE,aAAmC;MAC5C,UAAU,EAAE,MAAM;MAClB,KAAK,EAAE,IAAI;MAEX,yBAAc;QACb,WAAW,EAAE,CAAC;MAGf,iBAAI;QACH,KAAK,EAAE,IAAI;QACX,MAAM,EAAE,YAAY;QAGnB,6BAAS;UACR,WAAW,EAAE,IAAI;IAOpB,mBAAG;MACF,OAAO,EAAE,cAAoC;MAE7C,+BAAc;QACb,WAAW,EAAE,CAAC;EAOjB,mBAAG;IACF,OAAO,EAAE,KAAK;IACd,KAAK,EAAE,IAAI;;EAKf,YAAY;EAEX;;;SAGQ;IACP,OAAO,EAAE,CAAC;AAKb,oBAAoB;AAEpB,OAAQ;EACP,QAAQ,EAAE,KAAK;EACf,OAAO,EAAE,EAAE;EACX,GAAG,EAAE,CAAC;EACN,IAAI,EAAE,CAAC;EACP,KAAK,EAAE,IAAI;EACX,MAAM,EAAE,IAAI;EACZ,UAAU,EAAC,OAAO;EAClB,OAAO,EAAE,IAAI;EACb,eAAe,EAAE,MAAM;EACvB,WAAW,EAAE,MAAM;;AAGnB,cAAe;EACd,SAAS,EAAE,UAAU;EACrB,mBAAmB,EAAE,QAAQ;;AAG9B,kBAKC;EAJA,IAAK;IACJ,OAAO,EAAE,CAAC;IACV,UAAU,EAAE,MAAM;AAIrB,yBAAyB;AAKzB,UAAU;AAEX,SAAU;EACN,OAAO,EAAE,MAAM;EACf,UAAU,EAAE,KAAK;EACjB,UAAU,EAAE,MAAM;;AAGtB,WAAY;EACR,SAAS,EAAE,MAAM;EACjB,MAAM,EAAE,IAAI;EACZ,QAAQ,EAAE,MAAM;EAChB,OAAO,EAAE,MAAM;;AAGnB,YAAa;EACT,KAAK,EAAE,KAAK;EACZ,MAAM,EAAE,GAAG;EACX,UAAU,EAAE,OAAO;EACnB,MAAM,EAAE,SAAS;;AAGrB,SAAU;EACN,OAAO,EAAE,IAAI;EACb,SAAS,EAAE,IAAI;EACf,eAAe,EAAE,MAAM;;AAG3B,SAAU;EACN,IAAI,EAAE,MAAM;EACZ,SAAS,EAAE,MAAM;EACjB,UAAU,EAAE,UAAU;EACtB,OAAO,EAAE,IAAI;;AAGjB,YAAa;EACT,UAAU,EAAE,IAAI;EAChB,OAAO,EAAE,IAAI;;AAGjB,gBAAgB;EACZ,KAAK,EAAC,KAAK;EACX,MAAM,EAAE,KAAK;EACb,aAAa,EAAE,GAAG;;AAGtB,iBAAkB;EACd,SAAS,EAAC,IAAI;EACd,cAAc,EAAE,SAAS;EACzB,MAAM,EAAE,MAAM;;AAGlB,oCAAoC;EAChC,SAAU;IACN,IAAI,EAAE,IAAI;IACV,SAAS,EAAE,IAAI;AAIvB,oCAAoC;EAChC,SAAU;IACN,IAAI,EAAE,IAAI;IACV,SAAS,EAAE,GAAG;AAItB,iBAAkB;EACjB,KAAK,EAAE,CAAC;;AAGT,WAAY;EACX,OAAO,EAAE,KAAK;EACd,QAAQ,EAAE,KAAK;EACf,MAAM,EAAE,IAAI;EACZ,MAAM,EAAE,IAAI;EACZ,KAAK,EAAE,IAAI;EACX,OAAO,EAAE,CAAC;EACV,UAAU,EAAE,OAAO;EACnB,KAAK,EAAE,OAAO;;AAGf,UAAW;EACV,UAAU,EAAE,MAAM;EAClB,cAAc,EAAE,MAAM;;AAGvB,qCAAqC;EACjC,WAAY;IACR,OAAO,EAAE,IAAI;AAIrB,UAAU;AACV,KAAM;EACL,UAAU,EAAE,8BAA2B;EACvC,UAAU,EAAE,IAAI;EAChB,aAAa,EAAE,IAAI;;AAGlB,WAAY;EACb,UAAU,EAAE,+BAA4B;;AAGvC,UAAW;EACZ,OAAO,EAAE,QAAQ;;AAIlB,WAAW;AAEX,MAAM;EACL,OAAO,EAAE,KAAK;EACd,QAAQ,EAAE,KAAK;EACf,IAAI,EAAE,CAAC;EACP,GAAG,EAAE,CAAC;EACN,OAAO,EAAE,GAAG;EACZ,KAAK,EAAE,IAAI;EACX,MAAM,EAAE,IAAI;EACZ,WAAW,EAAE,KAAK;EAClB,gBAAgB,EAAE,KAAK;EACvB,gBAAgB,EAAE,kBAAkB;EACpC,kBAAkB,EAAE,IAAI;EACxB,QAAQ,EAAE,IAAI;EACd,UAAU,EAAE,eAAe;;AAG5B,cAAe;EACd,gBAAgB,EAAE,OAAO;EACzB,MAAM,EAAE,IAAI;EACZ,SAAS,EAAE,GAAG;EACd,SAAS,EAAE,GAAG;EACd,UAAU,EAAE,GAAG;EACf,OAAO,EAAE,IAAI;EACb,aAAa,EAAE,GAAG;EAClB,aAAa,EAAE,KAAK;;AAGrB,MAAO;EACN,KAAK,EAAE,OAAO;EACd,KAAK,EAAE,KAAK;EACZ,SAAS,EAAE,IAAI;;AAGhB,0BAA2B;EAC1B,KAAK,EAAE,IAAI;EACX,eAAe,EAAE,IAAI;EACrB,MAAM,EAAE,OAAO;;AAGhB,WAAY;EACX,MAAM,EAAE,SAAS;EACjB,cAAc,EAAE,SAAS;;AAG1B,kBAAmB;EAAE,OAAO,EAAE,CAAC;;AAC/B,UAAW;EAAE,OAAO,EAAE,IAAI;;AAC1B,UAAW;EAAE,QAAQ,EAAE,MAAM;;AAE7B,YAAY;EACR,gBAAgB,EAAE,IAAI;EACtB,KAAK,EAAE,KAAK;EACZ,MAAM,EAAE,OAAO;EACf,OAAO,EAAE,IAAI;EACb,KAAK,EAAE,IAAI;EACX,MAAM,EAAE,IAAI;EACZ,UAAU,EAAE,IAAI;EAChB,OAAO,EAAE,IAAI;EACb,SAAS,EAAE,IAAI;;AAGnB,2BAA4B;EAC1B,gBAAgB,EAAE,IAAI;;AAIxB,QAAS;EACP,OAAO,EAAE,MAAM;EACf,OAAO,EAAE,IAAI;EACb,QAAQ,EAAE,MAAM;EAChB,gBAAgB,EAAE,OAAO;EACzB,UAAU,EAAE,2CAA2C", -"sources": ["../_sass/main.scss","../_sass/libs/_functions.scss","../_sass/libs/_vendor.scss","../_sass/libs/_html-grid.scss","../_sass/libs/_breakpoints.scss","../_sass/libs/_mixins.scss"], -"names": [], -"file": "cssmain.css" -} diff --git a/assets/js/breakpoints.min.js b/assets/js/breakpoints.min.js deleted file mode 100644 index e20ae896..00000000 --- a/assets/js/breakpoints.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/* breakpoints.js v1.0 | @ajlkn | MIT licensed */ -var breakpoints=function(){"use strict";function e(e){t.init(e)}var t={list:null,media:{},events:[],init:function(e){t.list=e,window.addEventListener("resize",t.poll),window.addEventListener("orientationchange",t.poll),window.addEventListener("load",t.poll),window.addEventListener("fullscreenchange",t.poll)},active:function(e){var n,a,s,i,r,d,c;if(!(e in t.media)){if(">="==e.substr(0,2)?(a="gte",n=e.substr(2)):"<="==e.substr(0,2)?(a="lte",n=e.substr(2)):">"==e.substr(0,1)?(a="gt",n=e.substr(1)):"<"==e.substr(0,1)?(a="lt",n=e.substr(1)):"!"==e.substr(0,1)?(a="not",n=e.substr(1)):(a="eq",n=e),n&&n in t.list)if(i=t.list[n],Array.isArray(i)){if(r=parseInt(i[0]),d=parseInt(i[1]),isNaN(r)){if(isNaN(d))return;c=i[1].substr(String(d).length)}else c=i[0].substr(String(r).length);if(isNaN(r))switch(a){case"gte":s="screen";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: -1px)";break;case"not":s="screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (max-width: "+d+c+")"}else if(isNaN(d))switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen";break;case"gt":s="screen and (max-width: -1px)";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+")";break;default:s="screen and (min-width: "+r+c+")"}else switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+"), screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (min-width: "+r+c+") and (max-width: "+d+c+")"}}else s="("==i.charAt(0)?"screen and "+i:i;t.media[e]=!!s&&s}return t.media[e]!==!1&&window.matchMedia(t.media[e]).matches},on:function(e,n){t.events.push({query:e,handler:n,state:!1}),t.active(e)&&n()},poll:function(){var e,n;for(e=0;e0:!!("ontouchstart"in window),e.mobile="wp"==e.os||"android"==e.os||"ios"==e.os||"bb"==e.os}};return e.init(),e}();!function(e,n){"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?module.exports=n():e.browser=n()}(this,function(){return browser}); diff --git a/assets/js/jquery.min.js b/assets/js/jquery.min.js deleted file mode 100644 index a1c07fd8..00000000 --- a/assets/js/jquery.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */ -!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/\s*$/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="
",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 01){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n1){for(o=0;o' + - '' + - // '' + $('#logo').html() + '' + - '' - ) - .appendTo($body); - - // Panel. - $header - .panel({ - delay: 500, - hideOnClick: true, - hideOnSwipe: true, - resetScroll: true, - resetForms: true, - side: 'right', - target: $body, - visibleClass: 'header-visible' - }); - - // Scrolly. - $('.scrolly').scrolly({ - speed: 1000, - offset: function() { - - if (breakpoints.active('<=medium')) - return $titleBar.height(); - - return 0; - - } - }); - -})(jQuery); - -window.addEventListener("load", function() { - const loader = document.querySelector(".loader"); - loader.className += " hidden"; -}); diff --git a/assets/js/util.js b/assets/js/util.js deleted file mode 100644 index ecf7b371..00000000 --- a/assets/js/util.js +++ /dev/null @@ -1,587 +0,0 @@ -(function($) { - - /** - * Generate an indented list of links from a nav. Meant for use with panel(). - * @return {jQuery} jQuery object. - */ - $.fn.navList = function() { - - var $this = $(this); - $a = $this.find('a'), - b = []; - - $a.each(function() { - - var $this = $(this), - indent = Math.max(0, $this.parents('li').length - 1), - href = $this.attr('href'), - target = $this.attr('target'); - - b.push( - '' + - '' + - $this.text() + - '' - ); - - }); - - return b.join(''); - - }; - - /** - * Panel-ify an element. - * @param {object} userConfig User config. - * @return {jQuery} jQuery object. - */ - $.fn.panel = function(userConfig) { - - // No elements? - if (this.length == 0) - return $this; - - // Multiple elements? - if (this.length > 1) { - - for (var i=0; i < this.length; i++) - $(this[i]).panel(userConfig); - - return $this; - - } - - // Vars. - var $this = $(this), - $body = $('body'), - $window = $(window), - id = $this.attr('id'), - config; - - // Config. - config = $.extend({ - - // Delay. - delay: 0, - - // Hide panel on link click. - hideOnClick: false, - - // Hide panel on escape keypress. - hideOnEscape: false, - - // Hide panel on swipe. - hideOnSwipe: false, - - // Reset scroll position on hide. - resetScroll: false, - - // Reset forms on hide. - resetForms: false, - - // Side of viewport the panel will appear. - side: null, - - // Target element for "class". - target: $this, - - // Class to toggle. - visibleClass: 'visible' - - }, userConfig); - - // Expand "target" if it's not a jQuery object already. - if (typeof config.target != 'jQuery') - config.target = $(config.target); - - // Panel. - - // Methods. - $this._hide = function(event) { - - // Already hidden? Bail. - if (!config.target.hasClass(config.visibleClass)) - return; - - // If an event was provided, cancel it. - if (event) { - - event.preventDefault(); - event.stopPropagation(); - - } - - // Hide. - config.target.removeClass(config.visibleClass); - - // Post-hide stuff. - window.setTimeout(function() { - - // Reset scroll position. - if (config.resetScroll) - $this.scrollTop(0); - - // Reset forms. - if (config.resetForms) - $this.find('form').each(function() { - this.reset(); - }); - - }, config.delay); - - }; - - // Vendor fixes. - $this - .css('-ms-overflow-style', '-ms-autohiding-scrollbar') - .css('-webkit-overflow-scrolling', 'touch'); - - // Hide on click. - if (config.hideOnClick) { - - $this.find('a') - .css('-webkit-tap-highlight-color', 'rgba(0,0,0,0)'); - - $this - .on('click', 'a', function(event) { - - var $a = $(this), - href = $a.attr('href'), - target = $a.attr('target'); - - if (!href || href == '#' || href == '' || href == '#' + id) - return; - - // Cancel original event. - event.preventDefault(); - event.stopPropagation(); - - // Hide panel. - $this._hide(); - - // Redirect to href. - window.setTimeout(function() { - - if (target == '_blank') - window.open(href); - else - window.location.href = href; - - }, config.delay + 10); - - }); - - } - - // Event: Touch stuff. - $this.on('touchstart', function(event) { - - $this.touchPosX = event.originalEvent.touches[0].pageX; - $this.touchPosY = event.originalEvent.touches[0].pageY; - - }) - - $this.on('touchmove', function(event) { - - if ($this.touchPosX === null - || $this.touchPosY === null) - return; - - var diffX = $this.touchPosX - event.originalEvent.touches[0].pageX, - diffY = $this.touchPosY - event.originalEvent.touches[0].pageY, - th = $this.outerHeight(), - ts = ($this.get(0).scrollHeight - $this.scrollTop()); - - // Hide on swipe? - if (config.hideOnSwipe) { - - var result = false, - boundary = 20, - delta = 50; - - switch (config.side) { - - case 'left': - result = (diffY < boundary && diffY > (-1 * boundary)) && (diffX > delta); - break; - - case 'right': - result = (diffY < boundary && diffY > (-1 * boundary)) && (diffX < (-1 * delta)); - break; - - case 'top': - result = (diffX < boundary && diffX > (-1 * boundary)) && (diffY > delta); - break; - - case 'bottom': - result = (diffX < boundary && diffX > (-1 * boundary)) && (diffY < (-1 * delta)); - break; - - default: - break; - - } - - if (result) { - - $this.touchPosX = null; - $this.touchPosY = null; - $this._hide(); - - return false; - - } - - } - - // Prevent vertical scrolling past the top or bottom. - if (($this.scrollTop() < 0 && diffY < 0) - || (ts > (th - 2) && ts < (th + 2) && diffY > 0)) { - - event.preventDefault(); - event.stopPropagation(); - - } - - }); - - // Event: Prevent certain events inside the panel from bubbling. - $this.on('click touchend touchstart touchmove', function(event) { - event.stopPropagation(); - }); - - // Event: Hide panel if a child anchor tag pointing to its ID is clicked. - $this.on('click', 'a[href="#' + id + '"]', function(event) { - - event.preventDefault(); - event.stopPropagation(); - - config.target.removeClass(config.visibleClass); - - }); - - // Body. - - // Event: Hide panel on body click/tap. - $body.on('click touchend', function(event) { - $this._hide(event); - }); - - // Event: Toggle. - $body.on('click', 'a[href="#' + id + '"]', function(event) { - - event.preventDefault(); - event.stopPropagation(); - - config.target.toggleClass(config.visibleClass); - - }); - - // Window. - - // Event: Hide on ESC. - if (config.hideOnEscape) - $window.on('keydown', function(event) { - - if (event.keyCode == 27) - $this._hide(event); - - }); - - return $this; - - }; - - /** - * Apply "placeholder" attribute polyfill to one or more forms. - * @return {jQuery} jQuery object. - */ - $.fn.placeholder = function() { - - // Browser natively supports placeholders? Bail. - if (typeof (document.createElement('input')).placeholder != 'undefined') - return $(this); - - // No elements? - if (this.length == 0) - return $this; - - // Multiple elements? - if (this.length > 1) { - - for (var i=0; i < this.length; i++) - $(this[i]).placeholder(); - - return $this; - - } - - // Vars. - var $this = $(this); - - // Text, TextArea. - $this.find('input[type=text],textarea') - .each(function() { - - var i = $(this); - - if (i.val() == '' - || i.val() == i.attr('placeholder')) - i - .addClass('polyfill-placeholder') - .val(i.attr('placeholder')); - - }) - .on('blur', function() { - - var i = $(this); - - if (i.attr('name').match(/-polyfill-field$/)) - return; - - if (i.val() == '') - i - .addClass('polyfill-placeholder') - .val(i.attr('placeholder')); - - }) - .on('focus', function() { - - var i = $(this); - - if (i.attr('name').match(/-polyfill-field$/)) - return; - - if (i.val() == i.attr('placeholder')) - i - .removeClass('polyfill-placeholder') - .val(''); - - }); - - // Password. - $this.find('input[type=password]') - .each(function() { - - var i = $(this); - var x = $( - $('
') - .append(i.clone()) - .remove() - .html() - .replace(/type="password"/i, 'type="text"') - .replace(/type=password/i, 'type=text') - ); - - if (i.attr('id') != '') - x.attr('id', i.attr('id') + '-polyfill-field'); - - if (i.attr('name') != '') - x.attr('name', i.attr('name') + '-polyfill-field'); - - x.addClass('polyfill-placeholder') - .val(x.attr('placeholder')).insertAfter(i); - - if (i.val() == '') - i.hide(); - else - x.hide(); - - i - .on('blur', function(event) { - - event.preventDefault(); - - var x = i.parent().find('input[name=' + i.attr('name') + '-polyfill-field]'); - - if (i.val() == '') { - - i.hide(); - x.show(); - - } - - }); - - x - .on('focus', function(event) { - - event.preventDefault(); - - var i = x.parent().find('input[name=' + x.attr('name').replace('-polyfill-field', '') + ']'); - - x.hide(); - - i - .show() - .focus(); - - }) - .on('keypress', function(event) { - - event.preventDefault(); - x.val(''); - - }); - - }); - - // Events. - $this - .on('submit', function() { - - $this.find('input[type=text],input[type=password],textarea') - .each(function(event) { - - var i = $(this); - - if (i.attr('name').match(/-polyfill-field$/)) - i.attr('name', ''); - - if (i.val() == i.attr('placeholder')) { - - i.removeClass('polyfill-placeholder'); - i.val(''); - - } - - }); - - }) - .on('reset', function(event) { - - event.preventDefault(); - - $this.find('select') - .val($('option:first').val()); - - $this.find('input,textarea') - .each(function() { - - var i = $(this), - x; - - i.removeClass('polyfill-placeholder'); - - switch (this.type) { - - case 'submit': - case 'reset': - break; - - case 'password': - i.val(i.attr('defaultValue')); - - x = i.parent().find('input[name=' + i.attr('name') + '-polyfill-field]'); - - if (i.val() == '') { - i.hide(); - x.show(); - } - else { - i.show(); - x.hide(); - } - - break; - - case 'checkbox': - case 'radio': - i.attr('checked', i.attr('defaultValue')); - break; - - case 'text': - case 'textarea': - i.val(i.attr('defaultValue')); - - if (i.val() == '') { - i.addClass('polyfill-placeholder'); - i.val(i.attr('placeholder')); - } - - break; - - default: - i.val(i.attr('defaultValue')); - break; - - } - }); - - }); - - return $this; - - }; - - /** - * Moves elements to/from the first positions of their respective parents. - * @param {jQuery} $elements Elements (or selector) to move. - * @param {bool} condition If true, moves elements to the top. Otherwise, moves elements back to their original locations. - */ - $.prioritize = function($elements, condition) { - - var key = '__prioritize'; - - // Expand $elements if it's not already a jQuery object. - if (typeof $elements != 'jQuery') - $elements = $($elements); - - // Step through elements. - $elements.each(function() { - - var $e = $(this), $p, - $parent = $e.parent(); - - // No parent? Bail. - if ($parent.length == 0) - return; - - // Not moved? Move it. - if (!$e.data(key)) { - - // Condition is false? Bail. - if (!condition) - return; - - // Get placeholder (which will serve as our point of reference for when this element needs to move back). - $p = $e.prev(); - - // Couldn't find anything? Means this element's already at the top, so bail. - if ($p.length == 0) - return; - - // Move element to top of parent. - $e.prependTo($parent); - - // Mark element as moved. - $e.data(key, $p); - - } - - // Moved already? - else { - - // Condition is true? Bail. - if (condition) - return; - - $p = $e.data(key); - - // Move element back to its original location (using our placeholder). - $e.insertAfter($p); - - // Unmark element as moved. - $e.removeData(key); - - } - - }); - - }; - -})(jQuery); \ No newline at end of file diff --git a/assets/webfonts/fa-brands-400.eot b/assets/webfonts/fa-brands-400.eot deleted file mode 100644 index e79f40f9..00000000 Binary files a/assets/webfonts/fa-brands-400.eot and /dev/null differ diff --git a/assets/webfonts/fa-brands-400.svg b/assets/webfonts/fa-brands-400.svg deleted file mode 100644 index ba0d850b..00000000 --- a/assets/webfonts/fa-brands-400.svg +++ /dev/null @@ -1,3442 +0,0 @@ - - - - - -Created by FontForge 20190112 at Tue Jun 4 15:16:44 2019 - By Robert Madole -Copyright (c) Font Awesome - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/assets/webfonts/fa-brands-400.ttf b/assets/webfonts/fa-brands-400.ttf deleted file mode 100644 index 217ffe9e..00000000 Binary files a/assets/webfonts/fa-brands-400.ttf and /dev/null differ diff --git a/assets/webfonts/fa-brands-400.woff b/assets/webfonts/fa-brands-400.woff deleted file mode 100644 index a2d80254..00000000 Binary files a/assets/webfonts/fa-brands-400.woff and /dev/null differ diff --git a/assets/webfonts/fa-brands-400.woff2 b/assets/webfonts/fa-brands-400.woff2 deleted file mode 100644 index e27b0bfa..00000000 Binary files a/assets/webfonts/fa-brands-400.woff2 and /dev/null differ diff --git a/assets/webfonts/fa-regular-400.eot b/assets/webfonts/fa-regular-400.eot deleted file mode 100644 index d62be2fa..00000000 Binary files a/assets/webfonts/fa-regular-400.eot and /dev/null differ diff --git a/assets/webfonts/fa-regular-400.svg b/assets/webfonts/fa-regular-400.svg deleted file mode 100644 index 751083ee..00000000 --- a/assets/webfonts/fa-regular-400.svg +++ /dev/null @@ -1,803 +0,0 @@ - - - - - -Created by FontForge 20190112 at Tue Jun 4 15:16:44 2019 - By Robert Madole -Copyright (c) Font Awesome - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/assets/webfonts/fa-regular-400.ttf b/assets/webfonts/fa-regular-400.ttf deleted file mode 100644 index eb3cb5ef..00000000 Binary files a/assets/webfonts/fa-regular-400.ttf and /dev/null differ diff --git a/assets/webfonts/fa-regular-400.woff b/assets/webfonts/fa-regular-400.woff deleted file mode 100644 index 43b1a9ae..00000000 Binary files a/assets/webfonts/fa-regular-400.woff and /dev/null differ diff --git a/assets/webfonts/fa-regular-400.woff2 b/assets/webfonts/fa-regular-400.woff2 deleted file mode 100644 index b9344a74..00000000 Binary files a/assets/webfonts/fa-regular-400.woff2 and /dev/null differ diff --git a/assets/webfonts/fa-solid-900.eot b/assets/webfonts/fa-solid-900.eot deleted file mode 100644 index c77baa8d..00000000 Binary files a/assets/webfonts/fa-solid-900.eot and /dev/null differ diff --git a/assets/webfonts/fa-solid-900.svg b/assets/webfonts/fa-solid-900.svg deleted file mode 100644 index 627128b8..00000000 --- a/assets/webfonts/fa-solid-900.svg +++ /dev/null @@ -1,4649 +0,0 @@ - - - - - -Created by FontForge 20190112 at Tue Jun 4 15:16:44 2019 - By Robert Madole -Copyright (c) Font Awesome - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/assets/webfonts/fa-solid-900.ttf b/assets/webfonts/fa-solid-900.ttf deleted file mode 100644 index c6c3dd4d..00000000 Binary files a/assets/webfonts/fa-solid-900.ttf and /dev/null differ diff --git a/assets/webfonts/fa-solid-900.woff b/assets/webfonts/fa-solid-900.woff deleted file mode 100644 index 77c17862..00000000 Binary files a/assets/webfonts/fa-solid-900.woff and /dev/null differ diff --git a/assets/webfonts/fa-solid-900.woff2 b/assets/webfonts/fa-solid-900.woff2 deleted file mode 100644 index e30fb671..00000000 Binary files a/assets/webfonts/fa-solid-900.woff2 and /dev/null differ diff --git a/css/style.css b/css/style.css deleted file mode 100644 index 0799ed3b..00000000 --- a/css/style.css +++ /dev/null @@ -1,57 +0,0 @@ -blockquote{ - border-left-style: solid; - border-left-color: rgb(228, 228, 228); - border-left-width: 8px; - font-style: italic; - margin-bottom: 2.25em; - padding: 0.5em 0 0.5em 2em; -} - -pre code{ - display: block; - line-height: 1.5em; - overflow-x: auto; - padding: 1em 1.5em; -} - -code{ - background: #555; - border-radius: 5px; - color: #fff; - font-family: "Source Code Pro", monospace; - font-size: 0.9em; - margin: 0 0.25em; - padding: 0.25em 0.65em; -} - -h1{ - text-align: center; - color: #777; - font-family: Lato; - font-weight: 700; - font-size: 2.75em; -} - -a{ - font-family: Lato; - color: #5ad3fe; - text-decoration: none; -} - -.date{ - text-align: center; - font-family: Lato; - font-size: larger; - margin: -15px; -} - -.body{ - font-family: Lato; - font-size: large; - margin: 10px; -} - -img{ - display: block; - margin: auto; -} diff --git a/gulpfile.js b/gulpfile.js new file mode 100644 index 00000000..0e5d6a4c --- /dev/null +++ b/gulpfile.js @@ -0,0 +1,221 @@ +/* ------------------------------------------------------------------------- +* IDENTITY LANDING PAGE | @version 1.0.2 | @author Vantage Design | @license https://github.com/vantagedesign/identity-landing-page/blob/master/LICENSE.md +* Gulpfile. +* ------------------------------------------------------------------------ */ + +/* Define requirements */ +/* Core */ +var gulp = require('gulp'); +var plumber = require('gulp-plumber'); +var notify = require('gulp-notify'); +var rename = require('gulp-rename'); +var browsersync = require('browser-sync'); + +/* css */ +var cleancss = require('gulp-clean-css'); +var autoprefixer = require('gulp-autoprefixer'); +var scss = require('gulp-sass'); + +/* js */ +var uglify = require('gulp-uglify'); +var concat = require('gulp-concat'); + +/* files */ +var del = require('del'); + + + +/* Define source and destination paths for file types */ +var dist = 'dist/'; +var paths = { + html: { + src: 'src/**/*.html', + dest: dist + }, + scss: { + src: 'src/css/**/*.scss', + dest: dist + 'css/' + }, + css: { + src: 'src/css/**/*.css', + dest: dist + 'css/' + }, + js: { + src: 'src/js/**/*.js', + dest: dist + 'js/' + }, + plugins: { + js: { + src: [ + 'src/plugins/**/*.js' + ], + dest: dist + 'js/' + } + }, + copy: { + src: [ + 'src/**/*.*', + '!src/{css,js}/**/*.*', + '!src/**/*.{psd}' + ], + dest: dist + }, +} + +var autoprefix_setting = [ + 'last 2 version', + '> 1%', + 'ie 8', + 'ie 9', + 'ios 6', + 'android 4' +] + + + +/** -------------------------------------------- +* CSS processing +--------------------------------------------- */ +/* Process CSS */ +function css_process(){ + return gulp.src(paths.css.src) + .pipe(plumber()) + .pipe(autoprefixer(autoprefix_setting)) + .pipe(gulp.dest(paths.css.dest)) + .pipe(cleancss({keepBreaks: false})) + .pipe(rename({ extname: '.min.css' })) + .pipe(gulp.dest(paths.css.dest)) + .pipe(notify({message: 'CSS processed'}) + ); +} +/* Process SCSS */ +function scss_process(){ + return gulp.src(paths.scss.src) + .pipe(plumber()) + .pipe(scss().on('error', scss.logError)) + .pipe(autoprefixer(autoprefix_setting)) + .pipe(gulp.dest(paths.css.dest)) + .pipe(cleancss({keepBreaks: false})) + .pipe(rename({ extname: '.min.css' })) + .pipe(gulp.dest(paths.scss.dest)) + .pipe(notify({message: 'SCSS processed'}) + ); +} + + + +/** -------------------------------------------- +* Javascript processing +--------------------------------------------- */ +/* Process ES5 Javascript */ +function js_process(){ + return gulp.src(paths.js.src) + .pipe(plumber()) + .pipe(concat('main.js')) + .pipe(gulp.dest(paths.js.dest)) + .pipe(uglify()) + .pipe(rename({ extname: '.min.js' })) + .pipe(gulp.dest(paths.js.dest)) + .pipe(notify({message: 'Javascript processed'}) + ); +} +/* Process ES5 Javascript */ +function js_plugins_process(){ + return gulp.src(paths.plugins.js.src) + .pipe(plumber()) + .pipe(concat('plugins.js')) + .pipe(gulp.dest(paths.plugins.js.dest)) + .pipe(rename({ extname: '.min.js' })) + .pipe(uglify()) + .pipe(gulp.dest(paths.plugins.js.dest)) + .pipe(notify({message: 'Javascript plugins processed'}) + ); +} + + + +/*--------------------------------------------- +* Copy other files +*---------------------------------------------*/ +/* Copy other src files to their dest */ +function html_process() { + return gulp.src(paths.html.src, {base: 'src/'}) + .pipe(gulp.dest(paths.html.dest)) +} + +function copy_files() { + return gulp.src(paths.copy.src, {base: 'src/'}) + .pipe(gulp.dest(paths.copy.dest)) +} + + +/** -------------------------------------------- +* Launch browsersync server +--------------------------------------------- */ +gulp.task('browsersync', function(cb){ + browsersync.init(['**/*.css', '**/*.js', '**/*.html', '**/*.php,'], { + server: { + baseDir: dist + } + }, cb); + console.log('Browsersync server started'); +}); + + + +/*--------------------------------------------- +* Cleanup +*---------------------------------------------*/ +/* Clean all dest files */ +function clean_dist() { + return del(dist); +} + + + +/*--------------------------------------------- +* Gulp functions & tasks +*---------------------------------------------*/ +/* Define files to watch */ +function watch(cb) { + gulp.watch(paths.html.src, html_process); + gulp.watch(paths.css.src, css_process); + gulp.watch(paths.scss.src, scss_process); + gulp.watch(paths.js.src, js_process); + gulp.watch(paths.plugins.js.src, js_plugins_process); + gulp.watch(paths.copy.src, copy_files); + cb(); +} + +/* Internal tasks */ +var init = gulp.series( + clean_dist, + css_process, + scss_process, + js_process, + js_plugins_process, + html_process, + copy_files + ); + + + +/* Exposed tasks */ +gulp.task('dev', + gulp.series( + init, + gulp.parallel( + watch, + 'browsersync' + ) + ) +); + +/* Exposed tasks */ +gulp.task('build', + gulp.series( + init + ) +); + +gulp.task('clean', clean_dist); diff --git a/images/.DS_Store b/images/.DS_Store deleted file mode 100644 index f5e62d35..00000000 Binary files a/images/.DS_Store and /dev/null differ diff --git a/images/bvu.jpg b/images/bvu.jpg deleted file mode 100644 index f3930190..00000000 Binary files a/images/bvu.jpg and /dev/null differ diff --git a/images/bvu.png b/images/bvu.png deleted file mode 100644 index f3930190..00000000 Binary files a/images/bvu.png and /dev/null differ diff --git a/images/loading.gif b/images/loading.gif deleted file mode 100644 index 9f77b41a..00000000 Binary files a/images/loading.gif and /dev/null differ diff --git a/images/logo.bmp b/images/logo.bmp deleted file mode 100644 index b9508f44..00000000 Binary files a/images/logo.bmp and /dev/null differ diff --git a/images/logo.png b/images/logo.png deleted file mode 100644 index dfbb8092..00000000 Binary files a/images/logo.png and /dev/null differ diff --git a/images/match_learn_launch.jpg b/images/match_learn_launch.jpg deleted file mode 100644 index 32722fdf..00000000 Binary files a/images/match_learn_launch.jpg and /dev/null differ diff --git a/images/midwest_management.jpg b/images/midwest_management.jpg deleted file mode 100644 index c5753ff2..00000000 Binary files a/images/midwest_management.jpg and /dev/null differ diff --git a/images/pic01.jpg b/images/pic01.jpg deleted file mode 100644 index b7bcf549..00000000 Binary files a/images/pic01.jpg and /dev/null differ diff --git a/images/posts/.DS_Store b/images/posts/.DS_Store deleted file mode 100644 index df53ea90..00000000 Binary files a/images/posts/.DS_Store and /dev/null differ diff --git a/images/posts/compsci-trio-wide.jpg b/images/posts/compsci-trio-wide.jpg deleted file mode 100644 index 2db0478c..00000000 Binary files a/images/posts/compsci-trio-wide.jpg and /dev/null differ diff --git a/images/posts/covidfear.png b/images/posts/covidfear.png deleted file mode 100644 index bfb5c2b9..00000000 Binary files a/images/posts/covidfear.png and /dev/null differ diff --git a/images/posts/ilc+bvu.jpg b/images/posts/ilc+bvu.jpg deleted file mode 100644 index e8897f30..00000000 Binary files a/images/posts/ilc+bvu.jpg and /dev/null differ diff --git a/images/posts/match_learn_launch.jpg b/images/posts/match_learn_launch.jpg deleted file mode 100644 index 32722fdf..00000000 Binary files a/images/posts/match_learn_launch.jpg and /dev/null differ diff --git a/images/posts/mobile-app-article.jpg b/images/posts/mobile-app-article.jpg deleted file mode 100644 index 2db0478c..00000000 Binary files a/images/posts/mobile-app-article.jpg and /dev/null differ diff --git a/images/posts/test-image.jpeg b/images/posts/test-image.jpeg deleted file mode 100644 index a3186ae7..00000000 Binary files a/images/posts/test-image.jpeg and /dev/null differ diff --git a/images/ranch_baby.jpg b/images/ranch_baby.jpg deleted file mode 100644 index 1271109f..00000000 Binary files a/images/ranch_baby.jpg and /dev/null differ diff --git a/images/team/.DS_Store b/images/team/.DS_Store deleted file mode 100644 index 9fa1a6bf..00000000 Binary files a/images/team/.DS_Store and /dev/null differ diff --git a/images/team/Bazyl.JPG b/images/team/Bazyl.JPG deleted file mode 100644 index c15d65cb..00000000 Binary files a/images/team/Bazyl.JPG and /dev/null differ diff --git a/images/team/p1.jpg b/images/team/p1.jpg deleted file mode 100644 index 1a31ffdb..00000000 Binary files a/images/team/p1.jpg and /dev/null differ diff --git a/images/team/p2.jpg b/images/team/p2.jpg deleted file mode 100644 index 1a31ffdb..00000000 Binary files a/images/team/p2.jpg and /dev/null differ diff --git a/images/team/p3.jpg b/images/team/p3.jpg deleted file mode 100644 index 260c0fd2..00000000 Binary files a/images/team/p3.jpg and /dev/null differ diff --git a/index.html b/index.html deleted file mode 100644 index e820f746..00000000 --- a/index.html +++ /dev/null @@ -1,257 +0,0 @@ ---- -layout: default ---- - - - -{% for post in site.posts limit:3 %} - -{% endfor %} - - -
- Loading... -
- -
- - - - - -
-
-
-

Levity

-

More than code.

-
-

We are dedicated to empowering companies like you to be equipped with leading technologies. From upgrading existing projects - to disrupting a market with a new idea, Levity is ready for any task. Creating brilliant and cunning user experiences capable of overcoming - operational obstacles through digital innovations. -

- Learn More -
-
- - -
-
-

Solutions

-

When it comes down to it, Levity solves our clients' most challenging problems. With a team of broad talent, we bring digital innovation with us wherever we go.

-
    -
  • Development
  • -
  • Mobile Apps
  • - -
  • VR/AR
  • -
  • Design
  • -
  • Strategy
  • -
- Get your Solution -
-
- - - - - -
-
-

News

-

Our success and culture is all you will need to be on board with our amazing team.

-
- {% for post in site.posts limit:3 %} - - {% endfor %} - All Posts -
-
-
- - -
-
-
-
-

Our Team

-
-
-
-
- p1 -
Bazyl Horsey
-

CEO

-
-
-
-
- p2 -
Michael Martin
-

CTO

-
-
-
-
- p3 -
Cole Goslar
-

CMO

-
-
-
-
- p4 -
Alyssa Ertz
-

Graphic Designer

-
-
-
-
- p4 -
Justin Rubek
-

Software Engineer

-
-
-
-
-
-
-
- - -
-
-

Our Clients

-
-
-
-
-
-
-
-
-
-
- -
-
-

Contact Us

-
-
-
-
-
-
-
-
-
    -
  • -
-
-
-
-
-
- - - - diff --git a/node_modules/@types/node/LICENSE b/node_modules/@types/node/LICENSE deleted file mode 100644 index 9e841e7a..00000000 --- a/node_modules/@types/node/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ - MIT License - - Copyright (c) Microsoft Corporation. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE diff --git a/node_modules/@types/node/README.md b/node_modules/@types/node/README.md deleted file mode 100644 index f718401a..00000000 --- a/node_modules/@types/node/README.md +++ /dev/null @@ -1,16 +0,0 @@ -# Installation -> `npm install --save @types/node` - -# Summary -This package contains type definitions for Node.js (http://nodejs.org/). - -# Details -Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node. - -### Additional Details - * Last updated: Wed, 25 Nov 2020 06:26:11 GMT - * Dependencies: none - * Global values: `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout` - -# Credits -These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alexander T.](https://github.com/a-tarasyuk), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Bruno Scheufler](https://github.com/brunoscheufler), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Flarna](https://github.com/Flarna), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Hoàng Văn Khải](https://github.com/KSXGitHub), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Jordi Oliveras Rovira](https://github.com/j-oliveras), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Minh Son Nguyen](https://github.com/nguymin4), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Surasak Chaisurin](https://github.com/Ryan-Willpower), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Jason Kwok](https://github.com/JasonHK), and [Victor Perin](https://github.com/victorperin). diff --git a/node_modules/@types/node/assert.d.ts b/node_modules/@types/node/assert.d.ts deleted file mode 100644 index b0e1fa12..00000000 --- a/node_modules/@types/node/assert.d.ts +++ /dev/null @@ -1,124 +0,0 @@ -declare module 'assert' { - /** An alias of `assert.ok()`. */ - function assert(value: any, message?: string | Error): asserts value; - namespace assert { - class AssertionError implements Error { - name: string; - message: string; - actual: any; - expected: any; - operator: string; - generatedMessage: boolean; - code: 'ERR_ASSERTION'; - - constructor(options?: { - /** If provided, the error message is set to this value. */ - message?: string; - /** The `actual` property on the error instance. */ - actual?: any; - /** The `expected` property on the error instance. */ - expected?: any; - /** The `operator` property on the error instance. */ - operator?: string; - /** If provided, the generated stack trace omits frames before this function. */ - stackStartFn?: Function; - }); - } - - class CallTracker { - calls(exact?: number): () => void; - calls any>(fn?: Func, exact?: number): Func; - report(): CallTrackerReportInformation[]; - verify(): void; - } - interface CallTrackerReportInformation { - message: string; - /** The actual number of times the function was called. */ - actual: number; - /** The number of times the function was expected to be called. */ - expected: number; - /** The name of the function that is wrapped. */ - operator: string; - /** A stack trace of the function. */ - stack: object; - } - - type AssertPredicate = RegExp | (new () => object) | ((thrown: any) => boolean) | object | Error; - - function fail(message?: string | Error): never; - /** @deprecated since v10.0.0 - use fail([message]) or other assert functions instead. */ - function fail( - actual: any, - expected: any, - message?: string | Error, - operator?: string, - stackStartFn?: Function, - ): never; - function ok(value: any, message?: string | Error): asserts value; - /** @deprecated since v9.9.0 - use strictEqual() instead. */ - function equal(actual: any, expected: any, message?: string | Error): void; - /** @deprecated since v9.9.0 - use notStrictEqual() instead. */ - function notEqual(actual: any, expected: any, message?: string | Error): void; - /** @deprecated since v9.9.0 - use deepStrictEqual() instead. */ - function deepEqual(actual: any, expected: any, message?: string | Error): void; - /** @deprecated since v9.9.0 - use notDeepStrictEqual() instead. */ - function notDeepEqual(actual: any, expected: any, message?: string | Error): void; - function strictEqual(actual: any, expected: T, message?: string | Error): asserts actual is T; - function notStrictEqual(actual: any, expected: any, message?: string | Error): void; - function deepStrictEqual(actual: any, expected: T, message?: string | Error): asserts actual is T; - function notDeepStrictEqual(actual: any, expected: any, message?: string | Error): void; - - function throws(block: () => any, message?: string | Error): void; - function throws(block: () => any, error: AssertPredicate, message?: string | Error): void; - function doesNotThrow(block: () => any, message?: string | Error): void; - function doesNotThrow(block: () => any, error: RegExp | Function, message?: string | Error): void; - - function ifError(value: any): asserts value is null | undefined; - - function rejects(block: (() => Promise) | Promise, message?: string | Error): Promise; - function rejects( - block: (() => Promise) | Promise, - error: AssertPredicate, - message?: string | Error, - ): Promise; - function doesNotReject(block: (() => Promise) | Promise, message?: string | Error): Promise; - function doesNotReject( - block: (() => Promise) | Promise, - error: RegExp | Function, - message?: string | Error, - ): Promise; - - function match(value: string, regExp: RegExp, message?: string | Error): void; - function doesNotMatch(value: string, regExp: RegExp, message?: string | Error): void; - - const strict: Omit< - typeof assert, - | 'equal' - | 'notEqual' - | 'deepEqual' - | 'notDeepEqual' - | 'ok' - | 'strictEqual' - | 'deepStrictEqual' - | 'ifError' - | 'strict' - > & { - (value: any, message?: string | Error): asserts value; - equal: typeof strictEqual; - notEqual: typeof notStrictEqual; - deepEqual: typeof deepStrictEqual; - notDeepEqual: typeof notDeepStrictEqual; - - // Mapped types and assertion functions are incompatible? - // TS2775: Assertions require every name in the call target - // to be declared with an explicit type annotation. - ok: typeof ok; - strictEqual: typeof strictEqual; - deepStrictEqual: typeof deepStrictEqual; - ifError: typeof ifError; - strict: typeof strict; - }; - } - - export = assert; -} diff --git a/node_modules/@types/node/async_hooks.d.ts b/node_modules/@types/node/async_hooks.d.ts deleted file mode 100644 index ab35e5db..00000000 --- a/node_modules/@types/node/async_hooks.d.ts +++ /dev/null @@ -1,226 +0,0 @@ -/** - * Async Hooks module: https://nodejs.org/api/async_hooks.html - */ -declare module "async_hooks" { - /** - * Returns the asyncId of the current execution context. - */ - function executionAsyncId(): number; - - /** - * The resource representing the current execution. - * Useful to store data within the resource. - * - * Resource objects returned by `executionAsyncResource()` are most often internal - * Node.js handle objects with undocumented APIs. Using any functions or properties - * on the object is likely to crash your application and should be avoided. - * - * Using `executionAsyncResource()` in the top-level execution context will - * return an empty object as there is no handle or request object to use, - * but having an object representing the top-level can be helpful. - */ - function executionAsyncResource(): object; - - /** - * Returns the ID of the resource responsible for calling the callback that is currently being executed. - */ - function triggerAsyncId(): number; - - interface HookCallbacks { - /** - * Called when a class is constructed that has the possibility to emit an asynchronous event. - * @param asyncId a unique ID for the async resource - * @param type the type of the async resource - * @param triggerAsyncId the unique ID of the async resource in whose execution context this async resource was created - * @param resource reference to the resource representing the async operation, needs to be released during destroy - */ - init?(asyncId: number, type: string, triggerAsyncId: number, resource: object): void; - - /** - * When an asynchronous operation is initiated or completes a callback is called to notify the user. - * The before callback is called just before said callback is executed. - * @param asyncId the unique identifier assigned to the resource about to execute the callback. - */ - before?(asyncId: number): void; - - /** - * Called immediately after the callback specified in before is completed. - * @param asyncId the unique identifier assigned to the resource which has executed the callback. - */ - after?(asyncId: number): void; - - /** - * Called when a promise has resolve() called. This may not be in the same execution id - * as the promise itself. - * @param asyncId the unique id for the promise that was resolve()d. - */ - promiseResolve?(asyncId: number): void; - - /** - * Called after the resource corresponding to asyncId is destroyed - * @param asyncId a unique ID for the async resource - */ - destroy?(asyncId: number): void; - } - - interface AsyncHook { - /** - * Enable the callbacks for a given AsyncHook instance. If no callbacks are provided enabling is a noop. - */ - enable(): this; - - /** - * Disable the callbacks for a given AsyncHook instance from the global pool of AsyncHook callbacks to be executed. Once a hook has been disabled it will not be called again until enabled. - */ - disable(): this; - } - - /** - * Registers functions to be called for different lifetime events of each async operation. - * @param options the callbacks to register - * @return an AsyncHooks instance used for disabling and enabling hooks - */ - function createHook(options: HookCallbacks): AsyncHook; - - interface AsyncResourceOptions { - /** - * The ID of the execution context that created this async event. - * Default: `executionAsyncId()` - */ - triggerAsyncId?: number; - - /** - * Disables automatic `emitDestroy` when the object is garbage collected. - * This usually does not need to be set (even if `emitDestroy` is called - * manually), unless the resource's `asyncId` is retrieved and the - * sensitive API's `emitDestroy` is called with it. - * Default: `false` - */ - requireManualDestroy?: boolean; - } - - /** - * The class AsyncResource was designed to be extended by the embedder's async resources. - * Using this users can easily trigger the lifetime events of their own resources. - */ - class AsyncResource { - /** - * AsyncResource() is meant to be extended. Instantiating a - * new AsyncResource() also triggers init. If triggerAsyncId is omitted then - * async_hook.executionAsyncId() is used. - * @param type The type of async event. - * @param triggerAsyncId The ID of the execution context that created - * this async event (default: `executionAsyncId()`), or an - * AsyncResourceOptions object (since 9.3) - */ - constructor(type: string, triggerAsyncId?: number|AsyncResourceOptions); - - /** - * Binds the given function to the current execution context. - * @param fn The function to bind to the current execution context. - * @param type An optional name to associate with the underlying `AsyncResource`. - */ - static bind any>(fn: Func, type?: string): Func & { asyncResource: AsyncResource }; - - /** - * Binds the given function to execute to this `AsyncResource`'s scope. - * @param fn The function to bind to the current `AsyncResource`. - */ - bind any>(fn: Func): Func & { asyncResource: AsyncResource }; - - /** - * Call the provided function with the provided arguments in the - * execution context of the async resource. This will establish the - * context, trigger the AsyncHooks before callbacks, call the function, - * trigger the AsyncHooks after callbacks, and then restore the original - * execution context. - * @param fn The function to call in the execution context of this - * async resource. - * @param thisArg The receiver to be used for the function call. - * @param args Optional arguments to pass to the function. - */ - runInAsyncScope(fn: (this: This, ...args: any[]) => Result, thisArg?: This, ...args: any[]): Result; - - /** - * Call AsyncHooks destroy callbacks. - */ - emitDestroy(): void; - - /** - * @return the unique ID assigned to this AsyncResource instance. - */ - asyncId(): number; - - /** - * @return the trigger ID for this AsyncResource instance. - */ - triggerAsyncId(): number; - } - - /** - * When having multiple instances of `AsyncLocalStorage`, they are independent - * from each other. It is safe to instantiate this class multiple times. - */ - class AsyncLocalStorage { - /** - * This method disables the instance of `AsyncLocalStorage`. All subsequent calls - * to `asyncLocalStorage.getStore()` will return `undefined` until - * `asyncLocalStorage.run()` is called again. - * - * When calling `asyncLocalStorage.disable()`, all current contexts linked to the - * instance will be exited. - * - * Calling `asyncLocalStorage.disable()` is required before the - * `asyncLocalStorage` can be garbage collected. This does not apply to stores - * provided by the `asyncLocalStorage`, as those objects are garbage collected - * along with the corresponding async resources. - * - * This method is to be used when the `asyncLocalStorage` is not in use anymore - * in the current process. - */ - disable(): void; - - /** - * This method returns the current store. If this method is called outside of an - * asynchronous context initialized by calling `asyncLocalStorage.run`, it will - * return `undefined`. - */ - getStore(): T | undefined; - - /** - * This methods runs a function synchronously within a context and return its - * return value. The store is not accessible outside of the callback function or - * the asynchronous operations created within the callback. - * - * Optionally, arguments can be passed to the function. They will be passed to the - * callback function. - * - * I the callback function throws an error, it will be thrown by `run` too. The - * stacktrace will not be impacted by this call and the context will be exited. - */ - // TODO: Apply generic vararg once available - run(store: T, callback: (...args: any[]) => R, ...args: any[]): R; - - /** - * This methods runs a function synchronously outside of a context and return its - * return value. The store is not accessible within the callback function or the - * asynchronous operations created within the callback. - * - * Optionally, arguments can be passed to the function. They will be passed to the - * callback function. - * - * If the callback function throws an error, it will be thrown by `exit` too. The - * stacktrace will not be impacted by this call and the context will be - * re-entered. - */ - // TODO: Apply generic vararg once available - exit(callback: (...args: any[]) => R, ...args: any[]): R; - - /** - * Calling `asyncLocalStorage.enterWith(store)` will transition into the context - * for the remainder of the current synchronous execution and will persist - * through any following asynchronous calls. - */ - enterWith(store: T): void; - } -} diff --git a/node_modules/@types/node/base.d.ts b/node_modules/@types/node/base.d.ts deleted file mode 100644 index fa671790..00000000 --- a/node_modules/@types/node/base.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -// NOTE: These definitions support NodeJS and TypeScript 3.7. - -// NOTE: TypeScript version-specific augmentations can be found in the following paths: -// - ~/base.d.ts - Shared definitions common to all TypeScript versions -// - ~/index.d.ts - Definitions specific to TypeScript 2.1 -// - ~/ts3.7/base.d.ts - Definitions specific to TypeScript 3.7 -// - ~/ts3.7/index.d.ts - Definitions specific to TypeScript 3.7 with assert pulled in - -// Reference required types from the default lib: -/// -/// -/// -/// - -// Base definitions for all NodeJS modules that are not specific to any version of TypeScript: -/// - -// TypeScript 3.7-specific augmentations: -/// diff --git a/node_modules/@types/node/buffer.d.ts b/node_modules/@types/node/buffer.d.ts deleted file mode 100644 index 76c92cf8..00000000 --- a/node_modules/@types/node/buffer.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -declare module "buffer" { - export const INSPECT_MAX_BYTES: number; - export const kMaxLength: number; - export const kStringMaxLength: number; - export const constants: { - MAX_LENGTH: number; - MAX_STRING_LENGTH: number; - }; - const BuffType: typeof Buffer; - - export type TranscodeEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "latin1" | "binary"; - - export function transcode(source: Uint8Array, fromEnc: TranscodeEncoding, toEnc: TranscodeEncoding): Buffer; - - export const SlowBuffer: { - /** @deprecated since v6.0.0, use `Buffer.allocUnsafeSlow()` */ - new(size: number): Buffer; - prototype: Buffer; - }; - - export { BuffType as Buffer }; -} diff --git a/node_modules/@types/node/child_process.d.ts b/node_modules/@types/node/child_process.d.ts deleted file mode 100644 index b53e91e7..00000000 --- a/node_modules/@types/node/child_process.d.ts +++ /dev/null @@ -1,509 +0,0 @@ -declare module "child_process" { - import { BaseEncodingOptions } from 'fs'; - import * as events from "events"; - import * as net from "net"; - import { Writable, Readable, Stream, Pipe } from "stream"; - - type Serializable = string | object | number | boolean; - type SendHandle = net.Socket | net.Server; - - interface ChildProcess extends events.EventEmitter { - stdin: Writable | null; - stdout: Readable | null; - stderr: Readable | null; - readonly channel?: Pipe | null; - readonly stdio: [ - Writable | null, // stdin - Readable | null, // stdout - Readable | null, // stderr - Readable | Writable | null | undefined, // extra - Readable | Writable | null | undefined // extra - ]; - readonly killed: boolean; - readonly pid: number; - readonly connected: boolean; - readonly exitCode: number | null; - readonly signalCode: NodeJS.Signals | null; - readonly spawnargs: string[]; - readonly spawnfile: string; - kill(signal?: NodeJS.Signals | number): boolean; - send(message: Serializable, callback?: (error: Error | null) => void): boolean; - send(message: Serializable, sendHandle?: SendHandle, callback?: (error: Error | null) => void): boolean; - send(message: Serializable, sendHandle?: SendHandle, options?: MessageOptions, callback?: (error: Error | null) => void): boolean; - disconnect(): void; - unref(): void; - ref(): void; - - /** - * events.EventEmitter - * 1. close - * 2. disconnect - * 3. error - * 4. exit - * 5. message - */ - - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "close", listener: (code: number, signal: NodeJS.Signals) => void): this; - addListener(event: "disconnect", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; - addListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; - - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "close", code: number, signal: NodeJS.Signals): boolean; - emit(event: "disconnect"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "exit", code: number | null, signal: NodeJS.Signals | null): boolean; - emit(event: "message", message: Serializable, sendHandle: SendHandle): boolean; - - on(event: string, listener: (...args: any[]) => void): this; - on(event: "close", listener: (code: number, signal: NodeJS.Signals) => void): this; - on(event: "disconnect", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; - on(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; - - once(event: string, listener: (...args: any[]) => void): this; - once(event: "close", listener: (code: number, signal: NodeJS.Signals) => void): this; - once(event: "disconnect", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; - once(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; - - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: (code: number, signal: NodeJS.Signals) => void): this; - prependListener(event: "disconnect", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; - prependListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; - - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: (code: number, signal: NodeJS.Signals) => void): this; - prependOnceListener(event: "disconnect", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "exit", listener: (code: number | null, signal: NodeJS.Signals | null) => void): this; - prependOnceListener(event: "message", listener: (message: Serializable, sendHandle: SendHandle) => void): this; - } - - // return this object when stdio option is undefined or not specified - interface ChildProcessWithoutNullStreams extends ChildProcess { - stdin: Writable; - stdout: Readable; - stderr: Readable; - readonly stdio: [ - Writable, // stdin - Readable, // stdout - Readable, // stderr - Readable | Writable | null | undefined, // extra, no modification - Readable | Writable | null | undefined // extra, no modification - ]; - } - - // return this object when stdio option is a tuple of 3 - interface ChildProcessByStdio< - I extends null | Writable, - O extends null | Readable, - E extends null | Readable, - > extends ChildProcess { - stdin: I; - stdout: O; - stderr: E; - readonly stdio: [ - I, - O, - E, - Readable | Writable | null | undefined, // extra, no modification - Readable | Writable | null | undefined // extra, no modification - ]; - } - - interface MessageOptions { - keepOpen?: boolean; - } - - type StdioOptions = "pipe" | "ignore" | "inherit" | Array<("pipe" | "ipc" | "ignore" | "inherit" | Stream | number | null | undefined)>; - - type SerializationType = 'json' | 'advanced'; - - interface MessagingOptions { - /** - * Specify the kind of serialization used for sending messages between processes. - * @default 'json' - */ - serialization?: SerializationType; - } - - interface ProcessEnvOptions { - uid?: number; - gid?: number; - cwd?: string; - env?: NodeJS.ProcessEnv; - } - - interface CommonOptions extends ProcessEnvOptions { - /** - * @default true - */ - windowsHide?: boolean; - /** - * @default 0 - */ - timeout?: number; - } - - interface CommonSpawnOptions extends CommonOptions, MessagingOptions { - argv0?: string; - stdio?: StdioOptions; - shell?: boolean | string; - windowsVerbatimArguments?: boolean; - } - - interface SpawnOptions extends CommonSpawnOptions { - detached?: boolean; - } - - interface SpawnOptionsWithoutStdio extends SpawnOptions { - stdio?: 'pipe' | Array; - } - - type StdioNull = 'inherit' | 'ignore' | Stream; - type StdioPipe = undefined | null | 'pipe'; - - interface SpawnOptionsWithStdioTuple< - Stdin extends StdioNull | StdioPipe, - Stdout extends StdioNull | StdioPipe, - Stderr extends StdioNull | StdioPipe, - > extends SpawnOptions { - stdio: [Stdin, Stdout, Stderr]; - } - - // overloads of spawn without 'args' - function spawn(command: string, options?: SpawnOptionsWithoutStdio): ChildProcessWithoutNullStreams; - - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - - function spawn(command: string, options: SpawnOptions): ChildProcess; - - // overloads of spawn with 'args' - function spawn(command: string, args?: ReadonlyArray, options?: SpawnOptionsWithoutStdio): ChildProcessWithoutNullStreams; - - function spawn( - command: string, - args: ReadonlyArray, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: ReadonlyArray, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: ReadonlyArray, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: ReadonlyArray, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: ReadonlyArray, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: ReadonlyArray, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: ReadonlyArray, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - function spawn( - command: string, - args: ReadonlyArray, - options: SpawnOptionsWithStdioTuple, - ): ChildProcessByStdio; - - function spawn(command: string, args: ReadonlyArray, options: SpawnOptions): ChildProcess; - - interface ExecOptions extends CommonOptions { - shell?: string; - maxBuffer?: number; - killSignal?: NodeJS.Signals | number; - } - - interface ExecOptionsWithStringEncoding extends ExecOptions { - encoding: BufferEncoding; - } - - interface ExecOptionsWithBufferEncoding extends ExecOptions { - encoding: BufferEncoding | null; // specify `null`. - } - - interface ExecException extends Error { - cmd?: string; - killed?: boolean; - code?: number; - signal?: NodeJS.Signals; - } - - // no `options` definitely means stdout/stderr are `string`. - function exec(command: string, callback?: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess; - - // `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`. - function exec(command: string, options: { encoding: "buffer" | null } & ExecOptions, callback?: (error: ExecException | null, stdout: Buffer, stderr: Buffer) => void): ChildProcess; - - // `options` with well known `encoding` means stdout/stderr are definitely `string`. - function exec(command: string, options: { encoding: BufferEncoding } & ExecOptions, callback?: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess; - - // `options` with an `encoding` whose type is `string` means stdout/stderr could either be `Buffer` or `string`. - // There is no guarantee the `encoding` is unknown as `string` is a superset of `BufferEncoding`. - function exec( - command: string, - options: { encoding: BufferEncoding } & ExecOptions, - callback?: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void, - ): ChildProcess; - - // `options` without an `encoding` means stdout/stderr are definitely `string`. - function exec(command: string, options: ExecOptions, callback?: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess; - - // fallback if nothing else matches. Worst case is always `string | Buffer`. - function exec( - command: string, - options: (BaseEncodingOptions & ExecOptions) | undefined | null, - callback?: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void, - ): ChildProcess; - - interface PromiseWithChild extends Promise { - child: ChildProcess; - } - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - namespace exec { - function __promisify__(command: string): PromiseWithChild<{ stdout: string, stderr: string }>; - function __promisify__(command: string, options: { encoding: "buffer" | null } & ExecOptions): PromiseWithChild<{ stdout: Buffer, stderr: Buffer }>; - function __promisify__(command: string, options: { encoding: BufferEncoding } & ExecOptions): PromiseWithChild<{ stdout: string, stderr: string }>; - function __promisify__(command: string, options: ExecOptions): PromiseWithChild<{ stdout: string, stderr: string }>; - function __promisify__(command: string, options?: (BaseEncodingOptions & ExecOptions) | null): PromiseWithChild<{ stdout: string | Buffer, stderr: string | Buffer }>; - } - - interface ExecFileOptions extends CommonOptions { - maxBuffer?: number; - killSignal?: NodeJS.Signals | number; - windowsVerbatimArguments?: boolean; - shell?: boolean | string; - } - interface ExecFileOptionsWithStringEncoding extends ExecFileOptions { - encoding: BufferEncoding; - } - interface ExecFileOptionsWithBufferEncoding extends ExecFileOptions { - encoding: 'buffer' | null; - } - interface ExecFileOptionsWithOtherEncoding extends ExecFileOptions { - encoding: BufferEncoding; - } - - function execFile(file: string): ChildProcess; - function execFile(file: string, options: (BaseEncodingOptions & ExecFileOptions) | undefined | null): ChildProcess; - function execFile(file: string, args?: ReadonlyArray | null): ChildProcess; - function execFile(file: string, args: ReadonlyArray | undefined | null, options: (BaseEncodingOptions & ExecFileOptions) | undefined | null): ChildProcess; - - // no `options` definitely means stdout/stderr are `string`. - function execFile(file: string, callback: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess; - function execFile(file: string, args: ReadonlyArray | undefined | null, callback: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess; - - // `options` with `"buffer"` or `null` for `encoding` means stdout/stderr are definitely `Buffer`. - function execFile(file: string, options: ExecFileOptionsWithBufferEncoding, callback: (error: ExecException | null, stdout: Buffer, stderr: Buffer) => void): ChildProcess; - function execFile( - file: string, - args: ReadonlyArray | undefined | null, - options: ExecFileOptionsWithBufferEncoding, - callback: (error: ExecException | null, stdout: Buffer, stderr: Buffer) => void, - ): ChildProcess; - - // `options` with well known `encoding` means stdout/stderr are definitely `string`. - function execFile(file: string, options: ExecFileOptionsWithStringEncoding, callback: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess; - function execFile( - file: string, - args: ReadonlyArray | undefined | null, - options: ExecFileOptionsWithStringEncoding, - callback: (error: ExecException | null, stdout: string, stderr: string) => void, - ): ChildProcess; - - // `options` with an `encoding` whose type is `string` means stdout/stderr could either be `Buffer` or `string`. - // There is no guarantee the `encoding` is unknown as `string` is a superset of `BufferEncoding`. - function execFile( - file: string, - options: ExecFileOptionsWithOtherEncoding, - callback: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void, - ): ChildProcess; - function execFile( - file: string, - args: ReadonlyArray | undefined | null, - options: ExecFileOptionsWithOtherEncoding, - callback: (error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void, - ): ChildProcess; - - // `options` without an `encoding` means stdout/stderr are definitely `string`. - function execFile(file: string, options: ExecFileOptions, callback: (error: ExecException | null, stdout: string, stderr: string) => void): ChildProcess; - function execFile( - file: string, - args: ReadonlyArray | undefined | null, - options: ExecFileOptions, - callback: (error: ExecException | null, stdout: string, stderr: string) => void - ): ChildProcess; - - // fallback if nothing else matches. Worst case is always `string | Buffer`. - function execFile( - file: string, - options: (BaseEncodingOptions & ExecFileOptions) | undefined | null, - callback: ((error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void) | undefined | null, - ): ChildProcess; - function execFile( - file: string, - args: ReadonlyArray | undefined | null, - options: (BaseEncodingOptions & ExecFileOptions) | undefined | null, - callback: ((error: ExecException | null, stdout: string | Buffer, stderr: string | Buffer) => void) | undefined | null, - ): ChildProcess; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - namespace execFile { - function __promisify__(file: string): PromiseWithChild<{ stdout: string, stderr: string }>; - function __promisify__(file: string, args: ReadonlyArray | undefined | null): PromiseWithChild<{ stdout: string, stderr: string }>; - function __promisify__(file: string, options: ExecFileOptionsWithBufferEncoding): PromiseWithChild<{ stdout: Buffer, stderr: Buffer }>; - function __promisify__(file: string, args: ReadonlyArray | undefined | null, options: ExecFileOptionsWithBufferEncoding): PromiseWithChild<{ stdout: Buffer, stderr: Buffer }>; - function __promisify__(file: string, options: ExecFileOptionsWithStringEncoding): PromiseWithChild<{ stdout: string, stderr: string }>; - function __promisify__(file: string, args: ReadonlyArray | undefined | null, options: ExecFileOptionsWithStringEncoding): PromiseWithChild<{ stdout: string, stderr: string }>; - function __promisify__(file: string, options: ExecFileOptionsWithOtherEncoding): PromiseWithChild<{ stdout: string | Buffer, stderr: string | Buffer }>; - function __promisify__( - file: string, - args: ReadonlyArray | undefined | null, - options: ExecFileOptionsWithOtherEncoding, - ): PromiseWithChild<{ stdout: string | Buffer, stderr: string | Buffer }>; - function __promisify__(file: string, options: ExecFileOptions): PromiseWithChild<{ stdout: string, stderr: string }>; - function __promisify__(file: string, args: ReadonlyArray | undefined | null, options: ExecFileOptions): PromiseWithChild<{ stdout: string, stderr: string }>; - function __promisify__(file: string, options: (BaseEncodingOptions & ExecFileOptions) | undefined | null): PromiseWithChild<{ stdout: string | Buffer, stderr: string | Buffer }>; - function __promisify__( - file: string, - args: ReadonlyArray | undefined | null, - options: (BaseEncodingOptions & ExecFileOptions) | undefined | null, - ): PromiseWithChild<{ stdout: string | Buffer, stderr: string | Buffer }>; - } - - interface ForkOptions extends ProcessEnvOptions, MessagingOptions { - execPath?: string; - execArgv?: string[]; - silent?: boolean; - stdio?: StdioOptions; - detached?: boolean; - windowsVerbatimArguments?: boolean; - } - function fork(modulePath: string, options?: ForkOptions): ChildProcess; - function fork(modulePath: string, args?: ReadonlyArray, options?: ForkOptions): ChildProcess; - - interface SpawnSyncOptions extends CommonSpawnOptions { - input?: string | NodeJS.ArrayBufferView; - killSignal?: NodeJS.Signals | number; - maxBuffer?: number; - encoding?: BufferEncoding | 'buffer' | null; - } - interface SpawnSyncOptionsWithStringEncoding extends SpawnSyncOptions { - encoding: BufferEncoding; - } - interface SpawnSyncOptionsWithBufferEncoding extends SpawnSyncOptions { - encoding?: 'buffer' | null; - } - interface SpawnSyncReturns { - pid: number; - output: string[]; - stdout: T; - stderr: T; - status: number | null; - signal: NodeJS.Signals | null; - error?: Error; - } - function spawnSync(command: string): SpawnSyncReturns; - function spawnSync(command: string, options?: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns; - function spawnSync(command: string, options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns; - function spawnSync(command: string, options?: SpawnSyncOptions): SpawnSyncReturns; - function spawnSync(command: string, args?: ReadonlyArray, options?: SpawnSyncOptionsWithStringEncoding): SpawnSyncReturns; - function spawnSync(command: string, args?: ReadonlyArray, options?: SpawnSyncOptionsWithBufferEncoding): SpawnSyncReturns; - function spawnSync(command: string, args?: ReadonlyArray, options?: SpawnSyncOptions): SpawnSyncReturns; - - interface ExecSyncOptions extends CommonOptions { - input?: string | Uint8Array; - stdio?: StdioOptions; - shell?: string; - killSignal?: NodeJS.Signals | number; - maxBuffer?: number; - encoding?: BufferEncoding | 'buffer' | null; - } - interface ExecSyncOptionsWithStringEncoding extends ExecSyncOptions { - encoding: BufferEncoding; - } - interface ExecSyncOptionsWithBufferEncoding extends ExecSyncOptions { - encoding?: 'buffer' | null; - } - function execSync(command: string): Buffer; - function execSync(command: string, options?: ExecSyncOptionsWithStringEncoding): string; - function execSync(command: string, options?: ExecSyncOptionsWithBufferEncoding): Buffer; - function execSync(command: string, options?: ExecSyncOptions): Buffer; - - interface ExecFileSyncOptions extends CommonOptions { - input?: string | NodeJS.ArrayBufferView; - stdio?: StdioOptions; - killSignal?: NodeJS.Signals | number; - maxBuffer?: number; - encoding?: BufferEncoding; - shell?: boolean | string; - } - interface ExecFileSyncOptionsWithStringEncoding extends ExecFileSyncOptions { - encoding: BufferEncoding; - } - interface ExecFileSyncOptionsWithBufferEncoding extends ExecFileSyncOptions { - encoding: BufferEncoding; // specify `null`. - } - function execFileSync(command: string): Buffer; - function execFileSync(command: string, options?: ExecFileSyncOptionsWithStringEncoding): string; - function execFileSync(command: string, options?: ExecFileSyncOptionsWithBufferEncoding): Buffer; - function execFileSync(command: string, options?: ExecFileSyncOptions): Buffer; - function execFileSync(command: string, args?: ReadonlyArray, options?: ExecFileSyncOptionsWithStringEncoding): string; - function execFileSync(command: string, args?: ReadonlyArray, options?: ExecFileSyncOptionsWithBufferEncoding): Buffer; - function execFileSync(command: string, args?: ReadonlyArray, options?: ExecFileSyncOptions): Buffer; -} diff --git a/node_modules/@types/node/cluster.d.ts b/node_modules/@types/node/cluster.d.ts deleted file mode 100644 index 0ef6c2a0..00000000 --- a/node_modules/@types/node/cluster.d.ts +++ /dev/null @@ -1,262 +0,0 @@ -declare module "cluster" { - import * as child from "child_process"; - import * as events from "events"; - import * as net from "net"; - - // interfaces - interface ClusterSettings { - execArgv?: string[]; // default: process.execArgv - exec?: string; - args?: string[]; - silent?: boolean; - stdio?: any[]; - uid?: number; - gid?: number; - inspectPort?: number | (() => number); - } - - interface Address { - address: string; - port: number; - addressType: number | "udp4" | "udp6"; // 4, 6, -1, "udp4", "udp6" - } - - class Worker extends events.EventEmitter { - id: number; - process: child.ChildProcess; - send(message: child.Serializable, sendHandle?: child.SendHandle, callback?: (error: Error | null) => void): boolean; - kill(signal?: string): void; - destroy(signal?: string): void; - disconnect(): void; - isConnected(): boolean; - isDead(): boolean; - exitedAfterDisconnect: boolean; - - /** - * events.EventEmitter - * 1. disconnect - * 2. error - * 3. exit - * 4. listening - * 5. message - * 6. online - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "disconnect", listener: () => void): this; - addListener(event: "error", listener: (error: Error) => void): this; - addListener(event: "exit", listener: (code: number, signal: string) => void): this; - addListener(event: "listening", listener: (address: Address) => void): this; - addListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - addListener(event: "online", listener: () => void): this; - - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "disconnect"): boolean; - emit(event: "error", error: Error): boolean; - emit(event: "exit", code: number, signal: string): boolean; - emit(event: "listening", address: Address): boolean; - emit(event: "message", message: any, handle: net.Socket | net.Server): boolean; - emit(event: "online"): boolean; - - on(event: string, listener: (...args: any[]) => void): this; - on(event: "disconnect", listener: () => void): this; - on(event: "error", listener: (error: Error) => void): this; - on(event: "exit", listener: (code: number, signal: string) => void): this; - on(event: "listening", listener: (address: Address) => void): this; - on(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - on(event: "online", listener: () => void): this; - - once(event: string, listener: (...args: any[]) => void): this; - once(event: "disconnect", listener: () => void): this; - once(event: "error", listener: (error: Error) => void): this; - once(event: "exit", listener: (code: number, signal: string) => void): this; - once(event: "listening", listener: (address: Address) => void): this; - once(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - once(event: "online", listener: () => void): this; - - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "disconnect", listener: () => void): this; - prependListener(event: "error", listener: (error: Error) => void): this; - prependListener(event: "exit", listener: (code: number, signal: string) => void): this; - prependListener(event: "listening", listener: (address: Address) => void): this; - prependListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - prependListener(event: "online", listener: () => void): this; - - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "disconnect", listener: () => void): this; - prependOnceListener(event: "error", listener: (error: Error) => void): this; - prependOnceListener(event: "exit", listener: (code: number, signal: string) => void): this; - prependOnceListener(event: "listening", listener: (address: Address) => void): this; - prependOnceListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - prependOnceListener(event: "online", listener: () => void): this; - } - - interface Cluster extends events.EventEmitter { - Worker: Worker; - disconnect(callback?: () => void): void; - fork(env?: any): Worker; - isMaster: boolean; - isWorker: boolean; - schedulingPolicy: number; - settings: ClusterSettings; - setupMaster(settings?: ClusterSettings): void; - worker?: Worker; - workers?: NodeJS.Dict; - - readonly SCHED_NONE: number; - readonly SCHED_RR: number; - - /** - * events.EventEmitter - * 1. disconnect - * 2. exit - * 3. fork - * 4. listening - * 5. message - * 6. online - * 7. setup - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "disconnect", listener: (worker: Worker) => void): this; - addListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; - addListener(event: "fork", listener: (worker: Worker) => void): this; - addListener(event: "listening", listener: (worker: Worker, address: Address) => void): this; - addListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - addListener(event: "online", listener: (worker: Worker) => void): this; - addListener(event: "setup", listener: (settings: ClusterSettings) => void): this; - - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "disconnect", worker: Worker): boolean; - emit(event: "exit", worker: Worker, code: number, signal: string): boolean; - emit(event: "fork", worker: Worker): boolean; - emit(event: "listening", worker: Worker, address: Address): boolean; - emit(event: "message", worker: Worker, message: any, handle: net.Socket | net.Server): boolean; - emit(event: "online", worker: Worker): boolean; - emit(event: "setup", settings: ClusterSettings): boolean; - - on(event: string, listener: (...args: any[]) => void): this; - on(event: "disconnect", listener: (worker: Worker) => void): this; - on(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; - on(event: "fork", listener: (worker: Worker) => void): this; - on(event: "listening", listener: (worker: Worker, address: Address) => void): this; - on(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - on(event: "online", listener: (worker: Worker) => void): this; - on(event: "setup", listener: (settings: ClusterSettings) => void): this; - - once(event: string, listener: (...args: any[]) => void): this; - once(event: "disconnect", listener: (worker: Worker) => void): this; - once(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; - once(event: "fork", listener: (worker: Worker) => void): this; - once(event: "listening", listener: (worker: Worker, address: Address) => void): this; - once(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - once(event: "online", listener: (worker: Worker) => void): this; - once(event: "setup", listener: (settings: ClusterSettings) => void): this; - - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "disconnect", listener: (worker: Worker) => void): this; - prependListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; - prependListener(event: "fork", listener: (worker: Worker) => void): this; - prependListener(event: "listening", listener: (worker: Worker, address: Address) => void): this; - prependListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined. - prependListener(event: "online", listener: (worker: Worker) => void): this; - prependListener(event: "setup", listener: (settings: ClusterSettings) => void): this; - - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "disconnect", listener: (worker: Worker) => void): this; - prependOnceListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this; - prependOnceListener(event: "fork", listener: (worker: Worker) => void): this; - prependOnceListener(event: "listening", listener: (worker: Worker, address: Address) => void): this; - // the handle is a net.Socket or net.Server object, or undefined. - prependOnceListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; - prependOnceListener(event: "online", listener: (worker: Worker) => void): this; - prependOnceListener(event: "setup", listener: (settings: ClusterSettings) => void): this; - } - - const SCHED_NONE: number; - const SCHED_RR: number; - - function disconnect(callback?: () => void): void; - function fork(env?: any): Worker; - const isMaster: boolean; - const isWorker: boolean; - let schedulingPolicy: number; - const settings: ClusterSettings; - function setupMaster(settings?: ClusterSettings): void; - const worker: Worker; - const workers: NodeJS.Dict; - - /** - * events.EventEmitter - * 1. disconnect - * 2. exit - * 3. fork - * 4. listening - * 5. message - * 6. online - * 7. setup - */ - function addListener(event: string, listener: (...args: any[]) => void): Cluster; - function addListener(event: "disconnect", listener: (worker: Worker) => void): Cluster; - function addListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster; - function addListener(event: "fork", listener: (worker: Worker) => void): Cluster; - function addListener(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster; - // the handle is a net.Socket or net.Server object, or undefined. - function addListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster; - function addListener(event: "online", listener: (worker: Worker) => void): Cluster; - function addListener(event: "setup", listener: (settings: ClusterSettings) => void): Cluster; - - function emit(event: string | symbol, ...args: any[]): boolean; - function emit(event: "disconnect", worker: Worker): boolean; - function emit(event: "exit", worker: Worker, code: number, signal: string): boolean; - function emit(event: "fork", worker: Worker): boolean; - function emit(event: "listening", worker: Worker, address: Address): boolean; - function emit(event: "message", worker: Worker, message: any, handle: net.Socket | net.Server): boolean; - function emit(event: "online", worker: Worker): boolean; - function emit(event: "setup", settings: ClusterSettings): boolean; - - function on(event: string, listener: (...args: any[]) => void): Cluster; - function on(event: "disconnect", listener: (worker: Worker) => void): Cluster; - function on(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster; - function on(event: "fork", listener: (worker: Worker) => void): Cluster; - function on(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster; - function on(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster; // the handle is a net.Socket or net.Server object, or undefined. - function on(event: "online", listener: (worker: Worker) => void): Cluster; - function on(event: "setup", listener: (settings: ClusterSettings) => void): Cluster; - - function once(event: string, listener: (...args: any[]) => void): Cluster; - function once(event: "disconnect", listener: (worker: Worker) => void): Cluster; - function once(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster; - function once(event: "fork", listener: (worker: Worker) => void): Cluster; - function once(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster; - function once(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster; // the handle is a net.Socket or net.Server object, or undefined. - function once(event: "online", listener: (worker: Worker) => void): Cluster; - function once(event: "setup", listener: (settings: ClusterSettings) => void): Cluster; - - function removeListener(event: string, listener: (...args: any[]) => void): Cluster; - function removeAllListeners(event?: string): Cluster; - function setMaxListeners(n: number): Cluster; - function getMaxListeners(): number; - function listeners(event: string): Function[]; - function listenerCount(type: string): number; - - function prependListener(event: string, listener: (...args: any[]) => void): Cluster; - function prependListener(event: "disconnect", listener: (worker: Worker) => void): Cluster; - function prependListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster; - function prependListener(event: "fork", listener: (worker: Worker) => void): Cluster; - function prependListener(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster; - // the handle is a net.Socket or net.Server object, or undefined. - function prependListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster; - function prependListener(event: "online", listener: (worker: Worker) => void): Cluster; - function prependListener(event: "setup", listener: (settings: ClusterSettings) => void): Cluster; - - function prependOnceListener(event: string, listener: (...args: any[]) => void): Cluster; - function prependOnceListener(event: "disconnect", listener: (worker: Worker) => void): Cluster; - function prependOnceListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster; - function prependOnceListener(event: "fork", listener: (worker: Worker) => void): Cluster; - function prependOnceListener(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster; - // the handle is a net.Socket or net.Server object, or undefined. - function prependOnceListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster; - function prependOnceListener(event: "online", listener: (worker: Worker) => void): Cluster; - function prependOnceListener(event: "setup", listener: (settings: ClusterSettings) => void): Cluster; - - function eventNames(): string[]; -} diff --git a/node_modules/@types/node/console.d.ts b/node_modules/@types/node/console.d.ts deleted file mode 100644 index 178beb45..00000000 --- a/node_modules/@types/node/console.d.ts +++ /dev/null @@ -1,133 +0,0 @@ -declare module "console" { - import { InspectOptions } from 'util'; - - global { - // This needs to be global to avoid TS2403 in case lib.dom.d.ts is present in the same build - interface Console { - Console: NodeJS.ConsoleConstructor; - /** - * A simple assertion test that verifies whether `value` is truthy. - * If it is not, an `AssertionError` is thrown. - * If provided, the error `message` is formatted using `util.format()` and used as the error message. - */ - assert(value: any, message?: string, ...optionalParams: any[]): void; - /** - * When `stdout` is a TTY, calling `console.clear()` will attempt to clear the TTY. - * When `stdout` is not a TTY, this method does nothing. - */ - clear(): void; - /** - * Maintains an internal counter specific to `label` and outputs to `stdout` the number of times `console.count()` has been called with the given `label`. - */ - count(label?: string): void; - /** - * Resets the internal counter specific to `label`. - */ - countReset(label?: string): void; - /** - * The `console.debug()` function is an alias for {@link console.log()}. - */ - debug(message?: any, ...optionalParams: any[]): void; - /** - * Uses {@link util.inspect()} on `obj` and prints the resulting string to `stdout`. - * This function bypasses any custom `inspect()` function defined on `obj`. - */ - dir(obj: any, options?: InspectOptions): void; - /** - * This method calls {@link console.log()} passing it the arguments received. Please note that this method does not produce any XML formatting - */ - dirxml(...data: any[]): void; - /** - * Prints to `stderr` with newline. - */ - error(message?: any, ...optionalParams: any[]): void; - /** - * Increases indentation of subsequent lines by two spaces. - * If one or more `label`s are provided, those are printed first without the additional indentation. - */ - group(...label: any[]): void; - /** - * The `console.groupCollapsed()` function is an alias for {@link console.group()}. - */ - groupCollapsed(...label: any[]): void; - /** - * Decreases indentation of subsequent lines by two spaces. - */ - groupEnd(): void; - /** - * The {@link console.info()} function is an alias for {@link console.log()}. - */ - info(message?: any, ...optionalParams: any[]): void; - /** - * Prints to `stdout` with newline. - */ - log(message?: any, ...optionalParams: any[]): void; - /** - * This method does not display anything unless used in the inspector. - * Prints to `stdout` the array `array` formatted as a table. - */ - table(tabularData: any, properties?: ReadonlyArray): void; - /** - * Starts a timer that can be used to compute the duration of an operation. Timers are identified by a unique `label`. - */ - time(label?: string): void; - /** - * Stops a timer that was previously started by calling {@link console.time()} and prints the result to `stdout`. - */ - timeEnd(label?: string): void; - /** - * For a timer that was previously started by calling {@link console.time()}, prints the elapsed time and other `data` arguments to `stdout`. - */ - timeLog(label?: string, ...data: any[]): void; - /** - * Prints to `stderr` the string 'Trace :', followed by the {@link util.format()} formatted message and stack trace to the current position in the code. - */ - trace(message?: any, ...optionalParams: any[]): void; - /** - * The {@link console.warn()} function is an alias for {@link console.error()}. - */ - warn(message?: any, ...optionalParams: any[]): void; - - // --- Inspector mode only --- - /** - * This method does not display anything unless used in the inspector. - * Starts a JavaScript CPU profile with an optional label. - */ - profile(label?: string): void; - /** - * This method does not display anything unless used in the inspector. - * Stops the current JavaScript CPU profiling session if one has been started and prints the report to the Profiles panel of the inspector. - */ - profileEnd(label?: string): void; - /** - * This method does not display anything unless used in the inspector. - * Adds an event with the label `label` to the Timeline panel of the inspector. - */ - timeStamp(label?: string): void; - } - - var console: Console; - - namespace NodeJS { - interface ConsoleConstructorOptions { - stdout: WritableStream; - stderr?: WritableStream; - ignoreErrors?: boolean; - colorMode?: boolean | 'auto'; - inspectOptions?: InspectOptions; - } - - interface ConsoleConstructor { - prototype: Console; - new(stdout: WritableStream, stderr?: WritableStream, ignoreErrors?: boolean): Console; - new(options: ConsoleConstructorOptions): Console; - } - - interface Global { - console: typeof console; - } - } - } - - export = console; -} diff --git a/node_modules/@types/node/constants.d.ts b/node_modules/@types/node/constants.d.ts deleted file mode 100644 index d124ae66..00000000 --- a/node_modules/@types/node/constants.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** @deprecated since v6.3.0 - use constants property exposed by the relevant module instead. */ -declare module "constants" { - import { constants as osConstants, SignalConstants } from 'os'; - import { constants as cryptoConstants } from 'crypto'; - import { constants as fsConstants } from 'fs'; - const exp: typeof osConstants.errno & typeof osConstants.priority & SignalConstants & typeof cryptoConstants & typeof fsConstants; - export = exp; -} diff --git a/node_modules/@types/node/crypto.d.ts b/node_modules/@types/node/crypto.d.ts deleted file mode 100644 index 17660cf5..00000000 --- a/node_modules/@types/node/crypto.d.ts +++ /dev/null @@ -1,775 +0,0 @@ -declare module "crypto" { - import * as stream from "stream"; - - interface Certificate { - exportChallenge(spkac: BinaryLike): Buffer; - exportPublicKey(spkac: BinaryLike): Buffer; - verifySpkac(spkac: NodeJS.ArrayBufferView): boolean; - } - const Certificate: { - new(): Certificate; - (): Certificate; - }; - - namespace constants { // https://nodejs.org/dist/latest-v10.x/docs/api/crypto.html#crypto_crypto_constants - const OPENSSL_VERSION_NUMBER: number; - - /** Applies multiple bug workarounds within OpenSSL. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html for detail. */ - const SSL_OP_ALL: number; - /** Allows legacy insecure renegotiation between OpenSSL and unpatched clients or servers. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html. */ - const SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION: number; - /** Attempts to use the server's preferences instead of the client's when selecting a cipher. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html. */ - const SSL_OP_CIPHER_SERVER_PREFERENCE: number; - /** Instructs OpenSSL to use Cisco's "speshul" version of DTLS_BAD_VER. */ - const SSL_OP_CISCO_ANYCONNECT: number; - /** Instructs OpenSSL to turn on cookie exchange. */ - const SSL_OP_COOKIE_EXCHANGE: number; - /** Instructs OpenSSL to add server-hello extension from an early version of the cryptopro draft. */ - const SSL_OP_CRYPTOPRO_TLSEXT_BUG: number; - /** Instructs OpenSSL to disable a SSL 3.0/TLS 1.0 vulnerability workaround added in OpenSSL 0.9.6d. */ - const SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS: number; - /** Instructs OpenSSL to always use the tmp_rsa key when performing RSA operations. */ - const SSL_OP_EPHEMERAL_RSA: number; - /** Allows initial connection to servers that do not support RI. */ - const SSL_OP_LEGACY_SERVER_CONNECT: number; - const SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER: number; - const SSL_OP_MICROSOFT_SESS_ID_BUG: number; - /** Instructs OpenSSL to disable the workaround for a man-in-the-middle protocol-version vulnerability in the SSL 2.0 server implementation. */ - const SSL_OP_MSIE_SSLV2_RSA_PADDING: number; - const SSL_OP_NETSCAPE_CA_DN_BUG: number; - const SSL_OP_NETSCAPE_CHALLENGE_BUG: number; - const SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG: number; - const SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG: number; - /** Instructs OpenSSL to disable support for SSL/TLS compression. */ - const SSL_OP_NO_COMPRESSION: number; - const SSL_OP_NO_QUERY_MTU: number; - /** Instructs OpenSSL to always start a new session when performing renegotiation. */ - const SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION: number; - const SSL_OP_NO_SSLv2: number; - const SSL_OP_NO_SSLv3: number; - const SSL_OP_NO_TICKET: number; - const SSL_OP_NO_TLSv1: number; - const SSL_OP_NO_TLSv1_1: number; - const SSL_OP_NO_TLSv1_2: number; - const SSL_OP_PKCS1_CHECK_1: number; - const SSL_OP_PKCS1_CHECK_2: number; - /** Instructs OpenSSL to always create a new key when using temporary/ephemeral DH parameters. */ - const SSL_OP_SINGLE_DH_USE: number; - /** Instructs OpenSSL to always create a new key when using temporary/ephemeral ECDH parameters. */ - const SSL_OP_SINGLE_ECDH_USE: number; - const SSL_OP_SSLEAY_080_CLIENT_DH_BUG: number; - const SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG: number; - const SSL_OP_TLS_BLOCK_PADDING_BUG: number; - const SSL_OP_TLS_D5_BUG: number; - /** Instructs OpenSSL to disable version rollback attack detection. */ - const SSL_OP_TLS_ROLLBACK_BUG: number; - - const ENGINE_METHOD_RSA: number; - const ENGINE_METHOD_DSA: number; - const ENGINE_METHOD_DH: number; - const ENGINE_METHOD_RAND: number; - const ENGINE_METHOD_EC: number; - const ENGINE_METHOD_CIPHERS: number; - const ENGINE_METHOD_DIGESTS: number; - const ENGINE_METHOD_PKEY_METHS: number; - const ENGINE_METHOD_PKEY_ASN1_METHS: number; - const ENGINE_METHOD_ALL: number; - const ENGINE_METHOD_NONE: number; - - const DH_CHECK_P_NOT_SAFE_PRIME: number; - const DH_CHECK_P_NOT_PRIME: number; - const DH_UNABLE_TO_CHECK_GENERATOR: number; - const DH_NOT_SUITABLE_GENERATOR: number; - - const ALPN_ENABLED: number; - - const RSA_PKCS1_PADDING: number; - const RSA_SSLV23_PADDING: number; - const RSA_NO_PADDING: number; - const RSA_PKCS1_OAEP_PADDING: number; - const RSA_X931_PADDING: number; - const RSA_PKCS1_PSS_PADDING: number; - /** Sets the salt length for RSA_PKCS1_PSS_PADDING to the digest size when signing or verifying. */ - const RSA_PSS_SALTLEN_DIGEST: number; - /** Sets the salt length for RSA_PKCS1_PSS_PADDING to the maximum permissible value when signing data. */ - const RSA_PSS_SALTLEN_MAX_SIGN: number; - /** Causes the salt length for RSA_PKCS1_PSS_PADDING to be determined automatically when verifying a signature. */ - const RSA_PSS_SALTLEN_AUTO: number; - - const POINT_CONVERSION_COMPRESSED: number; - const POINT_CONVERSION_UNCOMPRESSED: number; - const POINT_CONVERSION_HYBRID: number; - - /** Specifies the built-in default cipher list used by Node.js (colon-separated values). */ - const defaultCoreCipherList: string; - /** Specifies the active default cipher list used by the current Node.js process (colon-separated values). */ - const defaultCipherList: string; - } - - interface HashOptions extends stream.TransformOptions { - /** - * For XOF hash functions such as `shake256`, the - * outputLength option can be used to specify the desired output length in bytes. - */ - outputLength?: number; - } - - /** @deprecated since v10.0.0 */ - const fips: boolean; - - function createHash(algorithm: string, options?: HashOptions): Hash; - function createHmac(algorithm: string, key: BinaryLike | KeyObject, options?: stream.TransformOptions): Hmac; - - type Utf8AsciiLatin1Encoding = "utf8" | "ascii" | "latin1"; - type HexBase64Latin1Encoding = "latin1" | "hex" | "base64"; - type Utf8AsciiBinaryEncoding = "utf8" | "ascii" | "binary"; - type HexBase64BinaryEncoding = "binary" | "base64" | "hex"; - type ECDHKeyFormat = "compressed" | "uncompressed" | "hybrid"; - - class Hash extends stream.Transform { - private constructor(); - copy(): Hash; - update(data: BinaryLike): Hash; - update(data: string, input_encoding: Utf8AsciiLatin1Encoding): Hash; - digest(): Buffer; - digest(encoding: HexBase64Latin1Encoding): string; - } - class Hmac extends stream.Transform { - private constructor(); - update(data: BinaryLike): Hmac; - update(data: string, input_encoding: Utf8AsciiLatin1Encoding): Hmac; - digest(): Buffer; - digest(encoding: HexBase64Latin1Encoding): string; - } - - type KeyObjectType = 'secret' | 'public' | 'private'; - - interface KeyExportOptions { - type: 'pkcs1' | 'spki' | 'pkcs8' | 'sec1'; - format: T; - cipher?: string; - passphrase?: string | Buffer; - } - - class KeyObject { - private constructor(); - asymmetricKeyType?: KeyType; - /** - * For asymmetric keys, this property represents the size of the embedded key in - * bytes. This property is `undefined` for symmetric keys. - */ - asymmetricKeySize?: number; - export(options: KeyExportOptions<'pem'>): string | Buffer; - export(options?: KeyExportOptions<'der'>): Buffer; - symmetricKeySize?: number; - type: KeyObjectType; - } - - type CipherCCMTypes = 'aes-128-ccm' | 'aes-192-ccm' | 'aes-256-ccm' | 'chacha20-poly1305'; - type CipherGCMTypes = 'aes-128-gcm' | 'aes-192-gcm' | 'aes-256-gcm'; - - type BinaryLike = string | NodeJS.ArrayBufferView; - - type CipherKey = BinaryLike | KeyObject; - - interface CipherCCMOptions extends stream.TransformOptions { - authTagLength: number; - } - interface CipherGCMOptions extends stream.TransformOptions { - authTagLength?: number; - } - /** @deprecated since v10.0.0 use `createCipheriv()` */ - function createCipher(algorithm: CipherCCMTypes, password: BinaryLike, options: CipherCCMOptions): CipherCCM; - /** @deprecated since v10.0.0 use `createCipheriv()` */ - function createCipher(algorithm: CipherGCMTypes, password: BinaryLike, options?: CipherGCMOptions): CipherGCM; - /** @deprecated since v10.0.0 use `createCipheriv()` */ - function createCipher(algorithm: string, password: BinaryLike, options?: stream.TransformOptions): Cipher; - - function createCipheriv( - algorithm: CipherCCMTypes, - key: CipherKey, - iv: BinaryLike | null, - options: CipherCCMOptions - ): CipherCCM; - function createCipheriv( - algorithm: CipherGCMTypes, - key: CipherKey, - iv: BinaryLike | null, - options?: CipherGCMOptions - ): CipherGCM; - function createCipheriv( - algorithm: string, key: CipherKey, iv: BinaryLike | null, options?: stream.TransformOptions - ): Cipher; - - class Cipher extends stream.Transform { - private constructor(); - update(data: BinaryLike): Buffer; - update(data: string, input_encoding: Utf8AsciiBinaryEncoding): Buffer; - update(data: NodeJS.ArrayBufferView, input_encoding: undefined, output_encoding: HexBase64BinaryEncoding): string; - update(data: string, input_encoding: Utf8AsciiBinaryEncoding | undefined, output_encoding: HexBase64BinaryEncoding): string; - final(): Buffer; - final(output_encoding: BufferEncoding): string; - setAutoPadding(auto_padding?: boolean): this; - // getAuthTag(): Buffer; - // setAAD(buffer: NodeJS.ArrayBufferView): this; - } - interface CipherCCM extends Cipher { - setAAD(buffer: NodeJS.ArrayBufferView, options: { plaintextLength: number }): this; - getAuthTag(): Buffer; - } - interface CipherGCM extends Cipher { - setAAD(buffer: NodeJS.ArrayBufferView, options?: { plaintextLength: number }): this; - getAuthTag(): Buffer; - } - /** @deprecated since v10.0.0 use `createDecipheriv()` */ - function createDecipher(algorithm: CipherCCMTypes, password: BinaryLike, options: CipherCCMOptions): DecipherCCM; - /** @deprecated since v10.0.0 use `createDecipheriv()` */ - function createDecipher(algorithm: CipherGCMTypes, password: BinaryLike, options?: CipherGCMOptions): DecipherGCM; - /** @deprecated since v10.0.0 use `createDecipheriv()` */ - function createDecipher(algorithm: string, password: BinaryLike, options?: stream.TransformOptions): Decipher; - - function createDecipheriv( - algorithm: CipherCCMTypes, - key: CipherKey, - iv: BinaryLike | null, - options: CipherCCMOptions, - ): DecipherCCM; - function createDecipheriv( - algorithm: CipherGCMTypes, - key: CipherKey, - iv: BinaryLike | null, - options?: CipherGCMOptions, - ): DecipherGCM; - function createDecipheriv(algorithm: string, key: CipherKey, iv: BinaryLike | null, options?: stream.TransformOptions): Decipher; - - class Decipher extends stream.Transform { - private constructor(); - update(data: NodeJS.ArrayBufferView): Buffer; - update(data: string, input_encoding: HexBase64BinaryEncoding): Buffer; - update(data: NodeJS.ArrayBufferView, input_encoding: HexBase64BinaryEncoding | undefined, output_encoding: Utf8AsciiBinaryEncoding): string; - update(data: string, input_encoding: HexBase64BinaryEncoding | undefined, output_encoding: Utf8AsciiBinaryEncoding): string; - final(): Buffer; - final(output_encoding: BufferEncoding): string; - setAutoPadding(auto_padding?: boolean): this; - // setAuthTag(tag: NodeJS.ArrayBufferView): this; - // setAAD(buffer: NodeJS.ArrayBufferView): this; - } - interface DecipherCCM extends Decipher { - setAuthTag(buffer: NodeJS.ArrayBufferView): this; - setAAD(buffer: NodeJS.ArrayBufferView, options: { plaintextLength: number }): this; - } - interface DecipherGCM extends Decipher { - setAuthTag(buffer: NodeJS.ArrayBufferView): this; - setAAD(buffer: NodeJS.ArrayBufferView, options?: { plaintextLength: number }): this; - } - - interface PrivateKeyInput { - key: string | Buffer; - format?: KeyFormat; - type?: 'pkcs1' | 'pkcs8' | 'sec1'; - passphrase?: string | Buffer; - } - - interface PublicKeyInput { - key: string | Buffer; - format?: KeyFormat; - type?: 'pkcs1' | 'spki'; - } - - function createPrivateKey(key: PrivateKeyInput | string | Buffer): KeyObject; - function createPublicKey(key: PublicKeyInput | string | Buffer | KeyObject): KeyObject; - function createSecretKey(key: NodeJS.ArrayBufferView): KeyObject; - - function createSign(algorithm: string, options?: stream.WritableOptions): Signer; - - type DSAEncoding = 'der' | 'ieee-p1363'; - - interface SigningOptions { - /** - * @See crypto.constants.RSA_PKCS1_PADDING - */ - padding?: number; - saltLength?: number; - dsaEncoding?: DSAEncoding; - } - - interface SignPrivateKeyInput extends PrivateKeyInput, SigningOptions { - } - interface SignKeyObjectInput extends SigningOptions { - key: KeyObject; - } - interface VerifyPublicKeyInput extends PublicKeyInput, SigningOptions { - } - interface VerifyKeyObjectInput extends SigningOptions { - key: KeyObject; - } - - type KeyLike = string | Buffer | KeyObject; - - class Signer extends stream.Writable { - private constructor(); - - update(data: BinaryLike): Signer; - update(data: string, input_encoding: Utf8AsciiLatin1Encoding): Signer; - sign(private_key: KeyLike | SignKeyObjectInput | SignPrivateKeyInput): Buffer; - sign(private_key: KeyLike | SignKeyObjectInput | SignPrivateKeyInput, output_format: HexBase64Latin1Encoding): string; - } - - function createVerify(algorithm: string, options?: stream.WritableOptions): Verify; - class Verify extends stream.Writable { - private constructor(); - - update(data: BinaryLike): Verify; - update(data: string, input_encoding: Utf8AsciiLatin1Encoding): Verify; - verify(object: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput, signature: NodeJS.ArrayBufferView): boolean; - verify(object: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput, signature: string, signature_format?: HexBase64Latin1Encoding): boolean; - // https://nodejs.org/api/crypto.html#crypto_verifier_verify_object_signature_signature_format - // The signature field accepts a TypedArray type, but it is only available starting ES2017 - } - function createDiffieHellman(prime_length: number, generator?: number | NodeJS.ArrayBufferView): DiffieHellman; - function createDiffieHellman(prime: NodeJS.ArrayBufferView): DiffieHellman; - function createDiffieHellman(prime: string, prime_encoding: HexBase64Latin1Encoding): DiffieHellman; - function createDiffieHellman(prime: string, prime_encoding: HexBase64Latin1Encoding, generator: number | NodeJS.ArrayBufferView): DiffieHellman; - function createDiffieHellman(prime: string, prime_encoding: HexBase64Latin1Encoding, generator: string, generator_encoding: HexBase64Latin1Encoding): DiffieHellman; - class DiffieHellman { - private constructor(); - generateKeys(): Buffer; - generateKeys(encoding: HexBase64Latin1Encoding): string; - computeSecret(other_public_key: NodeJS.ArrayBufferView): Buffer; - computeSecret(other_public_key: string, input_encoding: HexBase64Latin1Encoding): Buffer; - computeSecret(other_public_key: NodeJS.ArrayBufferView, output_encoding: HexBase64Latin1Encoding): string; - computeSecret(other_public_key: string, input_encoding: HexBase64Latin1Encoding, output_encoding: HexBase64Latin1Encoding): string; - getPrime(): Buffer; - getPrime(encoding: HexBase64Latin1Encoding): string; - getGenerator(): Buffer; - getGenerator(encoding: HexBase64Latin1Encoding): string; - getPublicKey(): Buffer; - getPublicKey(encoding: HexBase64Latin1Encoding): string; - getPrivateKey(): Buffer; - getPrivateKey(encoding: HexBase64Latin1Encoding): string; - setPublicKey(public_key: NodeJS.ArrayBufferView): void; - setPublicKey(public_key: string, encoding: BufferEncoding): void; - setPrivateKey(private_key: NodeJS.ArrayBufferView): void; - setPrivateKey(private_key: string, encoding: BufferEncoding): void; - verifyError: number; - } - function getDiffieHellman(group_name: string): DiffieHellman; - function pbkdf2( - password: BinaryLike, - salt: BinaryLike, - iterations: number, - keylen: number, - digest: string, - callback: (err: Error | null, derivedKey: Buffer) => any, - ): void; - function pbkdf2Sync(password: BinaryLike, salt: BinaryLike, iterations: number, keylen: number, digest: string): Buffer; - - function randomBytes(size: number): Buffer; - function randomBytes(size: number, callback: (err: Error | null, buf: Buffer) => void): void; - function pseudoRandomBytes(size: number): Buffer; - function pseudoRandomBytes(size: number, callback: (err: Error | null, buf: Buffer) => void): void; - - function randomInt(max: number): number; - function randomInt(min: number, max: number): number; - function randomInt(max: number, callback: (err: Error | null, value: number) => void): void; - function randomInt(min: number, max: number, callback: (err: Error | null, value: number) => void): void; - - function randomFillSync(buffer: T, offset?: number, size?: number): T; - function randomFill(buffer: T, callback: (err: Error | null, buf: T) => void): void; - function randomFill(buffer: T, offset: number, callback: (err: Error | null, buf: T) => void): void; - function randomFill(buffer: T, offset: number, size: number, callback: (err: Error | null, buf: T) => void): void; - - interface ScryptOptions { - N?: number; - r?: number; - p?: number; - maxmem?: number; - } - function scrypt( - password: BinaryLike, - salt: BinaryLike, - keylen: number, callback: (err: Error | null, derivedKey: Buffer) => void, - ): void; - function scrypt( - password: BinaryLike, - salt: BinaryLike, - keylen: number, - options: ScryptOptions, - callback: (err: Error | null, derivedKey: Buffer) => void, - ): void; - function scryptSync(password: BinaryLike, salt: BinaryLike, keylen: number, options?: ScryptOptions): Buffer; - - interface RsaPublicKey { - key: KeyLike; - padding?: number; - } - interface RsaPrivateKey { - key: KeyLike; - passphrase?: string; - /** - * @default 'sha1' - */ - oaepHash?: string; - oaepLabel?: NodeJS.TypedArray; - padding?: number; - } - function publicEncrypt(key: RsaPublicKey | RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer; - function publicDecrypt(key: RsaPublicKey | RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer; - function privateDecrypt(private_key: RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer; - function privateEncrypt(private_key: RsaPrivateKey | KeyLike, buffer: NodeJS.ArrayBufferView): Buffer; - function getCiphers(): string[]; - function getCurves(): string[]; - function getFips(): 1 | 0; - function getHashes(): string[]; - class ECDH { - private constructor(); - static convertKey( - key: BinaryLike, - curve: string, - inputEncoding?: HexBase64Latin1Encoding, - outputEncoding?: "latin1" | "hex" | "base64", - format?: "uncompressed" | "compressed" | "hybrid", - ): Buffer | string; - generateKeys(): Buffer; - generateKeys(encoding: HexBase64Latin1Encoding, format?: ECDHKeyFormat): string; - computeSecret(other_public_key: NodeJS.ArrayBufferView): Buffer; - computeSecret(other_public_key: string, input_encoding: HexBase64Latin1Encoding): Buffer; - computeSecret(other_public_key: NodeJS.ArrayBufferView, output_encoding: HexBase64Latin1Encoding): string; - computeSecret(other_public_key: string, input_encoding: HexBase64Latin1Encoding, output_encoding: HexBase64Latin1Encoding): string; - getPrivateKey(): Buffer; - getPrivateKey(encoding: HexBase64Latin1Encoding): string; - getPublicKey(): Buffer; - getPublicKey(encoding: HexBase64Latin1Encoding, format?: ECDHKeyFormat): string; - setPrivateKey(private_key: NodeJS.ArrayBufferView): void; - setPrivateKey(private_key: string, encoding: HexBase64Latin1Encoding): void; - } - function createECDH(curve_name: string): ECDH; - function timingSafeEqual(a: NodeJS.ArrayBufferView, b: NodeJS.ArrayBufferView): boolean; - /** @deprecated since v10.0.0 */ - const DEFAULT_ENCODING: BufferEncoding; - - type KeyType = 'rsa' | 'dsa' | 'ec' | 'ed25519' | 'ed448' | 'x25519' | 'x448'; - type KeyFormat = 'pem' | 'der'; - - interface BasePrivateKeyEncodingOptions { - format: T; - cipher?: string; - passphrase?: string; - } - - interface KeyPairKeyObjectResult { - publicKey: KeyObject; - privateKey: KeyObject; - } - - interface ED25519KeyPairKeyObjectOptions { - /** - * No options. - */ - } - - interface ED448KeyPairKeyObjectOptions { - /** - * No options. - */ - } - - interface X25519KeyPairKeyObjectOptions { - /** - * No options. - */ - } - - interface X448KeyPairKeyObjectOptions { - /** - * No options. - */ - } - - interface ECKeyPairKeyObjectOptions { - /** - * Name of the curve to use. - */ - namedCurve: string; - } - - interface RSAKeyPairKeyObjectOptions { - /** - * Key size in bits - */ - modulusLength: number; - - /** - * @default 0x10001 - */ - publicExponent?: number; - } - - interface DSAKeyPairKeyObjectOptions { - /** - * Key size in bits - */ - modulusLength: number; - - /** - * Size of q in bits - */ - divisorLength: number; - } - - interface RSAKeyPairOptions { - /** - * Key size in bits - */ - modulusLength: number; - /** - * @default 0x10001 - */ - publicExponent?: number; - - publicKeyEncoding: { - type: 'pkcs1' | 'spki'; - format: PubF; - }; - privateKeyEncoding: BasePrivateKeyEncodingOptions & { - type: 'pkcs1' | 'pkcs8'; - }; - } - - interface DSAKeyPairOptions { - /** - * Key size in bits - */ - modulusLength: number; - /** - * Size of q in bits - */ - divisorLength: number; - - publicKeyEncoding: { - type: 'spki'; - format: PubF; - }; - privateKeyEncoding: BasePrivateKeyEncodingOptions & { - type: 'pkcs8'; - }; - } - - interface ECKeyPairOptions { - /** - * Name of the curve to use. - */ - namedCurve: string; - - publicKeyEncoding: { - type: 'pkcs1' | 'spki'; - format: PubF; - }; - privateKeyEncoding: BasePrivateKeyEncodingOptions & { - type: 'sec1' | 'pkcs8'; - }; - } - - interface ED25519KeyPairOptions { - publicKeyEncoding: { - type: 'spki'; - format: PubF; - }; - privateKeyEncoding: BasePrivateKeyEncodingOptions & { - type: 'pkcs8'; - }; - } - - interface ED448KeyPairOptions { - publicKeyEncoding: { - type: 'spki'; - format: PubF; - }; - privateKeyEncoding: BasePrivateKeyEncodingOptions & { - type: 'pkcs8'; - }; - } - - interface X25519KeyPairOptions { - publicKeyEncoding: { - type: 'spki'; - format: PubF; - }; - privateKeyEncoding: BasePrivateKeyEncodingOptions & { - type: 'pkcs8'; - }; - } - - interface X448KeyPairOptions { - publicKeyEncoding: { - type: 'spki'; - format: PubF; - }; - privateKeyEncoding: BasePrivateKeyEncodingOptions & { - type: 'pkcs8'; - }; - } - - interface KeyPairSyncResult { - publicKey: T1; - privateKey: T2; - } - - function generateKeyPairSync(type: 'rsa', options: RSAKeyPairOptions<'pem', 'pem'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'rsa', options: RSAKeyPairOptions<'pem', 'der'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'rsa', options: RSAKeyPairOptions<'der', 'pem'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'rsa', options: RSAKeyPairOptions<'der', 'der'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'rsa', options: RSAKeyPairKeyObjectOptions): KeyPairKeyObjectResult; - - function generateKeyPairSync(type: 'dsa', options: DSAKeyPairOptions<'pem', 'pem'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'dsa', options: DSAKeyPairOptions<'pem', 'der'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'dsa', options: DSAKeyPairOptions<'der', 'pem'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'dsa', options: DSAKeyPairOptions<'der', 'der'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'dsa', options: DSAKeyPairKeyObjectOptions): KeyPairKeyObjectResult; - - function generateKeyPairSync(type: 'ec', options: ECKeyPairOptions<'pem', 'pem'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'ec', options: ECKeyPairOptions<'pem', 'der'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'ec', options: ECKeyPairOptions<'der', 'pem'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'ec', options: ECKeyPairOptions<'der', 'der'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'ec', options: ECKeyPairKeyObjectOptions): KeyPairKeyObjectResult; - - function generateKeyPairSync(type: 'ed25519', options: ED25519KeyPairOptions<'pem', 'pem'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'ed25519', options: ED25519KeyPairOptions<'pem', 'der'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'ed25519', options: ED25519KeyPairOptions<'der', 'pem'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'ed25519', options: ED25519KeyPairOptions<'der', 'der'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'ed25519', options?: ED25519KeyPairKeyObjectOptions): KeyPairKeyObjectResult; - - function generateKeyPairSync(type: 'ed448', options: ED448KeyPairOptions<'pem', 'pem'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'ed448', options: ED448KeyPairOptions<'pem', 'der'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'ed448', options: ED448KeyPairOptions<'der', 'pem'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'ed448', options: ED448KeyPairOptions<'der', 'der'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'ed448', options?: ED448KeyPairKeyObjectOptions): KeyPairKeyObjectResult; - - function generateKeyPairSync(type: 'x25519', options: X25519KeyPairOptions<'pem', 'pem'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'x25519', options: X25519KeyPairOptions<'pem', 'der'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'x25519', options: X25519KeyPairOptions<'der', 'pem'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'x25519', options: X25519KeyPairOptions<'der', 'der'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'x25519', options?: X25519KeyPairKeyObjectOptions): KeyPairKeyObjectResult; - - function generateKeyPairSync(type: 'x448', options: X448KeyPairOptions<'pem', 'pem'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'x448', options: X448KeyPairOptions<'pem', 'der'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'x448', options: X448KeyPairOptions<'der', 'pem'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'x448', options: X448KeyPairOptions<'der', 'der'>): KeyPairSyncResult; - function generateKeyPairSync(type: 'x448', options?: X448KeyPairKeyObjectOptions): KeyPairKeyObjectResult; - - function generateKeyPair(type: 'rsa', options: RSAKeyPairOptions<'pem', 'pem'>, callback: (err: Error | null, publicKey: string, privateKey: string) => void): void; - function generateKeyPair(type: 'rsa', options: RSAKeyPairOptions<'pem', 'der'>, callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void): void; - function generateKeyPair(type: 'rsa', options: RSAKeyPairOptions<'der', 'pem'>, callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void): void; - function generateKeyPair(type: 'rsa', options: RSAKeyPairOptions<'der', 'der'>, callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void): void; - function generateKeyPair(type: 'rsa', options: RSAKeyPairKeyObjectOptions, callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void): void; - - function generateKeyPair(type: 'dsa', options: DSAKeyPairOptions<'pem', 'pem'>, callback: (err: Error | null, publicKey: string, privateKey: string) => void): void; - function generateKeyPair(type: 'dsa', options: DSAKeyPairOptions<'pem', 'der'>, callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void): void; - function generateKeyPair(type: 'dsa', options: DSAKeyPairOptions<'der', 'pem'>, callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void): void; - function generateKeyPair(type: 'dsa', options: DSAKeyPairOptions<'der', 'der'>, callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void): void; - function generateKeyPair(type: 'dsa', options: DSAKeyPairKeyObjectOptions, callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void): void; - - function generateKeyPair(type: 'ec', options: ECKeyPairOptions<'pem', 'pem'>, callback: (err: Error | null, publicKey: string, privateKey: string) => void): void; - function generateKeyPair(type: 'ec', options: ECKeyPairOptions<'pem', 'der'>, callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void): void; - function generateKeyPair(type: 'ec', options: ECKeyPairOptions<'der', 'pem'>, callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void): void; - function generateKeyPair(type: 'ec', options: ECKeyPairOptions<'der', 'der'>, callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void): void; - function generateKeyPair(type: 'ec', options: ECKeyPairKeyObjectOptions, callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void): void; - - function generateKeyPair(type: 'ed25519', options: ED25519KeyPairOptions<'pem', 'pem'>, callback: (err: Error | null, publicKey: string, privateKey: string) => void): void; - function generateKeyPair(type: 'ed25519', options: ED25519KeyPairOptions<'pem', 'der'>, callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void): void; - function generateKeyPair(type: 'ed25519', options: ED25519KeyPairOptions<'der', 'pem'>, callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void): void; - function generateKeyPair(type: 'ed25519', options: ED25519KeyPairOptions<'der', 'der'>, callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void): void; - function generateKeyPair(type: 'ed25519', options: ED25519KeyPairKeyObjectOptions | undefined, callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void): void; - - function generateKeyPair(type: 'ed448', options: ED448KeyPairOptions<'pem', 'pem'>, callback: (err: Error | null, publicKey: string, privateKey: string) => void): void; - function generateKeyPair(type: 'ed448', options: ED448KeyPairOptions<'pem', 'der'>, callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void): void; - function generateKeyPair(type: 'ed448', options: ED448KeyPairOptions<'der', 'pem'>, callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void): void; - function generateKeyPair(type: 'ed448', options: ED448KeyPairOptions<'der', 'der'>, callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void): void; - function generateKeyPair(type: 'ed448', options: ED448KeyPairKeyObjectOptions | undefined, callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void): void; - - function generateKeyPair(type: 'x25519', options: X25519KeyPairOptions<'pem', 'pem'>, callback: (err: Error | null, publicKey: string, privateKey: string) => void): void; - function generateKeyPair(type: 'x25519', options: X25519KeyPairOptions<'pem', 'der'>, callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void): void; - function generateKeyPair(type: 'x25519', options: X25519KeyPairOptions<'der', 'pem'>, callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void): void; - function generateKeyPair(type: 'x25519', options: X25519KeyPairOptions<'der', 'der'>, callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void): void; - function generateKeyPair(type: 'x25519', options: X25519KeyPairKeyObjectOptions | undefined, callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void): void; - - function generateKeyPair(type: 'x448', options: X448KeyPairOptions<'pem', 'pem'>, callback: (err: Error | null, publicKey: string, privateKey: string) => void): void; - function generateKeyPair(type: 'x448', options: X448KeyPairOptions<'pem', 'der'>, callback: (err: Error | null, publicKey: string, privateKey: Buffer) => void): void; - function generateKeyPair(type: 'x448', options: X448KeyPairOptions<'der', 'pem'>, callback: (err: Error | null, publicKey: Buffer, privateKey: string) => void): void; - function generateKeyPair(type: 'x448', options: X448KeyPairOptions<'der', 'der'>, callback: (err: Error | null, publicKey: Buffer, privateKey: Buffer) => void): void; - function generateKeyPair(type: 'x448', options: X448KeyPairKeyObjectOptions | undefined, callback: (err: Error | null, publicKey: KeyObject, privateKey: KeyObject) => void): void; - - namespace generateKeyPair { - function __promisify__(type: "rsa", options: RSAKeyPairOptions<'pem', 'pem'>): Promise<{ publicKey: string, privateKey: string }>; - function __promisify__(type: "rsa", options: RSAKeyPairOptions<'pem', 'der'>): Promise<{ publicKey: string, privateKey: Buffer }>; - function __promisify__(type: "rsa", options: RSAKeyPairOptions<'der', 'pem'>): Promise<{ publicKey: Buffer, privateKey: string }>; - function __promisify__(type: "rsa", options: RSAKeyPairOptions<'der', 'der'>): Promise<{ publicKey: Buffer, privateKey: Buffer }>; - function __promisify__(type: "rsa", options: RSAKeyPairKeyObjectOptions): Promise; - - function __promisify__(type: "dsa", options: DSAKeyPairOptions<'pem', 'pem'>): Promise<{ publicKey: string, privateKey: string }>; - function __promisify__(type: "dsa", options: DSAKeyPairOptions<'pem', 'der'>): Promise<{ publicKey: string, privateKey: Buffer }>; - function __promisify__(type: "dsa", options: DSAKeyPairOptions<'der', 'pem'>): Promise<{ publicKey: Buffer, privateKey: string }>; - function __promisify__(type: "dsa", options: DSAKeyPairOptions<'der', 'der'>): Promise<{ publicKey: Buffer, privateKey: Buffer }>; - function __promisify__(type: "dsa", options: DSAKeyPairKeyObjectOptions): Promise; - - function __promisify__(type: "ec", options: ECKeyPairOptions<'pem', 'pem'>): Promise<{ publicKey: string, privateKey: string }>; - function __promisify__(type: "ec", options: ECKeyPairOptions<'pem', 'der'>): Promise<{ publicKey: string, privateKey: Buffer }>; - function __promisify__(type: "ec", options: ECKeyPairOptions<'der', 'pem'>): Promise<{ publicKey: Buffer, privateKey: string }>; - function __promisify__(type: "ec", options: ECKeyPairOptions<'der', 'der'>): Promise<{ publicKey: Buffer, privateKey: Buffer }>; - function __promisify__(type: "ec", options: ECKeyPairKeyObjectOptions): Promise; - - function __promisify__(type: "ed25519", options: ED25519KeyPairOptions<'pem', 'pem'>): Promise<{ publicKey: string, privateKey: string }>; - function __promisify__(type: "ed25519", options: ED25519KeyPairOptions<'pem', 'der'>): Promise<{ publicKey: string, privateKey: Buffer }>; - function __promisify__(type: "ed25519", options: ED25519KeyPairOptions<'der', 'pem'>): Promise<{ publicKey: Buffer, privateKey: string }>; - function __promisify__(type: "ed25519", options: ED25519KeyPairOptions<'der', 'der'>): Promise<{ publicKey: Buffer, privateKey: Buffer }>; - function __promisify__(type: "ed25519", options?: ED25519KeyPairKeyObjectOptions): Promise; - - function __promisify__(type: "ed448", options: ED448KeyPairOptions<'pem', 'pem'>): Promise<{ publicKey: string, privateKey: string }>; - function __promisify__(type: "ed448", options: ED448KeyPairOptions<'pem', 'der'>): Promise<{ publicKey: string, privateKey: Buffer }>; - function __promisify__(type: "ed448", options: ED448KeyPairOptions<'der', 'pem'>): Promise<{ publicKey: Buffer, privateKey: string }>; - function __promisify__(type: "ed448", options: ED448KeyPairOptions<'der', 'der'>): Promise<{ publicKey: Buffer, privateKey: Buffer }>; - function __promisify__(type: "ed448", options?: ED448KeyPairKeyObjectOptions): Promise; - - function __promisify__(type: "x25519", options: X25519KeyPairOptions<'pem', 'pem'>): Promise<{ publicKey: string, privateKey: string }>; - function __promisify__(type: "x25519", options: X25519KeyPairOptions<'pem', 'der'>): Promise<{ publicKey: string, privateKey: Buffer }>; - function __promisify__(type: "x25519", options: X25519KeyPairOptions<'der', 'pem'>): Promise<{ publicKey: Buffer, privateKey: string }>; - function __promisify__(type: "x25519", options: X25519KeyPairOptions<'der', 'der'>): Promise<{ publicKey: Buffer, privateKey: Buffer }>; - function __promisify__(type: "x25519", options?: X25519KeyPairKeyObjectOptions): Promise; - - function __promisify__(type: "x448", options: X448KeyPairOptions<'pem', 'pem'>): Promise<{ publicKey: string, privateKey: string }>; - function __promisify__(type: "x448", options: X448KeyPairOptions<'pem', 'der'>): Promise<{ publicKey: string, privateKey: Buffer }>; - function __promisify__(type: "x448", options: X448KeyPairOptions<'der', 'pem'>): Promise<{ publicKey: Buffer, privateKey: string }>; - function __promisify__(type: "x448", options: X448KeyPairOptions<'der', 'der'>): Promise<{ publicKey: Buffer, privateKey: Buffer }>; - function __promisify__(type: "x448", options?: X448KeyPairKeyObjectOptions): Promise; - } - - /** - * Calculates and returns the signature for `data` using the given private key and - * algorithm. If `algorithm` is `null` or `undefined`, then the algorithm is - * dependent upon the key type (especially Ed25519 and Ed448). - * - * If `key` is not a [`KeyObject`][], this function behaves as if `key` had been - * passed to [`crypto.createPrivateKey()`][]. - */ - function sign(algorithm: string | null | undefined, data: NodeJS.ArrayBufferView, key: KeyLike | SignKeyObjectInput | SignPrivateKeyInput): Buffer; - - /** - * Calculates and returns the signature for `data` using the given private key and - * algorithm. If `algorithm` is `null` or `undefined`, then the algorithm is - * dependent upon the key type (especially Ed25519 and Ed448). - * - * If `key` is not a [`KeyObject`][], this function behaves as if `key` had been - * passed to [`crypto.createPublicKey()`][]. - */ - function verify(algorithm: string | null | undefined, data: NodeJS.ArrayBufferView, key: KeyLike | VerifyKeyObjectInput | VerifyPublicKeyInput, signature: NodeJS.ArrayBufferView): boolean; - - /** - * Computes the Diffie-Hellman secret based on a privateKey and a publicKey. - * Both keys must have the same asymmetricKeyType, which must be one of - * 'dh' (for Diffie-Hellman), 'ec' (for ECDH), 'x448', or 'x25519' (for ECDH-ES). - */ - function diffieHellman(options: { - privateKey: KeyObject; - publicKey: KeyObject - }): Buffer; -} diff --git a/node_modules/@types/node/dgram.d.ts b/node_modules/@types/node/dgram.d.ts deleted file mode 100644 index 73f2aa71..00000000 --- a/node_modules/@types/node/dgram.d.ts +++ /dev/null @@ -1,141 +0,0 @@ -declare module "dgram" { - import { AddressInfo } from "net"; - import * as dns from "dns"; - import * as events from "events"; - - interface RemoteInfo { - address: string; - family: 'IPv4' | 'IPv6'; - port: number; - size: number; - } - - interface BindOptions { - port?: number; - address?: string; - exclusive?: boolean; - fd?: number; - } - - type SocketType = "udp4" | "udp6"; - - interface SocketOptions { - type: SocketType; - reuseAddr?: boolean; - /** - * @default false - */ - ipv6Only?: boolean; - recvBufferSize?: number; - sendBufferSize?: number; - lookup?: (hostname: string, options: dns.LookupOneOptions, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void) => void; - } - - function createSocket(type: SocketType, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket; - function createSocket(options: SocketOptions, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket; - - class Socket extends events.EventEmitter { - addMembership(multicastAddress: string, multicastInterface?: string): void; - address(): AddressInfo; - bind(port?: number, address?: string, callback?: () => void): void; - bind(port?: number, callback?: () => void): void; - bind(callback?: () => void): void; - bind(options: BindOptions, callback?: () => void): void; - close(callback?: () => void): void; - connect(port: number, address?: string, callback?: () => void): void; - connect(port: number, callback: () => void): void; - disconnect(): void; - dropMembership(multicastAddress: string, multicastInterface?: string): void; - getRecvBufferSize(): number; - getSendBufferSize(): number; - ref(): this; - remoteAddress(): AddressInfo; - send(msg: string | Uint8Array | ReadonlyArray, port?: number, address?: string, callback?: (error: Error | null, bytes: number) => void): void; - send(msg: string | Uint8Array | ReadonlyArray, port?: number, callback?: (error: Error | null, bytes: number) => void): void; - send(msg: string | Uint8Array | ReadonlyArray, callback?: (error: Error | null, bytes: number) => void): void; - send(msg: string | Uint8Array, offset: number, length: number, port?: number, address?: string, callback?: (error: Error | null, bytes: number) => void): void; - send(msg: string | Uint8Array, offset: number, length: number, port?: number, callback?: (error: Error | null, bytes: number) => void): void; - send(msg: string | Uint8Array, offset: number, length: number, callback?: (error: Error | null, bytes: number) => void): void; - setBroadcast(flag: boolean): void; - setMulticastInterface(multicastInterface: string): void; - setMulticastLoopback(flag: boolean): void; - setMulticastTTL(ttl: number): void; - setRecvBufferSize(size: number): void; - setSendBufferSize(size: number): void; - setTTL(ttl: number): void; - unref(): this; - /** - * Tells the kernel to join a source-specific multicast channel at the given - * `sourceAddress` and `groupAddress`, using the `multicastInterface` with the - * `IP_ADD_SOURCE_MEMBERSHIP` socket option. - * If the `multicastInterface` argument - * is not specified, the operating system will choose one interface and will add - * membership to it. - * To add membership to every available interface, call - * `socket.addSourceSpecificMembership()` multiple times, once per interface. - */ - addSourceSpecificMembership(sourceAddress: string, groupAddress: string, multicastInterface?: string): void; - - /** - * Instructs the kernel to leave a source-specific multicast channel at the given - * `sourceAddress` and `groupAddress` using the `IP_DROP_SOURCE_MEMBERSHIP` - * socket option. This method is automatically called by the kernel when the - * socket is closed or the process terminates, so most apps will never have - * reason to call this. - * - * If `multicastInterface` is not specified, the operating system will attempt to - * drop membership on all valid interfaces. - */ - dropSourceSpecificMembership(sourceAddress: string, groupAddress: string, multicastInterface?: string): void; - - /** - * events.EventEmitter - * 1. close - * 2. connect - * 3. error - * 4. listening - * 5. message - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "connect", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "listening", listener: () => void): this; - addListener(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; - - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "close"): boolean; - emit(event: "connect"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "listening"): boolean; - emit(event: "message", msg: Buffer, rinfo: RemoteInfo): boolean; - - on(event: string, listener: (...args: any[]) => void): this; - on(event: "close", listener: () => void): this; - on(event: "connect", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "listening", listener: () => void): this; - on(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; - - once(event: string, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "connect", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "listening", listener: () => void): this; - once(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; - - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "connect", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "listening", listener: () => void): this; - prependListener(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; - - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "connect", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "listening", listener: () => void): this; - prependOnceListener(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this; - } -} diff --git a/node_modules/@types/node/dns.d.ts b/node_modules/@types/node/dns.d.ts deleted file mode 100644 index 8ce88644..00000000 --- a/node_modules/@types/node/dns.d.ts +++ /dev/null @@ -1,371 +0,0 @@ -declare module "dns" { - // Supported getaddrinfo flags. - const ADDRCONFIG: number; - const V4MAPPED: number; - /** - * If `dns.V4MAPPED` is specified, return resolved IPv6 addresses as - * well as IPv4 mapped IPv6 addresses. - */ - const ALL: number; - - interface LookupOptions { - family?: number; - hints?: number; - all?: boolean; - verbatim?: boolean; - } - - interface LookupOneOptions extends LookupOptions { - all?: false; - } - - interface LookupAllOptions extends LookupOptions { - all: true; - } - - interface LookupAddress { - address: string; - family: number; - } - - function lookup(hostname: string, family: number, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void): void; - function lookup(hostname: string, options: LookupOneOptions, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void): void; - function lookup(hostname: string, options: LookupAllOptions, callback: (err: NodeJS.ErrnoException | null, addresses: LookupAddress[]) => void): void; - function lookup(hostname: string, options: LookupOptions, callback: (err: NodeJS.ErrnoException | null, address: string | LookupAddress[], family: number) => void): void; - function lookup(hostname: string, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - namespace lookup { - function __promisify__(hostname: string, options: LookupAllOptions): Promise; - function __promisify__(hostname: string, options?: LookupOneOptions | number): Promise; - function __promisify__(hostname: string, options: LookupOptions): Promise; - } - - function lookupService(address: string, port: number, callback: (err: NodeJS.ErrnoException | null, hostname: string, service: string) => void): void; - - namespace lookupService { - function __promisify__(address: string, port: number): Promise<{ hostname: string, service: string }>; - } - - interface ResolveOptions { - ttl: boolean; - } - - interface ResolveWithTtlOptions extends ResolveOptions { - ttl: true; - } - - interface RecordWithTtl { - address: string; - ttl: number; - } - - /** @deprecated Use `AnyARecord` or `AnyAaaaRecord` instead. */ - type AnyRecordWithTtl = AnyARecord | AnyAaaaRecord; - - interface AnyARecord extends RecordWithTtl { - type: "A"; - } - - interface AnyAaaaRecord extends RecordWithTtl { - type: "AAAA"; - } - - interface MxRecord { - priority: number; - exchange: string; - } - - interface AnyMxRecord extends MxRecord { - type: "MX"; - } - - interface NaptrRecord { - flags: string; - service: string; - regexp: string; - replacement: string; - order: number; - preference: number; - } - - interface AnyNaptrRecord extends NaptrRecord { - type: "NAPTR"; - } - - interface SoaRecord { - nsname: string; - hostmaster: string; - serial: number; - refresh: number; - retry: number; - expire: number; - minttl: number; - } - - interface AnySoaRecord extends SoaRecord { - type: "SOA"; - } - - interface SrvRecord { - priority: number; - weight: number; - port: number; - name: string; - } - - interface AnySrvRecord extends SrvRecord { - type: "SRV"; - } - - interface AnyTxtRecord { - type: "TXT"; - entries: string[]; - } - - interface AnyNsRecord { - type: "NS"; - value: string; - } - - interface AnyPtrRecord { - type: "PTR"; - value: string; - } - - interface AnyCnameRecord { - type: "CNAME"; - value: string; - } - - type AnyRecord = AnyARecord | - AnyAaaaRecord | - AnyCnameRecord | - AnyMxRecord | - AnyNaptrRecord | - AnyNsRecord | - AnyPtrRecord | - AnySoaRecord | - AnySrvRecord | - AnyTxtRecord; - - function resolve(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; - function resolve(hostname: string, rrtype: "A", callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; - function resolve(hostname: string, rrtype: "AAAA", callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; - function resolve(hostname: string, rrtype: "ANY", callback: (err: NodeJS.ErrnoException | null, addresses: AnyRecord[]) => void): void; - function resolve(hostname: string, rrtype: "CNAME", callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; - function resolve(hostname: string, rrtype: "MX", callback: (err: NodeJS.ErrnoException | null, addresses: MxRecord[]) => void): void; - function resolve(hostname: string, rrtype: "NAPTR", callback: (err: NodeJS.ErrnoException | null, addresses: NaptrRecord[]) => void): void; - function resolve(hostname: string, rrtype: "NS", callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; - function resolve(hostname: string, rrtype: "PTR", callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; - function resolve(hostname: string, rrtype: "SOA", callback: (err: NodeJS.ErrnoException | null, addresses: SoaRecord) => void): void; - function resolve(hostname: string, rrtype: "SRV", callback: (err: NodeJS.ErrnoException | null, addresses: SrvRecord[]) => void): void; - function resolve(hostname: string, rrtype: "TXT", callback: (err: NodeJS.ErrnoException | null, addresses: string[][]) => void): void; - function resolve( - hostname: string, - rrtype: string, - callback: (err: NodeJS.ErrnoException | null, addresses: string[] | MxRecord[] | NaptrRecord[] | SoaRecord | SrvRecord[] | string[][] | AnyRecord[]) => void, - ): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - namespace resolve { - function __promisify__(hostname: string, rrtype?: "A" | "AAAA" | "CNAME" | "NS" | "PTR"): Promise; - function __promisify__(hostname: string, rrtype: "ANY"): Promise; - function __promisify__(hostname: string, rrtype: "MX"): Promise; - function __promisify__(hostname: string, rrtype: "NAPTR"): Promise; - function __promisify__(hostname: string, rrtype: "SOA"): Promise; - function __promisify__(hostname: string, rrtype: "SRV"): Promise; - function __promisify__(hostname: string, rrtype: "TXT"): Promise; - function __promisify__(hostname: string, rrtype: string): Promise; - } - - function resolve4(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; - function resolve4(hostname: string, options: ResolveWithTtlOptions, callback: (err: NodeJS.ErrnoException | null, addresses: RecordWithTtl[]) => void): void; - function resolve4(hostname: string, options: ResolveOptions, callback: (err: NodeJS.ErrnoException | null, addresses: string[] | RecordWithTtl[]) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - namespace resolve4 { - function __promisify__(hostname: string): Promise; - function __promisify__(hostname: string, options: ResolveWithTtlOptions): Promise; - function __promisify__(hostname: string, options?: ResolveOptions): Promise; - } - - function resolve6(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; - function resolve6(hostname: string, options: ResolveWithTtlOptions, callback: (err: NodeJS.ErrnoException | null, addresses: RecordWithTtl[]) => void): void; - function resolve6(hostname: string, options: ResolveOptions, callback: (err: NodeJS.ErrnoException | null, addresses: string[] | RecordWithTtl[]) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - namespace resolve6 { - function __promisify__(hostname: string): Promise; - function __promisify__(hostname: string, options: ResolveWithTtlOptions): Promise; - function __promisify__(hostname: string, options?: ResolveOptions): Promise; - } - - function resolveCname(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; - namespace resolveCname { - function __promisify__(hostname: string): Promise; - } - - function resolveMx(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: MxRecord[]) => void): void; - namespace resolveMx { - function __promisify__(hostname: string): Promise; - } - - function resolveNaptr(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: NaptrRecord[]) => void): void; - namespace resolveNaptr { - function __promisify__(hostname: string): Promise; - } - - function resolveNs(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; - namespace resolveNs { - function __promisify__(hostname: string): Promise; - } - - function resolvePtr(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void; - namespace resolvePtr { - function __promisify__(hostname: string): Promise; - } - - function resolveSoa(hostname: string, callback: (err: NodeJS.ErrnoException | null, address: SoaRecord) => void): void; - namespace resolveSoa { - function __promisify__(hostname: string): Promise; - } - - function resolveSrv(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: SrvRecord[]) => void): void; - namespace resolveSrv { - function __promisify__(hostname: string): Promise; - } - - function resolveTxt(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[][]) => void): void; - namespace resolveTxt { - function __promisify__(hostname: string): Promise; - } - - function resolveAny(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: AnyRecord[]) => void): void; - namespace resolveAny { - function __promisify__(hostname: string): Promise; - } - - function reverse(ip: string, callback: (err: NodeJS.ErrnoException | null, hostnames: string[]) => void): void; - function setServers(servers: ReadonlyArray): void; - function getServers(): string[]; - - // Error codes - const NODATA: string; - const FORMERR: string; - const SERVFAIL: string; - const NOTFOUND: string; - const NOTIMP: string; - const REFUSED: string; - const BADQUERY: string; - const BADNAME: string; - const BADFAMILY: string; - const BADRESP: string; - const CONNREFUSED: string; - const TIMEOUT: string; - const EOF: string; - const FILE: string; - const NOMEM: string; - const DESTRUCTION: string; - const BADSTR: string; - const BADFLAGS: string; - const NONAME: string; - const BADHINTS: string; - const NOTINITIALIZED: string; - const LOADIPHLPAPI: string; - const ADDRGETNETWORKPARAMS: string; - const CANCELLED: string; - - class Resolver { - getServers: typeof getServers; - setServers: typeof setServers; - resolve: typeof resolve; - resolve4: typeof resolve4; - resolve6: typeof resolve6; - resolveAny: typeof resolveAny; - resolveCname: typeof resolveCname; - resolveMx: typeof resolveMx; - resolveNaptr: typeof resolveNaptr; - resolveNs: typeof resolveNs; - resolvePtr: typeof resolvePtr; - resolveSoa: typeof resolveSoa; - resolveSrv: typeof resolveSrv; - resolveTxt: typeof resolveTxt; - reverse: typeof reverse; - cancel(): void; - } - - namespace promises { - function getServers(): string[]; - - function lookup(hostname: string, family: number): Promise; - function lookup(hostname: string, options: LookupOneOptions): Promise; - function lookup(hostname: string, options: LookupAllOptions): Promise; - function lookup(hostname: string, options: LookupOptions): Promise; - function lookup(hostname: string): Promise; - - function lookupService(address: string, port: number): Promise<{ hostname: string, service: string }>; - - function resolve(hostname: string): Promise; - function resolve(hostname: string, rrtype: "A"): Promise; - function resolve(hostname: string, rrtype: "AAAA"): Promise; - function resolve(hostname: string, rrtype: "ANY"): Promise; - function resolve(hostname: string, rrtype: "CNAME"): Promise; - function resolve(hostname: string, rrtype: "MX"): Promise; - function resolve(hostname: string, rrtype: "NAPTR"): Promise; - function resolve(hostname: string, rrtype: "NS"): Promise; - function resolve(hostname: string, rrtype: "PTR"): Promise; - function resolve(hostname: string, rrtype: "SOA"): Promise; - function resolve(hostname: string, rrtype: "SRV"): Promise; - function resolve(hostname: string, rrtype: "TXT"): Promise; - function resolve(hostname: string, rrtype: string): Promise; - - function resolve4(hostname: string): Promise; - function resolve4(hostname: string, options: ResolveWithTtlOptions): Promise; - function resolve4(hostname: string, options: ResolveOptions): Promise; - - function resolve6(hostname: string): Promise; - function resolve6(hostname: string, options: ResolveWithTtlOptions): Promise; - function resolve6(hostname: string, options: ResolveOptions): Promise; - - function resolveAny(hostname: string): Promise; - - function resolveCname(hostname: string): Promise; - - function resolveMx(hostname: string): Promise; - - function resolveNaptr(hostname: string): Promise; - - function resolveNs(hostname: string): Promise; - - function resolvePtr(hostname: string): Promise; - - function resolveSoa(hostname: string): Promise; - - function resolveSrv(hostname: string): Promise; - - function resolveTxt(hostname: string): Promise; - - function reverse(ip: string): Promise; - - function setServers(servers: ReadonlyArray): void; - - class Resolver { - getServers: typeof getServers; - resolve: typeof resolve; - resolve4: typeof resolve4; - resolve6: typeof resolve6; - resolveAny: typeof resolveAny; - resolveCname: typeof resolveCname; - resolveMx: typeof resolveMx; - resolveNaptr: typeof resolveNaptr; - resolveNs: typeof resolveNs; - resolvePtr: typeof resolvePtr; - resolveSoa: typeof resolveSoa; - resolveSrv: typeof resolveSrv; - resolveTxt: typeof resolveTxt; - reverse: typeof reverse; - setServers: typeof setServers; - } - } -} diff --git a/node_modules/@types/node/domain.d.ts b/node_modules/@types/node/domain.d.ts deleted file mode 100644 index 63dcc9b0..00000000 --- a/node_modules/@types/node/domain.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -declare module "domain" { - import { EventEmitter } from "events"; - - global { - namespace NodeJS { - interface Domain extends EventEmitter { - run(fn: (...args: any[]) => T, ...args: any[]): T; - add(emitter: EventEmitter | Timer): void; - remove(emitter: EventEmitter | Timer): void; - bind(cb: T): T; - intercept(cb: T): T; - } - } - } - - interface Domain extends NodeJS.Domain {} - class Domain extends EventEmitter { - members: Array; - enter(): void; - exit(): void; - } - - function create(): Domain; -} diff --git a/node_modules/@types/node/events.d.ts b/node_modules/@types/node/events.d.ts deleted file mode 100644 index c7399f18..00000000 --- a/node_modules/@types/node/events.d.ts +++ /dev/null @@ -1,83 +0,0 @@ -declare module "events" { - interface EventEmitterOptions { - /** - * Enables automatic capturing of promise rejection. - */ - captureRejections?: boolean; - } - - interface NodeEventTarget { - once(event: string | symbol, listener: (...args: any[]) => void): this; - } - - interface DOMEventTarget { - addEventListener(event: string, listener: (...args: any[]) => void, opts?: { once: boolean }): any; - } - - namespace EventEmitter { - function once(emitter: NodeEventTarget, event: string | symbol): Promise; - function once(emitter: DOMEventTarget, event: string): Promise; - function on(emitter: EventEmitter, event: string): AsyncIterableIterator; - const captureRejectionSymbol: unique symbol; - - /** - * This symbol shall be used to install a listener for only monitoring `'error'` - * events. Listeners installed using this symbol are called before the regular - * `'error'` listeners are called. - * - * Installing a listener using this symbol does not change the behavior once an - * `'error'` event is emitted, therefore the process will still crash if no - * regular `'error'` listener is installed. - */ - const errorMonitor: unique symbol; - /** - * Sets or gets the default captureRejection value for all emitters. - */ - let captureRejections: boolean; - - interface EventEmitter extends NodeJS.EventEmitter { - } - - class EventEmitter { - constructor(options?: EventEmitterOptions); - /** @deprecated since v4.0.0 */ - static listenerCount(emitter: EventEmitter, event: string | symbol): number; - static defaultMaxListeners: number; - /** - * This symbol shall be used to install a listener for only monitoring `'error'` - * events. Listeners installed using this symbol are called before the regular - * `'error'` listeners are called. - * - * Installing a listener using this symbol does not change the behavior once an - * `'error'` event is emitted, therefore the process will still crash if no - * regular `'error'` listener is installed. - */ - static readonly errorMonitor: unique symbol; - } - } - - global { - namespace NodeJS { - interface EventEmitter { - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - removeListener(event: string | symbol, listener: (...args: any[]) => void): this; - off(event: string | symbol, listener: (...args: any[]) => void): this; - removeAllListeners(event?: string | symbol): this; - setMaxListeners(n: number): this; - getMaxListeners(): number; - listeners(event: string | symbol): Function[]; - rawListeners(event: string | symbol): Function[]; - emit(event: string | symbol, ...args: any[]): boolean; - listenerCount(event: string | symbol): number; - // Added in Node 6... - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - eventNames(): Array; - } - } - } - - export = EventEmitter; -} diff --git a/node_modules/@types/node/fs.d.ts b/node_modules/@types/node/fs.d.ts deleted file mode 100644 index c9710216..00000000 --- a/node_modules/@types/node/fs.d.ts +++ /dev/null @@ -1,2239 +0,0 @@ -declare module "fs" { - import * as stream from "stream"; - import * as events from "events"; - import { URL } from "url"; - import * as promises from 'fs/promises'; - - export { promises }; - /** - * Valid types for path values in "fs". - */ - export type PathLike = string | Buffer | URL; - - export type NoParamCallback = (err: NodeJS.ErrnoException | null) => void; - - export type BufferEncodingOption = 'buffer' | { encoding: 'buffer' }; - - export interface BaseEncodingOptions { - encoding?: BufferEncoding | null; - } - - export type OpenMode = number | string; - - export type Mode = number | string; - - export interface StatsBase { - isFile(): boolean; - isDirectory(): boolean; - isBlockDevice(): boolean; - isCharacterDevice(): boolean; - isSymbolicLink(): boolean; - isFIFO(): boolean; - isSocket(): boolean; - - dev: T; - ino: T; - mode: T; - nlink: T; - uid: T; - gid: T; - rdev: T; - size: T; - blksize: T; - blocks: T; - atimeMs: T; - mtimeMs: T; - ctimeMs: T; - birthtimeMs: T; - atime: Date; - mtime: Date; - ctime: Date; - birthtime: Date; - } - - export interface Stats extends StatsBase { - } - - export class Stats { - } - - export class Dirent { - isFile(): boolean; - isDirectory(): boolean; - isBlockDevice(): boolean; - isCharacterDevice(): boolean; - isSymbolicLink(): boolean; - isFIFO(): boolean; - isSocket(): boolean; - name: string; - } - - /** - * A class representing a directory stream. - */ - export class Dir { - readonly path: string; - - /** - * Asynchronously iterates over the directory via `readdir(3)` until all entries have been read. - */ - [Symbol.asyncIterator](): AsyncIterableIterator; - - /** - * Asynchronously close the directory's underlying resource handle. - * Subsequent reads will result in errors. - */ - close(): Promise; - close(cb: NoParamCallback): void; - - /** - * Synchronously close the directory's underlying resource handle. - * Subsequent reads will result in errors. - */ - closeSync(): void; - - /** - * Asynchronously read the next directory entry via `readdir(3)` as an `Dirent`. - * After the read is completed, a value is returned that will be resolved with an `Dirent`, or `null` if there are no more directory entries to read. - * Directory entries returned by this function are in no particular order as provided by the operating system's underlying directory mechanisms. - */ - read(): Promise; - read(cb: (err: NodeJS.ErrnoException | null, dirEnt: Dirent | null) => void): void; - - /** - * Synchronously read the next directory entry via `readdir(3)` as a `Dirent`. - * If there are no more directory entries to read, null will be returned. - * Directory entries returned by this function are in no particular order as provided by the operating system's underlying directory mechanisms. - */ - readSync(): Dirent; - } - - export interface FSWatcher extends events.EventEmitter { - close(): void; - - /** - * events.EventEmitter - * 1. change - * 2. error - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; - addListener(event: "error", listener: (error: Error) => void): this; - addListener(event: "close", listener: () => void): this; - - on(event: string, listener: (...args: any[]) => void): this; - on(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; - on(event: "error", listener: (error: Error) => void): this; - on(event: "close", listener: () => void): this; - - once(event: string, listener: (...args: any[]) => void): this; - once(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; - once(event: "error", listener: (error: Error) => void): this; - once(event: "close", listener: () => void): this; - - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; - prependListener(event: "error", listener: (error: Error) => void): this; - prependListener(event: "close", listener: () => void): this; - - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "change", listener: (eventType: string, filename: string | Buffer) => void): this; - prependOnceListener(event: "error", listener: (error: Error) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - } - - export class ReadStream extends stream.Readable { - close(): void; - bytesRead: number; - path: string | Buffer; - pending: boolean; - - /** - * events.EventEmitter - * 1. open - * 2. close - * 3. ready - */ - addListener(event: "close", listener: () => void): this; - addListener(event: "data", listener: (chunk: Buffer | string) => void): this; - addListener(event: "end", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "open", listener: (fd: number) => void): this; - addListener(event: "pause", listener: () => void): this; - addListener(event: "readable", listener: () => void): this; - addListener(event: "ready", listener: () => void): this; - addListener(event: "resume", listener: () => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - on(event: "close", listener: () => void): this; - on(event: "data", listener: (chunk: Buffer | string) => void): this; - on(event: "end", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "open", listener: (fd: number) => void): this; - on(event: "pause", listener: () => void): this; - on(event: "readable", listener: () => void): this; - on(event: "ready", listener: () => void): this; - on(event: "resume", listener: () => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "close", listener: () => void): this; - once(event: "data", listener: (chunk: Buffer | string) => void): this; - once(event: "end", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "open", listener: (fd: number) => void): this; - once(event: "pause", listener: () => void): this; - once(event: "readable", listener: () => void): this; - once(event: "ready", listener: () => void): this; - once(event: "resume", listener: () => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "close", listener: () => void): this; - prependListener(event: "data", listener: (chunk: Buffer | string) => void): this; - prependListener(event: "end", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "open", listener: (fd: number) => void): this; - prependListener(event: "pause", listener: () => void): this; - prependListener(event: "readable", listener: () => void): this; - prependListener(event: "ready", listener: () => void): this; - prependListener(event: "resume", listener: () => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this; - prependOnceListener(event: "end", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "open", listener: (fd: number) => void): this; - prependOnceListener(event: "pause", listener: () => void): this; - prependOnceListener(event: "readable", listener: () => void): this; - prependOnceListener(event: "ready", listener: () => void): this; - prependOnceListener(event: "resume", listener: () => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - - export class WriteStream extends stream.Writable { - close(): void; - bytesWritten: number; - path: string | Buffer; - pending: boolean; - - /** - * events.EventEmitter - * 1. open - * 2. close - * 3. ready - */ - addListener(event: "close", listener: () => void): this; - addListener(event: "drain", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "finish", listener: () => void): this; - addListener(event: "open", listener: (fd: number) => void): this; - addListener(event: "pipe", listener: (src: stream.Readable) => void): this; - addListener(event: "ready", listener: () => void): this; - addListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - on(event: "close", listener: () => void): this; - on(event: "drain", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "finish", listener: () => void): this; - on(event: "open", listener: (fd: number) => void): this; - on(event: "pipe", listener: (src: stream.Readable) => void): this; - on(event: "ready", listener: () => void): this; - on(event: "unpipe", listener: (src: stream.Readable) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "close", listener: () => void): this; - once(event: "drain", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "finish", listener: () => void): this; - once(event: "open", listener: (fd: number) => void): this; - once(event: "pipe", listener: (src: stream.Readable) => void): this; - once(event: "ready", listener: () => void): this; - once(event: "unpipe", listener: (src: stream.Readable) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "close", listener: () => void): this; - prependListener(event: "drain", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "finish", listener: () => void): this; - prependListener(event: "open", listener: (fd: number) => void): this; - prependListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependListener(event: "ready", listener: () => void): this; - prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "drain", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "finish", listener: () => void): this; - prependOnceListener(event: "open", listener: (fd: number) => void): this; - prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: "ready", listener: () => void): this; - prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - - /** - * Asynchronous rename(2) - Change the name or location of a file or directory. - * @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - export function rename(oldPath: PathLike, newPath: PathLike, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace rename { - /** - * Asynchronous rename(2) - Change the name or location of a file or directory. - * @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - function __promisify__(oldPath: PathLike, newPath: PathLike): Promise; - } - - /** - * Synchronous rename(2) - Change the name or location of a file or directory. - * @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - export function renameSync(oldPath: PathLike, newPath: PathLike): void; - - /** - * Asynchronous truncate(2) - Truncate a file to a specified length. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param len If not specified, defaults to `0`. - */ - export function truncate(path: PathLike, len: number | undefined | null, callback: NoParamCallback): void; - - /** - * Asynchronous truncate(2) - Truncate a file to a specified length. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - export function truncate(path: PathLike, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace truncate { - /** - * Asynchronous truncate(2) - Truncate a file to a specified length. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param len If not specified, defaults to `0`. - */ - function __promisify__(path: PathLike, len?: number | null): Promise; - } - - /** - * Synchronous truncate(2) - Truncate a file to a specified length. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param len If not specified, defaults to `0`. - */ - export function truncateSync(path: PathLike, len?: number | null): void; - - /** - * Asynchronous ftruncate(2) - Truncate a file to a specified length. - * @param fd A file descriptor. - * @param len If not specified, defaults to `0`. - */ - export function ftruncate(fd: number, len: number | undefined | null, callback: NoParamCallback): void; - - /** - * Asynchronous ftruncate(2) - Truncate a file to a specified length. - * @param fd A file descriptor. - */ - export function ftruncate(fd: number, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace ftruncate { - /** - * Asynchronous ftruncate(2) - Truncate a file to a specified length. - * @param fd A file descriptor. - * @param len If not specified, defaults to `0`. - */ - function __promisify__(fd: number, len?: number | null): Promise; - } - - /** - * Synchronous ftruncate(2) - Truncate a file to a specified length. - * @param fd A file descriptor. - * @param len If not specified, defaults to `0`. - */ - export function ftruncateSync(fd: number, len?: number | null): void; - - /** - * Asynchronous chown(2) - Change ownership of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function chown(path: PathLike, uid: number, gid: number, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace chown { - /** - * Asynchronous chown(2) - Change ownership of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__(path: PathLike, uid: number, gid: number): Promise; - } - - /** - * Synchronous chown(2) - Change ownership of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function chownSync(path: PathLike, uid: number, gid: number): void; - - /** - * Asynchronous fchown(2) - Change ownership of a file. - * @param fd A file descriptor. - */ - export function fchown(fd: number, uid: number, gid: number, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace fchown { - /** - * Asynchronous fchown(2) - Change ownership of a file. - * @param fd A file descriptor. - */ - function __promisify__(fd: number, uid: number, gid: number): Promise; - } - - /** - * Synchronous fchown(2) - Change ownership of a file. - * @param fd A file descriptor. - */ - export function fchownSync(fd: number, uid: number, gid: number): void; - - /** - * Asynchronous lchown(2) - Change ownership of a file. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function lchown(path: PathLike, uid: number, gid: number, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace lchown { - /** - * Asynchronous lchown(2) - Change ownership of a file. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__(path: PathLike, uid: number, gid: number): Promise; - } - - /** - * Synchronous lchown(2) - Change ownership of a file. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function lchownSync(path: PathLike, uid: number, gid: number): void; - - /** - * Changes the access and modification times of a file in the same way as `fs.utimes()`, - * with the difference that if the path refers to a symbolic link, then the link is not - * dereferenced: instead, the timestamps of the symbolic link itself are changed. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - export function lutimes(path: PathLike, atime: string | number | Date, mtime: string | number | Date, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace lutimes { - /** - * Changes the access and modification times of a file in the same way as `fsPromises.utimes()`, - * with the difference that if the path refers to a symbolic link, then the link is not - * dereferenced: instead, the timestamps of the symbolic link itself are changed. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - function __promisify__(path: PathLike, atime: string | number | Date, mtime: string | number | Date): Promise; - } - - /** - * Change the file system timestamps of the symbolic link referenced by `path`. Returns `undefined`, - * or throws an exception when parameters are incorrect or the operation fails. - * This is the synchronous version of `fs.lutimes()`. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - export function lutimesSync(path: PathLike, atime: string | number | Date, mtime: string | number | Date): void; - - /** - * Asynchronous chmod(2) - Change permissions of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - export function chmod(path: PathLike, mode: Mode, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace chmod { - /** - * Asynchronous chmod(2) - Change permissions of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - function __promisify__(path: PathLike, mode: Mode): Promise; - } - - /** - * Synchronous chmod(2) - Change permissions of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - export function chmodSync(path: PathLike, mode: Mode): void; - - /** - * Asynchronous fchmod(2) - Change permissions of a file. - * @param fd A file descriptor. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - export function fchmod(fd: number, mode: Mode, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace fchmod { - /** - * Asynchronous fchmod(2) - Change permissions of a file. - * @param fd A file descriptor. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - function __promisify__(fd: number, mode: Mode): Promise; - } - - /** - * Synchronous fchmod(2) - Change permissions of a file. - * @param fd A file descriptor. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - export function fchmodSync(fd: number, mode: Mode): void; - - /** - * Asynchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - export function lchmod(path: PathLike, mode: Mode, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace lchmod { - /** - * Asynchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - function __promisify__(path: PathLike, mode: Mode): Promise; - } - - /** - * Synchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - export function lchmodSync(path: PathLike, mode: Mode): void; - - /** - * Asynchronous stat(2) - Get file status. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function stat(path: PathLike, options: BigIntOptions, callback: (err: NodeJS.ErrnoException | null, stats: BigIntStats) => void): void; - export function stat(path: PathLike, options: StatOptions, callback: (err: NodeJS.ErrnoException | null, stats: Stats | BigIntStats) => void): void; - export function stat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace stat { - /** - * Asynchronous stat(2) - Get file status. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__(path: PathLike, options: BigIntOptions): Promise; - function __promisify__(path: PathLike, options: StatOptions): Promise; - function __promisify__(path: PathLike): Promise; - } - - /** - * Synchronous stat(2) - Get file status. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function statSync(path: PathLike, options: BigIntOptions): BigIntStats; - export function statSync(path: PathLike, options: StatOptions): Stats | BigIntStats; - export function statSync(path: PathLike): Stats; - - /** - * Asynchronous fstat(2) - Get file status. - * @param fd A file descriptor. - */ - export function fstat(fd: number, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace fstat { - /** - * Asynchronous fstat(2) - Get file status. - * @param fd A file descriptor. - */ - function __promisify__(fd: number): Promise; - } - - /** - * Synchronous fstat(2) - Get file status. - * @param fd A file descriptor. - */ - export function fstatSync(fd: number): Stats; - - /** - * Asynchronous lstat(2) - Get file status. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function lstat(path: PathLike, callback: (err: NodeJS.ErrnoException | null, stats: Stats) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace lstat { - /** - * Asynchronous lstat(2) - Get file status. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__(path: PathLike): Promise; - } - - /** - * Synchronous lstat(2) - Get file status. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function lstatSync(path: PathLike): Stats; - - /** - * Asynchronous link(2) - Create a new link (also known as a hard link) to an existing file. - * @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function link(existingPath: PathLike, newPath: PathLike, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace link { - /** - * Asynchronous link(2) - Create a new link (also known as a hard link) to an existing file. - * @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__(existingPath: PathLike, newPath: PathLike): Promise; - } - - /** - * Synchronous link(2) - Create a new link (also known as a hard link) to an existing file. - * @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function linkSync(existingPath: PathLike, newPath: PathLike): void; - - /** - * Asynchronous symlink(2) - Create a new symbolic link to an existing file. - * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol. - * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol. - * @param type May be set to `'dir'`, `'file'`, or `'junction'` (default is `'file'`) and is only available on Windows (ignored on other platforms). - * When using `'junction'`, the `target` argument will automatically be normalized to an absolute path. - */ - export function symlink(target: PathLike, path: PathLike, type: symlink.Type | undefined | null, callback: NoParamCallback): void; - - /** - * Asynchronous symlink(2) - Create a new symbolic link to an existing file. - * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol. - * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol. - */ - export function symlink(target: PathLike, path: PathLike, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace symlink { - /** - * Asynchronous symlink(2) - Create a new symbolic link to an existing file. - * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol. - * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol. - * @param type May be set to `'dir'`, `'file'`, or `'junction'` (default is `'file'`) and is only available on Windows (ignored on other platforms). - * When using `'junction'`, the `target` argument will automatically be normalized to an absolute path. - */ - function __promisify__(target: PathLike, path: PathLike, type?: string | null): Promise; - - type Type = "dir" | "file" | "junction"; - } - - /** - * Synchronous symlink(2) - Create a new symbolic link to an existing file. - * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol. - * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol. - * @param type May be set to `'dir'`, `'file'`, or `'junction'` (default is `'file'`) and is only available on Windows (ignored on other platforms). - * When using `'junction'`, the `target` argument will automatically be normalized to an absolute path. - */ - export function symlinkSync(target: PathLike, path: PathLike, type?: symlink.Type | null): void; - - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readlink( - path: PathLike, - options: BaseEncodingOptions | BufferEncoding | undefined | null, - callback: (err: NodeJS.ErrnoException | null, linkString: string) => void - ): void; - - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readlink(path: PathLike, options: BufferEncodingOption, callback: (err: NodeJS.ErrnoException | null, linkString: Buffer) => void): void; - - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readlink(path: PathLike, options: BaseEncodingOptions | string | undefined | null, callback: (err: NodeJS.ErrnoException | null, linkString: string | Buffer) => void): void; - - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function readlink(path: PathLike, callback: (err: NodeJS.ErrnoException | null, linkString: string) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace readlink { - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options?: BaseEncodingOptions | BufferEncoding | null): Promise; - - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options: BufferEncodingOption): Promise; - - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options?: BaseEncodingOptions | string | null): Promise; - } - - /** - * Synchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readlinkSync(path: PathLike, options?: BaseEncodingOptions | BufferEncoding | null): string; - - /** - * Synchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readlinkSync(path: PathLike, options: BufferEncodingOption): Buffer; - - /** - * Synchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readlinkSync(path: PathLike, options?: BaseEncodingOptions | string | null): string | Buffer; - - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function realpath( - path: PathLike, - options: BaseEncodingOptions | BufferEncoding | undefined | null, - callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void - ): void; - - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function realpath(path: PathLike, options: BufferEncodingOption, callback: (err: NodeJS.ErrnoException | null, resolvedPath: Buffer) => void): void; - - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function realpath(path: PathLike, options: BaseEncodingOptions | string | undefined | null, callback: (err: NodeJS.ErrnoException | null, resolvedPath: string | Buffer) => void): void; - - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function realpath(path: PathLike, callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace realpath { - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options?: BaseEncodingOptions | BufferEncoding | null): Promise; - - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options: BufferEncodingOption): Promise; - - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options?: BaseEncodingOptions | string | null): Promise; - - function native( - path: PathLike, - options: BaseEncodingOptions | BufferEncoding | undefined | null, - callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void - ): void; - function native(path: PathLike, options: BufferEncodingOption, callback: (err: NodeJS.ErrnoException | null, resolvedPath: Buffer) => void): void; - function native(path: PathLike, options: BaseEncodingOptions | string | undefined | null, callback: (err: NodeJS.ErrnoException | null, resolvedPath: string | Buffer) => void): void; - function native(path: PathLike, callback: (err: NodeJS.ErrnoException | null, resolvedPath: string) => void): void; - } - - /** - * Synchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function realpathSync(path: PathLike, options?: BaseEncodingOptions | BufferEncoding | null): string; - - /** - * Synchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function realpathSync(path: PathLike, options: BufferEncodingOption): Buffer; - - /** - * Synchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function realpathSync(path: PathLike, options?: BaseEncodingOptions | string | null): string | Buffer; - - export namespace realpathSync { - function native(path: PathLike, options?: BaseEncodingOptions | BufferEncoding | null): string; - function native(path: PathLike, options: BufferEncodingOption): Buffer; - function native(path: PathLike, options?: BaseEncodingOptions | string | null): string | Buffer; - } - - /** - * Asynchronous unlink(2) - delete a name and possibly the file it refers to. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function unlink(path: PathLike, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace unlink { - /** - * Asynchronous unlink(2) - delete a name and possibly the file it refers to. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__(path: PathLike): Promise; - } - - /** - * Synchronous unlink(2) - delete a name and possibly the file it refers to. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function unlinkSync(path: PathLike): void; - - export interface RmDirOptions { - /** - * If an `EBUSY`, `EMFILE`, `ENFILE`, `ENOTEMPTY`, or - * `EPERM` error is encountered, Node.js will retry the operation with a linear - * backoff wait of `retryDelay` ms longer on each try. This option represents the - * number of retries. This option is ignored if the `recursive` option is not - * `true`. - * @default 0 - */ - maxRetries?: number; - /** - * @deprecated since v14.14.0 In future versions of Node.js, - * `fs.rmdir(path, { recursive: true })` will throw on nonexistent - * paths, or when given a file as a target. - * Use `fs.rm(path, { recursive: true, force: true })` instead. - * - * If `true`, perform a recursive directory removal. In - * recursive mode, errors are not reported if `path` does not exist, and - * operations are retried on failure. - * @default false - */ - recursive?: boolean; - /** - * The amount of time in milliseconds to wait between retries. - * This option is ignored if the `recursive` option is not `true`. - * @default 100 - */ - retryDelay?: number; - } - - /** - * Asynchronous rmdir(2) - delete a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function rmdir(path: PathLike, callback: NoParamCallback): void; - export function rmdir(path: PathLike, options: RmDirOptions, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace rmdir { - /** - * Asynchronous rmdir(2) - delete a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function __promisify__(path: PathLike, options?: RmDirOptions): Promise; - } - - /** - * Synchronous rmdir(2) - delete a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function rmdirSync(path: PathLike, options?: RmDirOptions): void; - - export interface RmOptions { - /** - * When `true`, exceptions will be ignored if `path` does not exist. - * @default false - */ - force?: boolean; - /** - * If an `EBUSY`, `EMFILE`, `ENFILE`, `ENOTEMPTY`, or - * `EPERM` error is encountered, Node.js will retry the operation with a linear - * backoff wait of `retryDelay` ms longer on each try. This option represents the - * number of retries. This option is ignored if the `recursive` option is not - * `true`. - * @default 0 - */ - maxRetries?: number; - /** - * If `true`, perform a recursive directory removal. In - * recursive mode, errors are not reported if `path` does not exist, and - * operations are retried on failure. - * @default false - */ - recursive?: boolean; - /** - * The amount of time in milliseconds to wait between retries. - * This option is ignored if the `recursive` option is not `true`. - * @default 100 - */ - retryDelay?: number; - } - - /** - * Asynchronously removes files and directories (modeled on the standard POSIX `rm` utility). - */ - export function rm(path: PathLike, callback: NoParamCallback): void; - export function rm(path: PathLike, options: RmOptions, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace rm { - /** - * Asynchronously removes files and directories (modeled on the standard POSIX `rm` utility). - */ - function __promisify__(path: PathLike, options?: RmOptions): Promise; - } - - /** - * Synchronously removes files and directories (modeled on the standard POSIX `rm` utility). - */ - export function rmSync(path: PathLike, options?: RmOptions): void; - - export interface MakeDirectoryOptions { - /** - * Indicates whether parent folders should be created. - * If a folder was created, the path to the first created folder will be returned. - * @default false - */ - recursive?: boolean; - /** - * A file mode. If a string is passed, it is parsed as an octal integer. If not specified - * @default 0o777 - */ - mode?: Mode; - } - - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - export function mkdir(path: PathLike, options: MakeDirectoryOptions & { recursive: true }, callback: (err: NodeJS.ErrnoException | null, path: string) => void): void; - - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - export function mkdir(path: PathLike, options: Mode | (MakeDirectoryOptions & { recursive?: false; }) | null | undefined, callback: NoParamCallback): void; - - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - export function mkdir(path: PathLike, options: Mode | MakeDirectoryOptions | null | undefined, callback: (err: NodeJS.ErrnoException | null, path: string | undefined) => void): void; - - /** - * Asynchronous mkdir(2) - create a directory with a mode of `0o777`. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function mkdir(path: PathLike, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace mkdir { - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - function __promisify__(path: PathLike, options: MakeDirectoryOptions & { recursive: true; }): Promise; - - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - function __promisify__(path: PathLike, options?: Mode | (MakeDirectoryOptions & { recursive?: false; }) | null): Promise; - - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - function __promisify__(path: PathLike, options?: Mode | MakeDirectoryOptions | null): Promise; - } - - /** - * Synchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - export function mkdirSync(path: PathLike, options: MakeDirectoryOptions & { recursive: true; }): string; - - /** - * Synchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - export function mkdirSync(path: PathLike, options?: Mode | (MakeDirectoryOptions & { recursive?: false; }) | null): void; - - /** - * Synchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - export function mkdirSync(path: PathLike, options?: Mode | MakeDirectoryOptions | null): string | undefined; - - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function mkdtemp(prefix: string, options: BaseEncodingOptions | BufferEncoding | undefined | null, callback: (err: NodeJS.ErrnoException | null, folder: string) => void): void; - - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function mkdtemp(prefix: string, options: "buffer" | { encoding: "buffer" }, callback: (err: NodeJS.ErrnoException | null, folder: Buffer) => void): void; - - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function mkdtemp(prefix: string, options: BaseEncodingOptions | string | undefined | null, callback: (err: NodeJS.ErrnoException | null, folder: string | Buffer) => void): void; - - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - */ - export function mkdtemp(prefix: string, callback: (err: NodeJS.ErrnoException | null, folder: string) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace mkdtemp { - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(prefix: string, options?: BaseEncodingOptions | BufferEncoding | null): Promise; - - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(prefix: string, options: BufferEncodingOption): Promise; - - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(prefix: string, options?: BaseEncodingOptions | string | null): Promise; - } - - /** - * Synchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function mkdtempSync(prefix: string, options?: BaseEncodingOptions | BufferEncoding | null): string; - - /** - * Synchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function mkdtempSync(prefix: string, options: BufferEncodingOption): Buffer; - - /** - * Synchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required prefix to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function mkdtempSync(prefix: string, options?: BaseEncodingOptions | string | null): string | Buffer; - - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readdir( - path: PathLike, - options: { encoding: BufferEncoding | null; withFileTypes?: false } | BufferEncoding | undefined | null, - callback: (err: NodeJS.ErrnoException | null, files: string[]) => void, - ): void; - - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readdir(path: PathLike, options: { encoding: "buffer"; withFileTypes?: false } | "buffer", callback: (err: NodeJS.ErrnoException | null, files: Buffer[]) => void): void; - - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readdir( - path: PathLike, - options: BaseEncodingOptions & { withFileTypes?: false } | BufferEncoding | undefined | null, - callback: (err: NodeJS.ErrnoException | null, files: string[] | Buffer[]) => void, - ): void; - - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function readdir(path: PathLike, callback: (err: NodeJS.ErrnoException | null, files: string[]) => void): void; - - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options If called with `withFileTypes: true` the result data will be an array of Dirent. - */ - export function readdir(path: PathLike, options: BaseEncodingOptions & { withFileTypes: true }, callback: (err: NodeJS.ErrnoException | null, files: Dirent[]) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace readdir { - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options?: { encoding: BufferEncoding | null; withFileTypes?: false } | BufferEncoding | null): Promise; - - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options: "buffer" | { encoding: "buffer"; withFileTypes?: false }): Promise; - - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function __promisify__(path: PathLike, options?: BaseEncodingOptions & { withFileTypes?: false } | BufferEncoding | null): Promise; - - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options If called with `withFileTypes: true` the result data will be an array of Dirent - */ - function __promisify__(path: PathLike, options: BaseEncodingOptions & { withFileTypes: true }): Promise; - } - - /** - * Synchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readdirSync(path: PathLike, options?: { encoding: BufferEncoding | null; withFileTypes?: false } | BufferEncoding | null): string[]; - - /** - * Synchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readdirSync(path: PathLike, options: { encoding: "buffer"; withFileTypes?: false } | "buffer"): Buffer[]; - - /** - * Synchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - export function readdirSync(path: PathLike, options?: BaseEncodingOptions & { withFileTypes?: false } | BufferEncoding | null): string[] | Buffer[]; - - /** - * Synchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options If called with `withFileTypes: true` the result data will be an array of Dirent. - */ - export function readdirSync(path: PathLike, options: BaseEncodingOptions & { withFileTypes: true }): Dirent[]; - - /** - * Asynchronous close(2) - close a file descriptor. - * @param fd A file descriptor. - */ - export function close(fd: number, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace close { - /** - * Asynchronous close(2) - close a file descriptor. - * @param fd A file descriptor. - */ - function __promisify__(fd: number): Promise; - } - - /** - * Synchronous close(2) - close a file descriptor. - * @param fd A file descriptor. - */ - export function closeSync(fd: number): void; - - /** - * Asynchronous open(2) - open and possibly create a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. If not supplied, defaults to `0o666`. - */ - export function open(path: PathLike, flags: OpenMode, mode: Mode | undefined | null, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void; - - /** - * Asynchronous open(2) - open and possibly create a file. If the file is created, its mode will be `0o666`. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - export function open(path: PathLike, flags: OpenMode, callback: (err: NodeJS.ErrnoException | null, fd: number) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace open { - /** - * Asynchronous open(2) - open and possibly create a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. If not supplied, defaults to `0o666`. - */ - function __promisify__(path: PathLike, flags: OpenMode, mode?: Mode | null): Promise; - } - - /** - * Synchronous open(2) - open and possibly create a file, returning a file descriptor.. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. If not supplied, defaults to `0o666`. - */ - export function openSync(path: PathLike, flags: OpenMode, mode?: Mode | null): number; - - /** - * Asynchronously change file timestamps of the file referenced by the supplied path. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - export function utimes(path: PathLike, atime: string | number | Date, mtime: string | number | Date, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace utimes { - /** - * Asynchronously change file timestamps of the file referenced by the supplied path. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - function __promisify__(path: PathLike, atime: string | number | Date, mtime: string | number | Date): Promise; - } - - /** - * Synchronously change file timestamps of the file referenced by the supplied path. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - export function utimesSync(path: PathLike, atime: string | number | Date, mtime: string | number | Date): void; - - /** - * Asynchronously change file timestamps of the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - export function futimes(fd: number, atime: string | number | Date, mtime: string | number | Date, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace futimes { - /** - * Asynchronously change file timestamps of the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - function __promisify__(fd: number, atime: string | number | Date, mtime: string | number | Date): Promise; - } - - /** - * Synchronously change file timestamps of the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - export function futimesSync(fd: number, atime: string | number | Date, mtime: string | number | Date): void; - - /** - * Asynchronous fsync(2) - synchronize a file's in-core state with the underlying storage device. - * @param fd A file descriptor. - */ - export function fsync(fd: number, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace fsync { - /** - * Asynchronous fsync(2) - synchronize a file's in-core state with the underlying storage device. - * @param fd A file descriptor. - */ - function __promisify__(fd: number): Promise; - } - - /** - * Synchronous fsync(2) - synchronize a file's in-core state with the underlying storage device. - * @param fd A file descriptor. - */ - export function fsyncSync(fd: number): void; - - /** - * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param offset The part of the buffer to be written. If not supplied, defaults to `0`. - * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - */ - export function write( - fd: number, - buffer: TBuffer, - offset: number | undefined | null, - length: number | undefined | null, - position: number | undefined | null, - callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void, - ): void; - - /** - * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param offset The part of the buffer to be written. If not supplied, defaults to `0`. - * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`. - */ - export function write( - fd: number, - buffer: TBuffer, - offset: number | undefined | null, - length: number | undefined | null, - callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void, - ): void; - - /** - * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param offset The part of the buffer to be written. If not supplied, defaults to `0`. - */ - export function write( - fd: number, - buffer: TBuffer, - offset: number | undefined | null, - callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void - ): void; - - /** - * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - */ - export function write(fd: number, buffer: TBuffer, callback: (err: NodeJS.ErrnoException | null, written: number, buffer: TBuffer) => void): void; - - /** - * Asynchronously writes `string` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param string A string to write. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - * @param encoding The expected string encoding. - */ - export function write( - fd: number, - string: string, - position: number | undefined | null, - encoding: BufferEncoding | undefined | null, - callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void, - ): void; - - /** - * Asynchronously writes `string` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param string A string to write. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - */ - export function write(fd: number, string: string, position: number | undefined | null, callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void): void; - - /** - * Asynchronously writes `string` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param string A string to write. - */ - export function write(fd: number, string: string, callback: (err: NodeJS.ErrnoException | null, written: number, str: string) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace write { - /** - * Asynchronously writes `buffer` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param offset The part of the buffer to be written. If not supplied, defaults to `0`. - * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - */ - function __promisify__( - fd: number, - buffer?: TBuffer, - offset?: number, - length?: number, - position?: number | null, - ): Promise<{ bytesWritten: number, buffer: TBuffer }>; - - /** - * Asynchronously writes `string` to the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param string A string to write. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - * @param encoding The expected string encoding. - */ - function __promisify__(fd: number, string: string, position?: number | null, encoding?: BufferEncoding | null): Promise<{ bytesWritten: number, buffer: string }>; - } - - /** - * Synchronously writes `buffer` to the file referenced by the supplied file descriptor, returning the number of bytes written. - * @param fd A file descriptor. - * @param offset The part of the buffer to be written. If not supplied, defaults to `0`. - * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - */ - export function writeSync(fd: number, buffer: NodeJS.ArrayBufferView, offset?: number | null, length?: number | null, position?: number | null): number; - - /** - * Synchronously writes `string` to the file referenced by the supplied file descriptor, returning the number of bytes written. - * @param fd A file descriptor. - * @param string A string to write. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - * @param encoding The expected string encoding. - */ - export function writeSync(fd: number, string: string, position?: number | null, encoding?: BufferEncoding | null): number; - - /** - * Asynchronously reads data from the file referenced by the supplied file descriptor. - * @param fd A file descriptor. - * @param buffer The buffer that the data will be written to. - * @param offset The offset in the buffer at which to start writing. - * @param length The number of bytes to read. - * @param position The offset from the beginning of the file from which data should be read. If `null`, data will be read from the current position. - */ - export function read( - fd: number, - buffer: TBuffer, - offset: number, - length: number, - position: number | null, - callback: (err: NodeJS.ErrnoException | null, bytesRead: number, buffer: TBuffer) => void, - ): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace read { - /** - * @param fd A file descriptor. - * @param buffer The buffer that the data will be written to. - * @param offset The offset in the buffer at which to start writing. - * @param length The number of bytes to read. - * @param position The offset from the beginning of the file from which data should be read. If `null`, data will be read from the current position. - */ - function __promisify__( - fd: number, - buffer: TBuffer, - offset: number, - length: number, - position: number | null - ): Promise<{ bytesRead: number, buffer: TBuffer }>; - } - - export interface ReadSyncOptions { - /** - * @default 0 - */ - offset?: number; - /** - * @default `length of buffer` - */ - length?: number; - /** - * @default null - */ - position?: number | null; - } - - /** - * Synchronously reads data from the file referenced by the supplied file descriptor, returning the number of bytes read. - * @param fd A file descriptor. - * @param buffer The buffer that the data will be written to. - * @param offset The offset in the buffer at which to start writing. - * @param length The number of bytes to read. - * @param position The offset from the beginning of the file from which data should be read. If `null`, data will be read from the current position. - */ - export function readSync(fd: number, buffer: NodeJS.ArrayBufferView, offset: number, length: number, position: number | null): number; - - /** - * Similar to the above `fs.readSync` function, this version takes an optional `options` object. - * If no `options` object is specified, it will default with the above values. - */ - export function readSync(fd: number, buffer: NodeJS.ArrayBufferView, opts?: ReadSyncOptions): number; - - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options An object that may contain an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - export function readFile(path: PathLike | number, options: { encoding?: null; flag?: string; } | undefined | null, callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void): void; - - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - export function readFile(path: PathLike | number, options: { encoding: BufferEncoding; flag?: string; } | string, callback: (err: NodeJS.ErrnoException | null, data: string) => void): void; - - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - export function readFile( - path: PathLike | number, - options: BaseEncodingOptions & { flag?: string; } | string | undefined | null, - callback: (err: NodeJS.ErrnoException | null, data: string | Buffer) => void, - ): void; - - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - */ - export function readFile(path: PathLike | number, callback: (err: NodeJS.ErrnoException | null, data: Buffer) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace readFile { - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options An object that may contain an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - function __promisify__(path: PathLike | number, options?: { encoding?: null; flag?: string; } | null): Promise; - - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - function __promisify__(path: PathLike | number, options: { encoding: BufferEncoding; flag?: string; } | string): Promise; - - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - function __promisify__(path: PathLike | number, options?: BaseEncodingOptions & { flag?: string; } | string | null): Promise; - } - - /** - * Synchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options An object that may contain an optional flag. If a flag is not provided, it defaults to `'r'`. - */ - export function readFileSync(path: PathLike | number, options?: { encoding?: null; flag?: string; } | null): Buffer; - - /** - * Synchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - export function readFileSync(path: PathLike | number, options: { encoding: BufferEncoding; flag?: string; } | BufferEncoding): string; - - /** - * Synchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param options Either the encoding for the result, or an object that contains the encoding and an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - export function readFileSync(path: PathLike | number, options?: BaseEncodingOptions & { flag?: string; } | BufferEncoding | null): string | Buffer; - - export type WriteFileOptions = BaseEncodingOptions & { mode?: Mode; flag?: string; } | string | null; - - /** - * Asynchronously writes data to a file, replacing the file if it already exists. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. - * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `mode` is not supplied, the default of `0o666` is used. - * If `mode` is a string, it is parsed as an octal integer. - * If `flag` is not supplied, the default of `'w'` is used. - */ - export function writeFile(path: PathLike | number, data: string | NodeJS.ArrayBufferView, options: WriteFileOptions, callback: NoParamCallback): void; - - /** - * Asynchronously writes data to a file, replacing the file if it already exists. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. - */ - export function writeFile(path: PathLike | number, data: string | NodeJS.ArrayBufferView, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace writeFile { - /** - * Asynchronously writes data to a file, replacing the file if it already exists. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. - * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `mode` is not supplied, the default of `0o666` is used. - * If `mode` is a string, it is parsed as an octal integer. - * If `flag` is not supplied, the default of `'w'` is used. - */ - function __promisify__(path: PathLike | number, data: string | NodeJS.ArrayBufferView, options?: WriteFileOptions): Promise; - } - - /** - * Synchronously writes data to a file, replacing the file if it already exists. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. - * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `mode` is not supplied, the default of `0o666` is used. - * If `mode` is a string, it is parsed as an octal integer. - * If `flag` is not supplied, the default of `'w'` is used. - */ - export function writeFileSync(path: PathLike | number, data: string | NodeJS.ArrayBufferView, options?: WriteFileOptions): void; - - /** - * Asynchronously append data to a file, creating the file if it does not exist. - * @param file A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. - * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `mode` is not supplied, the default of `0o666` is used. - * If `mode` is a string, it is parsed as an octal integer. - * If `flag` is not supplied, the default of `'a'` is used. - */ - export function appendFile(file: PathLike | number, data: string | Uint8Array, options: WriteFileOptions, callback: NoParamCallback): void; - - /** - * Asynchronously append data to a file, creating the file if it does not exist. - * @param file A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. - */ - export function appendFile(file: PathLike | number, data: string | Uint8Array, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace appendFile { - /** - * Asynchronously append data to a file, creating the file if it does not exist. - * @param file A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. - * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `mode` is not supplied, the default of `0o666` is used. - * If `mode` is a string, it is parsed as an octal integer. - * If `flag` is not supplied, the default of `'a'` is used. - */ - function __promisify__(file: PathLike | number, data: string | Uint8Array, options?: WriteFileOptions): Promise; - } - - /** - * Synchronously append data to a file, creating the file if it does not exist. - * @param file A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a file descriptor is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a Buffer or Uint8Array is provided, the value is coerced to a string. - * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `mode` is not supplied, the default of `0o666` is used. - * If `mode` is a string, it is parsed as an octal integer. - * If `flag` is not supplied, the default of `'a'` is used. - */ - export function appendFileSync(file: PathLike | number, data: string | Uint8Array, options?: WriteFileOptions): void; - - /** - * Watch for changes on `filename`. The callback `listener` will be called each time the file is accessed. - */ - export function watchFile(filename: PathLike, options: { persistent?: boolean; interval?: number; } | undefined, listener: (curr: Stats, prev: Stats) => void): void; - - /** - * Watch for changes on `filename`. The callback `listener` will be called each time the file is accessed. - * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - export function watchFile(filename: PathLike, listener: (curr: Stats, prev: Stats) => void): void; - - /** - * Stop watching for changes on `filename`. - * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - export function unwatchFile(filename: PathLike, listener?: (curr: Stats, prev: Stats) => void): void; - - /** - * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. - * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `persistent` is not supplied, the default of `true` is used. - * If `recursive` is not supplied, the default of `false` is used. - */ - export function watch( - filename: PathLike, - options: { encoding?: BufferEncoding | null, persistent?: boolean, recursive?: boolean } | BufferEncoding | undefined | null, - listener?: (event: string, filename: string) => void, - ): FSWatcher; - - /** - * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. - * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `persistent` is not supplied, the default of `true` is used. - * If `recursive` is not supplied, the default of `false` is used. - */ - export function watch(filename: PathLike, options: { encoding: "buffer", persistent?: boolean, recursive?: boolean } | "buffer", listener?: (event: string, filename: Buffer) => void): FSWatcher; - - /** - * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. - * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * @param options Either the encoding for the filename provided to the listener, or an object optionally specifying encoding, persistent, and recursive options. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `persistent` is not supplied, the default of `true` is used. - * If `recursive` is not supplied, the default of `false` is used. - */ - export function watch( - filename: PathLike, - options: { encoding?: BufferEncoding | null, persistent?: boolean, recursive?: boolean } | string | null, - listener?: (event: string, filename: string | Buffer) => void, - ): FSWatcher; - - /** - * Watch for changes on `filename`, where `filename` is either a file or a directory, returning an `FSWatcher`. - * @param filename A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - export function watch(filename: PathLike, listener?: (event: string, filename: string) => any): FSWatcher; - - /** - * Asynchronously tests whether or not the given path exists by checking with the file system. - * @deprecated since v1.0.0 Use `fs.stat()` or `fs.access()` instead - * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - export function exists(path: PathLike, callback: (exists: boolean) => void): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace exists { - /** - * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - function __promisify__(path: PathLike): Promise; - } - - /** - * Synchronously tests whether or not the given path exists by checking with the file system. - * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - export function existsSync(path: PathLike): boolean; - - export namespace constants { - // File Access Constants - - /** Constant for fs.access(). File is visible to the calling process. */ - const F_OK: number; - - /** Constant for fs.access(). File can be read by the calling process. */ - const R_OK: number; - - /** Constant for fs.access(). File can be written by the calling process. */ - const W_OK: number; - - /** Constant for fs.access(). File can be executed by the calling process. */ - const X_OK: number; - - // File Copy Constants - - /** Constant for fs.copyFile. Flag indicating the destination file should not be overwritten if it already exists. */ - const COPYFILE_EXCL: number; - - /** - * Constant for fs.copyFile. copy operation will attempt to create a copy-on-write reflink. - * If the underlying platform does not support copy-on-write, then a fallback copy mechanism is used. - */ - const COPYFILE_FICLONE: number; - - /** - * Constant for fs.copyFile. Copy operation will attempt to create a copy-on-write reflink. - * If the underlying platform does not support copy-on-write, then the operation will fail with an error. - */ - const COPYFILE_FICLONE_FORCE: number; - - // File Open Constants - - /** Constant for fs.open(). Flag indicating to open a file for read-only access. */ - const O_RDONLY: number; - - /** Constant for fs.open(). Flag indicating to open a file for write-only access. */ - const O_WRONLY: number; - - /** Constant for fs.open(). Flag indicating to open a file for read-write access. */ - const O_RDWR: number; - - /** Constant for fs.open(). Flag indicating to create the file if it does not already exist. */ - const O_CREAT: number; - - /** Constant for fs.open(). Flag indicating that opening a file should fail if the O_CREAT flag is set and the file already exists. */ - const O_EXCL: number; - - /** - * Constant for fs.open(). Flag indicating that if path identifies a terminal device, - * opening the path shall not cause that terminal to become the controlling terminal for the process - * (if the process does not already have one). - */ - const O_NOCTTY: number; - - /** Constant for fs.open(). Flag indicating that if the file exists and is a regular file, and the file is opened successfully for write access, its length shall be truncated to zero. */ - const O_TRUNC: number; - - /** Constant for fs.open(). Flag indicating that data will be appended to the end of the file. */ - const O_APPEND: number; - - /** Constant for fs.open(). Flag indicating that the open should fail if the path is not a directory. */ - const O_DIRECTORY: number; - - /** - * constant for fs.open(). - * Flag indicating reading accesses to the file system will no longer result in - * an update to the atime information associated with the file. - * This flag is available on Linux operating systems only. - */ - const O_NOATIME: number; - - /** Constant for fs.open(). Flag indicating that the open should fail if the path is a symbolic link. */ - const O_NOFOLLOW: number; - - /** Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O. */ - const O_SYNC: number; - - /** Constant for fs.open(). Flag indicating that the file is opened for synchronous I/O with write operations waiting for data integrity. */ - const O_DSYNC: number; - - /** Constant for fs.open(). Flag indicating to open the symbolic link itself rather than the resource it is pointing to. */ - const O_SYMLINK: number; - - /** Constant for fs.open(). When set, an attempt will be made to minimize caching effects of file I/O. */ - const O_DIRECT: number; - - /** Constant for fs.open(). Flag indicating to open the file in nonblocking mode when possible. */ - const O_NONBLOCK: number; - - // File Type Constants - - /** Constant for fs.Stats mode property for determining a file's type. Bit mask used to extract the file type code. */ - const S_IFMT: number; - - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a regular file. */ - const S_IFREG: number; - - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a directory. */ - const S_IFDIR: number; - - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a character-oriented device file. */ - const S_IFCHR: number; - - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a block-oriented device file. */ - const S_IFBLK: number; - - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a FIFO/pipe. */ - const S_IFIFO: number; - - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a symbolic link. */ - const S_IFLNK: number; - - /** Constant for fs.Stats mode property for determining a file's type. File type constant for a socket. */ - const S_IFSOCK: number; - - // File Mode Constants - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by owner. */ - const S_IRWXU: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by owner. */ - const S_IRUSR: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by owner. */ - const S_IWUSR: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by owner. */ - const S_IXUSR: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by group. */ - const S_IRWXG: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by group. */ - const S_IRGRP: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by group. */ - const S_IWGRP: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by group. */ - const S_IXGRP: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable, writable and executable by others. */ - const S_IRWXO: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating readable by others. */ - const S_IROTH: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating writable by others. */ - const S_IWOTH: number; - - /** Constant for fs.Stats mode property for determining access permissions for a file. File mode indicating executable by others. */ - const S_IXOTH: number; - - /** - * When set, a memory file mapping is used to access the file. This flag - * is available on Windows operating systems only. On other operating systems, - * this flag is ignored. - */ - const UV_FS_O_FILEMAP: number; - } - - /** - * Asynchronously tests a user's permissions for the file specified by path. - * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - export function access(path: PathLike, mode: number | undefined, callback: NoParamCallback): void; - - /** - * Asynchronously tests a user's permissions for the file specified by path. - * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - export function access(path: PathLike, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace access { - /** - * Asynchronously tests a user's permissions for the file specified by path. - * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - function __promisify__(path: PathLike, mode?: number): Promise; - } - - /** - * Synchronously tests a user's permissions for the file specified by path. - * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - export function accessSync(path: PathLike, mode?: number): void; - - /** - * Returns a new `ReadStream` object. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - export function createReadStream(path: PathLike, options?: string | { - flags?: string; - encoding?: BufferEncoding; - fd?: number; - mode?: number; - autoClose?: boolean; - /** - * @default false - */ - emitClose?: boolean; - start?: number; - end?: number; - highWaterMark?: number; - }): ReadStream; - - /** - * Returns a new `WriteStream` object. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - export function createWriteStream(path: PathLike, options?: string | { - flags?: string; - encoding?: BufferEncoding; - fd?: number; - mode?: number; - autoClose?: boolean; - emitClose?: boolean; - start?: number; - highWaterMark?: number; - }): WriteStream; - - /** - * Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device. - * @param fd A file descriptor. - */ - export function fdatasync(fd: number, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace fdatasync { - /** - * Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device. - * @param fd A file descriptor. - */ - function __promisify__(fd: number): Promise; - } - - /** - * Synchronous fdatasync(2) - synchronize a file's in-core state with storage device. - * @param fd A file descriptor. - */ - export function fdatasyncSync(fd: number): void; - - /** - * Asynchronously copies src to dest. By default, dest is overwritten if it already exists. - * No arguments other than a possible exception are given to the callback function. - * Node.js makes no guarantees about the atomicity of the copy operation. - * If an error occurs after the destination file has been opened for writing, Node.js will attempt - * to remove the destination. - * @param src A path to the source file. - * @param dest A path to the destination file. - */ - export function copyFile(src: PathLike, dest: PathLike, callback: NoParamCallback): void; - /** - * Asynchronously copies src to dest. By default, dest is overwritten if it already exists. - * No arguments other than a possible exception are given to the callback function. - * Node.js makes no guarantees about the atomicity of the copy operation. - * If an error occurs after the destination file has been opened for writing, Node.js will attempt - * to remove the destination. - * @param src A path to the source file. - * @param dest A path to the destination file. - * @param flags An integer that specifies the behavior of the copy operation. The only supported flag is fs.constants.COPYFILE_EXCL, which causes the copy operation to fail if dest already exists. - */ - export function copyFile(src: PathLike, dest: PathLike, flags: number, callback: NoParamCallback): void; - - // NOTE: This namespace provides design-time support for util.promisify. Exported members do not exist at runtime. - export namespace copyFile { - /** - * Asynchronously copies src to dest. By default, dest is overwritten if it already exists. - * No arguments other than a possible exception are given to the callback function. - * Node.js makes no guarantees about the atomicity of the copy operation. - * If an error occurs after the destination file has been opened for writing, Node.js will attempt - * to remove the destination. - * @param src A path to the source file. - * @param dest A path to the destination file. - * @param flags An optional integer that specifies the behavior of the copy operation. - * The only supported flag is fs.constants.COPYFILE_EXCL, - * which causes the copy operation to fail if dest already exists. - */ - function __promisify__(src: PathLike, dst: PathLike, flags?: number): Promise; - } - - /** - * Synchronously copies src to dest. By default, dest is overwritten if it already exists. - * Node.js makes no guarantees about the atomicity of the copy operation. - * If an error occurs after the destination file has been opened for writing, Node.js will attempt - * to remove the destination. - * @param src A path to the source file. - * @param dest A path to the destination file. - * @param flags An optional integer that specifies the behavior of the copy operation. - * The only supported flag is fs.constants.COPYFILE_EXCL, which causes the copy operation to fail if dest already exists. - */ - export function copyFileSync(src: PathLike, dest: PathLike, flags?: number): void; - - /** - * Write an array of ArrayBufferViews to the file specified by fd using writev(). - * position is the offset from the beginning of the file where this data should be written. - * It is unsafe to use fs.writev() multiple times on the same file without waiting for the callback. For this scenario, use fs.createWriteStream(). - * On Linux, positional writes don't work when the file is opened in append mode. - * The kernel ignores the position argument and always appends the data to the end of the file. - */ - export function writev( - fd: number, - buffers: ReadonlyArray, - cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void - ): void; - export function writev( - fd: number, - buffers: ReadonlyArray, - position: number, - cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void - ): void; - - export interface WriteVResult { - bytesWritten: number; - buffers: NodeJS.ArrayBufferView[]; - } - - export namespace writev { - function __promisify__(fd: number, buffers: ReadonlyArray, position?: number): Promise; - } - - /** - * See `writev`. - */ - export function writevSync(fd: number, buffers: ReadonlyArray, position?: number): number; - - export function readv( - fd: number, - buffers: ReadonlyArray, - cb: (err: NodeJS.ErrnoException | null, bytesRead: number, buffers: NodeJS.ArrayBufferView[]) => void - ): void; - export function readv( - fd: number, - buffers: ReadonlyArray, - position: number, - cb: (err: NodeJS.ErrnoException | null, bytesRead: number, buffers: NodeJS.ArrayBufferView[]) => void - ): void; - - export interface ReadVResult { - bytesRead: number; - buffers: NodeJS.ArrayBufferView[]; - } - - export namespace readv { - function __promisify__(fd: number, buffers: ReadonlyArray, position?: number): Promise; - } - - /** - * See `readv`. - */ - export function readvSync(fd: number, buffers: ReadonlyArray, position?: number): number; - - export interface OpenDirOptions { - encoding?: BufferEncoding; - /** - * Number of directory entries that are buffered - * internally when reading from the directory. Higher values lead to better - * performance but higher memory usage. - * @default 32 - */ - bufferSize?: number; - } - - export function opendirSync(path: string, options?: OpenDirOptions): Dir; - - export function opendir(path: string, cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void): void; - export function opendir(path: string, options: OpenDirOptions, cb: (err: NodeJS.ErrnoException | null, dir: Dir) => void): void; - - export namespace opendir { - function __promisify__(path: string, options?: OpenDirOptions): Promise; - } - - export interface BigIntStats extends StatsBase { - } - - export class BigIntStats { - atimeNs: bigint; - mtimeNs: bigint; - ctimeNs: bigint; - birthtimeNs: bigint; - } - - export interface BigIntOptions { - bigint: true; - } - - export interface StatOptions { - bigint: boolean; - } -} diff --git a/node_modules/@types/node/fs/promises.d.ts b/node_modules/@types/node/fs/promises.d.ts deleted file mode 100644 index 1753c863..00000000 --- a/node_modules/@types/node/fs/promises.d.ts +++ /dev/null @@ -1,555 +0,0 @@ -declare module 'fs/promises' { - import { - Stats, - WriteVResult, - ReadVResult, - PathLike, - RmDirOptions, - RmOptions, - MakeDirectoryOptions, - Dirent, - OpenDirOptions, - Dir, - BaseEncodingOptions, - BufferEncodingOption, - OpenMode, - Mode, - } from 'fs'; - - interface FileHandle { - /** - * Gets the file descriptor for this file handle. - */ - readonly fd: number; - - /** - * Asynchronously append data to a file, creating the file if it does not exist. The underlying file will _not_ be closed automatically. - * The `FileHandle` must have been opened for appending. - * @param data The data to write. If something other than a `Buffer` or `Uint8Array` is provided, the value is coerced to a string. - * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `mode` is not supplied, the default of `0o666` is used. - * If `mode` is a string, it is parsed as an octal integer. - * If `flag` is not supplied, the default of `'a'` is used. - */ - appendFile(data: string | Uint8Array, options?: BaseEncodingOptions & { mode?: Mode, flag?: OpenMode } | BufferEncoding | null): Promise; - - /** - * Asynchronous fchown(2) - Change ownership of a file. - */ - chown(uid: number, gid: number): Promise; - - /** - * Asynchronous fchmod(2) - Change permissions of a file. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - chmod(mode: Mode): Promise; - - /** - * Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device. - */ - datasync(): Promise; - - /** - * Asynchronous fsync(2) - synchronize a file's in-core state with the underlying storage device. - */ - sync(): Promise; - - /** - * Asynchronously reads data from the file. - * The `FileHandle` must have been opened for reading. - * @param buffer The buffer that the data will be written to. - * @param offset The offset in the buffer at which to start writing. - * @param length The number of bytes to read. - * @param position The offset from the beginning of the file from which data should be read. If `null`, data will be read from the current position. - */ - read(buffer: TBuffer, offset?: number | null, length?: number | null, position?: number | null): Promise<{ bytesRead: number, buffer: TBuffer }>; - - /** - * Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically. - * The `FileHandle` must have been opened for reading. - * @param options An object that may contain an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - readFile(options?: { encoding?: null, flag?: OpenMode } | null): Promise; - - /** - * Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically. - * The `FileHandle` must have been opened for reading. - * @param options An object that may contain an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - readFile(options: { encoding: BufferEncoding, flag?: OpenMode } | BufferEncoding): Promise; - - /** - * Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically. - * The `FileHandle` must have been opened for reading. - * @param options An object that may contain an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - readFile(options?: BaseEncodingOptions & { flag?: OpenMode } | BufferEncoding | null): Promise; - - /** - * Asynchronous fstat(2) - Get file status. - */ - stat(): Promise; - - /** - * Asynchronous ftruncate(2) - Truncate a file to a specified length. - * @param len If not specified, defaults to `0`. - */ - truncate(len?: number): Promise; - - /** - * Asynchronously change file timestamps of the file. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - utimes(atime: string | number | Date, mtime: string | number | Date): Promise; - - /** - * Asynchronously writes `buffer` to the file. - * The `FileHandle` must have been opened for writing. - * @param buffer The buffer that the data will be written to. - * @param offset The part of the buffer to be written. If not supplied, defaults to `0`. - * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - */ - write(buffer: TBuffer, offset?: number | null, length?: number | null, position?: number | null): Promise<{ bytesWritten: number, buffer: TBuffer }>; - - /** - * Asynchronously writes `string` to the file. - * The `FileHandle` must have been opened for writing. - * It is unsafe to call `write()` multiple times on the same file without waiting for the `Promise` - * to be resolved (or rejected). For this scenario, `fs.createWriteStream` is strongly recommended. - * @param string A string to write. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - * @param encoding The expected string encoding. - */ - write(data: string | Uint8Array, position?: number | null, encoding?: BufferEncoding | null): Promise<{ bytesWritten: number, buffer: string }>; - - /** - * Asynchronously writes data to a file, replacing the file if it already exists. The underlying file will _not_ be closed automatically. - * The `FileHandle` must have been opened for writing. - * It is unsafe to call `writeFile()` multiple times on the same file without waiting for the `Promise` to be resolved (or rejected). - * @param data The data to write. If something other than a `Buffer` or `Uint8Array` is provided, the value is coerced to a string. - * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `mode` is not supplied, the default of `0o666` is used. - * If `mode` is a string, it is parsed as an octal integer. - * If `flag` is not supplied, the default of `'w'` is used. - */ - writeFile(data: string | Uint8Array, options?: BaseEncodingOptions & { mode?: Mode, flag?: OpenMode } | BufferEncoding | null): Promise; - - /** - * See `fs.writev` promisified version. - */ - writev(buffers: ReadonlyArray, position?: number): Promise; - - /** - * See `fs.readv` promisified version. - */ - readv(buffers: ReadonlyArray, position?: number): Promise; - - /** - * Asynchronous close(2) - close a `FileHandle`. - */ - close(): Promise; - } - - /** - * Asynchronously tests a user's permissions for the file specified by path. - * @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - function access(path: PathLike, mode?: number): Promise; - - /** - * Asynchronously copies `src` to `dest`. By default, `dest` is overwritten if it already exists. - * Node.js makes no guarantees about the atomicity of the copy operation. - * If an error occurs after the destination file has been opened for writing, Node.js will attempt - * to remove the destination. - * @param src A path to the source file. - * @param dest A path to the destination file. - * @param flags An optional integer that specifies the behavior of the copy operation. The only - * supported flag is `fs.constants.COPYFILE_EXCL`, which causes the copy operation to fail if - * `dest` already exists. - */ - function copyFile(src: PathLike, dest: PathLike, flags?: number): Promise; - - /** - * Asynchronous open(2) - open and possibly create a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. If not - * supplied, defaults to `0o666`. - */ - function open(path: PathLike, flags: string | number, mode?: Mode): Promise; - - /** - * Asynchronously reads data from the file referenced by the supplied `FileHandle`. - * @param handle A `FileHandle`. - * @param buffer The buffer that the data will be written to. - * @param offset The offset in the buffer at which to start writing. - * @param length The number of bytes to read. - * @param position The offset from the beginning of the file from which data should be read. If - * `null`, data will be read from the current position. - */ - function read( - handle: FileHandle, - buffer: TBuffer, - offset?: number | null, - length?: number | null, - position?: number | null, - ): Promise<{ bytesRead: number, buffer: TBuffer }>; - - /** - * Asynchronously writes `buffer` to the file referenced by the supplied `FileHandle`. - * It is unsafe to call `fsPromises.write()` multiple times on the same file without waiting for the `Promise` - * to be resolved (or rejected). For this scenario, `fs.createWriteStream` is strongly recommended. - * @param handle A `FileHandle`. - * @param buffer The buffer that the data will be written to. - * @param offset The part of the buffer to be written. If not supplied, defaults to `0`. - * @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - */ - function write( - handle: FileHandle, - buffer: TBuffer, - offset?: number | null, - length?: number | null, position?: number | null): Promise<{ bytesWritten: number, buffer: TBuffer }>; - - /** - * Asynchronously writes `string` to the file referenced by the supplied `FileHandle`. - * It is unsafe to call `fsPromises.write()` multiple times on the same file without waiting for the `Promise` - * to be resolved (or rejected). For this scenario, `fs.createWriteStream` is strongly recommended. - * @param handle A `FileHandle`. - * @param string A string to write. - * @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position. - * @param encoding The expected string encoding. - */ - function write(handle: FileHandle, string: string, position?: number | null, encoding?: BufferEncoding | null): Promise<{ bytesWritten: number, buffer: string }>; - - /** - * Asynchronous rename(2) - Change the name or location of a file or directory. - * @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - */ - function rename(oldPath: PathLike, newPath: PathLike): Promise; - - /** - * Asynchronous truncate(2) - Truncate a file to a specified length. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param len If not specified, defaults to `0`. - */ - function truncate(path: PathLike, len?: number): Promise; - - /** - * Asynchronous ftruncate(2) - Truncate a file to a specified length. - * @param handle A `FileHandle`. - * @param len If not specified, defaults to `0`. - */ - function ftruncate(handle: FileHandle, len?: number): Promise; - - /** - * Asynchronous rmdir(2) - delete a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function rmdir(path: PathLike, options?: RmDirOptions): Promise; - - /** - * Asynchronously removes files and directories (modeled on the standard POSIX `rm` utility). - */ - function rm(path: PathLike, options?: RmOptions): Promise; - - /** - * Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device. - * @param handle A `FileHandle`. - */ - function fdatasync(handle: FileHandle): Promise; - - /** - * Asynchronous fsync(2) - synchronize a file's in-core state with the underlying storage device. - * @param handle A `FileHandle`. - */ - function fsync(handle: FileHandle): Promise; - - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - function mkdir(path: PathLike, options: MakeDirectoryOptions & { recursive: true; }): Promise; - - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - function mkdir(path: PathLike, options?: Mode | (MakeDirectoryOptions & { recursive?: false; }) | null): Promise; - - /** - * Asynchronous mkdir(2) - create a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders - * should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`. - */ - function mkdir(path: PathLike, options?: Mode | MakeDirectoryOptions | null): Promise; - - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function readdir(path: PathLike, options?: BaseEncodingOptions & { withFileTypes?: false } | BufferEncoding | null): Promise; - - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function readdir(path: PathLike, options: { encoding: "buffer"; withFileTypes?: false } | "buffer"): Promise; - - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function readdir(path: PathLike, options?: BaseEncodingOptions & { withFileTypes?: false } | BufferEncoding | null): Promise; - - /** - * Asynchronous readdir(3) - read a directory. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options If called with `withFileTypes: true` the result data will be an array of Dirent. - */ - function readdir(path: PathLike, options: BaseEncodingOptions & { withFileTypes: true }): Promise; - - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function readlink(path: PathLike, options?: BaseEncodingOptions | BufferEncoding | null): Promise; - - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function readlink(path: PathLike, options: BufferEncodingOption): Promise; - - /** - * Asynchronous readlink(2) - read value of a symbolic link. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function readlink(path: PathLike, options?: BaseEncodingOptions | string | null): Promise; - - /** - * Asynchronous symlink(2) - Create a new symbolic link to an existing file. - * @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol. - * @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol. - * @param type May be set to `'dir'`, `'file'`, or `'junction'` (default is `'file'`) and is only available on Windows (ignored on other platforms). - * When using `'junction'`, the `target` argument will automatically be normalized to an absolute path. - */ - function symlink(target: PathLike, path: PathLike, type?: string | null): Promise; - - /** - * Asynchronous fstat(2) - Get file status. - * @param handle A `FileHandle`. - */ - function fstat(handle: FileHandle): Promise; - - /** - * Asynchronous lstat(2) - Get file status. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function lstat(path: PathLike): Promise; - - /** - * Asynchronous stat(2) - Get file status. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function stat(path: PathLike): Promise; - - /** - * Asynchronous link(2) - Create a new link (also known as a hard link) to an existing file. - * @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function link(existingPath: PathLike, newPath: PathLike): Promise; - - /** - * Asynchronous unlink(2) - delete a name and possibly the file it refers to. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function unlink(path: PathLike): Promise; - - /** - * Asynchronous fchmod(2) - Change permissions of a file. - * @param handle A `FileHandle`. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - function fchmod(handle: FileHandle, mode: Mode): Promise; - - /** - * Asynchronous chmod(2) - Change permissions of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - function chmod(path: PathLike, mode: Mode): Promise; - - /** - * Asynchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param mode A file mode. If a string is passed, it is parsed as an octal integer. - */ - function lchmod(path: PathLike, mode: Mode): Promise; - - /** - * Asynchronous lchown(2) - Change ownership of a file. Does not dereference symbolic links. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function lchown(path: PathLike, uid: number, gid: number): Promise; - - /** - * Changes the access and modification times of a file in the same way as `fsPromises.utimes()`, - * with the difference that if the path refers to a symbolic link, then the link is not - * dereferenced: instead, the timestamps of the symbolic link itself are changed. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - function lutimes(path: PathLike, atime: string | number | Date, mtime: string | number | Date): Promise; - - /** - * Asynchronous fchown(2) - Change ownership of a file. - * @param handle A `FileHandle`. - */ - function fchown(handle: FileHandle, uid: number, gid: number): Promise; - - /** - * Asynchronous chown(2) - Change ownership of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - */ - function chown(path: PathLike, uid: number, gid: number): Promise; - - /** - * Asynchronously change file timestamps of the file referenced by the supplied path. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - function utimes(path: PathLike, atime: string | number | Date, mtime: string | number | Date): Promise; - - /** - * Asynchronously change file timestamps of the file referenced by the supplied `FileHandle`. - * @param handle A `FileHandle`. - * @param atime The last access time. If a string is provided, it will be coerced to number. - * @param mtime The last modified time. If a string is provided, it will be coerced to number. - */ - function futimes(handle: FileHandle, atime: string | number | Date, mtime: string | number | Date): Promise; - - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function realpath(path: PathLike, options?: BaseEncodingOptions | BufferEncoding | null): Promise; - - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function realpath(path: PathLike, options: BufferEncodingOption): Promise; - - /** - * Asynchronous realpath(3) - return the canonicalized absolute pathname. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function realpath(path: PathLike, options?: BaseEncodingOptions | BufferEncoding | null): Promise; - - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function mkdtemp(prefix: string, options?: BaseEncodingOptions | BufferEncoding | null): Promise; - - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function mkdtemp(prefix: string, options: BufferEncodingOption): Promise; - - /** - * Asynchronously creates a unique temporary directory. - * Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory. - * @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used. - */ - function mkdtemp(prefix: string, options?: BaseEncodingOptions | BufferEncoding | null): Promise; - - /** - * Asynchronously writes data to a file, replacing the file if it already exists. - * It is unsafe to call `fsPromises.writeFile()` multiple times on the same file without waiting for the `Promise` to be resolved (or rejected). - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a `FileHandle` is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a `Buffer` or `Uint8Array` is provided, the value is coerced to a string. - * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `mode` is not supplied, the default of `0o666` is used. - * If `mode` is a string, it is parsed as an octal integer. - * If `flag` is not supplied, the default of `'w'` is used. - */ - function writeFile(path: PathLike | FileHandle, data: string | Uint8Array, options?: BaseEncodingOptions & { mode?: Mode, flag?: OpenMode } | BufferEncoding | null): Promise; - - /** - * Asynchronously append data to a file, creating the file if it does not exist. - * @param file A path to a file. If a URL is provided, it must use the `file:` protocol. - * URL support is _experimental_. - * If a `FileHandle` is provided, the underlying file will _not_ be closed automatically. - * @param data The data to write. If something other than a `Buffer` or `Uint8Array` is provided, the value is coerced to a string. - * @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag. - * If `encoding` is not supplied, the default of `'utf8'` is used. - * If `mode` is not supplied, the default of `0o666` is used. - * If `mode` is a string, it is parsed as an octal integer. - * If `flag` is not supplied, the default of `'a'` is used. - */ - function appendFile(path: PathLike | FileHandle, data: string | Uint8Array, options?: BaseEncodingOptions & { mode?: Mode, flag?: OpenMode } | BufferEncoding | null): Promise; - - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a `FileHandle` is provided, the underlying file will _not_ be closed automatically. - * @param options An object that may contain an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - function readFile(path: PathLike | FileHandle, options?: { encoding?: null, flag?: OpenMode } | null): Promise; - - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a `FileHandle` is provided, the underlying file will _not_ be closed automatically. - * @param options An object that may contain an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - function readFile(path: PathLike | FileHandle, options: { encoding: BufferEncoding, flag?: OpenMode } | BufferEncoding): Promise; - - /** - * Asynchronously reads the entire contents of a file. - * @param path A path to a file. If a URL is provided, it must use the `file:` protocol. - * If a `FileHandle` is provided, the underlying file will _not_ be closed automatically. - * @param options An object that may contain an optional flag. - * If a flag is not provided, it defaults to `'r'`. - */ - function readFile(path: PathLike | FileHandle, options?: BaseEncodingOptions & { flag?: OpenMode } | BufferEncoding | null): Promise; - - function opendir(path: string, options?: OpenDirOptions): Promise; -} diff --git a/node_modules/@types/node/globals.d.ts b/node_modules/@types/node/globals.d.ts deleted file mode 100644 index 640b6a9e..00000000 --- a/node_modules/@types/node/globals.d.ts +++ /dev/null @@ -1,618 +0,0 @@ -// Declare "static" methods in Error -interface ErrorConstructor { - /** Create .stack property on a target object */ - captureStackTrace(targetObject: object, constructorOpt?: Function): void; - - /** - * Optional override for formatting stack traces - * - * @see https://github.com/v8/v8/wiki/Stack%20Trace%20API#customizing-stack-traces - */ - prepareStackTrace?: (err: Error, stackTraces: NodeJS.CallSite[]) => any; - - stackTraceLimit: number; -} - -// Node.js ESNEXT support -interface String { - /** Removes whitespace from the left end of a string. */ - trimLeft(): string; - /** Removes whitespace from the right end of a string. */ - trimRight(): string; - - /** Returns a copy with leading whitespace removed. */ - trimStart(): string; - /** Returns a copy with trailing whitespace removed. */ - trimEnd(): string; -} - -interface ImportMeta { - url: string; -} - -/*-----------------------------------------------* - * * - * GLOBAL * - * * - ------------------------------------------------*/ - -// For backwards compability -interface NodeRequire extends NodeJS.Require {} -interface RequireResolve extends NodeJS.RequireResolve {} -interface NodeModule extends NodeJS.Module {} - -declare var process: NodeJS.Process; -declare var console: Console; - -declare var __filename: string; -declare var __dirname: string; - -declare function setTimeout(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timeout; -declare namespace setTimeout { - function __promisify__(ms: number): Promise; - function __promisify__(ms: number, value: T): Promise; -} -declare function clearTimeout(timeoutId: NodeJS.Timeout): void; -declare function setInterval(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timeout; -declare function clearInterval(intervalId: NodeJS.Timeout): void; -declare function setImmediate(callback: (...args: any[]) => void, ...args: any[]): NodeJS.Immediate; -declare namespace setImmediate { - function __promisify__(): Promise; - function __promisify__(value: T): Promise; -} -declare function clearImmediate(immediateId: NodeJS.Immediate): void; - -declare function queueMicrotask(callback: () => void): void; - -declare var require: NodeRequire; -declare var module: NodeModule; - -// Same as module.exports -declare var exports: any; - -// Buffer class -type BufferEncoding = "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex"; - -/** - * Raw data is stored in instances of the Buffer class. - * A Buffer is similar to an array of integers but corresponds to a raw memory allocation outside the V8 heap. A Buffer cannot be resized. - * Valid string encodings: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex' - */ -declare class Buffer extends Uint8Array { - /** - * Allocates a new buffer containing the given {str}. - * - * @param str String to store in buffer. - * @param encoding encoding to use, optional. Default is 'utf8' - * @deprecated since v10.0.0 - Use `Buffer.from(string[, encoding])` instead. - */ - constructor(str: string, encoding?: BufferEncoding); - /** - * Allocates a new buffer of {size} octets. - * - * @param size count of octets to allocate. - * @deprecated since v10.0.0 - Use `Buffer.alloc()` instead (also see `Buffer.allocUnsafe()`). - */ - constructor(size: number); - /** - * Allocates a new buffer containing the given {array} of octets. - * - * @param array The octets to store. - * @deprecated since v10.0.0 - Use `Buffer.from(array)` instead. - */ - constructor(array: Uint8Array); - /** - * Produces a Buffer backed by the same allocated memory as - * the given {ArrayBuffer}/{SharedArrayBuffer}. - * - * - * @param arrayBuffer The ArrayBuffer with which to share memory. - * @deprecated since v10.0.0 - Use `Buffer.from(arrayBuffer[, byteOffset[, length]])` instead. - */ - constructor(arrayBuffer: ArrayBuffer | SharedArrayBuffer); - /** - * Allocates a new buffer containing the given {array} of octets. - * - * @param array The octets to store. - * @deprecated since v10.0.0 - Use `Buffer.from(array)` instead. - */ - constructor(array: ReadonlyArray); - /** - * Copies the passed {buffer} data onto a new {Buffer} instance. - * - * @param buffer The buffer to copy. - * @deprecated since v10.0.0 - Use `Buffer.from(buffer)` instead. - */ - constructor(buffer: Buffer); - /** - * When passed a reference to the .buffer property of a TypedArray instance, - * the newly created Buffer will share the same allocated memory as the TypedArray. - * The optional {byteOffset} and {length} arguments specify a memory range - * within the {arrayBuffer} that will be shared by the Buffer. - * - * @param arrayBuffer The .buffer property of any TypedArray or a new ArrayBuffer() - */ - static from(arrayBuffer: ArrayBuffer | SharedArrayBuffer, byteOffset?: number, length?: number): Buffer; - /** - * Creates a new Buffer using the passed {data} - * @param data data to create a new Buffer - */ - static from(data: ReadonlyArray): Buffer; - static from(data: Uint8Array): Buffer; - /** - * Creates a new buffer containing the coerced value of an object - * A `TypeError` will be thrown if {obj} has not mentioned methods or is not of other type appropriate for `Buffer.from()` variants. - * @param obj An object supporting `Symbol.toPrimitive` or `valueOf()`. - */ - static from(obj: { valueOf(): string | object } | { [Symbol.toPrimitive](hint: 'string'): string }, byteOffset?: number, length?: number): Buffer; - /** - * Creates a new Buffer containing the given JavaScript string {str}. - * If provided, the {encoding} parameter identifies the character encoding. - * If not provided, {encoding} defaults to 'utf8'. - */ - static from(str: string, encoding?: BufferEncoding): Buffer; - /** - * Creates a new Buffer using the passed {data} - * @param values to create a new Buffer - */ - static of(...items: number[]): Buffer; - /** - * Returns true if {obj} is a Buffer - * - * @param obj object to test. - */ - static isBuffer(obj: any): obj is Buffer; - /** - * Returns true if {encoding} is a valid encoding argument. - * Valid string encodings in Node 0.12: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex' - * - * @param encoding string to test. - */ - static isEncoding(encoding: string): encoding is BufferEncoding; - /** - * Gives the actual byte length of a string. encoding defaults to 'utf8'. - * This is not the same as String.prototype.length since that returns the number of characters in a string. - * - * @param string string to test. - * @param encoding encoding used to evaluate (defaults to 'utf8') - */ - static byteLength( - string: string | NodeJS.ArrayBufferView | ArrayBuffer | SharedArrayBuffer, - encoding?: BufferEncoding - ): number; - /** - * Returns a buffer which is the result of concatenating all the buffers in the list together. - * - * If the list has no items, or if the totalLength is 0, then it returns a zero-length buffer. - * If the list has exactly one item, then the first item of the list is returned. - * If the list has more than one item, then a new Buffer is created. - * - * @param list An array of Buffer objects to concatenate - * @param totalLength Total length of the buffers when concatenated. - * If totalLength is not provided, it is read from the buffers in the list. However, this adds an additional loop to the function, so it is faster to provide the length explicitly. - */ - static concat(list: ReadonlyArray, totalLength?: number): Buffer; - /** - * The same as buf1.compare(buf2). - */ - static compare(buf1: Uint8Array, buf2: Uint8Array): number; - /** - * Allocates a new buffer of {size} octets. - * - * @param size count of octets to allocate. - * @param fill if specified, buffer will be initialized by calling buf.fill(fill). - * If parameter is omitted, buffer will be filled with zeros. - * @param encoding encoding used for call to buf.fill while initalizing - */ - static alloc(size: number, fill?: string | Buffer | number, encoding?: BufferEncoding): Buffer; - /** - * Allocates a new buffer of {size} octets, leaving memory not initialized, so the contents - * of the newly created Buffer are unknown and may contain sensitive data. - * - * @param size count of octets to allocate - */ - static allocUnsafe(size: number): Buffer; - /** - * Allocates a new non-pooled buffer of {size} octets, leaving memory not initialized, so the contents - * of the newly created Buffer are unknown and may contain sensitive data. - * - * @param size count of octets to allocate - */ - static allocUnsafeSlow(size: number): Buffer; - /** - * This is the number of bytes used to determine the size of pre-allocated, internal Buffer instances used for pooling. This value may be modified. - */ - static poolSize: number; - - write(string: string, encoding?: BufferEncoding): number; - write(string: string, offset: number, encoding?: BufferEncoding): number; - write(string: string, offset: number, length: number, encoding?: BufferEncoding): number; - toString(encoding?: BufferEncoding, start?: number, end?: number): string; - toJSON(): { type: 'Buffer'; data: number[] }; - equals(otherBuffer: Uint8Array): boolean; - compare( - otherBuffer: Uint8Array, - targetStart?: number, - targetEnd?: number, - sourceStart?: number, - sourceEnd?: number - ): number; - copy(targetBuffer: Uint8Array, targetStart?: number, sourceStart?: number, sourceEnd?: number): number; - /** - * Returns a new `Buffer` that references **the same memory as the original**, but offset and cropped by the start and end indices. - * - * This method is incompatible with `Uint8Array#slice()`, which returns a copy of the original memory. - * - * @param begin Where the new `Buffer` will start. Default: `0`. - * @param end Where the new `Buffer` will end (not inclusive). Default: `buf.length`. - */ - slice(begin?: number, end?: number): Buffer; - /** - * Returns a new `Buffer` that references **the same memory as the original**, but offset and cropped by the start and end indices. - * - * This method is compatible with `Uint8Array#subarray()`. - * - * @param begin Where the new `Buffer` will start. Default: `0`. - * @param end Where the new `Buffer` will end (not inclusive). Default: `buf.length`. - */ - subarray(begin?: number, end?: number): Buffer; - writeBigInt64BE(value: bigint, offset?: number): number; - writeBigInt64LE(value: bigint, offset?: number): number; - writeBigUInt64BE(value: bigint, offset?: number): number; - writeBigUInt64LE(value: bigint, offset?: number): number; - writeUIntLE(value: number, offset: number, byteLength: number): number; - writeUIntBE(value: number, offset: number, byteLength: number): number; - writeIntLE(value: number, offset: number, byteLength: number): number; - writeIntBE(value: number, offset: number, byteLength: number): number; - readBigUInt64BE(offset?: number): bigint; - readBigUInt64LE(offset?: number): bigint; - readBigInt64BE(offset?: number): bigint; - readBigInt64LE(offset?: number): bigint; - readUIntLE(offset: number, byteLength: number): number; - readUIntBE(offset: number, byteLength: number): number; - readIntLE(offset: number, byteLength: number): number; - readIntBE(offset: number, byteLength: number): number; - readUInt8(offset?: number): number; - readUInt16LE(offset?: number): number; - readUInt16BE(offset?: number): number; - readUInt32LE(offset?: number): number; - readUInt32BE(offset?: number): number; - readInt8(offset?: number): number; - readInt16LE(offset?: number): number; - readInt16BE(offset?: number): number; - readInt32LE(offset?: number): number; - readInt32BE(offset?: number): number; - readFloatLE(offset?: number): number; - readFloatBE(offset?: number): number; - readDoubleLE(offset?: number): number; - readDoubleBE(offset?: number): number; - reverse(): this; - swap16(): Buffer; - swap32(): Buffer; - swap64(): Buffer; - writeUInt8(value: number, offset?: number): number; - writeUInt16LE(value: number, offset?: number): number; - writeUInt16BE(value: number, offset?: number): number; - writeUInt32LE(value: number, offset?: number): number; - writeUInt32BE(value: number, offset?: number): number; - writeInt8(value: number, offset?: number): number; - writeInt16LE(value: number, offset?: number): number; - writeInt16BE(value: number, offset?: number): number; - writeInt32LE(value: number, offset?: number): number; - writeInt32BE(value: number, offset?: number): number; - writeFloatLE(value: number, offset?: number): number; - writeFloatBE(value: number, offset?: number): number; - writeDoubleLE(value: number, offset?: number): number; - writeDoubleBE(value: number, offset?: number): number; - - fill(value: string | Uint8Array | number, offset?: number, end?: number, encoding?: BufferEncoding): this; - - indexOf(value: string | number | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number; - lastIndexOf(value: string | number | Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number; - entries(): IterableIterator<[number, number]>; - includes(value: string | number | Buffer, byteOffset?: number, encoding?: BufferEncoding): boolean; - keys(): IterableIterator; - values(): IterableIterator; -} - -/*----------------------------------------------* -* * -* GLOBAL INTERFACES * -* * -*-----------------------------------------------*/ -declare namespace NodeJS { - interface InspectOptions { - /** - * If set to `true`, getters are going to be - * inspected as well. If set to `'get'` only getters without setter are going - * to be inspected. If set to `'set'` only getters having a corresponding - * setter are going to be inspected. This might cause side effects depending on - * the getter function. - * @default `false` - */ - getters?: 'get' | 'set' | boolean; - showHidden?: boolean; - /** - * @default 2 - */ - depth?: number | null; - colors?: boolean; - customInspect?: boolean; - showProxy?: boolean; - maxArrayLength?: number | null; - /** - * Specifies the maximum number of characters to - * include when formatting. Set to `null` or `Infinity` to show all elements. - * Set to `0` or negative to show no characters. - * @default Infinity - */ - maxStringLength?: number | null; - breakLength?: number; - /** - * Setting this to `false` causes each object key - * to be displayed on a new line. It will also add new lines to text that is - * longer than `breakLength`. If set to a number, the most `n` inner elements - * are united on a single line as long as all properties fit into - * `breakLength`. Short array elements are also grouped together. Note that no - * text will be reduced below 16 characters, no matter the `breakLength` size. - * For more information, see the example below. - * @default `true` - */ - compact?: boolean | number; - sorted?: boolean | ((a: string, b: string) => number); - } - - interface CallSite { - /** - * Value of "this" - */ - getThis(): any; - - /** - * Type of "this" as a string. - * This is the name of the function stored in the constructor field of - * "this", if available. Otherwise the object's [[Class]] internal - * property. - */ - getTypeName(): string | null; - - /** - * Current function - */ - getFunction(): Function | undefined; - - /** - * Name of the current function, typically its name property. - * If a name property is not available an attempt will be made to try - * to infer a name from the function's context. - */ - getFunctionName(): string | null; - - /** - * Name of the property [of "this" or one of its prototypes] that holds - * the current function - */ - getMethodName(): string | null; - - /** - * Name of the script [if this function was defined in a script] - */ - getFileName(): string | null; - - /** - * Current line number [if this function was defined in a script] - */ - getLineNumber(): number | null; - - /** - * Current column number [if this function was defined in a script] - */ - getColumnNumber(): number | null; - - /** - * A call site object representing the location where eval was called - * [if this function was created using a call to eval] - */ - getEvalOrigin(): string | undefined; - - /** - * Is this a toplevel invocation, that is, is "this" the global object? - */ - isToplevel(): boolean; - - /** - * Does this call take place in code defined by a call to eval? - */ - isEval(): boolean; - - /** - * Is this call in native V8 code? - */ - isNative(): boolean; - - /** - * Is this a constructor call? - */ - isConstructor(): boolean; - } - - interface ErrnoException extends Error { - errno?: number; - code?: string; - path?: string; - syscall?: string; - stack?: string; - } - - interface ReadableStream extends EventEmitter { - readable: boolean; - read(size?: number): string | Buffer; - setEncoding(encoding: BufferEncoding): this; - pause(): this; - resume(): this; - isPaused(): boolean; - pipe(destination: T, options?: { end?: boolean; }): T; - unpipe(destination?: WritableStream): this; - unshift(chunk: string | Uint8Array, encoding?: BufferEncoding): void; - wrap(oldStream: ReadableStream): this; - [Symbol.asyncIterator](): AsyncIterableIterator; - } - - interface WritableStream extends EventEmitter { - writable: boolean; - write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean; - write(str: string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean; - end(cb?: () => void): void; - end(data: string | Uint8Array, cb?: () => void): void; - end(str: string, encoding?: BufferEncoding, cb?: () => void): void; - } - - interface ReadWriteStream extends ReadableStream, WritableStream { } - - interface Global { - Array: typeof Array; - ArrayBuffer: typeof ArrayBuffer; - Boolean: typeof Boolean; - Buffer: typeof Buffer; - DataView: typeof DataView; - Date: typeof Date; - Error: typeof Error; - EvalError: typeof EvalError; - Float32Array: typeof Float32Array; - Float64Array: typeof Float64Array; - Function: typeof Function; - Infinity: typeof Infinity; - Int16Array: typeof Int16Array; - Int32Array: typeof Int32Array; - Int8Array: typeof Int8Array; - Intl: typeof Intl; - JSON: typeof JSON; - Map: MapConstructor; - Math: typeof Math; - NaN: typeof NaN; - Number: typeof Number; - Object: typeof Object; - Promise: typeof Promise; - RangeError: typeof RangeError; - ReferenceError: typeof ReferenceError; - RegExp: typeof RegExp; - Set: SetConstructor; - String: typeof String; - Symbol: Function; - SyntaxError: typeof SyntaxError; - TypeError: typeof TypeError; - URIError: typeof URIError; - Uint16Array: typeof Uint16Array; - Uint32Array: typeof Uint32Array; - Uint8Array: typeof Uint8Array; - Uint8ClampedArray: typeof Uint8ClampedArray; - WeakMap: WeakMapConstructor; - WeakSet: WeakSetConstructor; - clearImmediate: (immediateId: Immediate) => void; - clearInterval: (intervalId: Timeout) => void; - clearTimeout: (timeoutId: Timeout) => void; - decodeURI: typeof decodeURI; - decodeURIComponent: typeof decodeURIComponent; - encodeURI: typeof encodeURI; - encodeURIComponent: typeof encodeURIComponent; - escape: (str: string) => string; - eval: typeof eval; - global: Global; - isFinite: typeof isFinite; - isNaN: typeof isNaN; - parseFloat: typeof parseFloat; - parseInt: typeof parseInt; - setImmediate: (callback: (...args: any[]) => void, ...args: any[]) => Immediate; - setInterval: (callback: (...args: any[]) => void, ms: number, ...args: any[]) => Timeout; - setTimeout: (callback: (...args: any[]) => void, ms: number, ...args: any[]) => Timeout; - queueMicrotask: typeof queueMicrotask; - undefined: typeof undefined; - unescape: (str: string) => string; - gc: () => void; - v8debug?: any; - } - - interface RefCounted { - ref(): this; - unref(): this; - } - - // compatibility with older typings - interface Timer extends RefCounted { - hasRef(): boolean; - refresh(): this; - [Symbol.toPrimitive](): number; - } - - interface Immediate extends RefCounted { - hasRef(): boolean; - _onImmediate: Function; // to distinguish it from the Timeout class - } - - interface Timeout extends Timer { - hasRef(): boolean; - refresh(): this; - [Symbol.toPrimitive](): number; - } - - type TypedArray = - | Uint8Array - | Uint8ClampedArray - | Uint16Array - | Uint32Array - | Int8Array - | Int16Array - | Int32Array - | BigUint64Array - | BigInt64Array - | Float32Array - | Float64Array; - type ArrayBufferView = TypedArray | DataView; - - interface Require { - (id: string): any; - resolve: RequireResolve; - cache: Dict; - /** - * @deprecated - */ - extensions: RequireExtensions; - main: Module | undefined; - } - - interface RequireResolve { - (id: string, options?: { paths?: string[]; }): string; - paths(request: string): string[] | null; - } - - interface RequireExtensions extends Dict<(m: Module, filename: string) => any> { - '.js': (m: Module, filename: string) => any; - '.json': (m: Module, filename: string) => any; - '.node': (m: Module, filename: string) => any; - } - interface Module { - exports: any; - require: Require; - id: string; - filename: string; - loaded: boolean; - /** @deprecated since 14.6.0 Please use `require.main` and `module.children` instead. */ - parent: Module | null | undefined; - children: Module[]; - /** - * @since 11.14.0 - * - * The directory name of the module. This is usually the same as the path.dirname() of the module.id. - */ - path: string; - paths: string[]; - } - - interface Dict { - [key: string]: T | undefined; - } - - interface ReadOnlyDict { - readonly [key: string]: T | undefined; - } -} diff --git a/node_modules/@types/node/globals.global.d.ts b/node_modules/@types/node/globals.global.d.ts deleted file mode 100644 index d66acba6..00000000 --- a/node_modules/@types/node/globals.global.d.ts +++ /dev/null @@ -1 +0,0 @@ -declare var global: NodeJS.Global & typeof globalThis; diff --git a/node_modules/@types/node/http.d.ts b/node_modules/@types/node/http.d.ts deleted file mode 100644 index 72a478ae..00000000 --- a/node_modules/@types/node/http.d.ts +++ /dev/null @@ -1,422 +0,0 @@ -declare module "http" { - import * as stream from "stream"; - import { URL } from "url"; - import { Socket, Server as NetServer } from "net"; - - // incoming headers will never contain number - interface IncomingHttpHeaders extends NodeJS.Dict { - 'accept'?: string; - 'accept-language'?: string; - 'accept-patch'?: string; - 'accept-ranges'?: string; - 'access-control-allow-credentials'?: string; - 'access-control-allow-headers'?: string; - 'access-control-allow-methods'?: string; - 'access-control-allow-origin'?: string; - 'access-control-expose-headers'?: string; - 'access-control-max-age'?: string; - 'access-control-request-headers'?: string; - 'access-control-request-method'?: string; - 'age'?: string; - 'allow'?: string; - 'alt-svc'?: string; - 'authorization'?: string; - 'cache-control'?: string; - 'connection'?: string; - 'content-disposition'?: string; - 'content-encoding'?: string; - 'content-language'?: string; - 'content-length'?: string; - 'content-location'?: string; - 'content-range'?: string; - 'content-type'?: string; - 'cookie'?: string; - 'date'?: string; - 'expect'?: string; - 'expires'?: string; - 'forwarded'?: string; - 'from'?: string; - 'host'?: string; - 'if-match'?: string; - 'if-modified-since'?: string; - 'if-none-match'?: string; - 'if-unmodified-since'?: string; - 'last-modified'?: string; - 'location'?: string; - 'origin'?: string; - 'pragma'?: string; - 'proxy-authenticate'?: string; - 'proxy-authorization'?: string; - 'public-key-pins'?: string; - 'range'?: string; - 'referer'?: string; - 'retry-after'?: string; - 'sec-websocket-accept'?: string; - 'sec-websocket-extensions'?: string; - 'sec-websocket-key'?: string; - 'sec-websocket-protocol'?: string; - 'sec-websocket-version'?: string; - 'set-cookie'?: string[]; - 'strict-transport-security'?: string; - 'tk'?: string; - 'trailer'?: string; - 'transfer-encoding'?: string; - 'upgrade'?: string; - 'user-agent'?: string; - 'vary'?: string; - 'via'?: string; - 'warning'?: string; - 'www-authenticate'?: string; - } - - // outgoing headers allows numbers (as they are converted internally to strings) - type OutgoingHttpHeader = number | string | string[]; - - interface OutgoingHttpHeaders extends NodeJS.Dict { - } - - interface ClientRequestArgs { - protocol?: string | null; - host?: string | null; - hostname?: string | null; - family?: number; - port?: number | string | null; - defaultPort?: number | string; - localAddress?: string; - socketPath?: string; - /** - * @default 8192 - */ - maxHeaderSize?: number; - method?: string; - path?: string | null; - headers?: OutgoingHttpHeaders; - auth?: string | null; - agent?: Agent | boolean; - _defaultAgent?: Agent; - timeout?: number; - setHost?: boolean; - // https://github.com/nodejs/node/blob/master/lib/_http_client.js#L278 - createConnection?: (options: ClientRequestArgs, oncreate: (err: Error, socket: Socket) => void) => Socket; - } - - interface ServerOptions { - IncomingMessage?: typeof IncomingMessage; - ServerResponse?: typeof ServerResponse; - /** - * Optionally overrides the value of - * [`--max-http-header-size`][] for requests received by this server, i.e. - * the maximum length of request headers in bytes. - * @default 8192 - */ - maxHeaderSize?: number; - /** - * Use an insecure HTTP parser that accepts invalid HTTP headers when true. - * Using the insecure parser should be avoided. - * See --insecure-http-parser for more information. - * @default false - */ - insecureHTTPParser?: boolean; - } - - type RequestListener = (req: IncomingMessage, res: ServerResponse) => void; - - interface HttpBase { - setTimeout(msecs?: number, callback?: () => void): this; - setTimeout(callback: () => void): this; - /** - * Limits maximum incoming headers count. If set to 0, no limit will be applied. - * @default 2000 - * {@link https://nodejs.org/api/http.html#http_server_maxheaderscount} - */ - maxHeadersCount: number | null; - timeout: number; - /** - * Limit the amount of time the parser will wait to receive the complete HTTP headers. - * @default 60000 - * {@link https://nodejs.org/api/http.html#http_server_headerstimeout} - */ - headersTimeout: number; - keepAliveTimeout: number; - /** - * Sets the timeout value in milliseconds for receiving the entire request from the client. - * @default 0 - * {@link https://nodejs.org/api/http.html#http_server_requesttimeout} - */ - requestTimeout: number; - } - - interface Server extends HttpBase {} - class Server extends NetServer { - constructor(requestListener?: RequestListener); - constructor(options: ServerOptions, requestListener?: RequestListener); - } - - // https://github.com/nodejs/node/blob/master/lib/_http_outgoing.js - class OutgoingMessage extends stream.Writable { - upgrading: boolean; - chunkedEncoding: boolean; - shouldKeepAlive: boolean; - useChunkedEncodingByDefault: boolean; - sendDate: boolean; - /** - * @deprecated Use `writableEnded` instead. - */ - finished: boolean; - headersSent: boolean; - /** - * @deprecate Use `socket` instead. - */ - connection: Socket | null; - socket: Socket | null; - - constructor(); - - setTimeout(msecs: number, callback?: () => void): this; - setHeader(name: string, value: number | string | ReadonlyArray): void; - getHeader(name: string): number | string | string[] | undefined; - getHeaders(): OutgoingHttpHeaders; - getHeaderNames(): string[]; - hasHeader(name: string): boolean; - removeHeader(name: string): void; - addTrailers(headers: OutgoingHttpHeaders | ReadonlyArray<[string, string]>): void; - flushHeaders(): void; - } - - // https://github.com/nodejs/node/blob/master/lib/_http_server.js#L108-L256 - class ServerResponse extends OutgoingMessage { - statusCode: number; - statusMessage: string; - - constructor(req: IncomingMessage); - - assignSocket(socket: Socket): void; - detachSocket(socket: Socket): void; - // https://github.com/nodejs/node/blob/master/test/parallel/test-http-write-callbacks.js#L53 - // no args in writeContinue callback - writeContinue(callback?: () => void): void; - writeHead(statusCode: number, reasonPhrase?: string, headers?: OutgoingHttpHeaders | OutgoingHttpHeader[]): this; - writeHead(statusCode: number, headers?: OutgoingHttpHeaders | OutgoingHttpHeader[]): this; - writeProcessing(): void; - } - - interface InformationEvent { - statusCode: number; - statusMessage: string; - httpVersion: string; - httpVersionMajor: number; - httpVersionMinor: number; - headers: IncomingHttpHeaders; - rawHeaders: string[]; - } - - // https://github.com/nodejs/node/blob/master/lib/_http_client.js#L77 - class ClientRequest extends OutgoingMessage { - aborted: boolean; - host: string; - protocol: string; - - constructor(url: string | URL | ClientRequestArgs, cb?: (res: IncomingMessage) => void); - - method: string; - path: string; - abort(): void; - onSocket(socket: Socket): void; - setTimeout(timeout: number, callback?: () => void): this; - setNoDelay(noDelay?: boolean): void; - setSocketKeepAlive(enable?: boolean, initialDelay?: number): void; - - addListener(event: 'abort', listener: () => void): this; - addListener(event: 'connect', listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - addListener(event: 'continue', listener: () => void): this; - addListener(event: 'information', listener: (info: InformationEvent) => void): this; - addListener(event: 'response', listener: (response: IncomingMessage) => void): this; - addListener(event: 'socket', listener: (socket: Socket) => void): this; - addListener(event: 'timeout', listener: () => void): this; - addListener(event: 'upgrade', listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - addListener(event: 'close', listener: () => void): this; - addListener(event: 'drain', listener: () => void): this; - addListener(event: 'error', listener: (err: Error) => void): this; - addListener(event: 'finish', listener: () => void): this; - addListener(event: 'pipe', listener: (src: stream.Readable) => void): this; - addListener(event: 'unpipe', listener: (src: stream.Readable) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - on(event: 'abort', listener: () => void): this; - on(event: 'connect', listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - on(event: 'continue', listener: () => void): this; - on(event: 'information', listener: (info: InformationEvent) => void): this; - on(event: 'response', listener: (response: IncomingMessage) => void): this; - on(event: 'socket', listener: (socket: Socket) => void): this; - on(event: 'timeout', listener: () => void): this; - on(event: 'upgrade', listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - on(event: 'close', listener: () => void): this; - on(event: 'drain', listener: () => void): this; - on(event: 'error', listener: (err: Error) => void): this; - on(event: 'finish', listener: () => void): this; - on(event: 'pipe', listener: (src: stream.Readable) => void): this; - on(event: 'unpipe', listener: (src: stream.Readable) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: 'abort', listener: () => void): this; - once(event: 'connect', listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - once(event: 'continue', listener: () => void): this; - once(event: 'information', listener: (info: InformationEvent) => void): this; - once(event: 'response', listener: (response: IncomingMessage) => void): this; - once(event: 'socket', listener: (socket: Socket) => void): this; - once(event: 'timeout', listener: () => void): this; - once(event: 'upgrade', listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - once(event: 'close', listener: () => void): this; - once(event: 'drain', listener: () => void): this; - once(event: 'error', listener: (err: Error) => void): this; - once(event: 'finish', listener: () => void): this; - once(event: 'pipe', listener: (src: stream.Readable) => void): this; - once(event: 'unpipe', listener: (src: stream.Readable) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: 'abort', listener: () => void): this; - prependListener(event: 'connect', listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - prependListener(event: 'continue', listener: () => void): this; - prependListener(event: 'information', listener: (info: InformationEvent) => void): this; - prependListener(event: 'response', listener: (response: IncomingMessage) => void): this; - prependListener(event: 'socket', listener: (socket: Socket) => void): this; - prependListener(event: 'timeout', listener: () => void): this; - prependListener(event: 'upgrade', listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - prependListener(event: 'close', listener: () => void): this; - prependListener(event: 'drain', listener: () => void): this; - prependListener(event: 'error', listener: (err: Error) => void): this; - prependListener(event: 'finish', listener: () => void): this; - prependListener(event: 'pipe', listener: (src: stream.Readable) => void): this; - prependListener(event: 'unpipe', listener: (src: stream.Readable) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: 'abort', listener: () => void): this; - prependOnceListener(event: 'connect', listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - prependOnceListener(event: 'continue', listener: () => void): this; - prependOnceListener(event: 'information', listener: (info: InformationEvent) => void): this; - prependOnceListener(event: 'response', listener: (response: IncomingMessage) => void): this; - prependOnceListener(event: 'socket', listener: (socket: Socket) => void): this; - prependOnceListener(event: 'timeout', listener: () => void): this; - prependOnceListener(event: 'upgrade', listener: (response: IncomingMessage, socket: Socket, head: Buffer) => void): this; - prependOnceListener(event: 'close', listener: () => void): this; - prependOnceListener(event: 'drain', listener: () => void): this; - prependOnceListener(event: 'error', listener: (err: Error) => void): this; - prependOnceListener(event: 'finish', listener: () => void): this; - prependOnceListener(event: 'pipe', listener: (src: stream.Readable) => void): this; - prependOnceListener(event: 'unpipe', listener: (src: stream.Readable) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - - class IncomingMessage extends stream.Readable { - constructor(socket: Socket); - - aborted: boolean; - httpVersion: string; - httpVersionMajor: number; - httpVersionMinor: number; - complete: boolean; - /** - * @deprecate Use `socket` instead. - */ - connection: Socket; - socket: Socket; - headers: IncomingHttpHeaders; - rawHeaders: string[]; - trailers: NodeJS.Dict; - rawTrailers: string[]; - setTimeout(msecs: number, callback?: () => void): this; - /** - * Only valid for request obtained from http.Server. - */ - method?: string; - /** - * Only valid for request obtained from http.Server. - */ - url?: string; - /** - * Only valid for response obtained from http.ClientRequest. - */ - statusCode?: number; - /** - * Only valid for response obtained from http.ClientRequest. - */ - statusMessage?: string; - destroy(error?: Error): void; - } - - interface AgentOptions { - /** - * Keep sockets around in a pool to be used by other requests in the future. Default = false - */ - keepAlive?: boolean; - /** - * When using HTTP KeepAlive, how often to send TCP KeepAlive packets over sockets being kept alive. Default = 1000. - * Only relevant if keepAlive is set to true. - */ - keepAliveMsecs?: number; - /** - * Maximum number of sockets to allow per host. Default for Node 0.10 is 5, default for Node 0.12 is Infinity - */ - maxSockets?: number; - /** - * Maximum number of sockets allowed for all hosts in total. Each request will use a new socket until the maximum is reached. Default: Infinity. - */ - maxTotalSockets?: number; - /** - * Maximum number of sockets to leave open in a free state. Only relevant if keepAlive is set to true. Default = 256. - */ - maxFreeSockets?: number; - /** - * Socket timeout in milliseconds. This will set the timeout after the socket is connected. - */ - timeout?: number; - /** - * Scheduling strategy to apply when picking the next free socket to use. Default: 'fifo'. - */ - scheduling?: 'fifo' | 'lifo'; - } - - class Agent { - maxFreeSockets: number; - maxSockets: number; - maxTotalSockets: number; - readonly freeSockets: NodeJS.ReadOnlyDict; - readonly sockets: NodeJS.ReadOnlyDict; - readonly requests: NodeJS.ReadOnlyDict; - - constructor(opts?: AgentOptions); - - /** - * Destroy any sockets that are currently in use by the agent. - * It is usually not necessary to do this. However, if you are using an agent with KeepAlive enabled, - * then it is best to explicitly shut down the agent when you know that it will no longer be used. Otherwise, - * sockets may hang open for quite a long time before the server terminates them. - */ - destroy(): void; - } - - const METHODS: string[]; - - const STATUS_CODES: { - [errorCode: number]: string | undefined; - [errorCode: string]: string | undefined; - }; - - function createServer(requestListener?: RequestListener): Server; - function createServer(options: ServerOptions, requestListener?: RequestListener): Server; - - // although RequestOptions are passed as ClientRequestArgs to ClientRequest directly, - // create interface RequestOptions would make the naming more clear to developers - interface RequestOptions extends ClientRequestArgs { } - function request(options: RequestOptions | string | URL, callback?: (res: IncomingMessage) => void): ClientRequest; - function request(url: string | URL, options: RequestOptions, callback?: (res: IncomingMessage) => void): ClientRequest; - function get(options: RequestOptions | string | URL, callback?: (res: IncomingMessage) => void): ClientRequest; - function get(url: string | URL, options: RequestOptions, callback?: (res: IncomingMessage) => void): ClientRequest; - let globalAgent: Agent; - - /** - * Read-only property specifying the maximum allowed size of HTTP headers in bytes. - * Defaults to 16KB. Configurable using the [`--max-http-header-size`][] CLI option. - */ - const maxHeaderSize: number; -} diff --git a/node_modules/@types/node/http2.d.ts b/node_modules/@types/node/http2.d.ts deleted file mode 100644 index 07882931..00000000 --- a/node_modules/@types/node/http2.d.ts +++ /dev/null @@ -1,952 +0,0 @@ -declare module "http2" { - import * as events from "events"; - import * as fs from "fs"; - import * as net from "net"; - import * as stream from "stream"; - import * as tls from "tls"; - import * as url from "url"; - - import { IncomingHttpHeaders as Http1IncomingHttpHeaders, OutgoingHttpHeaders, IncomingMessage, ServerResponse } from "http"; - export { OutgoingHttpHeaders } from "http"; - - export interface IncomingHttpStatusHeader { - ":status"?: number; - } - - export interface IncomingHttpHeaders extends Http1IncomingHttpHeaders { - ":path"?: string; - ":method"?: string; - ":authority"?: string; - ":scheme"?: string; - } - - // Http2Stream - - export interface StreamPriorityOptions { - exclusive?: boolean; - parent?: number; - weight?: number; - silent?: boolean; - } - - export interface StreamState { - localWindowSize?: number; - state?: number; - localClose?: number; - remoteClose?: number; - sumDependencyWeight?: number; - weight?: number; - } - - export interface ServerStreamResponseOptions { - endStream?: boolean; - waitForTrailers?: boolean; - } - - export interface StatOptions { - offset: number; - length: number; - } - - export interface ServerStreamFileResponseOptions { - statCheck?(stats: fs.Stats, headers: OutgoingHttpHeaders, statOptions: StatOptions): void | boolean; - waitForTrailers?: boolean; - offset?: number; - length?: number; - } - - export interface ServerStreamFileResponseOptionsWithError extends ServerStreamFileResponseOptions { - onError?(err: NodeJS.ErrnoException): void; - } - - export interface Http2Stream extends stream.Duplex { - readonly aborted: boolean; - readonly bufferSize: number; - readonly closed: boolean; - readonly destroyed: boolean; - /** - * Set the true if the END_STREAM flag was set in the request or response HEADERS frame received, - * indicating that no additional data should be received and the readable side of the Http2Stream will be closed. - */ - readonly endAfterHeaders: boolean; - readonly id?: number; - readonly pending: boolean; - readonly rstCode: number; - readonly sentHeaders: OutgoingHttpHeaders; - readonly sentInfoHeaders?: OutgoingHttpHeaders[]; - readonly sentTrailers?: OutgoingHttpHeaders; - readonly session: Http2Session; - readonly state: StreamState; - - close(code?: number, callback?: () => void): void; - priority(options: StreamPriorityOptions): void; - setTimeout(msecs: number, callback?: () => void): void; - sendTrailers(headers: OutgoingHttpHeaders): void; - - addListener(event: "aborted", listener: () => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "data", listener: (chunk: Buffer | string) => void): this; - addListener(event: "drain", listener: () => void): this; - addListener(event: "end", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "finish", listener: () => void): this; - addListener(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; - addListener(event: "pipe", listener: (src: stream.Readable) => void): this; - addListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - addListener(event: "streamClosed", listener: (code: number) => void): this; - addListener(event: "timeout", listener: () => void): this; - addListener(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; - addListener(event: "wantTrailers", listener: () => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - emit(event: "aborted"): boolean; - emit(event: "close"): boolean; - emit(event: "data", chunk: Buffer | string): boolean; - emit(event: "drain"): boolean; - emit(event: "end"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "finish"): boolean; - emit(event: "frameError", frameType: number, errorCode: number): boolean; - emit(event: "pipe", src: stream.Readable): boolean; - emit(event: "unpipe", src: stream.Readable): boolean; - emit(event: "streamClosed", code: number): boolean; - emit(event: "timeout"): boolean; - emit(event: "trailers", trailers: IncomingHttpHeaders, flags: number): boolean; - emit(event: "wantTrailers"): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - - on(event: "aborted", listener: () => void): this; - on(event: "close", listener: () => void): this; - on(event: "data", listener: (chunk: Buffer | string) => void): this; - on(event: "drain", listener: () => void): this; - on(event: "end", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "finish", listener: () => void): this; - on(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; - on(event: "pipe", listener: (src: stream.Readable) => void): this; - on(event: "unpipe", listener: (src: stream.Readable) => void): this; - on(event: "streamClosed", listener: (code: number) => void): this; - on(event: "timeout", listener: () => void): this; - on(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; - on(event: "wantTrailers", listener: () => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "aborted", listener: () => void): this; - once(event: "close", listener: () => void): this; - once(event: "data", listener: (chunk: Buffer | string) => void): this; - once(event: "drain", listener: () => void): this; - once(event: "end", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "finish", listener: () => void): this; - once(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; - once(event: "pipe", listener: (src: stream.Readable) => void): this; - once(event: "unpipe", listener: (src: stream.Readable) => void): this; - once(event: "streamClosed", listener: (code: number) => void): this; - once(event: "timeout", listener: () => void): this; - once(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; - once(event: "wantTrailers", listener: () => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "aborted", listener: () => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "data", listener: (chunk: Buffer | string) => void): this; - prependListener(event: "drain", listener: () => void): this; - prependListener(event: "end", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "finish", listener: () => void): this; - prependListener(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; - prependListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependListener(event: "streamClosed", listener: (code: number) => void): this; - prependListener(event: "timeout", listener: () => void): this; - prependListener(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; - prependListener(event: "wantTrailers", listener: () => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "aborted", listener: () => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this; - prependOnceListener(event: "drain", listener: () => void): this; - prependOnceListener(event: "end", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "finish", listener: () => void): this; - prependOnceListener(event: "frameError", listener: (frameType: number, errorCode: number) => void): this; - prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: "streamClosed", listener: (code: number) => void): this; - prependOnceListener(event: "timeout", listener: () => void): this; - prependOnceListener(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this; - prependOnceListener(event: "wantTrailers", listener: () => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - - export interface ClientHttp2Stream extends Http2Stream { - addListener(event: "continue", listener: () => {}): this; - addListener(event: "headers", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - addListener(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; - addListener(event: "response", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - emit(event: "continue"): boolean; - emit(event: "headers", headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number): boolean; - emit(event: "push", headers: IncomingHttpHeaders, flags: number): boolean; - emit(event: "response", headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - - on(event: "continue", listener: () => {}): this; - on(event: "headers", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - on(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; - on(event: "response", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "continue", listener: () => {}): this; - once(event: "headers", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - once(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; - once(event: "response", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "continue", listener: () => {}): this; - prependListener(event: "headers", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - prependListener(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; - prependListener(event: "response", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "continue", listener: () => {}): this; - prependOnceListener(event: "headers", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - prependOnceListener(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this; - prependOnceListener(event: "response", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - - export interface ServerHttp2Stream extends Http2Stream { - readonly headersSent: boolean; - readonly pushAllowed: boolean; - additionalHeaders(headers: OutgoingHttpHeaders): void; - pushStream(headers: OutgoingHttpHeaders, callback?: (err: Error | null, pushStream: ServerHttp2Stream, headers: OutgoingHttpHeaders) => void): void; - pushStream(headers: OutgoingHttpHeaders, options?: StreamPriorityOptions, callback?: (err: Error | null, pushStream: ServerHttp2Stream, headers: OutgoingHttpHeaders) => void): void; - respond(headers?: OutgoingHttpHeaders, options?: ServerStreamResponseOptions): void; - respondWithFD(fd: number | fs.promises.FileHandle, headers?: OutgoingHttpHeaders, options?: ServerStreamFileResponseOptions): void; - respondWithFile(path: string, headers?: OutgoingHttpHeaders, options?: ServerStreamFileResponseOptionsWithError): void; - } - - // Http2Session - - export interface Settings { - headerTableSize?: number; - enablePush?: boolean; - initialWindowSize?: number; - maxFrameSize?: number; - maxConcurrentStreams?: number; - maxHeaderListSize?: number; - enableConnectProtocol?: boolean; - } - - export interface ClientSessionRequestOptions { - endStream?: boolean; - exclusive?: boolean; - parent?: number; - weight?: number; - waitForTrailers?: boolean; - } - - export interface SessionState { - effectiveLocalWindowSize?: number; - effectiveRecvDataLength?: number; - nextStreamID?: number; - localWindowSize?: number; - lastProcStreamID?: number; - remoteWindowSize?: number; - outboundQueueSize?: number; - deflateDynamicTableSize?: number; - inflateDynamicTableSize?: number; - } - - export interface Http2Session extends events.EventEmitter { - readonly alpnProtocol?: string; - readonly closed: boolean; - readonly connecting: boolean; - readonly destroyed: boolean; - readonly encrypted?: boolean; - readonly localSettings: Settings; - readonly originSet?: string[]; - readonly pendingSettingsAck: boolean; - readonly remoteSettings: Settings; - readonly socket: net.Socket | tls.TLSSocket; - readonly state: SessionState; - readonly type: number; - - close(callback?: () => void): void; - destroy(error?: Error, code?: number): void; - goaway(code?: number, lastStreamID?: number, opaqueData?: NodeJS.ArrayBufferView): void; - ping(callback: (err: Error | null, duration: number, payload: Buffer) => void): boolean; - ping(payload: NodeJS.ArrayBufferView, callback: (err: Error | null, duration: number, payload: Buffer) => void): boolean; - ref(): void; - setTimeout(msecs: number, callback?: () => void): void; - settings(settings: Settings): void; - unref(): void; - - addListener(event: "close", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this; - addListener(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this; - addListener(event: "localSettings", listener: (settings: Settings) => void): this; - addListener(event: "ping", listener: () => void): this; - addListener(event: "remoteSettings", listener: (settings: Settings) => void): this; - addListener(event: "timeout", listener: () => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - emit(event: "close"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "frameError", frameType: number, errorCode: number, streamID: number): boolean; - emit(event: "goaway", errorCode: number, lastStreamID: number, opaqueData: Buffer): boolean; - emit(event: "localSettings", settings: Settings): boolean; - emit(event: "ping"): boolean; - emit(event: "remoteSettings", settings: Settings): boolean; - emit(event: "timeout"): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - - on(event: "close", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this; - on(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this; - on(event: "localSettings", listener: (settings: Settings) => void): this; - on(event: "ping", listener: () => void): this; - on(event: "remoteSettings", listener: (settings: Settings) => void): this; - on(event: "timeout", listener: () => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "close", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this; - once(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this; - once(event: "localSettings", listener: (settings: Settings) => void): this; - once(event: "ping", listener: () => void): this; - once(event: "remoteSettings", listener: (settings: Settings) => void): this; - once(event: "timeout", listener: () => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "close", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this; - prependListener(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this; - prependListener(event: "localSettings", listener: (settings: Settings) => void): this; - prependListener(event: "ping", listener: () => void): this; - prependListener(event: "remoteSettings", listener: (settings: Settings) => void): this; - prependListener(event: "timeout", listener: () => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this; - prependOnceListener(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this; - prependOnceListener(event: "localSettings", listener: (settings: Settings) => void): this; - prependOnceListener(event: "ping", listener: () => void): this; - prependOnceListener(event: "remoteSettings", listener: (settings: Settings) => void): this; - prependOnceListener(event: "timeout", listener: () => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - - export interface ClientHttp2Session extends Http2Session { - request(headers?: OutgoingHttpHeaders, options?: ClientSessionRequestOptions): ClientHttp2Stream; - - addListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; - addListener(event: "origin", listener: (origins: string[]) => void): this; - addListener(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; - addListener(event: "stream", listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - emit(event: "altsvc", alt: string, origin: string, stream: number): boolean; - emit(event: "origin", origins: ReadonlyArray): boolean; - emit(event: "connect", session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket): boolean; - emit(event: "stream", stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - - on(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; - on(event: "origin", listener: (origins: string[]) => void): this; - on(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; - on(event: "stream", listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; - once(event: "origin", listener: (origins: string[]) => void): this; - once(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; - once(event: "stream", listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; - prependListener(event: "origin", listener: (origins: string[]) => void): this; - prependListener(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; - prependListener(event: "stream", listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this; - prependOnceListener(event: "origin", listener: (origins: string[]) => void): this; - prependOnceListener(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; - prependOnceListener(event: "stream", listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - - export interface AlternativeServiceOptions { - origin: number | string | url.URL; - } - - export interface ServerHttp2Session extends Http2Session { - readonly server: Http2Server | Http2SecureServer; - - altsvc(alt: string, originOrStream: number | string | url.URL | AlternativeServiceOptions): void; - origin(...args: Array): void; - - addListener(event: "connect", listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; - addListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - emit(event: "connect", session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket): boolean; - emit(event: "stream", stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - - on(event: "connect", listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; - on(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "connect", listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; - once(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "connect", listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; - prependListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "connect", listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this; - prependOnceListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - - // Http2Server - - export interface SessionOptions { - maxDeflateDynamicTableSize?: number; - maxSessionMemory?: number; - maxHeaderListPairs?: number; - maxOutstandingPings?: number; - maxSendHeaderBlockLength?: number; - paddingStrategy?: number; - peerMaxConcurrentStreams?: number; - settings?: Settings; - - selectPadding?(frameLen: number, maxFrameLen: number): number; - createConnection?(authority: url.URL, option: SessionOptions): stream.Duplex; - } - - export interface ClientSessionOptions extends SessionOptions { - maxReservedRemoteStreams?: number; - createConnection?: (authority: url.URL, option: SessionOptions) => stream.Duplex; - protocol?: 'http:' | 'https:'; - } - - export interface ServerSessionOptions extends SessionOptions { - Http1IncomingMessage?: typeof IncomingMessage; - Http1ServerResponse?: typeof ServerResponse; - Http2ServerRequest?: typeof Http2ServerRequest; - Http2ServerResponse?: typeof Http2ServerResponse; - } - - export interface SecureClientSessionOptions extends ClientSessionOptions, tls.ConnectionOptions { } - export interface SecureServerSessionOptions extends ServerSessionOptions, tls.TlsOptions { } - - export interface ServerOptions extends ServerSessionOptions { } - - export interface SecureServerOptions extends SecureServerSessionOptions { - allowHTTP1?: boolean; - origins?: string[]; - } - - export interface Http2Server extends net.Server { - addListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - addListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - addListener(event: "session", listener: (session: ServerHttp2Session) => void): this; - addListener(event: "sessionError", listener: (err: Error) => void): this; - addListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - addListener(event: "timeout", listener: () => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - emit(event: "checkContinue", request: Http2ServerRequest, response: Http2ServerResponse): boolean; - emit(event: "request", request: Http2ServerRequest, response: Http2ServerResponse): boolean; - emit(event: "session", session: ServerHttp2Session): boolean; - emit(event: "sessionError", err: Error): boolean; - emit(event: "stream", stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean; - emit(event: "timeout"): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - - on(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - on(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - on(event: "session", listener: (session: ServerHttp2Session) => void): this; - on(event: "sessionError", listener: (err: Error) => void): this; - on(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - on(event: "timeout", listener: () => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - once(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - once(event: "session", listener: (session: ServerHttp2Session) => void): this; - once(event: "sessionError", listener: (err: Error) => void): this; - once(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - once(event: "timeout", listener: () => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - prependListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - prependListener(event: "session", listener: (session: ServerHttp2Session) => void): this; - prependListener(event: "sessionError", listener: (err: Error) => void): this; - prependListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - prependListener(event: "timeout", listener: () => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - prependOnceListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - prependOnceListener(event: "session", listener: (session: ServerHttp2Session) => void): this; - prependOnceListener(event: "sessionError", listener: (err: Error) => void): this; - prependOnceListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - prependOnceListener(event: "timeout", listener: () => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - - setTimeout(msec?: number, callback?: () => void): this; - } - - export interface Http2SecureServer extends tls.Server { - addListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - addListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - addListener(event: "session", listener: (session: ServerHttp2Session) => void): this; - addListener(event: "sessionError", listener: (err: Error) => void): this; - addListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - addListener(event: "timeout", listener: () => void): this; - addListener(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - emit(event: "checkContinue", request: Http2ServerRequest, response: Http2ServerResponse): boolean; - emit(event: "request", request: Http2ServerRequest, response: Http2ServerResponse): boolean; - emit(event: "session", session: ServerHttp2Session): boolean; - emit(event: "sessionError", err: Error): boolean; - emit(event: "stream", stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean; - emit(event: "timeout"): boolean; - emit(event: "unknownProtocol", socket: tls.TLSSocket): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - - on(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - on(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - on(event: "session", listener: (session: ServerHttp2Session) => void): this; - on(event: "sessionError", listener: (err: Error) => void): this; - on(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - on(event: "timeout", listener: () => void): this; - on(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - once(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - once(event: "session", listener: (session: ServerHttp2Session) => void): this; - once(event: "sessionError", listener: (err: Error) => void): this; - once(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - once(event: "timeout", listener: () => void): this; - once(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - prependListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - prependListener(event: "session", listener: (session: ServerHttp2Session) => void): this; - prependListener(event: "sessionError", listener: (err: Error) => void): this; - prependListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - prependListener(event: "timeout", listener: () => void): this; - prependListener(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - prependOnceListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this; - prependOnceListener(event: "session", listener: (session: ServerHttp2Session) => void): this; - prependOnceListener(event: "sessionError", listener: (err: Error) => void): this; - prependOnceListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this; - prependOnceListener(event: "timeout", listener: () => void): this; - prependOnceListener(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - - setTimeout(msec?: number, callback?: () => void): this; - } - - export class Http2ServerRequest extends stream.Readable { - constructor(stream: ServerHttp2Stream, headers: IncomingHttpHeaders, options: stream.ReadableOptions, rawHeaders: ReadonlyArray); - - readonly aborted: boolean; - readonly authority: string; - readonly connection: net.Socket | tls.TLSSocket; - readonly complete: boolean; - readonly headers: IncomingHttpHeaders; - readonly httpVersion: string; - readonly httpVersionMinor: number; - readonly httpVersionMajor: number; - readonly method: string; - readonly rawHeaders: string[]; - readonly rawTrailers: string[]; - readonly scheme: string; - readonly socket: net.Socket | tls.TLSSocket; - readonly stream: ServerHttp2Stream; - readonly trailers: IncomingHttpHeaders; - readonly url: string; - - setTimeout(msecs: number, callback?: () => void): void; - read(size?: number): Buffer | string | null; - - addListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "data", listener: (chunk: Buffer | string) => void): this; - addListener(event: "end", listener: () => void): this; - addListener(event: "readable", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - emit(event: "aborted", hadError: boolean, code: number): boolean; - emit(event: "close"): boolean; - emit(event: "data", chunk: Buffer | string): boolean; - emit(event: "end"): boolean; - emit(event: "readable"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - - on(event: "aborted", listener: (hadError: boolean, code: number) => void): this; - on(event: "close", listener: () => void): this; - on(event: "data", listener: (chunk: Buffer | string) => void): this; - on(event: "end", listener: () => void): this; - on(event: "readable", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "aborted", listener: (hadError: boolean, code: number) => void): this; - once(event: "close", listener: () => void): this; - once(event: "data", listener: (chunk: Buffer | string) => void): this; - once(event: "end", listener: () => void): this; - once(event: "readable", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "data", listener: (chunk: Buffer | string) => void): this; - prependListener(event: "end", listener: () => void): this; - prependListener(event: "readable", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this; - prependOnceListener(event: "end", listener: () => void): this; - prependOnceListener(event: "readable", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - - export class Http2ServerResponse extends stream.Stream { - constructor(stream: ServerHttp2Stream); - - readonly connection: net.Socket | tls.TLSSocket; - readonly finished: boolean; - readonly headersSent: boolean; - readonly socket: net.Socket | tls.TLSSocket; - readonly stream: ServerHttp2Stream; - sendDate: boolean; - statusCode: number; - statusMessage: ''; - addTrailers(trailers: OutgoingHttpHeaders): void; - end(callback?: () => void): void; - end(data: string | Uint8Array, callback?: () => void): void; - end(data: string | Uint8Array, encoding: BufferEncoding, callback?: () => void): void; - getHeader(name: string): string; - getHeaderNames(): string[]; - getHeaders(): OutgoingHttpHeaders; - hasHeader(name: string): boolean; - removeHeader(name: string): void; - setHeader(name: string, value: number | string | ReadonlyArray): void; - setTimeout(msecs: number, callback?: () => void): void; - write(chunk: string | Uint8Array, callback?: (err: Error) => void): boolean; - write(chunk: string | Uint8Array, encoding: BufferEncoding, callback?: (err: Error) => void): boolean; - writeContinue(): void; - writeHead(statusCode: number, headers?: OutgoingHttpHeaders): this; - writeHead(statusCode: number, statusMessage: string, headers?: OutgoingHttpHeaders): this; - createPushResponse(headers: OutgoingHttpHeaders, callback: (err: Error | null, res: Http2ServerResponse) => void): void; - - addListener(event: "close", listener: () => void): this; - addListener(event: "drain", listener: () => void): this; - addListener(event: "error", listener: (error: Error) => void): this; - addListener(event: "finish", listener: () => void): this; - addListener(event: "pipe", listener: (src: stream.Readable) => void): this; - addListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - emit(event: "close"): boolean; - emit(event: "drain"): boolean; - emit(event: "error", error: Error): boolean; - emit(event: "finish"): boolean; - emit(event: "pipe", src: stream.Readable): boolean; - emit(event: "unpipe", src: stream.Readable): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - - on(event: "close", listener: () => void): this; - on(event: "drain", listener: () => void): this; - on(event: "error", listener: (error: Error) => void): this; - on(event: "finish", listener: () => void): this; - on(event: "pipe", listener: (src: stream.Readable) => void): this; - on(event: "unpipe", listener: (src: stream.Readable) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "close", listener: () => void): this; - once(event: "drain", listener: () => void): this; - once(event: "error", listener: (error: Error) => void): this; - once(event: "finish", listener: () => void): this; - once(event: "pipe", listener: (src: stream.Readable) => void): this; - once(event: "unpipe", listener: (src: stream.Readable) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "close", listener: () => void): this; - prependListener(event: "drain", listener: () => void): this; - prependListener(event: "error", listener: (error: Error) => void): this; - prependListener(event: "finish", listener: () => void): this; - prependListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "drain", listener: () => void): this; - prependOnceListener(event: "error", listener: (error: Error) => void): this; - prependOnceListener(event: "finish", listener: () => void): this; - prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - - // Public API - - export namespace constants { - const NGHTTP2_SESSION_SERVER: number; - const NGHTTP2_SESSION_CLIENT: number; - const NGHTTP2_STREAM_STATE_IDLE: number; - const NGHTTP2_STREAM_STATE_OPEN: number; - const NGHTTP2_STREAM_STATE_RESERVED_LOCAL: number; - const NGHTTP2_STREAM_STATE_RESERVED_REMOTE: number; - const NGHTTP2_STREAM_STATE_HALF_CLOSED_LOCAL: number; - const NGHTTP2_STREAM_STATE_HALF_CLOSED_REMOTE: number; - const NGHTTP2_STREAM_STATE_CLOSED: number; - const NGHTTP2_NO_ERROR: number; - const NGHTTP2_PROTOCOL_ERROR: number; - const NGHTTP2_INTERNAL_ERROR: number; - const NGHTTP2_FLOW_CONTROL_ERROR: number; - const NGHTTP2_SETTINGS_TIMEOUT: number; - const NGHTTP2_STREAM_CLOSED: number; - const NGHTTP2_FRAME_SIZE_ERROR: number; - const NGHTTP2_REFUSED_STREAM: number; - const NGHTTP2_CANCEL: number; - const NGHTTP2_COMPRESSION_ERROR: number; - const NGHTTP2_CONNECT_ERROR: number; - const NGHTTP2_ENHANCE_YOUR_CALM: number; - const NGHTTP2_INADEQUATE_SECURITY: number; - const NGHTTP2_HTTP_1_1_REQUIRED: number; - const NGHTTP2_ERR_FRAME_SIZE_ERROR: number; - const NGHTTP2_FLAG_NONE: number; - const NGHTTP2_FLAG_END_STREAM: number; - const NGHTTP2_FLAG_END_HEADERS: number; - const NGHTTP2_FLAG_ACK: number; - const NGHTTP2_FLAG_PADDED: number; - const NGHTTP2_FLAG_PRIORITY: number; - const DEFAULT_SETTINGS_HEADER_TABLE_SIZE: number; - const DEFAULT_SETTINGS_ENABLE_PUSH: number; - const DEFAULT_SETTINGS_INITIAL_WINDOW_SIZE: number; - const DEFAULT_SETTINGS_MAX_FRAME_SIZE: number; - const MAX_MAX_FRAME_SIZE: number; - const MIN_MAX_FRAME_SIZE: number; - const MAX_INITIAL_WINDOW_SIZE: number; - const NGHTTP2_DEFAULT_WEIGHT: number; - const NGHTTP2_SETTINGS_HEADER_TABLE_SIZE: number; - const NGHTTP2_SETTINGS_ENABLE_PUSH: number; - const NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS: number; - const NGHTTP2_SETTINGS_INITIAL_WINDOW_SIZE: number; - const NGHTTP2_SETTINGS_MAX_FRAME_SIZE: number; - const NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE: number; - const PADDING_STRATEGY_NONE: number; - const PADDING_STRATEGY_MAX: number; - const PADDING_STRATEGY_CALLBACK: number; - const HTTP2_HEADER_STATUS: string; - const HTTP2_HEADER_METHOD: string; - const HTTP2_HEADER_AUTHORITY: string; - const HTTP2_HEADER_SCHEME: string; - const HTTP2_HEADER_PATH: string; - const HTTP2_HEADER_ACCEPT_CHARSET: string; - const HTTP2_HEADER_ACCEPT_ENCODING: string; - const HTTP2_HEADER_ACCEPT_LANGUAGE: string; - const HTTP2_HEADER_ACCEPT_RANGES: string; - const HTTP2_HEADER_ACCEPT: string; - const HTTP2_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN: string; - const HTTP2_HEADER_AGE: string; - const HTTP2_HEADER_ALLOW: string; - const HTTP2_HEADER_AUTHORIZATION: string; - const HTTP2_HEADER_CACHE_CONTROL: string; - const HTTP2_HEADER_CONNECTION: string; - const HTTP2_HEADER_CONTENT_DISPOSITION: string; - const HTTP2_HEADER_CONTENT_ENCODING: string; - const HTTP2_HEADER_CONTENT_LANGUAGE: string; - const HTTP2_HEADER_CONTENT_LENGTH: string; - const HTTP2_HEADER_CONTENT_LOCATION: string; - const HTTP2_HEADER_CONTENT_MD5: string; - const HTTP2_HEADER_CONTENT_RANGE: string; - const HTTP2_HEADER_CONTENT_TYPE: string; - const HTTP2_HEADER_COOKIE: string; - const HTTP2_HEADER_DATE: string; - const HTTP2_HEADER_ETAG: string; - const HTTP2_HEADER_EXPECT: string; - const HTTP2_HEADER_EXPIRES: string; - const HTTP2_HEADER_FROM: string; - const HTTP2_HEADER_HOST: string; - const HTTP2_HEADER_IF_MATCH: string; - const HTTP2_HEADER_IF_MODIFIED_SINCE: string; - const HTTP2_HEADER_IF_NONE_MATCH: string; - const HTTP2_HEADER_IF_RANGE: string; - const HTTP2_HEADER_IF_UNMODIFIED_SINCE: string; - const HTTP2_HEADER_LAST_MODIFIED: string; - const HTTP2_HEADER_LINK: string; - const HTTP2_HEADER_LOCATION: string; - const HTTP2_HEADER_MAX_FORWARDS: string; - const HTTP2_HEADER_PREFER: string; - const HTTP2_HEADER_PROXY_AUTHENTICATE: string; - const HTTP2_HEADER_PROXY_AUTHORIZATION: string; - const HTTP2_HEADER_RANGE: string; - const HTTP2_HEADER_REFERER: string; - const HTTP2_HEADER_REFRESH: string; - const HTTP2_HEADER_RETRY_AFTER: string; - const HTTP2_HEADER_SERVER: string; - const HTTP2_HEADER_SET_COOKIE: string; - const HTTP2_HEADER_STRICT_TRANSPORT_SECURITY: string; - const HTTP2_HEADER_TRANSFER_ENCODING: string; - const HTTP2_HEADER_TE: string; - const HTTP2_HEADER_UPGRADE: string; - const HTTP2_HEADER_USER_AGENT: string; - const HTTP2_HEADER_VARY: string; - const HTTP2_HEADER_VIA: string; - const HTTP2_HEADER_WWW_AUTHENTICATE: string; - const HTTP2_HEADER_HTTP2_SETTINGS: string; - const HTTP2_HEADER_KEEP_ALIVE: string; - const HTTP2_HEADER_PROXY_CONNECTION: string; - const HTTP2_METHOD_ACL: string; - const HTTP2_METHOD_BASELINE_CONTROL: string; - const HTTP2_METHOD_BIND: string; - const HTTP2_METHOD_CHECKIN: string; - const HTTP2_METHOD_CHECKOUT: string; - const HTTP2_METHOD_CONNECT: string; - const HTTP2_METHOD_COPY: string; - const HTTP2_METHOD_DELETE: string; - const HTTP2_METHOD_GET: string; - const HTTP2_METHOD_HEAD: string; - const HTTP2_METHOD_LABEL: string; - const HTTP2_METHOD_LINK: string; - const HTTP2_METHOD_LOCK: string; - const HTTP2_METHOD_MERGE: string; - const HTTP2_METHOD_MKACTIVITY: string; - const HTTP2_METHOD_MKCALENDAR: string; - const HTTP2_METHOD_MKCOL: string; - const HTTP2_METHOD_MKREDIRECTREF: string; - const HTTP2_METHOD_MKWORKSPACE: string; - const HTTP2_METHOD_MOVE: string; - const HTTP2_METHOD_OPTIONS: string; - const HTTP2_METHOD_ORDERPATCH: string; - const HTTP2_METHOD_PATCH: string; - const HTTP2_METHOD_POST: string; - const HTTP2_METHOD_PRI: string; - const HTTP2_METHOD_PROPFIND: string; - const HTTP2_METHOD_PROPPATCH: string; - const HTTP2_METHOD_PUT: string; - const HTTP2_METHOD_REBIND: string; - const HTTP2_METHOD_REPORT: string; - const HTTP2_METHOD_SEARCH: string; - const HTTP2_METHOD_TRACE: string; - const HTTP2_METHOD_UNBIND: string; - const HTTP2_METHOD_UNCHECKOUT: string; - const HTTP2_METHOD_UNLINK: string; - const HTTP2_METHOD_UNLOCK: string; - const HTTP2_METHOD_UPDATE: string; - const HTTP2_METHOD_UPDATEREDIRECTREF: string; - const HTTP2_METHOD_VERSION_CONTROL: string; - const HTTP_STATUS_CONTINUE: number; - const HTTP_STATUS_SWITCHING_PROTOCOLS: number; - const HTTP_STATUS_PROCESSING: number; - const HTTP_STATUS_OK: number; - const HTTP_STATUS_CREATED: number; - const HTTP_STATUS_ACCEPTED: number; - const HTTP_STATUS_NON_AUTHORITATIVE_INFORMATION: number; - const HTTP_STATUS_NO_CONTENT: number; - const HTTP_STATUS_RESET_CONTENT: number; - const HTTP_STATUS_PARTIAL_CONTENT: number; - const HTTP_STATUS_MULTI_STATUS: number; - const HTTP_STATUS_ALREADY_REPORTED: number; - const HTTP_STATUS_IM_USED: number; - const HTTP_STATUS_MULTIPLE_CHOICES: number; - const HTTP_STATUS_MOVED_PERMANENTLY: number; - const HTTP_STATUS_FOUND: number; - const HTTP_STATUS_SEE_OTHER: number; - const HTTP_STATUS_NOT_MODIFIED: number; - const HTTP_STATUS_USE_PROXY: number; - const HTTP_STATUS_TEMPORARY_REDIRECT: number; - const HTTP_STATUS_PERMANENT_REDIRECT: number; - const HTTP_STATUS_BAD_REQUEST: number; - const HTTP_STATUS_UNAUTHORIZED: number; - const HTTP_STATUS_PAYMENT_REQUIRED: number; - const HTTP_STATUS_FORBIDDEN: number; - const HTTP_STATUS_NOT_FOUND: number; - const HTTP_STATUS_METHOD_NOT_ALLOWED: number; - const HTTP_STATUS_NOT_ACCEPTABLE: number; - const HTTP_STATUS_PROXY_AUTHENTICATION_REQUIRED: number; - const HTTP_STATUS_REQUEST_TIMEOUT: number; - const HTTP_STATUS_CONFLICT: number; - const HTTP_STATUS_GONE: number; - const HTTP_STATUS_LENGTH_REQUIRED: number; - const HTTP_STATUS_PRECONDITION_FAILED: number; - const HTTP_STATUS_PAYLOAD_TOO_LARGE: number; - const HTTP_STATUS_URI_TOO_LONG: number; - const HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE: number; - const HTTP_STATUS_RANGE_NOT_SATISFIABLE: number; - const HTTP_STATUS_EXPECTATION_FAILED: number; - const HTTP_STATUS_TEAPOT: number; - const HTTP_STATUS_MISDIRECTED_REQUEST: number; - const HTTP_STATUS_UNPROCESSABLE_ENTITY: number; - const HTTP_STATUS_LOCKED: number; - const HTTP_STATUS_FAILED_DEPENDENCY: number; - const HTTP_STATUS_UNORDERED_COLLECTION: number; - const HTTP_STATUS_UPGRADE_REQUIRED: number; - const HTTP_STATUS_PRECONDITION_REQUIRED: number; - const HTTP_STATUS_TOO_MANY_REQUESTS: number; - const HTTP_STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE: number; - const HTTP_STATUS_UNAVAILABLE_FOR_LEGAL_REASONS: number; - const HTTP_STATUS_INTERNAL_SERVER_ERROR: number; - const HTTP_STATUS_NOT_IMPLEMENTED: number; - const HTTP_STATUS_BAD_GATEWAY: number; - const HTTP_STATUS_SERVICE_UNAVAILABLE: number; - const HTTP_STATUS_GATEWAY_TIMEOUT: number; - const HTTP_STATUS_HTTP_VERSION_NOT_SUPPORTED: number; - const HTTP_STATUS_VARIANT_ALSO_NEGOTIATES: number; - const HTTP_STATUS_INSUFFICIENT_STORAGE: number; - const HTTP_STATUS_LOOP_DETECTED: number; - const HTTP_STATUS_BANDWIDTH_LIMIT_EXCEEDED: number; - const HTTP_STATUS_NOT_EXTENDED: number; - const HTTP_STATUS_NETWORK_AUTHENTICATION_REQUIRED: number; - } - - export function getDefaultSettings(): Settings; - export function getPackedSettings(settings: Settings): Buffer; - export function getUnpackedSettings(buf: Uint8Array): Settings; - - export function createServer(onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void): Http2Server; - export function createServer(options: ServerOptions, onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void): Http2Server; - - export function createSecureServer(onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void): Http2SecureServer; - export function createSecureServer(options: SecureServerOptions, onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void): Http2SecureServer; - - export function connect(authority: string | url.URL, listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): ClientHttp2Session; - export function connect( - authority: string | url.URL, - options?: ClientSessionOptions | SecureClientSessionOptions, - listener?: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void - ): ClientHttp2Session; -} diff --git a/node_modules/@types/node/https.d.ts b/node_modules/@types/node/https.d.ts deleted file mode 100644 index 24326c9d..00000000 --- a/node_modules/@types/node/https.d.ts +++ /dev/null @@ -1,37 +0,0 @@ -declare module "https" { - import * as tls from "tls"; - import * as events from "events"; - import * as http from "http"; - import { URL } from "url"; - - type ServerOptions = tls.SecureContextOptions & tls.TlsOptions & http.ServerOptions; - - type RequestOptions = http.RequestOptions & tls.SecureContextOptions & { - rejectUnauthorized?: boolean; // Defaults to true - servername?: string; // SNI TLS Extension - }; - - interface AgentOptions extends http.AgentOptions, tls.ConnectionOptions { - rejectUnauthorized?: boolean; - maxCachedSessions?: number; - } - - class Agent extends http.Agent { - constructor(options?: AgentOptions); - options: AgentOptions; - } - - interface Server extends http.HttpBase {} - class Server extends tls.Server { - constructor(requestListener?: http.RequestListener); - constructor(options: ServerOptions, requestListener?: http.RequestListener); - } - - function createServer(requestListener?: http.RequestListener): Server; - function createServer(options: ServerOptions, requestListener?: http.RequestListener): Server; - function request(options: RequestOptions | string | URL, callback?: (res: http.IncomingMessage) => void): http.ClientRequest; - function request(url: string | URL, options: RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest; - function get(options: RequestOptions | string | URL, callback?: (res: http.IncomingMessage) => void): http.ClientRequest; - function get(url: string | URL, options: RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest; - let globalAgent: Agent; -} diff --git a/node_modules/@types/node/index.d.ts b/node_modules/@types/node/index.d.ts deleted file mode 100644 index af956eed..00000000 --- a/node_modules/@types/node/index.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -// Type definitions for non-npm package Node.js 14.14 -// Project: http://nodejs.org/ -// Definitions by: Microsoft TypeScript -// DefinitelyTyped -// Alberto Schiabel -// Alexander T. -// Alvis HT Tang -// Andrew Makarov -// Benjamin Toueg -// Bruno Scheufler -// Chigozirim C. -// David Junger -// Deividas Bakanas -// Eugene Y. Q. Shen -// Flarna -// Hannes Magnusson -// Hoàng Văn Khải -// Huw -// Kelvin Jin -// Klaus Meinhardt -// Lishude -// Mariusz Wiktorczyk -// Mohsen Azimi -// Nicolas Even -// Nikita Galkin -// Parambir Singh -// Sebastian Silbermann -// Simon Schick -// Thomas den Hollander -// Wilco Bakker -// wwwy3y3 -// Samuel Ainsworth -// Kyle Uehlein -// Jordi Oliveras Rovira -// Thanik Bhongbhibhat -// Marcin Kopacz -// Trivikram Kamat -// Minh Son Nguyen -// Junxiao Shi -// Ilia Baryshnikov -// ExE Boss -// Surasak Chaisurin -// Piotr Błażejewicz -// Anna Henningsen -// Jason Kwok -// Victor Perin -// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped - -// NOTE: These definitions support NodeJS and TypeScript 3.7. -// Typically type modifications should be made in base.d.ts instead of here - -/// - -// NOTE: TypeScript version-specific augmentations can be found in the following paths: -// - ~/base.d.ts - Shared definitions common to all TypeScript versions -// - ~/index.d.ts - Definitions specific to TypeScript 2.8 -// - ~/ts3.5/index.d.ts - Definitions specific to TypeScript 3.5 - -// NOTE: Augmentations for TypeScript 3.5 and later should use individual files for overrides -// within the respective ~/ts3.5 (or later) folder. However, this is disallowed for versions -// prior to TypeScript 3.5, so the older definitions will be found here. diff --git a/node_modules/@types/node/inspector.d.ts b/node_modules/@types/node/inspector.d.ts deleted file mode 100644 index 1c577346..00000000 --- a/node_modules/@types/node/inspector.d.ts +++ /dev/null @@ -1,3041 +0,0 @@ -// tslint:disable-next-line:dt-header -// Type definitions for inspector - -// These definitions are auto-generated. -// Please see https://github.com/DefinitelyTyped/DefinitelyTyped/pull/19330 -// for more information. - -// tslint:disable:max-line-length - -/** - * The inspector module provides an API for interacting with the V8 inspector. - */ -declare module "inspector" { - import { EventEmitter } from 'events'; - - interface InspectorNotification { - method: string; - params: T; - } - - namespace Schema { - /** - * Description of the protocol domain. - */ - interface Domain { - /** - * Domain name. - */ - name: string; - /** - * Domain version. - */ - version: string; - } - - interface GetDomainsReturnType { - /** - * List of supported domains. - */ - domains: Domain[]; - } - } - - namespace Runtime { - /** - * Unique script identifier. - */ - type ScriptId = string; - - /** - * Unique object identifier. - */ - type RemoteObjectId = string; - - /** - * Primitive value which cannot be JSON-stringified. - */ - type UnserializableValue = string; - - /** - * Mirror object referencing original JavaScript object. - */ - interface RemoteObject { - /** - * Object type. - */ - type: string; - /** - * Object subtype hint. Specified for object type values only. - */ - subtype?: string; - /** - * Object class (constructor) name. Specified for object type values only. - */ - className?: string; - /** - * Remote object value in case of primitive values or JSON values (if it was requested). - */ - value?: any; - /** - * Primitive value which can not be JSON-stringified does not have value, but gets this property. - */ - unserializableValue?: UnserializableValue; - /** - * String representation of the object. - */ - description?: string; - /** - * Unique object identifier (for non-primitive values). - */ - objectId?: RemoteObjectId; - /** - * Preview containing abbreviated property values. Specified for object type values only. - * @experimental - */ - preview?: ObjectPreview; - /** - * @experimental - */ - customPreview?: CustomPreview; - } - - /** - * @experimental - */ - interface CustomPreview { - header: string; - hasBody: boolean; - formatterObjectId: RemoteObjectId; - bindRemoteObjectFunctionId: RemoteObjectId; - configObjectId?: RemoteObjectId; - } - - /** - * Object containing abbreviated remote object value. - * @experimental - */ - interface ObjectPreview { - /** - * Object type. - */ - type: string; - /** - * Object subtype hint. Specified for object type values only. - */ - subtype?: string; - /** - * String representation of the object. - */ - description?: string; - /** - * True iff some of the properties or entries of the original object did not fit. - */ - overflow: boolean; - /** - * List of the properties. - */ - properties: PropertyPreview[]; - /** - * List of the entries. Specified for map and set subtype values only. - */ - entries?: EntryPreview[]; - } - - /** - * @experimental - */ - interface PropertyPreview { - /** - * Property name. - */ - name: string; - /** - * Object type. Accessor means that the property itself is an accessor property. - */ - type: string; - /** - * User-friendly property value string. - */ - value?: string; - /** - * Nested value preview. - */ - valuePreview?: ObjectPreview; - /** - * Object subtype hint. Specified for object type values only. - */ - subtype?: string; - } - - /** - * @experimental - */ - interface EntryPreview { - /** - * Preview of the key. Specified for map-like collection entries. - */ - key?: ObjectPreview; - /** - * Preview of the value. - */ - value: ObjectPreview; - } - - /** - * Object property descriptor. - */ - interface PropertyDescriptor { - /** - * Property name or symbol description. - */ - name: string; - /** - * The value associated with the property. - */ - value?: RemoteObject; - /** - * True if the value associated with the property may be changed (data descriptors only). - */ - writable?: boolean; - /** - * A function which serves as a getter for the property, or undefined if there is no getter (accessor descriptors only). - */ - get?: RemoteObject; - /** - * A function which serves as a setter for the property, or undefined if there is no setter (accessor descriptors only). - */ - set?: RemoteObject; - /** - * True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object. - */ - configurable: boolean; - /** - * True if this property shows up during enumeration of the properties on the corresponding object. - */ - enumerable: boolean; - /** - * True if the result was thrown during the evaluation. - */ - wasThrown?: boolean; - /** - * True if the property is owned for the object. - */ - isOwn?: boolean; - /** - * Property symbol object, if the property is of the symbol type. - */ - symbol?: RemoteObject; - } - - /** - * Object internal property descriptor. This property isn't normally visible in JavaScript code. - */ - interface InternalPropertyDescriptor { - /** - * Conventional property name. - */ - name: string; - /** - * The value associated with the property. - */ - value?: RemoteObject; - } - - /** - * Represents function call argument. Either remote object id objectId, primitive value, unserializable primitive value or neither of (for undefined) them should be specified. - */ - interface CallArgument { - /** - * Primitive value or serializable javascript object. - */ - value?: any; - /** - * Primitive value which can not be JSON-stringified. - */ - unserializableValue?: UnserializableValue; - /** - * Remote object handle. - */ - objectId?: RemoteObjectId; - } - - /** - * Id of an execution context. - */ - type ExecutionContextId = number; - - /** - * Description of an isolated world. - */ - interface ExecutionContextDescription { - /** - * Unique id of the execution context. It can be used to specify in which execution context script evaluation should be performed. - */ - id: ExecutionContextId; - /** - * Execution context origin. - */ - origin: string; - /** - * Human readable name describing given context. - */ - name: string; - /** - * Embedder-specific auxiliary data. - */ - auxData?: {}; - } - - /** - * Detailed information about exception (or error) that was thrown during script compilation or execution. - */ - interface ExceptionDetails { - /** - * Exception id. - */ - exceptionId: number; - /** - * Exception text, which should be used together with exception object when available. - */ - text: string; - /** - * Line number of the exception location (0-based). - */ - lineNumber: number; - /** - * Column number of the exception location (0-based). - */ - columnNumber: number; - /** - * Script ID of the exception location. - */ - scriptId?: ScriptId; - /** - * URL of the exception location, to be used when the script was not reported. - */ - url?: string; - /** - * JavaScript stack trace if available. - */ - stackTrace?: StackTrace; - /** - * Exception object if available. - */ - exception?: RemoteObject; - /** - * Identifier of the context where exception happened. - */ - executionContextId?: ExecutionContextId; - } - - /** - * Number of milliseconds since epoch. - */ - type Timestamp = number; - - /** - * Stack entry for runtime errors and assertions. - */ - interface CallFrame { - /** - * JavaScript function name. - */ - functionName: string; - /** - * JavaScript script id. - */ - scriptId: ScriptId; - /** - * JavaScript script name or url. - */ - url: string; - /** - * JavaScript script line number (0-based). - */ - lineNumber: number; - /** - * JavaScript script column number (0-based). - */ - columnNumber: number; - } - - /** - * Call frames for assertions or error messages. - */ - interface StackTrace { - /** - * String label of this stack trace. For async traces this may be a name of the function that initiated the async call. - */ - description?: string; - /** - * JavaScript function name. - */ - callFrames: CallFrame[]; - /** - * Asynchronous JavaScript stack trace that preceded this stack, if available. - */ - parent?: StackTrace; - /** - * Asynchronous JavaScript stack trace that preceded this stack, if available. - * @experimental - */ - parentId?: StackTraceId; - } - - /** - * Unique identifier of current debugger. - * @experimental - */ - type UniqueDebuggerId = string; - - /** - * If debuggerId is set stack trace comes from another debugger and can be resolved there. This allows to track cross-debugger calls. See Runtime.StackTrace and Debugger.paused for usages. - * @experimental - */ - interface StackTraceId { - id: string; - debuggerId?: UniqueDebuggerId; - } - - interface EvaluateParameterType { - /** - * Expression to evaluate. - */ - expression: string; - /** - * Symbolic group name that can be used to release multiple objects. - */ - objectGroup?: string; - /** - * Determines whether Command Line API should be available during the evaluation. - */ - includeCommandLineAPI?: boolean; - /** - * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state. - */ - silent?: boolean; - /** - * Specifies in which execution context to perform evaluation. If the parameter is omitted the evaluation will be performed in the context of the inspected page. - */ - contextId?: ExecutionContextId; - /** - * Whether the result is expected to be a JSON object that should be sent by value. - */ - returnByValue?: boolean; - /** - * Whether preview should be generated for the result. - * @experimental - */ - generatePreview?: boolean; - /** - * Whether execution should be treated as initiated by user in the UI. - */ - userGesture?: boolean; - /** - * Whether execution should await for resulting value and return once awaited promise is resolved. - */ - awaitPromise?: boolean; - } - - interface AwaitPromiseParameterType { - /** - * Identifier of the promise. - */ - promiseObjectId: RemoteObjectId; - /** - * Whether the result is expected to be a JSON object that should be sent by value. - */ - returnByValue?: boolean; - /** - * Whether preview should be generated for the result. - */ - generatePreview?: boolean; - } - - interface CallFunctionOnParameterType { - /** - * Declaration of the function to call. - */ - functionDeclaration: string; - /** - * Identifier of the object to call function on. Either objectId or executionContextId should be specified. - */ - objectId?: RemoteObjectId; - /** - * Call arguments. All call arguments must belong to the same JavaScript world as the target object. - */ - arguments?: CallArgument[]; - /** - * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state. - */ - silent?: boolean; - /** - * Whether the result is expected to be a JSON object which should be sent by value. - */ - returnByValue?: boolean; - /** - * Whether preview should be generated for the result. - * @experimental - */ - generatePreview?: boolean; - /** - * Whether execution should be treated as initiated by user in the UI. - */ - userGesture?: boolean; - /** - * Whether execution should await for resulting value and return once awaited promise is resolved. - */ - awaitPromise?: boolean; - /** - * Specifies execution context which global object will be used to call function on. Either executionContextId or objectId should be specified. - */ - executionContextId?: ExecutionContextId; - /** - * Symbolic group name that can be used to release multiple objects. If objectGroup is not specified and objectId is, objectGroup will be inherited from object. - */ - objectGroup?: string; - } - - interface GetPropertiesParameterType { - /** - * Identifier of the object to return properties for. - */ - objectId: RemoteObjectId; - /** - * If true, returns properties belonging only to the element itself, not to its prototype chain. - */ - ownProperties?: boolean; - /** - * If true, returns accessor properties (with getter/setter) only; internal properties are not returned either. - * @experimental - */ - accessorPropertiesOnly?: boolean; - /** - * Whether preview should be generated for the results. - * @experimental - */ - generatePreview?: boolean; - } - - interface ReleaseObjectParameterType { - /** - * Identifier of the object to release. - */ - objectId: RemoteObjectId; - } - - interface ReleaseObjectGroupParameterType { - /** - * Symbolic object group name. - */ - objectGroup: string; - } - - interface SetCustomObjectFormatterEnabledParameterType { - enabled: boolean; - } - - interface CompileScriptParameterType { - /** - * Expression to compile. - */ - expression: string; - /** - * Source url to be set for the script. - */ - sourceURL: string; - /** - * Specifies whether the compiled script should be persisted. - */ - persistScript: boolean; - /** - * Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page. - */ - executionContextId?: ExecutionContextId; - } - - interface RunScriptParameterType { - /** - * Id of the script to run. - */ - scriptId: ScriptId; - /** - * Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page. - */ - executionContextId?: ExecutionContextId; - /** - * Symbolic group name that can be used to release multiple objects. - */ - objectGroup?: string; - /** - * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state. - */ - silent?: boolean; - /** - * Determines whether Command Line API should be available during the evaluation. - */ - includeCommandLineAPI?: boolean; - /** - * Whether the result is expected to be a JSON object which should be sent by value. - */ - returnByValue?: boolean; - /** - * Whether preview should be generated for the result. - */ - generatePreview?: boolean; - /** - * Whether execution should await for resulting value and return once awaited promise is resolved. - */ - awaitPromise?: boolean; - } - - interface QueryObjectsParameterType { - /** - * Identifier of the prototype to return objects for. - */ - prototypeObjectId: RemoteObjectId; - } - - interface GlobalLexicalScopeNamesParameterType { - /** - * Specifies in which execution context to lookup global scope variables. - */ - executionContextId?: ExecutionContextId; - } - - interface EvaluateReturnType { - /** - * Evaluation result. - */ - result: RemoteObject; - /** - * Exception details. - */ - exceptionDetails?: ExceptionDetails; - } - - interface AwaitPromiseReturnType { - /** - * Promise result. Will contain rejected value if promise was rejected. - */ - result: RemoteObject; - /** - * Exception details if stack strace is available. - */ - exceptionDetails?: ExceptionDetails; - } - - interface CallFunctionOnReturnType { - /** - * Call result. - */ - result: RemoteObject; - /** - * Exception details. - */ - exceptionDetails?: ExceptionDetails; - } - - interface GetPropertiesReturnType { - /** - * Object properties. - */ - result: PropertyDescriptor[]; - /** - * Internal object properties (only of the element itself). - */ - internalProperties?: InternalPropertyDescriptor[]; - /** - * Exception details. - */ - exceptionDetails?: ExceptionDetails; - } - - interface CompileScriptReturnType { - /** - * Id of the script. - */ - scriptId?: ScriptId; - /** - * Exception details. - */ - exceptionDetails?: ExceptionDetails; - } - - interface RunScriptReturnType { - /** - * Run result. - */ - result: RemoteObject; - /** - * Exception details. - */ - exceptionDetails?: ExceptionDetails; - } - - interface QueryObjectsReturnType { - /** - * Array with objects. - */ - objects: RemoteObject; - } - - interface GlobalLexicalScopeNamesReturnType { - names: string[]; - } - - interface ExecutionContextCreatedEventDataType { - /** - * A newly created execution context. - */ - context: ExecutionContextDescription; - } - - interface ExecutionContextDestroyedEventDataType { - /** - * Id of the destroyed context - */ - executionContextId: ExecutionContextId; - } - - interface ExceptionThrownEventDataType { - /** - * Timestamp of the exception. - */ - timestamp: Timestamp; - exceptionDetails: ExceptionDetails; - } - - interface ExceptionRevokedEventDataType { - /** - * Reason describing why exception was revoked. - */ - reason: string; - /** - * The id of revoked exception, as reported in exceptionThrown. - */ - exceptionId: number; - } - - interface ConsoleAPICalledEventDataType { - /** - * Type of the call. - */ - type: string; - /** - * Call arguments. - */ - args: RemoteObject[]; - /** - * Identifier of the context where the call was made. - */ - executionContextId: ExecutionContextId; - /** - * Call timestamp. - */ - timestamp: Timestamp; - /** - * Stack trace captured when the call was made. - */ - stackTrace?: StackTrace; - /** - * Console context descriptor for calls on non-default console context (not console.*): 'anonymous#unique-logger-id' for call on unnamed context, 'name#unique-logger-id' for call on named context. - * @experimental - */ - context?: string; - } - - interface InspectRequestedEventDataType { - object: RemoteObject; - hints: {}; - } - } - - namespace Debugger { - /** - * Breakpoint identifier. - */ - type BreakpointId = string; - - /** - * Call frame identifier. - */ - type CallFrameId = string; - - /** - * Location in the source code. - */ - interface Location { - /** - * Script identifier as reported in the Debugger.scriptParsed. - */ - scriptId: Runtime.ScriptId; - /** - * Line number in the script (0-based). - */ - lineNumber: number; - /** - * Column number in the script (0-based). - */ - columnNumber?: number; - } - - /** - * Location in the source code. - * @experimental - */ - interface ScriptPosition { - lineNumber: number; - columnNumber: number; - } - - /** - * JavaScript call frame. Array of call frames form the call stack. - */ - interface CallFrame { - /** - * Call frame identifier. This identifier is only valid while the virtual machine is paused. - */ - callFrameId: CallFrameId; - /** - * Name of the JavaScript function called on this call frame. - */ - functionName: string; - /** - * Location in the source code. - */ - functionLocation?: Location; - /** - * Location in the source code. - */ - location: Location; - /** - * JavaScript script name or url. - */ - url: string; - /** - * Scope chain for this call frame. - */ - scopeChain: Scope[]; - /** - * this object for this call frame. - */ - this: Runtime.RemoteObject; - /** - * The value being returned, if the function is at return point. - */ - returnValue?: Runtime.RemoteObject; - } - - /** - * Scope description. - */ - interface Scope { - /** - * Scope type. - */ - type: string; - /** - * Object representing the scope. For global and with scopes it represents the actual object; for the rest of the scopes, it is artificial transient object enumerating scope variables as its properties. - */ - object: Runtime.RemoteObject; - name?: string; - /** - * Location in the source code where scope starts - */ - startLocation?: Location; - /** - * Location in the source code where scope ends - */ - endLocation?: Location; - } - - /** - * Search match for resource. - */ - interface SearchMatch { - /** - * Line number in resource content. - */ - lineNumber: number; - /** - * Line with match content. - */ - lineContent: string; - } - - interface BreakLocation { - /** - * Script identifier as reported in the Debugger.scriptParsed. - */ - scriptId: Runtime.ScriptId; - /** - * Line number in the script (0-based). - */ - lineNumber: number; - /** - * Column number in the script (0-based). - */ - columnNumber?: number; - type?: string; - } - - interface SetBreakpointsActiveParameterType { - /** - * New value for breakpoints active state. - */ - active: boolean; - } - - interface SetSkipAllPausesParameterType { - /** - * New value for skip pauses state. - */ - skip: boolean; - } - - interface SetBreakpointByUrlParameterType { - /** - * Line number to set breakpoint at. - */ - lineNumber: number; - /** - * URL of the resources to set breakpoint on. - */ - url?: string; - /** - * Regex pattern for the URLs of the resources to set breakpoints on. Either url or urlRegex must be specified. - */ - urlRegex?: string; - /** - * Script hash of the resources to set breakpoint on. - */ - scriptHash?: string; - /** - * Offset in the line to set breakpoint at. - */ - columnNumber?: number; - /** - * Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true. - */ - condition?: string; - } - - interface SetBreakpointParameterType { - /** - * Location to set breakpoint in. - */ - location: Location; - /** - * Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true. - */ - condition?: string; - } - - interface RemoveBreakpointParameterType { - breakpointId: BreakpointId; - } - - interface GetPossibleBreakpointsParameterType { - /** - * Start of range to search possible breakpoint locations in. - */ - start: Location; - /** - * End of range to search possible breakpoint locations in (excluding). When not specified, end of scripts is used as end of range. - */ - end?: Location; - /** - * Only consider locations which are in the same (non-nested) function as start. - */ - restrictToFunction?: boolean; - } - - interface ContinueToLocationParameterType { - /** - * Location to continue to. - */ - location: Location; - targetCallFrames?: string; - } - - interface PauseOnAsyncCallParameterType { - /** - * Debugger will pause when async call with given stack trace is started. - */ - parentStackTraceId: Runtime.StackTraceId; - } - - interface StepIntoParameterType { - /** - * Debugger will issue additional Debugger.paused notification if any async task is scheduled before next pause. - * @experimental - */ - breakOnAsyncCall?: boolean; - } - - interface GetStackTraceParameterType { - stackTraceId: Runtime.StackTraceId; - } - - interface SearchInContentParameterType { - /** - * Id of the script to search in. - */ - scriptId: Runtime.ScriptId; - /** - * String to search for. - */ - query: string; - /** - * If true, search is case sensitive. - */ - caseSensitive?: boolean; - /** - * If true, treats string parameter as regex. - */ - isRegex?: boolean; - } - - interface SetScriptSourceParameterType { - /** - * Id of the script to edit. - */ - scriptId: Runtime.ScriptId; - /** - * New content of the script. - */ - scriptSource: string; - /** - * If true the change will not actually be applied. Dry run may be used to get result description without actually modifying the code. - */ - dryRun?: boolean; - } - - interface RestartFrameParameterType { - /** - * Call frame identifier to evaluate on. - */ - callFrameId: CallFrameId; - } - - interface GetScriptSourceParameterType { - /** - * Id of the script to get source for. - */ - scriptId: Runtime.ScriptId; - } - - interface SetPauseOnExceptionsParameterType { - /** - * Pause on exceptions mode. - */ - state: string; - } - - interface EvaluateOnCallFrameParameterType { - /** - * Call frame identifier to evaluate on. - */ - callFrameId: CallFrameId; - /** - * Expression to evaluate. - */ - expression: string; - /** - * String object group name to put result into (allows rapid releasing resulting object handles using releaseObjectGroup). - */ - objectGroup?: string; - /** - * Specifies whether command line API should be available to the evaluated expression, defaults to false. - */ - includeCommandLineAPI?: boolean; - /** - * In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state. - */ - silent?: boolean; - /** - * Whether the result is expected to be a JSON object that should be sent by value. - */ - returnByValue?: boolean; - /** - * Whether preview should be generated for the result. - * @experimental - */ - generatePreview?: boolean; - /** - * Whether to throw an exception if side effect cannot be ruled out during evaluation. - */ - throwOnSideEffect?: boolean; - } - - interface SetVariableValueParameterType { - /** - * 0-based number of scope as was listed in scope chain. Only 'local', 'closure' and 'catch' scope types are allowed. Other scopes could be manipulated manually. - */ - scopeNumber: number; - /** - * Variable name. - */ - variableName: string; - /** - * New variable value. - */ - newValue: Runtime.CallArgument; - /** - * Id of callframe that holds variable. - */ - callFrameId: CallFrameId; - } - - interface SetReturnValueParameterType { - /** - * New return value. - */ - newValue: Runtime.CallArgument; - } - - interface SetAsyncCallStackDepthParameterType { - /** - * Maximum depth of async call stacks. Setting to 0 will effectively disable collecting async call stacks (default). - */ - maxDepth: number; - } - - interface SetBlackboxPatternsParameterType { - /** - * Array of regexps that will be used to check script url for blackbox state. - */ - patterns: string[]; - } - - interface SetBlackboxedRangesParameterType { - /** - * Id of the script. - */ - scriptId: Runtime.ScriptId; - positions: ScriptPosition[]; - } - - interface EnableReturnType { - /** - * Unique identifier of the debugger. - * @experimental - */ - debuggerId: Runtime.UniqueDebuggerId; - } - - interface SetBreakpointByUrlReturnType { - /** - * Id of the created breakpoint for further reference. - */ - breakpointId: BreakpointId; - /** - * List of the locations this breakpoint resolved into upon addition. - */ - locations: Location[]; - } - - interface SetBreakpointReturnType { - /** - * Id of the created breakpoint for further reference. - */ - breakpointId: BreakpointId; - /** - * Location this breakpoint resolved into. - */ - actualLocation: Location; - } - - interface GetPossibleBreakpointsReturnType { - /** - * List of the possible breakpoint locations. - */ - locations: BreakLocation[]; - } - - interface GetStackTraceReturnType { - stackTrace: Runtime.StackTrace; - } - - interface SearchInContentReturnType { - /** - * List of search matches. - */ - result: SearchMatch[]; - } - - interface SetScriptSourceReturnType { - /** - * New stack trace in case editing has happened while VM was stopped. - */ - callFrames?: CallFrame[]; - /** - * Whether current call stack was modified after applying the changes. - */ - stackChanged?: boolean; - /** - * Async stack trace, if any. - */ - asyncStackTrace?: Runtime.StackTrace; - /** - * Async stack trace, if any. - * @experimental - */ - asyncStackTraceId?: Runtime.StackTraceId; - /** - * Exception details if any. - */ - exceptionDetails?: Runtime.ExceptionDetails; - } - - interface RestartFrameReturnType { - /** - * New stack trace. - */ - callFrames: CallFrame[]; - /** - * Async stack trace, if any. - */ - asyncStackTrace?: Runtime.StackTrace; - /** - * Async stack trace, if any. - * @experimental - */ - asyncStackTraceId?: Runtime.StackTraceId; - } - - interface GetScriptSourceReturnType { - /** - * Script source. - */ - scriptSource: string; - } - - interface EvaluateOnCallFrameReturnType { - /** - * Object wrapper for the evaluation result. - */ - result: Runtime.RemoteObject; - /** - * Exception details. - */ - exceptionDetails?: Runtime.ExceptionDetails; - } - - interface ScriptParsedEventDataType { - /** - * Identifier of the script parsed. - */ - scriptId: Runtime.ScriptId; - /** - * URL or name of the script parsed (if any). - */ - url: string; - /** - * Line offset of the script within the resource with given URL (for script tags). - */ - startLine: number; - /** - * Column offset of the script within the resource with given URL. - */ - startColumn: number; - /** - * Last line of the script. - */ - endLine: number; - /** - * Length of the last line of the script. - */ - endColumn: number; - /** - * Specifies script creation context. - */ - executionContextId: Runtime.ExecutionContextId; - /** - * Content hash of the script. - */ - hash: string; - /** - * Embedder-specific auxiliary data. - */ - executionContextAuxData?: {}; - /** - * True, if this script is generated as a result of the live edit operation. - * @experimental - */ - isLiveEdit?: boolean; - /** - * URL of source map associated with script (if any). - */ - sourceMapURL?: string; - /** - * True, if this script has sourceURL. - */ - hasSourceURL?: boolean; - /** - * True, if this script is ES6 module. - */ - isModule?: boolean; - /** - * This script length. - */ - length?: number; - /** - * JavaScript top stack frame of where the script parsed event was triggered if available. - * @experimental - */ - stackTrace?: Runtime.StackTrace; - } - - interface ScriptFailedToParseEventDataType { - /** - * Identifier of the script parsed. - */ - scriptId: Runtime.ScriptId; - /** - * URL or name of the script parsed (if any). - */ - url: string; - /** - * Line offset of the script within the resource with given URL (for script tags). - */ - startLine: number; - /** - * Column offset of the script within the resource with given URL. - */ - startColumn: number; - /** - * Last line of the script. - */ - endLine: number; - /** - * Length of the last line of the script. - */ - endColumn: number; - /** - * Specifies script creation context. - */ - executionContextId: Runtime.ExecutionContextId; - /** - * Content hash of the script. - */ - hash: string; - /** - * Embedder-specific auxiliary data. - */ - executionContextAuxData?: {}; - /** - * URL of source map associated with script (if any). - */ - sourceMapURL?: string; - /** - * True, if this script has sourceURL. - */ - hasSourceURL?: boolean; - /** - * True, if this script is ES6 module. - */ - isModule?: boolean; - /** - * This script length. - */ - length?: number; - /** - * JavaScript top stack frame of where the script parsed event was triggered if available. - * @experimental - */ - stackTrace?: Runtime.StackTrace; - } - - interface BreakpointResolvedEventDataType { - /** - * Breakpoint unique identifier. - */ - breakpointId: BreakpointId; - /** - * Actual breakpoint location. - */ - location: Location; - } - - interface PausedEventDataType { - /** - * Call stack the virtual machine stopped on. - */ - callFrames: CallFrame[]; - /** - * Pause reason. - */ - reason: string; - /** - * Object containing break-specific auxiliary properties. - */ - data?: {}; - /** - * Hit breakpoints IDs - */ - hitBreakpoints?: string[]; - /** - * Async stack trace, if any. - */ - asyncStackTrace?: Runtime.StackTrace; - /** - * Async stack trace, if any. - * @experimental - */ - asyncStackTraceId?: Runtime.StackTraceId; - /** - * Just scheduled async call will have this stack trace as parent stack during async execution. This field is available only after Debugger.stepInto call with breakOnAsynCall flag. - * @experimental - */ - asyncCallStackTraceId?: Runtime.StackTraceId; - } - } - - namespace Console { - /** - * Console message. - */ - interface ConsoleMessage { - /** - * Message source. - */ - source: string; - /** - * Message severity. - */ - level: string; - /** - * Message text. - */ - text: string; - /** - * URL of the message origin. - */ - url?: string; - /** - * Line number in the resource that generated this message (1-based). - */ - line?: number; - /** - * Column number in the resource that generated this message (1-based). - */ - column?: number; - } - - interface MessageAddedEventDataType { - /** - * Console message that has been added. - */ - message: ConsoleMessage; - } - } - - namespace Profiler { - /** - * Profile node. Holds callsite information, execution statistics and child nodes. - */ - interface ProfileNode { - /** - * Unique id of the node. - */ - id: number; - /** - * Function location. - */ - callFrame: Runtime.CallFrame; - /** - * Number of samples where this node was on top of the call stack. - */ - hitCount?: number; - /** - * Child node ids. - */ - children?: number[]; - /** - * The reason of being not optimized. The function may be deoptimized or marked as don't optimize. - */ - deoptReason?: string; - /** - * An array of source position ticks. - */ - positionTicks?: PositionTickInfo[]; - } - - /** - * Profile. - */ - interface Profile { - /** - * The list of profile nodes. First item is the root node. - */ - nodes: ProfileNode[]; - /** - * Profiling start timestamp in microseconds. - */ - startTime: number; - /** - * Profiling end timestamp in microseconds. - */ - endTime: number; - /** - * Ids of samples top nodes. - */ - samples?: number[]; - /** - * Time intervals between adjacent samples in microseconds. The first delta is relative to the profile startTime. - */ - timeDeltas?: number[]; - } - - /** - * Specifies a number of samples attributed to a certain source position. - */ - interface PositionTickInfo { - /** - * Source line number (1-based). - */ - line: number; - /** - * Number of samples attributed to the source line. - */ - ticks: number; - } - - /** - * Coverage data for a source range. - */ - interface CoverageRange { - /** - * JavaScript script source offset for the range start. - */ - startOffset: number; - /** - * JavaScript script source offset for the range end. - */ - endOffset: number; - /** - * Collected execution count of the source range. - */ - count: number; - } - - /** - * Coverage data for a JavaScript function. - */ - interface FunctionCoverage { - /** - * JavaScript function name. - */ - functionName: string; - /** - * Source ranges inside the function with coverage data. - */ - ranges: CoverageRange[]; - /** - * Whether coverage data for this function has block granularity. - */ - isBlockCoverage: boolean; - } - - /** - * Coverage data for a JavaScript script. - */ - interface ScriptCoverage { - /** - * JavaScript script id. - */ - scriptId: Runtime.ScriptId; - /** - * JavaScript script name or url. - */ - url: string; - /** - * Functions contained in the script that has coverage data. - */ - functions: FunctionCoverage[]; - } - - /** - * Describes a type collected during runtime. - * @experimental - */ - interface TypeObject { - /** - * Name of a type collected with type profiling. - */ - name: string; - } - - /** - * Source offset and types for a parameter or return value. - * @experimental - */ - interface TypeProfileEntry { - /** - * Source offset of the parameter or end of function for return values. - */ - offset: number; - /** - * The types for this parameter or return value. - */ - types: TypeObject[]; - } - - /** - * Type profile data collected during runtime for a JavaScript script. - * @experimental - */ - interface ScriptTypeProfile { - /** - * JavaScript script id. - */ - scriptId: Runtime.ScriptId; - /** - * JavaScript script name or url. - */ - url: string; - /** - * Type profile entries for parameters and return values of the functions in the script. - */ - entries: TypeProfileEntry[]; - } - - interface SetSamplingIntervalParameterType { - /** - * New sampling interval in microseconds. - */ - interval: number; - } - - interface StartPreciseCoverageParameterType { - /** - * Collect accurate call counts beyond simple 'covered' or 'not covered'. - */ - callCount?: boolean; - /** - * Collect block-based coverage. - */ - detailed?: boolean; - } - - interface StopReturnType { - /** - * Recorded profile. - */ - profile: Profile; - } - - interface TakePreciseCoverageReturnType { - /** - * Coverage data for the current isolate. - */ - result: ScriptCoverage[]; - } - - interface GetBestEffortCoverageReturnType { - /** - * Coverage data for the current isolate. - */ - result: ScriptCoverage[]; - } - - interface TakeTypeProfileReturnType { - /** - * Type profile for all scripts since startTypeProfile() was turned on. - */ - result: ScriptTypeProfile[]; - } - - interface ConsoleProfileStartedEventDataType { - id: string; - /** - * Location of console.profile(). - */ - location: Debugger.Location; - /** - * Profile title passed as an argument to console.profile(). - */ - title?: string; - } - - interface ConsoleProfileFinishedEventDataType { - id: string; - /** - * Location of console.profileEnd(). - */ - location: Debugger.Location; - profile: Profile; - /** - * Profile title passed as an argument to console.profile(). - */ - title?: string; - } - } - - namespace HeapProfiler { - /** - * Heap snapshot object id. - */ - type HeapSnapshotObjectId = string; - - /** - * Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes. - */ - interface SamplingHeapProfileNode { - /** - * Function location. - */ - callFrame: Runtime.CallFrame; - /** - * Allocations size in bytes for the node excluding children. - */ - selfSize: number; - /** - * Child nodes. - */ - children: SamplingHeapProfileNode[]; - } - - /** - * Profile. - */ - interface SamplingHeapProfile { - head: SamplingHeapProfileNode; - } - - interface StartTrackingHeapObjectsParameterType { - trackAllocations?: boolean; - } - - interface StopTrackingHeapObjectsParameterType { - /** - * If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken when the tracking is stopped. - */ - reportProgress?: boolean; - } - - interface TakeHeapSnapshotParameterType { - /** - * If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken. - */ - reportProgress?: boolean; - } - - interface GetObjectByHeapObjectIdParameterType { - objectId: HeapSnapshotObjectId; - /** - * Symbolic group name that can be used to release multiple objects. - */ - objectGroup?: string; - } - - interface AddInspectedHeapObjectParameterType { - /** - * Heap snapshot object id to be accessible by means of $x command line API. - */ - heapObjectId: HeapSnapshotObjectId; - } - - interface GetHeapObjectIdParameterType { - /** - * Identifier of the object to get heap object id for. - */ - objectId: Runtime.RemoteObjectId; - } - - interface StartSamplingParameterType { - /** - * Average sample interval in bytes. Poisson distribution is used for the intervals. The default value is 32768 bytes. - */ - samplingInterval?: number; - } - - interface GetObjectByHeapObjectIdReturnType { - /** - * Evaluation result. - */ - result: Runtime.RemoteObject; - } - - interface GetHeapObjectIdReturnType { - /** - * Id of the heap snapshot object corresponding to the passed remote object id. - */ - heapSnapshotObjectId: HeapSnapshotObjectId; - } - - interface StopSamplingReturnType { - /** - * Recorded sampling heap profile. - */ - profile: SamplingHeapProfile; - } - - interface GetSamplingProfileReturnType { - /** - * Return the sampling profile being collected. - */ - profile: SamplingHeapProfile; - } - - interface AddHeapSnapshotChunkEventDataType { - chunk: string; - } - - interface ReportHeapSnapshotProgressEventDataType { - done: number; - total: number; - finished?: boolean; - } - - interface LastSeenObjectIdEventDataType { - lastSeenObjectId: number; - timestamp: number; - } - - interface HeapStatsUpdateEventDataType { - /** - * An array of triplets. Each triplet describes a fragment. The first integer is the fragment index, the second integer is a total count of objects for the fragment, the third integer is a total size of the objects for the fragment. - */ - statsUpdate: number[]; - } - } - - namespace NodeTracing { - interface TraceConfig { - /** - * Controls how the trace buffer stores data. - */ - recordMode?: string; - /** - * Included category filters. - */ - includedCategories: string[]; - } - - interface StartParameterType { - traceConfig: TraceConfig; - } - - interface GetCategoriesReturnType { - /** - * A list of supported tracing categories. - */ - categories: string[]; - } - - interface DataCollectedEventDataType { - value: Array<{}>; - } - } - - namespace NodeWorker { - type WorkerID = string; - - /** - * Unique identifier of attached debugging session. - */ - type SessionID = string; - - interface WorkerInfo { - workerId: WorkerID; - type: string; - title: string; - url: string; - } - - interface SendMessageToWorkerParameterType { - message: string; - /** - * Identifier of the session. - */ - sessionId: SessionID; - } - - interface EnableParameterType { - /** - * Whether to new workers should be paused until the frontend sends `Runtime.runIfWaitingForDebugger` - * message to run them. - */ - waitForDebuggerOnStart: boolean; - } - - interface DetachParameterType { - sessionId: SessionID; - } - - interface AttachedToWorkerEventDataType { - /** - * Identifier assigned to the session used to send/receive messages. - */ - sessionId: SessionID; - workerInfo: WorkerInfo; - waitingForDebugger: boolean; - } - - interface DetachedFromWorkerEventDataType { - /** - * Detached session identifier. - */ - sessionId: SessionID; - } - - interface ReceivedMessageFromWorkerEventDataType { - /** - * Identifier of a session which sends a message. - */ - sessionId: SessionID; - message: string; - } - } - - namespace NodeRuntime { - interface NotifyWhenWaitingForDisconnectParameterType { - enabled: boolean; - } - } - - /** - * The inspector.Session is used for dispatching messages to the V8 inspector back-end and receiving message responses and notifications. - */ - class Session extends EventEmitter { - /** - * Create a new instance of the inspector.Session class. - * The inspector session needs to be connected through session.connect() before the messages can be dispatched to the inspector backend. - */ - constructor(); - - /** - * Connects a session to the inspector back-end. - * An exception will be thrown if there is already a connected session established either - * through the API or by a front-end connected to the Inspector WebSocket port. - */ - connect(): void; - - /** - * Immediately close the session. All pending message callbacks will be called with an error. - * session.connect() will need to be called to be able to send messages again. - * Reconnected session will lose all inspector state, such as enabled agents or configured breakpoints. - */ - disconnect(): void; - - /** - * Posts a message to the inspector back-end. callback will be notified when a response is received. - * callback is a function that accepts two optional arguments - error and message-specific result. - */ - post(method: string, params?: {}, callback?: (err: Error | null, params?: {}) => void): void; - post(method: string, callback?: (err: Error | null, params?: {}) => void): void; - - /** - * Returns supported domains. - */ - post(method: "Schema.getDomains", callback?: (err: Error | null, params: Schema.GetDomainsReturnType) => void): void; - - /** - * Evaluates expression on global object. - */ - post(method: "Runtime.evaluate", params?: Runtime.EvaluateParameterType, callback?: (err: Error | null, params: Runtime.EvaluateReturnType) => void): void; - post(method: "Runtime.evaluate", callback?: (err: Error | null, params: Runtime.EvaluateReturnType) => void): void; - - /** - * Add handler to promise with given promise object id. - */ - post(method: "Runtime.awaitPromise", params?: Runtime.AwaitPromiseParameterType, callback?: (err: Error | null, params: Runtime.AwaitPromiseReturnType) => void): void; - post(method: "Runtime.awaitPromise", callback?: (err: Error | null, params: Runtime.AwaitPromiseReturnType) => void): void; - - /** - * Calls function with given declaration on the given object. Object group of the result is inherited from the target object. - */ - post(method: "Runtime.callFunctionOn", params?: Runtime.CallFunctionOnParameterType, callback?: (err: Error | null, params: Runtime.CallFunctionOnReturnType) => void): void; - post(method: "Runtime.callFunctionOn", callback?: (err: Error | null, params: Runtime.CallFunctionOnReturnType) => void): void; - - /** - * Returns properties of a given object. Object group of the result is inherited from the target object. - */ - post(method: "Runtime.getProperties", params?: Runtime.GetPropertiesParameterType, callback?: (err: Error | null, params: Runtime.GetPropertiesReturnType) => void): void; - post(method: "Runtime.getProperties", callback?: (err: Error | null, params: Runtime.GetPropertiesReturnType) => void): void; - - /** - * Releases remote object with given id. - */ - post(method: "Runtime.releaseObject", params?: Runtime.ReleaseObjectParameterType, callback?: (err: Error | null) => void): void; - post(method: "Runtime.releaseObject", callback?: (err: Error | null) => void): void; - - /** - * Releases all remote objects that belong to a given group. - */ - post(method: "Runtime.releaseObjectGroup", params?: Runtime.ReleaseObjectGroupParameterType, callback?: (err: Error | null) => void): void; - post(method: "Runtime.releaseObjectGroup", callback?: (err: Error | null) => void): void; - - /** - * Tells inspected instance to run if it was waiting for debugger to attach. - */ - post(method: "Runtime.runIfWaitingForDebugger", callback?: (err: Error | null) => void): void; - - /** - * Enables reporting of execution contexts creation by means of executionContextCreated event. When the reporting gets enabled the event will be sent immediately for each existing execution context. - */ - post(method: "Runtime.enable", callback?: (err: Error | null) => void): void; - - /** - * Disables reporting of execution contexts creation. - */ - post(method: "Runtime.disable", callback?: (err: Error | null) => void): void; - - /** - * Discards collected exceptions and console API calls. - */ - post(method: "Runtime.discardConsoleEntries", callback?: (err: Error | null) => void): void; - - /** - * @experimental - */ - post(method: "Runtime.setCustomObjectFormatterEnabled", params?: Runtime.SetCustomObjectFormatterEnabledParameterType, callback?: (err: Error | null) => void): void; - post(method: "Runtime.setCustomObjectFormatterEnabled", callback?: (err: Error | null) => void): void; - - /** - * Compiles expression. - */ - post(method: "Runtime.compileScript", params?: Runtime.CompileScriptParameterType, callback?: (err: Error | null, params: Runtime.CompileScriptReturnType) => void): void; - post(method: "Runtime.compileScript", callback?: (err: Error | null, params: Runtime.CompileScriptReturnType) => void): void; - - /** - * Runs script with given id in a given context. - */ - post(method: "Runtime.runScript", params?: Runtime.RunScriptParameterType, callback?: (err: Error | null, params: Runtime.RunScriptReturnType) => void): void; - post(method: "Runtime.runScript", callback?: (err: Error | null, params: Runtime.RunScriptReturnType) => void): void; - - post(method: "Runtime.queryObjects", params?: Runtime.QueryObjectsParameterType, callback?: (err: Error | null, params: Runtime.QueryObjectsReturnType) => void): void; - post(method: "Runtime.queryObjects", callback?: (err: Error | null, params: Runtime.QueryObjectsReturnType) => void): void; - - /** - * Returns all let, const and class variables from global scope. - */ - post( - method: "Runtime.globalLexicalScopeNames", - params?: Runtime.GlobalLexicalScopeNamesParameterType, - callback?: (err: Error | null, params: Runtime.GlobalLexicalScopeNamesReturnType) => void - ): void; - post(method: "Runtime.globalLexicalScopeNames", callback?: (err: Error | null, params: Runtime.GlobalLexicalScopeNamesReturnType) => void): void; - - /** - * Enables debugger for the given page. Clients should not assume that the debugging has been enabled until the result for this command is received. - */ - post(method: "Debugger.enable", callback?: (err: Error | null, params: Debugger.EnableReturnType) => void): void; - - /** - * Disables debugger for given page. - */ - post(method: "Debugger.disable", callback?: (err: Error | null) => void): void; - - /** - * Activates / deactivates all breakpoints on the page. - */ - post(method: "Debugger.setBreakpointsActive", params?: Debugger.SetBreakpointsActiveParameterType, callback?: (err: Error | null) => void): void; - post(method: "Debugger.setBreakpointsActive", callback?: (err: Error | null) => void): void; - - /** - * Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc). - */ - post(method: "Debugger.setSkipAllPauses", params?: Debugger.SetSkipAllPausesParameterType, callback?: (err: Error | null) => void): void; - post(method: "Debugger.setSkipAllPauses", callback?: (err: Error | null) => void): void; - - /** - * Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this command is issued, all existing parsed scripts will have breakpoints resolved and returned in locations property. Further matching script parsing will result in subsequent breakpointResolved events issued. This logical breakpoint will survive page reloads. - */ - post(method: "Debugger.setBreakpointByUrl", params?: Debugger.SetBreakpointByUrlParameterType, callback?: (err: Error | null, params: Debugger.SetBreakpointByUrlReturnType) => void): void; - post(method: "Debugger.setBreakpointByUrl", callback?: (err: Error | null, params: Debugger.SetBreakpointByUrlReturnType) => void): void; - - /** - * Sets JavaScript breakpoint at a given location. - */ - post(method: "Debugger.setBreakpoint", params?: Debugger.SetBreakpointParameterType, callback?: (err: Error | null, params: Debugger.SetBreakpointReturnType) => void): void; - post(method: "Debugger.setBreakpoint", callback?: (err: Error | null, params: Debugger.SetBreakpointReturnType) => void): void; - - /** - * Removes JavaScript breakpoint. - */ - post(method: "Debugger.removeBreakpoint", params?: Debugger.RemoveBreakpointParameterType, callback?: (err: Error | null) => void): void; - post(method: "Debugger.removeBreakpoint", callback?: (err: Error | null) => void): void; - - /** - * Returns possible locations for breakpoint. scriptId in start and end range locations should be the same. - */ - post( - method: "Debugger.getPossibleBreakpoints", - params?: Debugger.GetPossibleBreakpointsParameterType, - callback?: (err: Error | null, params: Debugger.GetPossibleBreakpointsReturnType) => void - ): void; - post(method: "Debugger.getPossibleBreakpoints", callback?: (err: Error | null, params: Debugger.GetPossibleBreakpointsReturnType) => void): void; - - /** - * Continues execution until specific location is reached. - */ - post(method: "Debugger.continueToLocation", params?: Debugger.ContinueToLocationParameterType, callback?: (err: Error | null) => void): void; - post(method: "Debugger.continueToLocation", callback?: (err: Error | null) => void): void; - - /** - * @experimental - */ - post(method: "Debugger.pauseOnAsyncCall", params?: Debugger.PauseOnAsyncCallParameterType, callback?: (err: Error | null) => void): void; - post(method: "Debugger.pauseOnAsyncCall", callback?: (err: Error | null) => void): void; - - /** - * Steps over the statement. - */ - post(method: "Debugger.stepOver", callback?: (err: Error | null) => void): void; - - /** - * Steps into the function call. - */ - post(method: "Debugger.stepInto", params?: Debugger.StepIntoParameterType, callback?: (err: Error | null) => void): void; - post(method: "Debugger.stepInto", callback?: (err: Error | null) => void): void; - - /** - * Steps out of the function call. - */ - post(method: "Debugger.stepOut", callback?: (err: Error | null) => void): void; - - /** - * Stops on the next JavaScript statement. - */ - post(method: "Debugger.pause", callback?: (err: Error | null) => void): void; - - /** - * This method is deprecated - use Debugger.stepInto with breakOnAsyncCall and Debugger.pauseOnAsyncTask instead. Steps into next scheduled async task if any is scheduled before next pause. Returns success when async task is actually scheduled, returns error if no task were scheduled or another scheduleStepIntoAsync was called. - * @experimental - */ - post(method: "Debugger.scheduleStepIntoAsync", callback?: (err: Error | null) => void): void; - - /** - * Resumes JavaScript execution. - */ - post(method: "Debugger.resume", callback?: (err: Error | null) => void): void; - - /** - * Returns stack trace with given stackTraceId. - * @experimental - */ - post(method: "Debugger.getStackTrace", params?: Debugger.GetStackTraceParameterType, callback?: (err: Error | null, params: Debugger.GetStackTraceReturnType) => void): void; - post(method: "Debugger.getStackTrace", callback?: (err: Error | null, params: Debugger.GetStackTraceReturnType) => void): void; - - /** - * Searches for given string in script content. - */ - post(method: "Debugger.searchInContent", params?: Debugger.SearchInContentParameterType, callback?: (err: Error | null, params: Debugger.SearchInContentReturnType) => void): void; - post(method: "Debugger.searchInContent", callback?: (err: Error | null, params: Debugger.SearchInContentReturnType) => void): void; - - /** - * Edits JavaScript source live. - */ - post(method: "Debugger.setScriptSource", params?: Debugger.SetScriptSourceParameterType, callback?: (err: Error | null, params: Debugger.SetScriptSourceReturnType) => void): void; - post(method: "Debugger.setScriptSource", callback?: (err: Error | null, params: Debugger.SetScriptSourceReturnType) => void): void; - - /** - * Restarts particular call frame from the beginning. - */ - post(method: "Debugger.restartFrame", params?: Debugger.RestartFrameParameterType, callback?: (err: Error | null, params: Debugger.RestartFrameReturnType) => void): void; - post(method: "Debugger.restartFrame", callback?: (err: Error | null, params: Debugger.RestartFrameReturnType) => void): void; - - /** - * Returns source for the script with given id. - */ - post(method: "Debugger.getScriptSource", params?: Debugger.GetScriptSourceParameterType, callback?: (err: Error | null, params: Debugger.GetScriptSourceReturnType) => void): void; - post(method: "Debugger.getScriptSource", callback?: (err: Error | null, params: Debugger.GetScriptSourceReturnType) => void): void; - - /** - * Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or no exceptions. Initial pause on exceptions state is none. - */ - post(method: "Debugger.setPauseOnExceptions", params?: Debugger.SetPauseOnExceptionsParameterType, callback?: (err: Error | null) => void): void; - post(method: "Debugger.setPauseOnExceptions", callback?: (err: Error | null) => void): void; - - /** - * Evaluates expression on a given call frame. - */ - post(method: "Debugger.evaluateOnCallFrame", params?: Debugger.EvaluateOnCallFrameParameterType, callback?: (err: Error | null, params: Debugger.EvaluateOnCallFrameReturnType) => void): void; - post(method: "Debugger.evaluateOnCallFrame", callback?: (err: Error | null, params: Debugger.EvaluateOnCallFrameReturnType) => void): void; - - /** - * Changes value of variable in a callframe. Object-based scopes are not supported and must be mutated manually. - */ - post(method: "Debugger.setVariableValue", params?: Debugger.SetVariableValueParameterType, callback?: (err: Error | null) => void): void; - post(method: "Debugger.setVariableValue", callback?: (err: Error | null) => void): void; - - /** - * Changes return value in top frame. Available only at return break position. - * @experimental - */ - post(method: "Debugger.setReturnValue", params?: Debugger.SetReturnValueParameterType, callback?: (err: Error | null) => void): void; - post(method: "Debugger.setReturnValue", callback?: (err: Error | null) => void): void; - - /** - * Enables or disables async call stacks tracking. - */ - post(method: "Debugger.setAsyncCallStackDepth", params?: Debugger.SetAsyncCallStackDepthParameterType, callback?: (err: Error | null) => void): void; - post(method: "Debugger.setAsyncCallStackDepth", callback?: (err: Error | null) => void): void; - - /** - * Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in scripts with url matching one of the patterns. VM will try to leave blackboxed script by performing 'step in' several times, finally resorting to 'step out' if unsuccessful. - * @experimental - */ - post(method: "Debugger.setBlackboxPatterns", params?: Debugger.SetBlackboxPatternsParameterType, callback?: (err: Error | null) => void): void; - post(method: "Debugger.setBlackboxPatterns", callback?: (err: Error | null) => void): void; - - /** - * Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful. Positions array contains positions where blackbox state is changed. First interval isn't blackboxed. Array should be sorted. - * @experimental - */ - post(method: "Debugger.setBlackboxedRanges", params?: Debugger.SetBlackboxedRangesParameterType, callback?: (err: Error | null) => void): void; - post(method: "Debugger.setBlackboxedRanges", callback?: (err: Error | null) => void): void; - - /** - * Enables console domain, sends the messages collected so far to the client by means of the messageAdded notification. - */ - post(method: "Console.enable", callback?: (err: Error | null) => void): void; - - /** - * Disables console domain, prevents further console messages from being reported to the client. - */ - post(method: "Console.disable", callback?: (err: Error | null) => void): void; - - /** - * Does nothing. - */ - post(method: "Console.clearMessages", callback?: (err: Error | null) => void): void; - - post(method: "Profiler.enable", callback?: (err: Error | null) => void): void; - - post(method: "Profiler.disable", callback?: (err: Error | null) => void): void; - - /** - * Changes CPU profiler sampling interval. Must be called before CPU profiles recording started. - */ - post(method: "Profiler.setSamplingInterval", params?: Profiler.SetSamplingIntervalParameterType, callback?: (err: Error | null) => void): void; - post(method: "Profiler.setSamplingInterval", callback?: (err: Error | null) => void): void; - - post(method: "Profiler.start", callback?: (err: Error | null) => void): void; - - post(method: "Profiler.stop", callback?: (err: Error | null, params: Profiler.StopReturnType) => void): void; - - /** - * Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code coverage may be incomplete. Enabling prevents running optimized code and resets execution counters. - */ - post(method: "Profiler.startPreciseCoverage", params?: Profiler.StartPreciseCoverageParameterType, callback?: (err: Error | null) => void): void; - post(method: "Profiler.startPreciseCoverage", callback?: (err: Error | null) => void): void; - - /** - * Disable precise code coverage. Disabling releases unnecessary execution count records and allows executing optimized code. - */ - post(method: "Profiler.stopPreciseCoverage", callback?: (err: Error | null) => void): void; - - /** - * Collect coverage data for the current isolate, and resets execution counters. Precise code coverage needs to have started. - */ - post(method: "Profiler.takePreciseCoverage", callback?: (err: Error | null, params: Profiler.TakePreciseCoverageReturnType) => void): void; - - /** - * Collect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection. - */ - post(method: "Profiler.getBestEffortCoverage", callback?: (err: Error | null, params: Profiler.GetBestEffortCoverageReturnType) => void): void; - - /** - * Enable type profile. - * @experimental - */ - post(method: "Profiler.startTypeProfile", callback?: (err: Error | null) => void): void; - - /** - * Disable type profile. Disabling releases type profile data collected so far. - * @experimental - */ - post(method: "Profiler.stopTypeProfile", callback?: (err: Error | null) => void): void; - - /** - * Collect type profile. - * @experimental - */ - post(method: "Profiler.takeTypeProfile", callback?: (err: Error | null, params: Profiler.TakeTypeProfileReturnType) => void): void; - - post(method: "HeapProfiler.enable", callback?: (err: Error | null) => void): void; - - post(method: "HeapProfiler.disable", callback?: (err: Error | null) => void): void; - - post(method: "HeapProfiler.startTrackingHeapObjects", params?: HeapProfiler.StartTrackingHeapObjectsParameterType, callback?: (err: Error | null) => void): void; - post(method: "HeapProfiler.startTrackingHeapObjects", callback?: (err: Error | null) => void): void; - - post(method: "HeapProfiler.stopTrackingHeapObjects", params?: HeapProfiler.StopTrackingHeapObjectsParameterType, callback?: (err: Error | null) => void): void; - post(method: "HeapProfiler.stopTrackingHeapObjects", callback?: (err: Error | null) => void): void; - - post(method: "HeapProfiler.takeHeapSnapshot", params?: HeapProfiler.TakeHeapSnapshotParameterType, callback?: (err: Error | null) => void): void; - post(method: "HeapProfiler.takeHeapSnapshot", callback?: (err: Error | null) => void): void; - - post(method: "HeapProfiler.collectGarbage", callback?: (err: Error | null) => void): void; - - post( - method: "HeapProfiler.getObjectByHeapObjectId", - params?: HeapProfiler.GetObjectByHeapObjectIdParameterType, - callback?: (err: Error | null, params: HeapProfiler.GetObjectByHeapObjectIdReturnType) => void - ): void; - post(method: "HeapProfiler.getObjectByHeapObjectId", callback?: (err: Error | null, params: HeapProfiler.GetObjectByHeapObjectIdReturnType) => void): void; - - /** - * Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions). - */ - post(method: "HeapProfiler.addInspectedHeapObject", params?: HeapProfiler.AddInspectedHeapObjectParameterType, callback?: (err: Error | null) => void): void; - post(method: "HeapProfiler.addInspectedHeapObject", callback?: (err: Error | null) => void): void; - - post(method: "HeapProfiler.getHeapObjectId", params?: HeapProfiler.GetHeapObjectIdParameterType, callback?: (err: Error | null, params: HeapProfiler.GetHeapObjectIdReturnType) => void): void; - post(method: "HeapProfiler.getHeapObjectId", callback?: (err: Error | null, params: HeapProfiler.GetHeapObjectIdReturnType) => void): void; - - post(method: "HeapProfiler.startSampling", params?: HeapProfiler.StartSamplingParameterType, callback?: (err: Error | null) => void): void; - post(method: "HeapProfiler.startSampling", callback?: (err: Error | null) => void): void; - - post(method: "HeapProfiler.stopSampling", callback?: (err: Error | null, params: HeapProfiler.StopSamplingReturnType) => void): void; - - post(method: "HeapProfiler.getSamplingProfile", callback?: (err: Error | null, params: HeapProfiler.GetSamplingProfileReturnType) => void): void; - - /** - * Gets supported tracing categories. - */ - post(method: "NodeTracing.getCategories", callback?: (err: Error | null, params: NodeTracing.GetCategoriesReturnType) => void): void; - - /** - * Start trace events collection. - */ - post(method: "NodeTracing.start", params?: NodeTracing.StartParameterType, callback?: (err: Error | null) => void): void; - post(method: "NodeTracing.start", callback?: (err: Error | null) => void): void; - - /** - * Stop trace events collection. Remaining collected events will be sent as a sequence of - * dataCollected events followed by tracingComplete event. - */ - post(method: "NodeTracing.stop", callback?: (err: Error | null) => void): void; - - /** - * Sends protocol message over session with given id. - */ - post(method: "NodeWorker.sendMessageToWorker", params?: NodeWorker.SendMessageToWorkerParameterType, callback?: (err: Error | null) => void): void; - post(method: "NodeWorker.sendMessageToWorker", callback?: (err: Error | null) => void): void; - - /** - * Instructs the inspector to attach to running workers. Will also attach to new workers - * as they start - */ - post(method: "NodeWorker.enable", params?: NodeWorker.EnableParameterType, callback?: (err: Error | null) => void): void; - post(method: "NodeWorker.enable", callback?: (err: Error | null) => void): void; - - /** - * Detaches from all running workers and disables attaching to new workers as they are started. - */ - post(method: "NodeWorker.disable", callback?: (err: Error | null) => void): void; - - /** - * Detached from the worker with given sessionId. - */ - post(method: "NodeWorker.detach", params?: NodeWorker.DetachParameterType, callback?: (err: Error | null) => void): void; - post(method: "NodeWorker.detach", callback?: (err: Error | null) => void): void; - - /** - * Enable the `NodeRuntime.waitingForDisconnect`. - */ - post(method: "NodeRuntime.notifyWhenWaitingForDisconnect", params?: NodeRuntime.NotifyWhenWaitingForDisconnectParameterType, callback?: (err: Error | null) => void): void; - post(method: "NodeRuntime.notifyWhenWaitingForDisconnect", callback?: (err: Error | null) => void): void; - - // Events - - addListener(event: string, listener: (...args: any[]) => void): this; - - /** - * Emitted when any notification from the V8 Inspector is received. - */ - addListener(event: "inspectorNotification", listener: (message: InspectorNotification<{}>) => void): this; - - /** - * Issued when new execution context is created. - */ - addListener(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when execution context is destroyed. - */ - addListener(event: "Runtime.executionContextDestroyed", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when all executionContexts were cleared in browser - */ - addListener(event: "Runtime.executionContextsCleared", listener: () => void): this; - - /** - * Issued when exception was thrown and unhandled. - */ - addListener(event: "Runtime.exceptionThrown", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when unhandled exception was revoked. - */ - addListener(event: "Runtime.exceptionRevoked", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when console API was called. - */ - addListener(event: "Runtime.consoleAPICalled", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when object should be inspected (for example, as a result of inspect() command line API call). - */ - addListener(event: "Runtime.inspectRequested", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. - */ - addListener(event: "Debugger.scriptParsed", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when virtual machine fails to parse the script. - */ - addListener(event: "Debugger.scriptFailedToParse", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when breakpoint is resolved to an actual script and location. - */ - addListener(event: "Debugger.breakpointResolved", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. - */ - addListener(event: "Debugger.paused", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when the virtual machine resumed execution. - */ - addListener(event: "Debugger.resumed", listener: () => void): this; - - /** - * Issued when new console message is added. - */ - addListener(event: "Console.messageAdded", listener: (message: InspectorNotification) => void): this; - - /** - * Sent when new profile recording is started using console.profile() call. - */ - addListener(event: "Profiler.consoleProfileStarted", listener: (message: InspectorNotification) => void): this; - - addListener(event: "Profiler.consoleProfileFinished", listener: (message: InspectorNotification) => void): this; - addListener(event: "HeapProfiler.addHeapSnapshotChunk", listener: (message: InspectorNotification) => void): this; - addListener(event: "HeapProfiler.resetProfiles", listener: () => void): this; - addListener(event: "HeapProfiler.reportHeapSnapshotProgress", listener: (message: InspectorNotification) => void): this; - - /** - * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. - */ - addListener(event: "HeapProfiler.lastSeenObjectId", listener: (message: InspectorNotification) => void): this; - - /** - * If heap objects tracking has been started then backend may send update for one or more fragments - */ - addListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification) => void): this; - - /** - * Contains an bucket of collected trace events. - */ - addListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification) => void): this; - - /** - * Signals that tracing is stopped and there is no trace buffers pending flush, all data were - * delivered via dataCollected events. - */ - addListener(event: "NodeTracing.tracingComplete", listener: () => void): this; - - /** - * Issued when attached to a worker. - */ - addListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when detached from the worker. - */ - addListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification) => void): this; - - /** - * Notifies about a new protocol message received from the session - * (session ID is provided in attachedToWorker notification). - */ - addListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification) => void): this; - - /** - * This event is fired instead of `Runtime.executionContextDestroyed` when - * enabled. - * It is fired when the Node process finished all code execution and is - * waiting for all frontends to disconnect. - */ - addListener(event: "NodeRuntime.waitingForDisconnect", listener: () => void): this; - - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "inspectorNotification", message: InspectorNotification<{}>): boolean; - emit(event: "Runtime.executionContextCreated", message: InspectorNotification): boolean; - emit(event: "Runtime.executionContextDestroyed", message: InspectorNotification): boolean; - emit(event: "Runtime.executionContextsCleared"): boolean; - emit(event: "Runtime.exceptionThrown", message: InspectorNotification): boolean; - emit(event: "Runtime.exceptionRevoked", message: InspectorNotification): boolean; - emit(event: "Runtime.consoleAPICalled", message: InspectorNotification): boolean; - emit(event: "Runtime.inspectRequested", message: InspectorNotification): boolean; - emit(event: "Debugger.scriptParsed", message: InspectorNotification): boolean; - emit(event: "Debugger.scriptFailedToParse", message: InspectorNotification): boolean; - emit(event: "Debugger.breakpointResolved", message: InspectorNotification): boolean; - emit(event: "Debugger.paused", message: InspectorNotification): boolean; - emit(event: "Debugger.resumed"): boolean; - emit(event: "Console.messageAdded", message: InspectorNotification): boolean; - emit(event: "Profiler.consoleProfileStarted", message: InspectorNotification): boolean; - emit(event: "Profiler.consoleProfileFinished", message: InspectorNotification): boolean; - emit(event: "HeapProfiler.addHeapSnapshotChunk", message: InspectorNotification): boolean; - emit(event: "HeapProfiler.resetProfiles"): boolean; - emit(event: "HeapProfiler.reportHeapSnapshotProgress", message: InspectorNotification): boolean; - emit(event: "HeapProfiler.lastSeenObjectId", message: InspectorNotification): boolean; - emit(event: "HeapProfiler.heapStatsUpdate", message: InspectorNotification): boolean; - emit(event: "NodeTracing.dataCollected", message: InspectorNotification): boolean; - emit(event: "NodeTracing.tracingComplete"): boolean; - emit(event: "NodeWorker.attachedToWorker", message: InspectorNotification): boolean; - emit(event: "NodeWorker.detachedFromWorker", message: InspectorNotification): boolean; - emit(event: "NodeWorker.receivedMessageFromWorker", message: InspectorNotification): boolean; - emit(event: "NodeRuntime.waitingForDisconnect"): boolean; - - on(event: string, listener: (...args: any[]) => void): this; - - /** - * Emitted when any notification from the V8 Inspector is received. - */ - on(event: "inspectorNotification", listener: (message: InspectorNotification<{}>) => void): this; - - /** - * Issued when new execution context is created. - */ - on(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when execution context is destroyed. - */ - on(event: "Runtime.executionContextDestroyed", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when all executionContexts were cleared in browser - */ - on(event: "Runtime.executionContextsCleared", listener: () => void): this; - - /** - * Issued when exception was thrown and unhandled. - */ - on(event: "Runtime.exceptionThrown", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when unhandled exception was revoked. - */ - on(event: "Runtime.exceptionRevoked", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when console API was called. - */ - on(event: "Runtime.consoleAPICalled", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when object should be inspected (for example, as a result of inspect() command line API call). - */ - on(event: "Runtime.inspectRequested", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. - */ - on(event: "Debugger.scriptParsed", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when virtual machine fails to parse the script. - */ - on(event: "Debugger.scriptFailedToParse", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when breakpoint is resolved to an actual script and location. - */ - on(event: "Debugger.breakpointResolved", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. - */ - on(event: "Debugger.paused", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when the virtual machine resumed execution. - */ - on(event: "Debugger.resumed", listener: () => void): this; - - /** - * Issued when new console message is added. - */ - on(event: "Console.messageAdded", listener: (message: InspectorNotification) => void): this; - - /** - * Sent when new profile recording is started using console.profile() call. - */ - on(event: "Profiler.consoleProfileStarted", listener: (message: InspectorNotification) => void): this; - - on(event: "Profiler.consoleProfileFinished", listener: (message: InspectorNotification) => void): this; - on(event: "HeapProfiler.addHeapSnapshotChunk", listener: (message: InspectorNotification) => void): this; - on(event: "HeapProfiler.resetProfiles", listener: () => void): this; - on(event: "HeapProfiler.reportHeapSnapshotProgress", listener: (message: InspectorNotification) => void): this; - - /** - * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. - */ - on(event: "HeapProfiler.lastSeenObjectId", listener: (message: InspectorNotification) => void): this; - - /** - * If heap objects tracking has been started then backend may send update for one or more fragments - */ - on(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification) => void): this; - - /** - * Contains an bucket of collected trace events. - */ - on(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification) => void): this; - - /** - * Signals that tracing is stopped and there is no trace buffers pending flush, all data were - * delivered via dataCollected events. - */ - on(event: "NodeTracing.tracingComplete", listener: () => void): this; - - /** - * Issued when attached to a worker. - */ - on(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when detached from the worker. - */ - on(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification) => void): this; - - /** - * Notifies about a new protocol message received from the session - * (session ID is provided in attachedToWorker notification). - */ - on(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification) => void): this; - - /** - * This event is fired instead of `Runtime.executionContextDestroyed` when - * enabled. - * It is fired when the Node process finished all code execution and is - * waiting for all frontends to disconnect. - */ - on(event: "NodeRuntime.waitingForDisconnect", listener: () => void): this; - - once(event: string, listener: (...args: any[]) => void): this; - - /** - * Emitted when any notification from the V8 Inspector is received. - */ - once(event: "inspectorNotification", listener: (message: InspectorNotification<{}>) => void): this; - - /** - * Issued when new execution context is created. - */ - once(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when execution context is destroyed. - */ - once(event: "Runtime.executionContextDestroyed", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when all executionContexts were cleared in browser - */ - once(event: "Runtime.executionContextsCleared", listener: () => void): this; - - /** - * Issued when exception was thrown and unhandled. - */ - once(event: "Runtime.exceptionThrown", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when unhandled exception was revoked. - */ - once(event: "Runtime.exceptionRevoked", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when console API was called. - */ - once(event: "Runtime.consoleAPICalled", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when object should be inspected (for example, as a result of inspect() command line API call). - */ - once(event: "Runtime.inspectRequested", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. - */ - once(event: "Debugger.scriptParsed", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when virtual machine fails to parse the script. - */ - once(event: "Debugger.scriptFailedToParse", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when breakpoint is resolved to an actual script and location. - */ - once(event: "Debugger.breakpointResolved", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. - */ - once(event: "Debugger.paused", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when the virtual machine resumed execution. - */ - once(event: "Debugger.resumed", listener: () => void): this; - - /** - * Issued when new console message is added. - */ - once(event: "Console.messageAdded", listener: (message: InspectorNotification) => void): this; - - /** - * Sent when new profile recording is started using console.profile() call. - */ - once(event: "Profiler.consoleProfileStarted", listener: (message: InspectorNotification) => void): this; - - once(event: "Profiler.consoleProfileFinished", listener: (message: InspectorNotification) => void): this; - once(event: "HeapProfiler.addHeapSnapshotChunk", listener: (message: InspectorNotification) => void): this; - once(event: "HeapProfiler.resetProfiles", listener: () => void): this; - once(event: "HeapProfiler.reportHeapSnapshotProgress", listener: (message: InspectorNotification) => void): this; - - /** - * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. - */ - once(event: "HeapProfiler.lastSeenObjectId", listener: (message: InspectorNotification) => void): this; - - /** - * If heap objects tracking has been started then backend may send update for one or more fragments - */ - once(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification) => void): this; - - /** - * Contains an bucket of collected trace events. - */ - once(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification) => void): this; - - /** - * Signals that tracing is stopped and there is no trace buffers pending flush, all data were - * delivered via dataCollected events. - */ - once(event: "NodeTracing.tracingComplete", listener: () => void): this; - - /** - * Issued when attached to a worker. - */ - once(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when detached from the worker. - */ - once(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification) => void): this; - - /** - * Notifies about a new protocol message received from the session - * (session ID is provided in attachedToWorker notification). - */ - once(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification) => void): this; - - /** - * This event is fired instead of `Runtime.executionContextDestroyed` when - * enabled. - * It is fired when the Node process finished all code execution and is - * waiting for all frontends to disconnect. - */ - once(event: "NodeRuntime.waitingForDisconnect", listener: () => void): this; - - prependListener(event: string, listener: (...args: any[]) => void): this; - - /** - * Emitted when any notification from the V8 Inspector is received. - */ - prependListener(event: "inspectorNotification", listener: (message: InspectorNotification<{}>) => void): this; - - /** - * Issued when new execution context is created. - */ - prependListener(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when execution context is destroyed. - */ - prependListener(event: "Runtime.executionContextDestroyed", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when all executionContexts were cleared in browser - */ - prependListener(event: "Runtime.executionContextsCleared", listener: () => void): this; - - /** - * Issued when exception was thrown and unhandled. - */ - prependListener(event: "Runtime.exceptionThrown", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when unhandled exception was revoked. - */ - prependListener(event: "Runtime.exceptionRevoked", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when console API was called. - */ - prependListener(event: "Runtime.consoleAPICalled", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when object should be inspected (for example, as a result of inspect() command line API call). - */ - prependListener(event: "Runtime.inspectRequested", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. - */ - prependListener(event: "Debugger.scriptParsed", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when virtual machine fails to parse the script. - */ - prependListener(event: "Debugger.scriptFailedToParse", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when breakpoint is resolved to an actual script and location. - */ - prependListener(event: "Debugger.breakpointResolved", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. - */ - prependListener(event: "Debugger.paused", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when the virtual machine resumed execution. - */ - prependListener(event: "Debugger.resumed", listener: () => void): this; - - /** - * Issued when new console message is added. - */ - prependListener(event: "Console.messageAdded", listener: (message: InspectorNotification) => void): this; - - /** - * Sent when new profile recording is started using console.profile() call. - */ - prependListener(event: "Profiler.consoleProfileStarted", listener: (message: InspectorNotification) => void): this; - - prependListener(event: "Profiler.consoleProfileFinished", listener: (message: InspectorNotification) => void): this; - prependListener(event: "HeapProfiler.addHeapSnapshotChunk", listener: (message: InspectorNotification) => void): this; - prependListener(event: "HeapProfiler.resetProfiles", listener: () => void): this; - prependListener(event: "HeapProfiler.reportHeapSnapshotProgress", listener: (message: InspectorNotification) => void): this; - - /** - * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. - */ - prependListener(event: "HeapProfiler.lastSeenObjectId", listener: (message: InspectorNotification) => void): this; - - /** - * If heap objects tracking has been started then backend may send update for one or more fragments - */ - prependListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification) => void): this; - - /** - * Contains an bucket of collected trace events. - */ - prependListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification) => void): this; - - /** - * Signals that tracing is stopped and there is no trace buffers pending flush, all data were - * delivered via dataCollected events. - */ - prependListener(event: "NodeTracing.tracingComplete", listener: () => void): this; - - /** - * Issued when attached to a worker. - */ - prependListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when detached from the worker. - */ - prependListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification) => void): this; - - /** - * Notifies about a new protocol message received from the session - * (session ID is provided in attachedToWorker notification). - */ - prependListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification) => void): this; - - /** - * This event is fired instead of `Runtime.executionContextDestroyed` when - * enabled. - * It is fired when the Node process finished all code execution and is - * waiting for all frontends to disconnect. - */ - prependListener(event: "NodeRuntime.waitingForDisconnect", listener: () => void): this; - - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - - /** - * Emitted when any notification from the V8 Inspector is received. - */ - prependOnceListener(event: "inspectorNotification", listener: (message: InspectorNotification<{}>) => void): this; - - /** - * Issued when new execution context is created. - */ - prependOnceListener(event: "Runtime.executionContextCreated", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when execution context is destroyed. - */ - prependOnceListener(event: "Runtime.executionContextDestroyed", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when all executionContexts were cleared in browser - */ - prependOnceListener(event: "Runtime.executionContextsCleared", listener: () => void): this; - - /** - * Issued when exception was thrown and unhandled. - */ - prependOnceListener(event: "Runtime.exceptionThrown", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when unhandled exception was revoked. - */ - prependOnceListener(event: "Runtime.exceptionRevoked", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when console API was called. - */ - prependOnceListener(event: "Runtime.consoleAPICalled", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when object should be inspected (for example, as a result of inspect() command line API call). - */ - prependOnceListener(event: "Runtime.inspectRequested", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger. - */ - prependOnceListener(event: "Debugger.scriptParsed", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when virtual machine fails to parse the script. - */ - prependOnceListener(event: "Debugger.scriptFailedToParse", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when breakpoint is resolved to an actual script and location. - */ - prependOnceListener(event: "Debugger.breakpointResolved", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria. - */ - prependOnceListener(event: "Debugger.paused", listener: (message: InspectorNotification) => void): this; - - /** - * Fired when the virtual machine resumed execution. - */ - prependOnceListener(event: "Debugger.resumed", listener: () => void): this; - - /** - * Issued when new console message is added. - */ - prependOnceListener(event: "Console.messageAdded", listener: (message: InspectorNotification) => void): this; - - /** - * Sent when new profile recording is started using console.profile() call. - */ - prependOnceListener(event: "Profiler.consoleProfileStarted", listener: (message: InspectorNotification) => void): this; - - prependOnceListener(event: "Profiler.consoleProfileFinished", listener: (message: InspectorNotification) => void): this; - prependOnceListener(event: "HeapProfiler.addHeapSnapshotChunk", listener: (message: InspectorNotification) => void): this; - prependOnceListener(event: "HeapProfiler.resetProfiles", listener: () => void): this; - prependOnceListener(event: "HeapProfiler.reportHeapSnapshotProgress", listener: (message: InspectorNotification) => void): this; - - /** - * If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event. - */ - prependOnceListener(event: "HeapProfiler.lastSeenObjectId", listener: (message: InspectorNotification) => void): this; - - /** - * If heap objects tracking has been started then backend may send update for one or more fragments - */ - prependOnceListener(event: "HeapProfiler.heapStatsUpdate", listener: (message: InspectorNotification) => void): this; - - /** - * Contains an bucket of collected trace events. - */ - prependOnceListener(event: "NodeTracing.dataCollected", listener: (message: InspectorNotification) => void): this; - - /** - * Signals that tracing is stopped and there is no trace buffers pending flush, all data were - * delivered via dataCollected events. - */ - prependOnceListener(event: "NodeTracing.tracingComplete", listener: () => void): this; - - /** - * Issued when attached to a worker. - */ - prependOnceListener(event: "NodeWorker.attachedToWorker", listener: (message: InspectorNotification) => void): this; - - /** - * Issued when detached from the worker. - */ - prependOnceListener(event: "NodeWorker.detachedFromWorker", listener: (message: InspectorNotification) => void): this; - - /** - * Notifies about a new protocol message received from the session - * (session ID is provided in attachedToWorker notification). - */ - prependOnceListener(event: "NodeWorker.receivedMessageFromWorker", listener: (message: InspectorNotification) => void): this; - - /** - * This event is fired instead of `Runtime.executionContextDestroyed` when - * enabled. - * It is fired when the Node process finished all code execution and is - * waiting for all frontends to disconnect. - */ - prependOnceListener(event: "NodeRuntime.waitingForDisconnect", listener: () => void): this; - } - - // Top Level API - - /** - * Activate inspector on host and port. Equivalent to node --inspect=[[host:]port], but can be done programatically after node has started. - * If wait is true, will block until a client has connected to the inspect port and flow control has been passed to the debugger client. - * @param port Port to listen on for inspector connections. Optional, defaults to what was specified on the CLI. - * @param host Host to listen on for inspector connections. Optional, defaults to what was specified on the CLI. - * @param wait Block until a client has connected. Optional, defaults to false. - */ - function open(port?: number, host?: string, wait?: boolean): void; - - /** - * Deactivate the inspector. Blocks until there are no active connections. - */ - function close(): void; - - /** - * Return the URL of the active inspector, or `undefined` if there is none. - */ - function url(): string | undefined; - - /** - * Blocks until a client (existing or connected later) has sent - * `Runtime.runIfWaitingForDebugger` command. - * An exception will be thrown if there is no active inspector. - */ - function waitForDebugger(): void; -} diff --git a/node_modules/@types/node/module.d.ts b/node_modules/@types/node/module.d.ts deleted file mode 100644 index ffb4a6ee..00000000 --- a/node_modules/@types/node/module.d.ts +++ /dev/null @@ -1,52 +0,0 @@ -declare module "module" { - import { URL } from "url"; - namespace Module { - /** - * Updates all the live bindings for builtin ES Modules to match the properties of the CommonJS exports. - * It does not add or remove exported names from the ES Modules. - */ - function syncBuiltinESMExports(): void; - - function findSourceMap(path: string, error?: Error): SourceMap; - interface SourceMapPayload { - file: string; - version: number; - sources: string[]; - sourcesContent: string[]; - names: string[]; - mappings: string; - sourceRoot: string; - } - - interface SourceMapping { - generatedLine: number; - generatedColumn: number; - originalSource: string; - originalLine: number; - originalColumn: number; - } - - class SourceMap { - readonly payload: SourceMapPayload; - constructor(payload: SourceMapPayload); - findEntry(line: number, column: number): SourceMapping; - } - } - interface Module extends NodeModule {} - class Module { - static runMain(): void; - static wrap(code: string): string; - - /** - * @deprecated Deprecated since: v12.2.0. Please use createRequire() instead. - */ - static createRequireFromPath(path: string): NodeRequire; - static createRequire(path: string | URL): NodeRequire; - static builtinModules: string[]; - - static Module: typeof Module; - - constructor(id: string, parent?: Module); - } - export = Module; -} diff --git a/node_modules/@types/node/net.d.ts b/node_modules/@types/node/net.d.ts deleted file mode 100644 index e6ee1bb9..00000000 --- a/node_modules/@types/node/net.d.ts +++ /dev/null @@ -1,268 +0,0 @@ -declare module "net" { - import * as stream from "stream"; - import * as events from "events"; - import * as dns from "dns"; - - type LookupFunction = (hostname: string, options: dns.LookupOneOptions, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void) => void; - - interface AddressInfo { - address: string; - family: string; - port: number; - } - - interface SocketConstructorOpts { - fd?: number; - allowHalfOpen?: boolean; - readable?: boolean; - writable?: boolean; - } - - interface OnReadOpts { - buffer: Uint8Array | (() => Uint8Array); - /** - * This function is called for every chunk of incoming data. - * Two arguments are passed to it: the number of bytes written to buffer and a reference to buffer. - * Return false from this function to implicitly pause() the socket. - */ - callback(bytesWritten: number, buf: Uint8Array): boolean; - } - - interface ConnectOpts { - /** - * If specified, incoming data is stored in a single buffer and passed to the supplied callback when data arrives on the socket. - * Note: this will cause the streaming functionality to not provide any data, however events like 'error', 'end', and 'close' will - * still be emitted as normal and methods like pause() and resume() will also behave as expected. - */ - onread?: OnReadOpts; - } - - interface TcpSocketConnectOpts extends ConnectOpts { - port: number; - host?: string; - localAddress?: string; - localPort?: number; - hints?: number; - family?: number; - lookup?: LookupFunction; - } - - interface IpcSocketConnectOpts extends ConnectOpts { - path: string; - } - - type SocketConnectOpts = TcpSocketConnectOpts | IpcSocketConnectOpts; - - class Socket extends stream.Duplex { - constructor(options?: SocketConstructorOpts); - - // Extended base methods - write(buffer: Uint8Array | string, cb?: (err?: Error) => void): boolean; - write(str: Uint8Array | string, encoding?: BufferEncoding, cb?: (err?: Error) => void): boolean; - - connect(options: SocketConnectOpts, connectionListener?: () => void): this; - connect(port: number, host: string, connectionListener?: () => void): this; - connect(port: number, connectionListener?: () => void): this; - connect(path: string, connectionListener?: () => void): this; - - setEncoding(encoding?: BufferEncoding): this; - pause(): this; - resume(): this; - setTimeout(timeout: number, callback?: () => void): this; - setNoDelay(noDelay?: boolean): this; - setKeepAlive(enable?: boolean, initialDelay?: number): this; - address(): AddressInfo | {}; - unref(): this; - ref(): this; - - readonly bufferSize: number; - readonly bytesRead: number; - readonly bytesWritten: number; - readonly connecting: boolean; - readonly destroyed: boolean; - readonly localAddress: string; - readonly localPort: number; - readonly remoteAddress?: string; - readonly remoteFamily?: string; - readonly remotePort?: number; - - // Extended base methods - end(cb?: () => void): void; - end(buffer: Uint8Array | string, cb?: () => void): void; - end(str: Uint8Array | string, encoding?: BufferEncoding, cb?: () => void): void; - - /** - * events.EventEmitter - * 1. close - * 2. connect - * 3. data - * 4. drain - * 5. end - * 6. error - * 7. lookup - * 8. timeout - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "close", listener: (had_error: boolean) => void): this; - addListener(event: "connect", listener: () => void): this; - addListener(event: "data", listener: (data: Buffer) => void): this; - addListener(event: "drain", listener: () => void): this; - addListener(event: "end", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this; - addListener(event: "timeout", listener: () => void): this; - - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "close", had_error: boolean): boolean; - emit(event: "connect"): boolean; - emit(event: "data", data: Buffer): boolean; - emit(event: "drain"): boolean; - emit(event: "end"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "lookup", err: Error, address: string, family: string | number, host: string): boolean; - emit(event: "timeout"): boolean; - - on(event: string, listener: (...args: any[]) => void): this; - on(event: "close", listener: (had_error: boolean) => void): this; - on(event: "connect", listener: () => void): this; - on(event: "data", listener: (data: Buffer) => void): this; - on(event: "drain", listener: () => void): this; - on(event: "end", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this; - on(event: "timeout", listener: () => void): this; - - once(event: string, listener: (...args: any[]) => void): this; - once(event: "close", listener: (had_error: boolean) => void): this; - once(event: "connect", listener: () => void): this; - once(event: "data", listener: (data: Buffer) => void): this; - once(event: "drain", listener: () => void): this; - once(event: "end", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this; - once(event: "timeout", listener: () => void): this; - - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: (had_error: boolean) => void): this; - prependListener(event: "connect", listener: () => void): this; - prependListener(event: "data", listener: (data: Buffer) => void): this; - prependListener(event: "drain", listener: () => void): this; - prependListener(event: "end", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this; - prependListener(event: "timeout", listener: () => void): this; - - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: (had_error: boolean) => void): this; - prependOnceListener(event: "connect", listener: () => void): this; - prependOnceListener(event: "data", listener: (data: Buffer) => void): this; - prependOnceListener(event: "drain", listener: () => void): this; - prependOnceListener(event: "end", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "lookup", listener: (err: Error, address: string, family: string | number, host: string) => void): this; - prependOnceListener(event: "timeout", listener: () => void): this; - } - - interface ListenOptions { - port?: number; - host?: string; - backlog?: number; - path?: string; - exclusive?: boolean; - readableAll?: boolean; - writableAll?: boolean; - /** - * @default false - */ - ipv6Only?: boolean; - } - - // https://github.com/nodejs/node/blob/master/lib/net.js - class Server extends events.EventEmitter { - constructor(connectionListener?: (socket: Socket) => void); - constructor(options?: { allowHalfOpen?: boolean, pauseOnConnect?: boolean }, connectionListener?: (socket: Socket) => void); - - listen(port?: number, hostname?: string, backlog?: number, listeningListener?: () => void): this; - listen(port?: number, hostname?: string, listeningListener?: () => void): this; - listen(port?: number, backlog?: number, listeningListener?: () => void): this; - listen(port?: number, listeningListener?: () => void): this; - listen(path: string, backlog?: number, listeningListener?: () => void): this; - listen(path: string, listeningListener?: () => void): this; - listen(options: ListenOptions, listeningListener?: () => void): this; - listen(handle: any, backlog?: number, listeningListener?: () => void): this; - listen(handle: any, listeningListener?: () => void): this; - close(callback?: (err?: Error) => void): this; - address(): AddressInfo | string | null; - getConnections(cb: (error: Error | null, count: number) => void): void; - ref(): this; - unref(): this; - maxConnections: number; - connections: number; - listening: boolean; - - /** - * events.EventEmitter - * 1. close - * 2. connection - * 3. error - * 4. listening - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "connection", listener: (socket: Socket) => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "listening", listener: () => void): this; - - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "close"): boolean; - emit(event: "connection", socket: Socket): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "listening"): boolean; - - on(event: string, listener: (...args: any[]) => void): this; - on(event: "close", listener: () => void): this; - on(event: "connection", listener: (socket: Socket) => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "listening", listener: () => void): this; - - once(event: string, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "connection", listener: (socket: Socket) => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "listening", listener: () => void): this; - - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "connection", listener: (socket: Socket) => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "listening", listener: () => void): this; - - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "connection", listener: (socket: Socket) => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "listening", listener: () => void): this; - } - - interface TcpNetConnectOpts extends TcpSocketConnectOpts, SocketConstructorOpts { - timeout?: number; - } - - interface IpcNetConnectOpts extends IpcSocketConnectOpts, SocketConstructorOpts { - timeout?: number; - } - - type NetConnectOpts = TcpNetConnectOpts | IpcNetConnectOpts; - - function createServer(connectionListener?: (socket: Socket) => void): Server; - function createServer(options?: { allowHalfOpen?: boolean, pauseOnConnect?: boolean }, connectionListener?: (socket: Socket) => void): Server; - function connect(options: NetConnectOpts, connectionListener?: () => void): Socket; - function connect(port: number, host?: string, connectionListener?: () => void): Socket; - function connect(path: string, connectionListener?: () => void): Socket; - function createConnection(options: NetConnectOpts, connectionListener?: () => void): Socket; - function createConnection(port: number, host?: string, connectionListener?: () => void): Socket; - function createConnection(path: string, connectionListener?: () => void): Socket; - function isIP(input: string): number; - function isIPv4(input: string): boolean; - function isIPv6(input: string): boolean; -} diff --git a/node_modules/@types/node/os.d.ts b/node_modules/@types/node/os.d.ts deleted file mode 100644 index 1aadc68e..00000000 --- a/node_modules/@types/node/os.d.ts +++ /dev/null @@ -1,239 +0,0 @@ -declare module "os" { - interface CpuInfo { - model: string; - speed: number; - times: { - user: number; - nice: number; - sys: number; - idle: number; - irq: number; - }; - } - - interface NetworkInterfaceBase { - address: string; - netmask: string; - mac: string; - internal: boolean; - cidr: string | null; - } - - interface NetworkInterfaceInfoIPv4 extends NetworkInterfaceBase { - family: "IPv4"; - } - - interface NetworkInterfaceInfoIPv6 extends NetworkInterfaceBase { - family: "IPv6"; - scopeid: number; - } - - interface UserInfo { - username: T; - uid: number; - gid: number; - shell: T; - homedir: T; - } - - type NetworkInterfaceInfo = NetworkInterfaceInfoIPv4 | NetworkInterfaceInfoIPv6; - - function hostname(): string; - function loadavg(): number[]; - function uptime(): number; - function freemem(): number; - function totalmem(): number; - function cpus(): CpuInfo[]; - function type(): string; - function release(): string; - function networkInterfaces(): NodeJS.Dict; - function homedir(): string; - function userInfo(options: { encoding: 'buffer' }): UserInfo; - function userInfo(options?: { encoding: BufferEncoding }): UserInfo; - - type SignalConstants = { - [key in NodeJS.Signals]: number; - }; - - namespace constants { - const UV_UDP_REUSEADDR: number; - namespace signals {} - const signals: SignalConstants; - namespace errno { - const E2BIG: number; - const EACCES: number; - const EADDRINUSE: number; - const EADDRNOTAVAIL: number; - const EAFNOSUPPORT: number; - const EAGAIN: number; - const EALREADY: number; - const EBADF: number; - const EBADMSG: number; - const EBUSY: number; - const ECANCELED: number; - const ECHILD: number; - const ECONNABORTED: number; - const ECONNREFUSED: number; - const ECONNRESET: number; - const EDEADLK: number; - const EDESTADDRREQ: number; - const EDOM: number; - const EDQUOT: number; - const EEXIST: number; - const EFAULT: number; - const EFBIG: number; - const EHOSTUNREACH: number; - const EIDRM: number; - const EILSEQ: number; - const EINPROGRESS: number; - const EINTR: number; - const EINVAL: number; - const EIO: number; - const EISCONN: number; - const EISDIR: number; - const ELOOP: number; - const EMFILE: number; - const EMLINK: number; - const EMSGSIZE: number; - const EMULTIHOP: number; - const ENAMETOOLONG: number; - const ENETDOWN: number; - const ENETRESET: number; - const ENETUNREACH: number; - const ENFILE: number; - const ENOBUFS: number; - const ENODATA: number; - const ENODEV: number; - const ENOENT: number; - const ENOEXEC: number; - const ENOLCK: number; - const ENOLINK: number; - const ENOMEM: number; - const ENOMSG: number; - const ENOPROTOOPT: number; - const ENOSPC: number; - const ENOSR: number; - const ENOSTR: number; - const ENOSYS: number; - const ENOTCONN: number; - const ENOTDIR: number; - const ENOTEMPTY: number; - const ENOTSOCK: number; - const ENOTSUP: number; - const ENOTTY: number; - const ENXIO: number; - const EOPNOTSUPP: number; - const EOVERFLOW: number; - const EPERM: number; - const EPIPE: number; - const EPROTO: number; - const EPROTONOSUPPORT: number; - const EPROTOTYPE: number; - const ERANGE: number; - const EROFS: number; - const ESPIPE: number; - const ESRCH: number; - const ESTALE: number; - const ETIME: number; - const ETIMEDOUT: number; - const ETXTBSY: number; - const EWOULDBLOCK: number; - const EXDEV: number; - const WSAEINTR: number; - const WSAEBADF: number; - const WSAEACCES: number; - const WSAEFAULT: number; - const WSAEINVAL: number; - const WSAEMFILE: number; - const WSAEWOULDBLOCK: number; - const WSAEINPROGRESS: number; - const WSAEALREADY: number; - const WSAENOTSOCK: number; - const WSAEDESTADDRREQ: number; - const WSAEMSGSIZE: number; - const WSAEPROTOTYPE: number; - const WSAENOPROTOOPT: number; - const WSAEPROTONOSUPPORT: number; - const WSAESOCKTNOSUPPORT: number; - const WSAEOPNOTSUPP: number; - const WSAEPFNOSUPPORT: number; - const WSAEAFNOSUPPORT: number; - const WSAEADDRINUSE: number; - const WSAEADDRNOTAVAIL: number; - const WSAENETDOWN: number; - const WSAENETUNREACH: number; - const WSAENETRESET: number; - const WSAECONNABORTED: number; - const WSAECONNRESET: number; - const WSAENOBUFS: number; - const WSAEISCONN: number; - const WSAENOTCONN: number; - const WSAESHUTDOWN: number; - const WSAETOOMANYREFS: number; - const WSAETIMEDOUT: number; - const WSAECONNREFUSED: number; - const WSAELOOP: number; - const WSAENAMETOOLONG: number; - const WSAEHOSTDOWN: number; - const WSAEHOSTUNREACH: number; - const WSAENOTEMPTY: number; - const WSAEPROCLIM: number; - const WSAEUSERS: number; - const WSAEDQUOT: number; - const WSAESTALE: number; - const WSAEREMOTE: number; - const WSASYSNOTREADY: number; - const WSAVERNOTSUPPORTED: number; - const WSANOTINITIALISED: number; - const WSAEDISCON: number; - const WSAENOMORE: number; - const WSAECANCELLED: number; - const WSAEINVALIDPROCTABLE: number; - const WSAEINVALIDPROVIDER: number; - const WSAEPROVIDERFAILEDINIT: number; - const WSASYSCALLFAILURE: number; - const WSASERVICE_NOT_FOUND: number; - const WSATYPE_NOT_FOUND: number; - const WSA_E_NO_MORE: number; - const WSA_E_CANCELLED: number; - const WSAEREFUSED: number; - } - namespace priority { - const PRIORITY_LOW: number; - const PRIORITY_BELOW_NORMAL: number; - const PRIORITY_NORMAL: number; - const PRIORITY_ABOVE_NORMAL: number; - const PRIORITY_HIGH: number; - const PRIORITY_HIGHEST: number; - } - } - - function arch(): string; - /** - * Returns a string identifying the kernel version. - * On POSIX systems, the operating system release is determined by calling - * [uname(3)][]. On Windows, `pRtlGetVersion` is used, and if it is not available, - * `GetVersionExW()` will be used. See - * https://en.wikipedia.org/wiki/Uname#Examples for more information. - */ - function version(): string; - function platform(): NodeJS.Platform; - function tmpdir(): string; - const EOL: string; - function endianness(): "BE" | "LE"; - /** - * Gets the priority of a process. - * Defaults to current process. - */ - function getPriority(pid?: number): number; - /** - * Sets the priority of the current process. - * @param priority Must be in range of -20 to 19 - */ - function setPriority(priority: number): void; - /** - * Sets the priority of the process specified process. - * @param priority Must be in range of -20 to 19 - */ - function setPriority(pid: number, priority: number): void; -} diff --git a/node_modules/@types/node/package.json b/node_modules/@types/node/package.json deleted file mode 100644 index 115e5209..00000000 --- a/node_modules/@types/node/package.json +++ /dev/null @@ -1,237 +0,0 @@ -{ - "_from": "@types/node@>=8.1.0", - "_id": "@types/node@14.14.10", - "_inBundle": false, - "_integrity": "sha512-J32dgx2hw8vXrSbu4ZlVhn1Nm3GbeCFNw2FWL8S5QKucHGY0cyNwjdQdO+KMBZ4wpmC7KhLCiNsdk1RFRIYUQQ==", - "_location": "/@types/node", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "@types/node@>=8.1.0", - "name": "@types/node", - "escapedName": "@types%2fnode", - "scope": "@types", - "rawSpec": ">=8.1.0", - "saveSpec": null, - "fetchSpec": ">=8.1.0" - }, - "_requiredBy": [ - "/stripe" - ], - "_resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.10.tgz", - "_shasum": "5958a82e41863cfc71f2307b3748e3491ba03785", - "_spec": "@types/node@>=8.1.0", - "_where": "/home/mitch/levitytech.github.io/node_modules/stripe", - "bugs": { - "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" - }, - "bundleDependencies": false, - "contributors": [ - { - "name": "Microsoft TypeScript", - "url": "https://github.com/Microsoft" - }, - { - "name": "DefinitelyTyped", - "url": "https://github.com/DefinitelyTyped" - }, - { - "name": "Alberto Schiabel", - "url": "https://github.com/jkomyno" - }, - { - "name": "Alexander T.", - "url": "https://github.com/a-tarasyuk" - }, - { - "name": "Alvis HT Tang", - "url": "https://github.com/alvis" - }, - { - "name": "Andrew Makarov", - "url": "https://github.com/r3nya" - }, - { - "name": "Benjamin Toueg", - "url": "https://github.com/btoueg" - }, - { - "name": "Bruno Scheufler", - "url": "https://github.com/brunoscheufler" - }, - { - "name": "Chigozirim C.", - "url": "https://github.com/smac89" - }, - { - "name": "David Junger", - "url": "https://github.com/touffy" - }, - { - "name": "Deividas Bakanas", - "url": "https://github.com/DeividasBakanas" - }, - { - "name": "Eugene Y. Q. Shen", - "url": "https://github.com/eyqs" - }, - { - "name": "Flarna", - "url": "https://github.com/Flarna" - }, - { - "name": "Hannes Magnusson", - "url": "https://github.com/Hannes-Magnusson-CK" - }, - { - "name": "Hoàng Văn Khải", - "url": "https://github.com/KSXGitHub" - }, - { - "name": "Huw", - "url": "https://github.com/hoo29" - }, - { - "name": "Kelvin Jin", - "url": "https://github.com/kjin" - }, - { - "name": "Klaus Meinhardt", - "url": "https://github.com/ajafff" - }, - { - "name": "Lishude", - "url": "https://github.com/islishude" - }, - { - "name": "Mariusz Wiktorczyk", - "url": "https://github.com/mwiktorczyk" - }, - { - "name": "Mohsen Azimi", - "url": "https://github.com/mohsen1" - }, - { - "name": "Nicolas Even", - "url": "https://github.com/n-e" - }, - { - "name": "Nikita Galkin", - "url": "https://github.com/galkin" - }, - { - "name": "Parambir Singh", - "url": "https://github.com/parambirs" - }, - { - "name": "Sebastian Silbermann", - "url": "https://github.com/eps1lon" - }, - { - "name": "Simon Schick", - "url": "https://github.com/SimonSchick" - }, - { - "name": "Thomas den Hollander", - "url": "https://github.com/ThomasdenH" - }, - { - "name": "Wilco Bakker", - "url": "https://github.com/WilcoBakker" - }, - { - "name": "wwwy3y3", - "url": "https://github.com/wwwy3y3" - }, - { - "name": "Samuel Ainsworth", - "url": "https://github.com/samuela" - }, - { - "name": "Kyle Uehlein", - "url": "https://github.com/kuehlein" - }, - { - "name": "Jordi Oliveras Rovira", - "url": "https://github.com/j-oliveras" - }, - { - "name": "Thanik Bhongbhibhat", - "url": "https://github.com/bhongy" - }, - { - "name": "Marcin Kopacz", - "url": "https://github.com/chyzwar" - }, - { - "name": "Trivikram Kamat", - "url": "https://github.com/trivikr" - }, - { - "name": "Minh Son Nguyen", - "url": "https://github.com/nguymin4" - }, - { - "name": "Junxiao Shi", - "url": "https://github.com/yoursunny" - }, - { - "name": "Ilia Baryshnikov", - "url": "https://github.com/qwelias" - }, - { - "name": "ExE Boss", - "url": "https://github.com/ExE-Boss" - }, - { - "name": "Surasak Chaisurin", - "url": "https://github.com/Ryan-Willpower" - }, - { - "name": "Piotr Błażejewicz", - "url": "https://github.com/peterblazejewicz" - }, - { - "name": "Anna Henningsen", - "url": "https://github.com/addaleax" - }, - { - "name": "Jason Kwok", - "url": "https://github.com/JasonHK" - }, - { - "name": "Victor Perin", - "url": "https://github.com/victorperin" - } - ], - "dependencies": {}, - "deprecated": false, - "description": "TypeScript definitions for Node.js", - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped#readme", - "license": "MIT", - "main": "", - "name": "@types/node", - "repository": { - "type": "git", - "url": "git+https://github.com/DefinitelyTyped/DefinitelyTyped.git", - "directory": "types/node" - }, - "scripts": {}, - "typeScriptVersion": "3.3", - "types": "index.d.ts", - "typesPublisherContentHash": "62f0f6cb4bd82f8d2c0ab046ed00f0e79c63f5e06cb3225e5749fd2b0bfe94ca", - "typesVersions": { - "<=3.4": { - "*": [ - "ts3.4/*" - ] - }, - "<=3.6": { - "*": [ - "ts3.6/*" - ] - } - }, - "version": "14.14.10" -} diff --git a/node_modules/@types/node/path.d.ts b/node_modules/@types/node/path.d.ts deleted file mode 100644 index 0273d58e..00000000 --- a/node_modules/@types/node/path.d.ts +++ /dev/null @@ -1,153 +0,0 @@ -declare module "path" { - namespace path { - /** - * A parsed path object generated by path.parse() or consumed by path.format(). - */ - interface ParsedPath { - /** - * The root of the path such as '/' or 'c:\' - */ - root: string; - /** - * The full directory path such as '/home/user/dir' or 'c:\path\dir' - */ - dir: string; - /** - * The file name including extension (if any) such as 'index.html' - */ - base: string; - /** - * The file extension (if any) such as '.html' - */ - ext: string; - /** - * The file name without extension (if any) such as 'index' - */ - name: string; - } - - interface FormatInputPathObject { - /** - * The root of the path such as '/' or 'c:\' - */ - root?: string; - /** - * The full directory path such as '/home/user/dir' or 'c:\path\dir' - */ - dir?: string; - /** - * The file name including extension (if any) such as 'index.html' - */ - base?: string; - /** - * The file extension (if any) such as '.html' - */ - ext?: string; - /** - * The file name without extension (if any) such as 'index' - */ - name?: string; - } - - interface PlatformPath { - /** - * Normalize a string path, reducing '..' and '.' parts. - * When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used. - * - * @param p string path to normalize. - */ - normalize(p: string): string; - /** - * Join all arguments together and normalize the resulting path. - * Arguments must be strings. In v0.8, non-string arguments were silently ignored. In v0.10 and up, an exception is thrown. - * - * @param paths paths to join. - */ - join(...paths: string[]): string; - /** - * The right-most parameter is considered {to}. Other parameters are considered an array of {from}. - * - * Starting from leftmost {from} parameter, resolves {to} to an absolute path. - * - * If {to} isn't already absolute, {from} arguments are prepended in right to left order, - * until an absolute path is found. If after using all {from} paths still no absolute path is found, - * the current working directory is used as well. The resulting path is normalized, - * and trailing slashes are removed unless the path gets resolved to the root directory. - * - * @param pathSegments string paths to join. Non-string arguments are ignored. - */ - resolve(...pathSegments: string[]): string; - /** - * Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory. - * - * @param path path to test. - */ - isAbsolute(p: string): boolean; - /** - * Solve the relative path from {from} to {to}. - * At times we have two absolute paths, and we need to derive the relative path from one to the other. This is actually the reverse transform of path.resolve. - */ - relative(from: string, to: string): string; - /** - * Return the directory name of a path. Similar to the Unix dirname command. - * - * @param p the path to evaluate. - */ - dirname(p: string): string; - /** - * Return the last portion of a path. Similar to the Unix basename command. - * Often used to extract the file name from a fully qualified path. - * - * @param p the path to evaluate. - * @param ext optionally, an extension to remove from the result. - */ - basename(p: string, ext?: string): string; - /** - * Return the extension of the path, from the last '.' to end of string in the last portion of the path. - * If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string - * - * @param p the path to evaluate. - */ - extname(p: string): string; - /** - * The platform-specific file separator. '\\' or '/'. - */ - readonly sep: string; - /** - * The platform-specific file delimiter. ';' or ':'. - */ - readonly delimiter: string; - /** - * Returns an object from a path string - the opposite of format(). - * - * @param pathString path to evaluate. - */ - parse(p: string): ParsedPath; - /** - * Returns a path string from an object - the opposite of parse(). - * - * @param pathString path to evaluate. - */ - format(pP: FormatInputPathObject): string; - /** - * On Windows systems only, returns an equivalent namespace-prefixed path for the given path. - * If path is not a string, path will be returned without modifications. - * This method is meaningful only on Windows system. - * On POSIX systems, the method is non-operational and always returns path without modifications. - */ - toNamespacedPath(path: string): string; - /** - * Posix specific pathing. - * Same as parent object on posix. - */ - readonly posix: PlatformPath; - /** - * Windows specific pathing. - * Same as parent object on windows - */ - readonly win32: PlatformPath; - } - } - const path: path.PlatformPath; - export = path; -} diff --git a/node_modules/@types/node/perf_hooks.d.ts b/node_modules/@types/node/perf_hooks.d.ts deleted file mode 100644 index bbea9387..00000000 --- a/node_modules/@types/node/perf_hooks.d.ts +++ /dev/null @@ -1,271 +0,0 @@ -declare module 'perf_hooks' { - import { AsyncResource } from 'async_hooks'; - - type EntryType = 'node' | 'mark' | 'measure' | 'gc' | 'function' | 'http2' | 'http'; - - interface PerformanceEntry { - /** - * The total number of milliseconds elapsed for this entry. - * This value will not be meaningful for all Performance Entry types. - */ - readonly duration: number; - - /** - * The name of the performance entry. - */ - readonly name: string; - - /** - * The high resolution millisecond timestamp marking the starting time of the Performance Entry. - */ - readonly startTime: number; - - /** - * The type of the performance entry. - * Currently it may be one of: 'node', 'mark', 'measure', 'gc', or 'function'. - */ - readonly entryType: EntryType; - - /** - * When `performanceEntry.entryType` is equal to 'gc', `the performance.kind` property identifies - * the type of garbage collection operation that occurred. - * See perf_hooks.constants for valid values. - */ - readonly kind?: number; - - /** - * When `performanceEntry.entryType` is equal to 'gc', the `performance.flags` - * property contains additional information about garbage collection operation. - * See perf_hooks.constants for valid values. - */ - readonly flags?: number; - } - - interface PerformanceNodeTiming extends PerformanceEntry { - /** - * The high resolution millisecond timestamp at which the Node.js process completed bootstrap. - */ - readonly bootstrapComplete: number; - - /** - * The high resolution millisecond timestamp at which the Node.js process completed bootstrapping. - * If bootstrapping has not yet finished, the property has the value of -1. - */ - readonly environment: number; - - /** - * The high resolution millisecond timestamp at which the Node.js environment was initialized. - */ - readonly idleTime: number; - - /** - * The high resolution millisecond timestamp of the amount of time the event loop has been idle - * within the event loop's event provider (e.g. `epoll_wait`). This does not take CPU usage - * into consideration. If the event loop has not yet started (e.g., in the first tick of the main script), - * the property has the value of 0. - */ - readonly loopExit: number; - - /** - * The high resolution millisecond timestamp at which the Node.js event loop started. - * If the event loop has not yet started (e.g., in the first tick of the main script), the property has the value of -1. - */ - readonly loopStart: number; - - /** - * The high resolution millisecond timestamp at which the V8 platform was initialized. - */ - readonly v8Start: number; - } - - interface EventLoopUtilization { - idle: number; - active: number; - utilization: number; - } - - interface Performance { - /** - * If name is not provided, removes all PerformanceMark objects from the Performance Timeline. - * If name is provided, removes only the named mark. - * @param name - */ - clearMarks(name?: string): void; - - /** - * Creates a new PerformanceMark entry in the Performance Timeline. - * A PerformanceMark is a subclass of PerformanceEntry whose performanceEntry.entryType is always 'mark', - * and whose performanceEntry.duration is always 0. - * Performance marks are used to mark specific significant moments in the Performance Timeline. - * @param name - */ - mark(name?: string): void; - - /** - * Creates a new PerformanceMeasure entry in the Performance Timeline. - * A PerformanceMeasure is a subclass of PerformanceEntry whose performanceEntry.entryType is always 'measure', - * and whose performanceEntry.duration measures the number of milliseconds elapsed since startMark and endMark. - * - * The startMark argument may identify any existing PerformanceMark in the the Performance Timeline, or may identify - * any of the timestamp properties provided by the PerformanceNodeTiming class. If the named startMark does not exist, - * then startMark is set to timeOrigin by default. - * - * The endMark argument must identify any existing PerformanceMark in the the Performance Timeline or any of the timestamp - * properties provided by the PerformanceNodeTiming class. If the named endMark does not exist, an error will be thrown. - * @param name - * @param startMark - * @param endMark - */ - measure(name: string, startMark: string, endMark: string): void; - - /** - * An instance of the PerformanceNodeTiming class that provides performance metrics for specific Node.js operational milestones. - */ - readonly nodeTiming: PerformanceNodeTiming; - - /** - * @return the current high resolution millisecond timestamp - */ - now(): number; - - /** - * The timeOrigin specifies the high resolution millisecond timestamp from which all performance metric durations are measured. - */ - readonly timeOrigin: number; - - /** - * Wraps a function within a new function that measures the running time of the wrapped function. - * A PerformanceObserver must be subscribed to the 'function' event type in order for the timing details to be accessed. - * @param fn - */ - timerify any>(fn: T): T; - - /** - * eventLoopUtilization is similar to CPU utilization except that it is calculated using high precision wall-clock time. - * It represents the percentage of time the event loop has spent outside the event loop's event provider (e.g. epoll_wait). - * No other CPU idle time is taken into consideration. - * - * @param util1 The result of a previous call to eventLoopUtilization() - * @param util2 The result of a previous call to eventLoopUtilization() prior to util1 - */ - eventLoopUtilization(util1?: EventLoopUtilization, util2?: EventLoopUtilization): EventLoopUtilization; - } - - interface PerformanceObserverEntryList { - /** - * @return a list of PerformanceEntry objects in chronological order with respect to performanceEntry.startTime. - */ - getEntries(): PerformanceEntry[]; - - /** - * @return a list of PerformanceEntry objects in chronological order with respect to performanceEntry.startTime - * whose performanceEntry.name is equal to name, and optionally, whose performanceEntry.entryType is equal to type. - */ - getEntriesByName(name: string, type?: EntryType): PerformanceEntry[]; - - /** - * @return Returns a list of PerformanceEntry objects in chronological order with respect to performanceEntry.startTime - * whose performanceEntry.entryType is equal to type. - */ - getEntriesByType(type: EntryType): PerformanceEntry[]; - } - - type PerformanceObserverCallback = (list: PerformanceObserverEntryList, observer: PerformanceObserver) => void; - - class PerformanceObserver extends AsyncResource { - constructor(callback: PerformanceObserverCallback); - - /** - * Disconnects the PerformanceObserver instance from all notifications. - */ - disconnect(): void; - - /** - * Subscribes the PerformanceObserver instance to notifications of new PerformanceEntry instances identified by options.entryTypes. - * When options.buffered is false, the callback will be invoked once for every PerformanceEntry instance. - * Property buffered defaults to false. - * @param options - */ - observe(options: { entryTypes: ReadonlyArray; buffered?: boolean }): void; - } - - namespace constants { - const NODE_PERFORMANCE_GC_MAJOR: number; - const NODE_PERFORMANCE_GC_MINOR: number; - const NODE_PERFORMANCE_GC_INCREMENTAL: number; - const NODE_PERFORMANCE_GC_WEAKCB: number; - - const NODE_PERFORMANCE_GC_FLAGS_NO: number; - const NODE_PERFORMANCE_GC_FLAGS_CONSTRUCT_RETAINED: number; - const NODE_PERFORMANCE_GC_FLAGS_FORCED: number; - const NODE_PERFORMANCE_GC_FLAGS_SYNCHRONOUS_PHANTOM_PROCESSING: number; - const NODE_PERFORMANCE_GC_FLAGS_ALL_AVAILABLE_GARBAGE: number; - const NODE_PERFORMANCE_GC_FLAGS_ALL_EXTERNAL_MEMORY: number; - const NODE_PERFORMANCE_GC_FLAGS_SCHEDULE_IDLE: number; - } - - const performance: Performance; - - interface EventLoopMonitorOptions { - /** - * The sampling rate in milliseconds. - * Must be greater than zero. - * @default 10 - */ - resolution?: number; - } - - interface EventLoopDelayMonitor { - /** - * Enables the event loop delay sample timer. Returns `true` if the timer was started, `false` if it was already started. - */ - enable(): boolean; - /** - * Disables the event loop delay sample timer. Returns `true` if the timer was stopped, `false` if it was already stopped. - */ - disable(): boolean; - - /** - * Resets the collected histogram data. - */ - reset(): void; - - /** - * Returns the value at the given percentile. - * @param percentile A percentile value between 1 and 100. - */ - percentile(percentile: number): number; - - /** - * A `Map` object detailing the accumulated percentile distribution. - */ - readonly percentiles: Map; - - /** - * The number of times the event loop delay exceeded the maximum 1 hour eventloop delay threshold. - */ - readonly exceeds: number; - - /** - * The minimum recorded event loop delay. - */ - readonly min: number; - - /** - * The maximum recorded event loop delay. - */ - readonly max: number; - - /** - * The mean of the recorded event loop delays. - */ - readonly mean: number; - - /** - * The standard deviation of the recorded event loop delays. - */ - readonly stddev: number; - } - - function monitorEventLoopDelay(options?: EventLoopMonitorOptions): EventLoopDelayMonitor; -} diff --git a/node_modules/@types/node/process.d.ts b/node_modules/@types/node/process.d.ts deleted file mode 100644 index 65fe5cac..00000000 --- a/node_modules/@types/node/process.d.ts +++ /dev/null @@ -1,408 +0,0 @@ -declare module "process" { - import * as tty from "tty"; - - global { - var process: NodeJS.Process; - - namespace NodeJS { - // this namespace merge is here because these are specifically used - // as the type for process.stdin, process.stdout, and process.stderr. - // they can't live in tty.d.ts because we need to disambiguate the imported name. - interface ReadStream extends tty.ReadStream {} - interface WriteStream extends tty.WriteStream {} - - interface MemoryUsage { - rss: number; - heapTotal: number; - heapUsed: number; - external: number; - arrayBuffers: number; - } - - interface CpuUsage { - user: number; - system: number; - } - - interface ProcessRelease { - name: string; - sourceUrl?: string; - headersUrl?: string; - libUrl?: string; - lts?: string; - } - - interface ProcessVersions extends Dict { - http_parser: string; - node: string; - v8: string; - ares: string; - uv: string; - zlib: string; - modules: string; - openssl: string; - } - - type Platform = 'aix' - | 'android' - | 'darwin' - | 'freebsd' - | 'linux' - | 'openbsd' - | 'sunos' - | 'win32' - | 'cygwin' - | 'netbsd'; - - type Signals = - "SIGABRT" | "SIGALRM" | "SIGBUS" | "SIGCHLD" | "SIGCONT" | "SIGFPE" | "SIGHUP" | "SIGILL" | "SIGINT" | "SIGIO" | - "SIGIOT" | "SIGKILL" | "SIGPIPE" | "SIGPOLL" | "SIGPROF" | "SIGPWR" | "SIGQUIT" | "SIGSEGV" | "SIGSTKFLT" | - "SIGSTOP" | "SIGSYS" | "SIGTERM" | "SIGTRAP" | "SIGTSTP" | "SIGTTIN" | "SIGTTOU" | "SIGUNUSED" | "SIGURG" | - "SIGUSR1" | "SIGUSR2" | "SIGVTALRM" | "SIGWINCH" | "SIGXCPU" | "SIGXFSZ" | "SIGBREAK" | "SIGLOST" | "SIGINFO"; - - type MultipleResolveType = 'resolve' | 'reject'; - - type BeforeExitListener = (code: number) => void; - type DisconnectListener = () => void; - type ExitListener = (code: number) => void; - type RejectionHandledListener = (promise: Promise) => void; - type UncaughtExceptionListener = (error: Error) => void; - type UnhandledRejectionListener = (reason: {} | null | undefined, promise: Promise) => void; - type WarningListener = (warning: Error) => void; - type MessageListener = (message: any, sendHandle: any) => void; - type SignalsListener = (signal: Signals) => void; - type NewListenerListener = (type: string | symbol, listener: (...args: any[]) => void) => void; - type RemoveListenerListener = (type: string | symbol, listener: (...args: any[]) => void) => void; - type MultipleResolveListener = (type: MultipleResolveType, promise: Promise, value: any) => void; - - interface Socket extends ReadWriteStream { - isTTY?: true; - } - - // Alias for compatibility - interface ProcessEnv extends Dict {} - - interface HRTime { - (time?: [number, number]): [number, number]; - bigint(): bigint; - } - - interface ProcessReport { - /** - * Directory where the report is written. - * working directory of the Node.js process. - * @default '' indicating that reports are written to the current - */ - directory: string; - - /** - * Filename where the report is written. - * The default value is the empty string. - * @default '' the output filename will be comprised of a timestamp, - * PID, and sequence number. - */ - filename: string; - - /** - * Returns a JSON-formatted diagnostic report for the running process. - * The report's JavaScript stack trace is taken from err, if present. - */ - getReport(err?: Error): string; - - /** - * If true, a diagnostic report is generated on fatal errors, - * such as out of memory errors or failed C++ assertions. - * @default false - */ - reportOnFatalError: boolean; - - /** - * If true, a diagnostic report is generated when the process - * receives the signal specified by process.report.signal. - * @defaul false - */ - reportOnSignal: boolean; - - /** - * If true, a diagnostic report is generated on uncaught exception. - * @default false - */ - reportOnUncaughtException: boolean; - - /** - * The signal used to trigger the creation of a diagnostic report. - * @default 'SIGUSR2' - */ - signal: Signals; - - /** - * Writes a diagnostic report to a file. If filename is not provided, the default filename - * includes the date, time, PID, and a sequence number. - * The report's JavaScript stack trace is taken from err, if present. - * - * @param fileName Name of the file where the report is written. - * This should be a relative path, that will be appended to the directory specified in - * `process.report.directory`, or the current working directory of the Node.js process, - * if unspecified. - * @param error A custom error used for reporting the JavaScript stack. - * @return Filename of the generated report. - */ - writeReport(fileName?: string): string; - writeReport(error?: Error): string; - writeReport(fileName?: string, err?: Error): string; - } - - interface ResourceUsage { - fsRead: number; - fsWrite: number; - involuntaryContextSwitches: number; - ipcReceived: number; - ipcSent: number; - majorPageFault: number; - maxRSS: number; - minorPageFault: number; - sharedMemorySize: number; - signalsCount: number; - swappedOut: number; - systemCPUTime: number; - unsharedDataSize: number; - unsharedStackSize: number; - userCPUTime: number; - voluntaryContextSwitches: number; - } - - interface Process extends EventEmitter { - /** - * Can also be a tty.WriteStream, not typed due to limitations. - */ - stdout: WriteStream & { - fd: 1; - }; - /** - * Can also be a tty.WriteStream, not typed due to limitations. - */ - stderr: WriteStream & { - fd: 2; - }; - stdin: ReadStream & { - fd: 0; - }; - openStdin(): Socket; - argv: string[]; - argv0: string; - execArgv: string[]; - execPath: string; - abort(): never; - chdir(directory: string): void; - cwd(): string; - debugPort: number; - emitWarning(warning: string | Error, name?: string, ctor?: Function): void; - env: ProcessEnv; - exit(code?: number): never; - exitCode?: number; - getgid(): number; - setgid(id: number | string): void; - getuid(): number; - setuid(id: number | string): void; - geteuid(): number; - seteuid(id: number | string): void; - getegid(): number; - setegid(id: number | string): void; - getgroups(): number[]; - setgroups(groups: ReadonlyArray): void; - setUncaughtExceptionCaptureCallback(cb: ((err: Error) => void) | null): void; - hasUncaughtExceptionCaptureCallback(): boolean; - version: string; - versions: ProcessVersions; - config: { - target_defaults: { - cflags: any[]; - default_configuration: string; - defines: string[]; - include_dirs: string[]; - libraries: string[]; - }; - variables: { - clang: number; - host_arch: string; - node_install_npm: boolean; - node_install_waf: boolean; - node_prefix: string; - node_shared_openssl: boolean; - node_shared_v8: boolean; - node_shared_zlib: boolean; - node_use_dtrace: boolean; - node_use_etw: boolean; - node_use_openssl: boolean; - target_arch: string; - v8_no_strict_aliasing: number; - v8_use_snapshot: boolean; - visibility: string; - }; - }; - kill(pid: number, signal?: string | number): true; - pid: number; - ppid: number; - title: string; - arch: string; - platform: Platform; - /** @deprecated since v14.0.0 - use `require.main` instead. */ - mainModule?: Module; - memoryUsage(): MemoryUsage; - cpuUsage(previousValue?: CpuUsage): CpuUsage; - nextTick(callback: Function, ...args: any[]): void; - release: ProcessRelease; - features: { - inspector: boolean; - debug: boolean; - uv: boolean; - ipv6: boolean; - tls_alpn: boolean; - tls_sni: boolean; - tls_ocsp: boolean; - tls: boolean; - }; - /** - * @deprecated since v14.0.0 - Calling process.umask() with no argument causes - * the process-wide umask to be written twice. This introduces a race condition between threads, - * and is a potential security vulnerability. There is no safe, cross-platform alternative API. - */ - umask(): number; - /** - * Can only be set if not in worker thread. - */ - umask(mask: string | number): number; - uptime(): number; - hrtime: HRTime; - domain: Domain; - - // Worker - send?(message: any, sendHandle?: any, options?: { swallowErrors?: boolean}, callback?: (error: Error | null) => void): boolean; - disconnect(): void; - connected: boolean; - - /** - * The `process.allowedNodeEnvironmentFlags` property is a special, - * read-only `Set` of flags allowable within the [`NODE_OPTIONS`][] - * environment variable. - */ - allowedNodeEnvironmentFlags: ReadonlySet; - - /** - * Only available with `--experimental-report` - */ - report?: ProcessReport; - - resourceUsage(): ResourceUsage; - - traceDeprecation: boolean; - - /* EventEmitter */ - addListener(event: "beforeExit", listener: BeforeExitListener): this; - addListener(event: "disconnect", listener: DisconnectListener): this; - addListener(event: "exit", listener: ExitListener): this; - addListener(event: "rejectionHandled", listener: RejectionHandledListener): this; - addListener(event: "uncaughtException", listener: UncaughtExceptionListener): this; - addListener(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; - addListener(event: "unhandledRejection", listener: UnhandledRejectionListener): this; - addListener(event: "warning", listener: WarningListener): this; - addListener(event: "message", listener: MessageListener): this; - addListener(event: Signals, listener: SignalsListener): this; - addListener(event: "newListener", listener: NewListenerListener): this; - addListener(event: "removeListener", listener: RemoveListenerListener): this; - addListener(event: "multipleResolves", listener: MultipleResolveListener): this; - - emit(event: "beforeExit", code: number): boolean; - emit(event: "disconnect"): boolean; - emit(event: "exit", code: number): boolean; - emit(event: "rejectionHandled", promise: Promise): boolean; - emit(event: "uncaughtException", error: Error): boolean; - emit(event: "uncaughtExceptionMonitor", error: Error): boolean; - emit(event: "unhandledRejection", reason: any, promise: Promise): boolean; - emit(event: "warning", warning: Error): boolean; - emit(event: "message", message: any, sendHandle: any): this; - emit(event: Signals, signal: Signals): boolean; - emit(event: "newListener", eventName: string | symbol, listener: (...args: any[]) => void): this; - emit(event: "removeListener", eventName: string, listener: (...args: any[]) => void): this; - emit(event: "multipleResolves", listener: MultipleResolveListener): this; - - on(event: "beforeExit", listener: BeforeExitListener): this; - on(event: "disconnect", listener: DisconnectListener): this; - on(event: "exit", listener: ExitListener): this; - on(event: "rejectionHandled", listener: RejectionHandledListener): this; - on(event: "uncaughtException", listener: UncaughtExceptionListener): this; - on(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; - on(event: "unhandledRejection", listener: UnhandledRejectionListener): this; - on(event: "warning", listener: WarningListener): this; - on(event: "message", listener: MessageListener): this; - on(event: Signals, listener: SignalsListener): this; - on(event: "newListener", listener: NewListenerListener): this; - on(event: "removeListener", listener: RemoveListenerListener): this; - on(event: "multipleResolves", listener: MultipleResolveListener): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "beforeExit", listener: BeforeExitListener): this; - once(event: "disconnect", listener: DisconnectListener): this; - once(event: "exit", listener: ExitListener): this; - once(event: "rejectionHandled", listener: RejectionHandledListener): this; - once(event: "uncaughtException", listener: UncaughtExceptionListener): this; - once(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; - once(event: "unhandledRejection", listener: UnhandledRejectionListener): this; - once(event: "warning", listener: WarningListener): this; - once(event: "message", listener: MessageListener): this; - once(event: Signals, listener: SignalsListener): this; - once(event: "newListener", listener: NewListenerListener): this; - once(event: "removeListener", listener: RemoveListenerListener): this; - once(event: "multipleResolves", listener: MultipleResolveListener): this; - - prependListener(event: "beforeExit", listener: BeforeExitListener): this; - prependListener(event: "disconnect", listener: DisconnectListener): this; - prependListener(event: "exit", listener: ExitListener): this; - prependListener(event: "rejectionHandled", listener: RejectionHandledListener): this; - prependListener(event: "uncaughtException", listener: UncaughtExceptionListener): this; - prependListener(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; - prependListener(event: "unhandledRejection", listener: UnhandledRejectionListener): this; - prependListener(event: "warning", listener: WarningListener): this; - prependListener(event: "message", listener: MessageListener): this; - prependListener(event: Signals, listener: SignalsListener): this; - prependListener(event: "newListener", listener: NewListenerListener): this; - prependListener(event: "removeListener", listener: RemoveListenerListener): this; - prependListener(event: "multipleResolves", listener: MultipleResolveListener): this; - - prependOnceListener(event: "beforeExit", listener: BeforeExitListener): this; - prependOnceListener(event: "disconnect", listener: DisconnectListener): this; - prependOnceListener(event: "exit", listener: ExitListener): this; - prependOnceListener(event: "rejectionHandled", listener: RejectionHandledListener): this; - prependOnceListener(event: "uncaughtException", listener: UncaughtExceptionListener): this; - prependOnceListener(event: "uncaughtExceptionMonitor", listener: UncaughtExceptionListener): this; - prependOnceListener(event: "unhandledRejection", listener: UnhandledRejectionListener): this; - prependOnceListener(event: "warning", listener: WarningListener): this; - prependOnceListener(event: "message", listener: MessageListener): this; - prependOnceListener(event: Signals, listener: SignalsListener): this; - prependOnceListener(event: "newListener", listener: NewListenerListener): this; - prependOnceListener(event: "removeListener", listener: RemoveListenerListener): this; - prependOnceListener(event: "multipleResolves", listener: MultipleResolveListener): this; - - listeners(event: "beforeExit"): BeforeExitListener[]; - listeners(event: "disconnect"): DisconnectListener[]; - listeners(event: "exit"): ExitListener[]; - listeners(event: "rejectionHandled"): RejectionHandledListener[]; - listeners(event: "uncaughtException"): UncaughtExceptionListener[]; - listeners(event: "uncaughtExceptionMonitor"): UncaughtExceptionListener[]; - listeners(event: "unhandledRejection"): UnhandledRejectionListener[]; - listeners(event: "warning"): WarningListener[]; - listeners(event: "message"): MessageListener[]; - listeners(event: Signals): SignalsListener[]; - listeners(event: "newListener"): NewListenerListener[]; - listeners(event: "removeListener"): RemoveListenerListener[]; - listeners(event: "multipleResolves"): MultipleResolveListener[]; - } - - interface Global { - process: Process; - } - } - } - - export = process; -} diff --git a/node_modules/@types/node/punycode.d.ts b/node_modules/@types/node/punycode.d.ts deleted file mode 100644 index 2b771d45..00000000 --- a/node_modules/@types/node/punycode.d.ts +++ /dev/null @@ -1,68 +0,0 @@ -declare module "punycode" { - /** - * @deprecated since v7.0.0 - * The version of the punycode module bundled in Node.js is being deprecated. - * In a future major version of Node.js this module will be removed. - * Users currently depending on the punycode module should switch to using - * the userland-provided Punycode.js module instead. - */ - function decode(string: string): string; - /** - * @deprecated since v7.0.0 - * The version of the punycode module bundled in Node.js is being deprecated. - * In a future major version of Node.js this module will be removed. - * Users currently depending on the punycode module should switch to using - * the userland-provided Punycode.js module instead. - */ - function encode(string: string): string; - /** - * @deprecated since v7.0.0 - * The version of the punycode module bundled in Node.js is being deprecated. - * In a future major version of Node.js this module will be removed. - * Users currently depending on the punycode module should switch to using - * the userland-provided Punycode.js module instead. - */ - function toUnicode(domain: string): string; - /** - * @deprecated since v7.0.0 - * The version of the punycode module bundled in Node.js is being deprecated. - * In a future major version of Node.js this module will be removed. - * Users currently depending on the punycode module should switch to using - * the userland-provided Punycode.js module instead. - */ - function toASCII(domain: string): string; - /** - * @deprecated since v7.0.0 - * The version of the punycode module bundled in Node.js is being deprecated. - * In a future major version of Node.js this module will be removed. - * Users currently depending on the punycode module should switch to using - * the userland-provided Punycode.js module instead. - */ - const ucs2: ucs2; - interface ucs2 { - /** - * @deprecated since v7.0.0 - * The version of the punycode module bundled in Node.js is being deprecated. - * In a future major version of Node.js this module will be removed. - * Users currently depending on the punycode module should switch to using - * the userland-provided Punycode.js module instead. - */ - decode(string: string): number[]; - /** - * @deprecated since v7.0.0 - * The version of the punycode module bundled in Node.js is being deprecated. - * In a future major version of Node.js this module will be removed. - * Users currently depending on the punycode module should switch to using - * the userland-provided Punycode.js module instead. - */ - encode(codePoints: ReadonlyArray): string; - } - /** - * @deprecated since v7.0.0 - * The version of the punycode module bundled in Node.js is being deprecated. - * In a future major version of Node.js this module will be removed. - * Users currently depending on the punycode module should switch to using - * the userland-provided Punycode.js module instead. - */ - const version: string; -} diff --git a/node_modules/@types/node/querystring.d.ts b/node_modules/@types/node/querystring.d.ts deleted file mode 100644 index 3e204e7f..00000000 --- a/node_modules/@types/node/querystring.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare module "querystring" { - interface StringifyOptions { - encodeURIComponent?: (str: string) => string; - } - - interface ParseOptions { - maxKeys?: number; - decodeURIComponent?: (str: string) => string; - } - - interface ParsedUrlQuery extends NodeJS.Dict { } - - interface ParsedUrlQueryInput extends NodeJS.Dict | ReadonlyArray | ReadonlyArray | null> { - } - - function stringify(obj?: ParsedUrlQueryInput, sep?: string, eq?: string, options?: StringifyOptions): string; - function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): ParsedUrlQuery; - /** - * The querystring.encode() function is an alias for querystring.stringify(). - */ - const encode: typeof stringify; - /** - * The querystring.decode() function is an alias for querystring.parse(). - */ - const decode: typeof parse; - function escape(str: string): string; - function unescape(str: string): string; -} diff --git a/node_modules/@types/node/readline.d.ts b/node_modules/@types/node/readline.d.ts deleted file mode 100644 index fbe4836f..00000000 --- a/node_modules/@types/node/readline.d.ts +++ /dev/null @@ -1,171 +0,0 @@ -declare module "readline" { - import * as events from "events"; - import * as stream from "stream"; - - interface Key { - sequence?: string; - name?: string; - ctrl?: boolean; - meta?: boolean; - shift?: boolean; - } - - class Interface extends events.EventEmitter { - readonly terminal: boolean; - - // Need direct access to line/cursor data, for use in external processes - // see: https://github.com/nodejs/node/issues/30347 - /** The current input data */ - readonly line: string; - /** The current cursor position in the input line */ - readonly cursor: number; - - /** - * NOTE: According to the documentation: - * - * > Instances of the `readline.Interface` class are constructed using the - * > `readline.createInterface()` method. - * - * @see https://nodejs.org/dist/latest-v10.x/docs/api/readline.html#readline_class_interface - */ - protected constructor(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer | AsyncCompleter, terminal?: boolean); - /** - * NOTE: According to the documentation: - * - * > Instances of the `readline.Interface` class are constructed using the - * > `readline.createInterface()` method. - * - * @see https://nodejs.org/dist/latest-v10.x/docs/api/readline.html#readline_class_interface - */ - protected constructor(options: ReadLineOptions); - - setPrompt(prompt: string): void; - prompt(preserveCursor?: boolean): void; - question(query: string, callback: (answer: string) => void): void; - pause(): this; - resume(): this; - close(): void; - write(data: string | Buffer, key?: Key): void; - - /** - * Returns the real position of the cursor in relation to the input - * prompt + string. Long input (wrapping) strings, as well as multiple - * line prompts are included in the calculations. - */ - getCursorPos(): CursorPos; - - /** - * events.EventEmitter - * 1. close - * 2. line - * 3. pause - * 4. resume - * 5. SIGCONT - * 6. SIGINT - * 7. SIGTSTP - */ - - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "line", listener: (input: string) => void): this; - addListener(event: "pause", listener: () => void): this; - addListener(event: "resume", listener: () => void): this; - addListener(event: "SIGCONT", listener: () => void): this; - addListener(event: "SIGINT", listener: () => void): this; - addListener(event: "SIGTSTP", listener: () => void): this; - - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "close"): boolean; - emit(event: "line", input: string): boolean; - emit(event: "pause"): boolean; - emit(event: "resume"): boolean; - emit(event: "SIGCONT"): boolean; - emit(event: "SIGINT"): boolean; - emit(event: "SIGTSTP"): boolean; - - on(event: string, listener: (...args: any[]) => void): this; - on(event: "close", listener: () => void): this; - on(event: "line", listener: (input: string) => void): this; - on(event: "pause", listener: () => void): this; - on(event: "resume", listener: () => void): this; - on(event: "SIGCONT", listener: () => void): this; - on(event: "SIGINT", listener: () => void): this; - on(event: "SIGTSTP", listener: () => void): this; - - once(event: string, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "line", listener: (input: string) => void): this; - once(event: "pause", listener: () => void): this; - once(event: "resume", listener: () => void): this; - once(event: "SIGCONT", listener: () => void): this; - once(event: "SIGINT", listener: () => void): this; - once(event: "SIGTSTP", listener: () => void): this; - - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "line", listener: (input: string) => void): this; - prependListener(event: "pause", listener: () => void): this; - prependListener(event: "resume", listener: () => void): this; - prependListener(event: "SIGCONT", listener: () => void): this; - prependListener(event: "SIGINT", listener: () => void): this; - prependListener(event: "SIGTSTP", listener: () => void): this; - - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "line", listener: (input: string) => void): this; - prependOnceListener(event: "pause", listener: () => void): this; - prependOnceListener(event: "resume", listener: () => void): this; - prependOnceListener(event: "SIGCONT", listener: () => void): this; - prependOnceListener(event: "SIGINT", listener: () => void): this; - prependOnceListener(event: "SIGTSTP", listener: () => void): this; - [Symbol.asyncIterator](): AsyncIterableIterator; - } - - type ReadLine = Interface; // type forwarded for backwards compatiblity - - type Completer = (line: string) => CompleterResult; - type AsyncCompleter = (line: string, callback: (err?: null | Error, result?: CompleterResult) => void) => any; - - type CompleterResult = [string[], string]; - - interface ReadLineOptions { - input: NodeJS.ReadableStream; - output?: NodeJS.WritableStream; - completer?: Completer | AsyncCompleter; - terminal?: boolean; - historySize?: number; - prompt?: string; - crlfDelay?: number; - removeHistoryDuplicates?: boolean; - escapeCodeTimeout?: number; - tabSize?: number; - } - - function createInterface(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer | AsyncCompleter, terminal?: boolean): Interface; - function createInterface(options: ReadLineOptions): Interface; - function emitKeypressEvents(stream: NodeJS.ReadableStream, readlineInterface?: Interface): void; - - type Direction = -1 | 0 | 1; - - interface CursorPos { - rows: number; - cols: number; - } - - /** - * Clears the current line of this WriteStream in a direction identified by `dir`. - */ - function clearLine(stream: NodeJS.WritableStream, dir: Direction, callback?: () => void): boolean; - /** - * Clears this `WriteStream` from the current cursor down. - */ - function clearScreenDown(stream: NodeJS.WritableStream, callback?: () => void): boolean; - /** - * Moves this WriteStream's cursor to the specified position. - */ - function cursorTo(stream: NodeJS.WritableStream, x: number, y?: number, callback?: () => void): boolean; - /** - * Moves this WriteStream's cursor relative to its current position. - */ - function moveCursor(stream: NodeJS.WritableStream, dx: number, dy: number, callback?: () => void): boolean; -} diff --git a/node_modules/@types/node/repl.d.ts b/node_modules/@types/node/repl.d.ts deleted file mode 100644 index 4985b526..00000000 --- a/node_modules/@types/node/repl.d.ts +++ /dev/null @@ -1,395 +0,0 @@ -declare module "repl" { - import { Interface, Completer, AsyncCompleter } from "readline"; - import { Context } from "vm"; - import { InspectOptions } from "util"; - - interface ReplOptions { - /** - * The input prompt to display. - * Default: `"> "` - */ - prompt?: string; - /** - * The `Readable` stream from which REPL input will be read. - * Default: `process.stdin` - */ - input?: NodeJS.ReadableStream; - /** - * The `Writable` stream to which REPL output will be written. - * Default: `process.stdout` - */ - output?: NodeJS.WritableStream; - /** - * If `true`, specifies that the output should be treated as a TTY terminal, and have - * ANSI/VT100 escape codes written to it. - * Default: checking the value of the `isTTY` property on the output stream upon - * instantiation. - */ - terminal?: boolean; - /** - * The function to be used when evaluating each given line of input. - * Default: an async wrapper for the JavaScript `eval()` function. An `eval` function can - * error with `repl.Recoverable` to indicate the input was incomplete and prompt for - * additional lines. - * - * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_default_evaluation - * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_custom_evaluation_functions - */ - eval?: REPLEval; - /** - * Defines if the repl prints output previews or not. - * @default `true` Always `false` in case `terminal` is falsy. - */ - preview?: boolean; - /** - * If `true`, specifies that the default `writer` function should include ANSI color - * styling to REPL output. If a custom `writer` function is provided then this has no - * effect. - * Default: the REPL instance's `terminal` value. - */ - useColors?: boolean; - /** - * If `true`, specifies that the default evaluation function will use the JavaScript - * `global` as the context as opposed to creating a new separate context for the REPL - * instance. The node CLI REPL sets this value to `true`. - * Default: `false`. - */ - useGlobal?: boolean; - /** - * If `true`, specifies that the default writer will not output the return value of a - * command if it evaluates to `undefined`. - * Default: `false`. - */ - ignoreUndefined?: boolean; - /** - * The function to invoke to format the output of each command before writing to `output`. - * Default: a wrapper for `util.inspect`. - * - * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_customizing_repl_output - */ - writer?: REPLWriter; - /** - * An optional function used for custom Tab auto completion. - * - * @see https://nodejs.org/dist/latest-v11.x/docs/api/readline.html#readline_use_of_the_completer_function - */ - completer?: Completer | AsyncCompleter; - /** - * A flag that specifies whether the default evaluator executes all JavaScript commands in - * strict mode or default (sloppy) mode. - * Accepted values are: - * - `repl.REPL_MODE_SLOPPY` - evaluates expressions in sloppy mode. - * - `repl.REPL_MODE_STRICT` - evaluates expressions in strict mode. This is equivalent to - * prefacing every repl statement with `'use strict'`. - */ - replMode?: typeof REPL_MODE_SLOPPY | typeof REPL_MODE_STRICT; - /** - * Stop evaluating the current piece of code when `SIGINT` is received, i.e. `Ctrl+C` is - * pressed. This cannot be used together with a custom `eval` function. - * Default: `false`. - */ - breakEvalOnSigint?: boolean; - } - - type REPLEval = (this: REPLServer, evalCmd: string, context: Context, file: string, cb: (err: Error | null, result: any) => void) => void; - type REPLWriter = (this: REPLServer, obj: any) => string; - - /** - * This is the default "writer" value, if none is passed in the REPL options, - * and it can be overridden by custom print functions. - */ - const writer: REPLWriter & { options: InspectOptions }; - - type REPLCommandAction = (this: REPLServer, text: string) => void; - - interface REPLCommand { - /** - * Help text to be displayed when `.help` is entered. - */ - help?: string; - /** - * The function to execute, optionally accepting a single string argument. - */ - action: REPLCommandAction; - } - - /** - * Provides a customizable Read-Eval-Print-Loop (REPL). - * - * Instances of `repl.REPLServer` will accept individual lines of user input, evaluate those - * according to a user-defined evaluation function, then output the result. Input and output - * may be from `stdin` and `stdout`, respectively, or may be connected to any Node.js `stream`. - * - * Instances of `repl.REPLServer` support automatic completion of inputs, simplistic Emacs-style - * line editing, multi-line inputs, ANSI-styled output, saving and restoring current REPL session - * state, error recovery, and customizable evaluation functions. - * - * Instances of `repl.REPLServer` are created using the `repl.start()` method and _should not_ - * be created directly using the JavaScript `new` keyword. - * - * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_repl - */ - class REPLServer extends Interface { - /** - * The `vm.Context` provided to the `eval` function to be used for JavaScript - * evaluation. - */ - readonly context: Context; - /** - * @deprecated since v14.3.0 - Use `input` instead. - */ - readonly inputStream: NodeJS.ReadableStream; - /** - * @deprecated since v14.3.0 - Use `output` instead. - */ - readonly outputStream: NodeJS.WritableStream; - /** - * The `Readable` stream from which REPL input will be read. - */ - readonly input: NodeJS.ReadableStream; - /** - * The `Writable` stream to which REPL output will be written. - */ - readonly output: NodeJS.WritableStream; - /** - * The commands registered via `replServer.defineCommand()`. - */ - readonly commands: NodeJS.ReadOnlyDict; - /** - * A value indicating whether the REPL is currently in "editor mode". - * - * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_commands_and_special_keys - */ - readonly editorMode: boolean; - /** - * A value indicating whether the `_` variable has been assigned. - * - * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable - */ - readonly underscoreAssigned: boolean; - /** - * The last evaluation result from the REPL (assigned to the `_` variable inside of the REPL). - * - * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable - */ - readonly last: any; - /** - * A value indicating whether the `_error` variable has been assigned. - * - * @since v9.8.0 - * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable - */ - readonly underscoreErrAssigned: boolean; - /** - * The last error raised inside the REPL (assigned to the `_error` variable inside of the REPL). - * - * @since v9.8.0 - * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable - */ - readonly lastError: any; - /** - * Specified in the REPL options, this is the function to be used when evaluating each - * given line of input. If not specified in the REPL options, this is an async wrapper - * for the JavaScript `eval()` function. - */ - readonly eval: REPLEval; - /** - * Specified in the REPL options, this is a value indicating whether the default - * `writer` function should include ANSI color styling to REPL output. - */ - readonly useColors: boolean; - /** - * Specified in the REPL options, this is a value indicating whether the default `eval` - * function will use the JavaScript `global` as the context as opposed to creating a new - * separate context for the REPL instance. - */ - readonly useGlobal: boolean; - /** - * Specified in the REPL options, this is a value indicating whether the default `writer` - * function should output the result of a command if it evaluates to `undefined`. - */ - readonly ignoreUndefined: boolean; - /** - * Specified in the REPL options, this is the function to invoke to format the output of - * each command before writing to `outputStream`. If not specified in the REPL options, - * this will be a wrapper for `util.inspect`. - */ - readonly writer: REPLWriter; - /** - * Specified in the REPL options, this is the function to use for custom Tab auto-completion. - */ - readonly completer: Completer | AsyncCompleter; - /** - * Specified in the REPL options, this is a flag that specifies whether the default `eval` - * function should execute all JavaScript commands in strict mode or default (sloppy) mode. - * Possible values are: - * - `repl.REPL_MODE_SLOPPY` - evaluates expressions in sloppy mode. - * - `repl.REPL_MODE_STRICT` - evaluates expressions in strict mode. This is equivalent to - * prefacing every repl statement with `'use strict'`. - */ - readonly replMode: typeof REPL_MODE_SLOPPY | typeof REPL_MODE_STRICT; - - /** - * NOTE: According to the documentation: - * - * > Instances of `repl.REPLServer` are created using the `repl.start()` method and - * > _should not_ be created directly using the JavaScript `new` keyword. - * - * `REPLServer` cannot be subclassed due to implementation specifics in NodeJS. - * - * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_class_replserver - */ - private constructor(); - - /** - * Used to add new `.`-prefixed commands to the REPL instance. Such commands are invoked - * by typing a `.` followed by the `keyword`. - * - * @param keyword The command keyword (_without_ a leading `.` character). - * @param cmd The function to invoke when the command is processed. - * - * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_replserver_definecommand_keyword_cmd - */ - defineCommand(keyword: string, cmd: REPLCommandAction | REPLCommand): void; - /** - * Readies the REPL instance for input from the user, printing the configured `prompt` to a - * new line in the `output` and resuming the `input` to accept new input. - * - * When multi-line input is being entered, an ellipsis is printed rather than the 'prompt'. - * - * This method is primarily intended to be called from within the action function for - * commands registered using the `replServer.defineCommand()` method. - * - * @param preserveCursor When `true`, the cursor placement will not be reset to `0`. - */ - displayPrompt(preserveCursor?: boolean): void; - /** - * Clears any command that has been buffered but not yet executed. - * - * This method is primarily intended to be called from within the action function for - * commands registered using the `replServer.defineCommand()` method. - * - * @since v9.0.0 - */ - clearBufferedCommand(): void; - - /** - * Initializes a history log file for the REPL instance. When executing the - * Node.js binary and using the command line REPL, a history file is initialized - * by default. However, this is not the case when creating a REPL - * programmatically. Use this method to initialize a history log file when working - * with REPL instances programmatically. - * @param path The path to the history file - */ - setupHistory(path: string, cb: (err: Error | null, repl: this) => void): void; - - /** - * events.EventEmitter - * 1. close - inherited from `readline.Interface` - * 2. line - inherited from `readline.Interface` - * 3. pause - inherited from `readline.Interface` - * 4. resume - inherited from `readline.Interface` - * 5. SIGCONT - inherited from `readline.Interface` - * 6. SIGINT - inherited from `readline.Interface` - * 7. SIGTSTP - inherited from `readline.Interface` - * 8. exit - * 9. reset - */ - - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "close", listener: () => void): this; - addListener(event: "line", listener: (input: string) => void): this; - addListener(event: "pause", listener: () => void): this; - addListener(event: "resume", listener: () => void): this; - addListener(event: "SIGCONT", listener: () => void): this; - addListener(event: "SIGINT", listener: () => void): this; - addListener(event: "SIGTSTP", listener: () => void): this; - addListener(event: "exit", listener: () => void): this; - addListener(event: "reset", listener: (context: Context) => void): this; - - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "close"): boolean; - emit(event: "line", input: string): boolean; - emit(event: "pause"): boolean; - emit(event: "resume"): boolean; - emit(event: "SIGCONT"): boolean; - emit(event: "SIGINT"): boolean; - emit(event: "SIGTSTP"): boolean; - emit(event: "exit"): boolean; - emit(event: "reset", context: Context): boolean; - - on(event: string, listener: (...args: any[]) => void): this; - on(event: "close", listener: () => void): this; - on(event: "line", listener: (input: string) => void): this; - on(event: "pause", listener: () => void): this; - on(event: "resume", listener: () => void): this; - on(event: "SIGCONT", listener: () => void): this; - on(event: "SIGINT", listener: () => void): this; - on(event: "SIGTSTP", listener: () => void): this; - on(event: "exit", listener: () => void): this; - on(event: "reset", listener: (context: Context) => void): this; - - once(event: string, listener: (...args: any[]) => void): this; - once(event: "close", listener: () => void): this; - once(event: "line", listener: (input: string) => void): this; - once(event: "pause", listener: () => void): this; - once(event: "resume", listener: () => void): this; - once(event: "SIGCONT", listener: () => void): this; - once(event: "SIGINT", listener: () => void): this; - once(event: "SIGTSTP", listener: () => void): this; - once(event: "exit", listener: () => void): this; - once(event: "reset", listener: (context: Context) => void): this; - - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "close", listener: () => void): this; - prependListener(event: "line", listener: (input: string) => void): this; - prependListener(event: "pause", listener: () => void): this; - prependListener(event: "resume", listener: () => void): this; - prependListener(event: "SIGCONT", listener: () => void): this; - prependListener(event: "SIGINT", listener: () => void): this; - prependListener(event: "SIGTSTP", listener: () => void): this; - prependListener(event: "exit", listener: () => void): this; - prependListener(event: "reset", listener: (context: Context) => void): this; - - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "line", listener: (input: string) => void): this; - prependOnceListener(event: "pause", listener: () => void): this; - prependOnceListener(event: "resume", listener: () => void): this; - prependOnceListener(event: "SIGCONT", listener: () => void): this; - prependOnceListener(event: "SIGINT", listener: () => void): this; - prependOnceListener(event: "SIGTSTP", listener: () => void): this; - prependOnceListener(event: "exit", listener: () => void): this; - prependOnceListener(event: "reset", listener: (context: Context) => void): this; - } - - /** - * A flag passed in the REPL options. Evaluates expressions in sloppy mode. - */ - const REPL_MODE_SLOPPY: unique symbol; - - /** - * A flag passed in the REPL options. Evaluates expressions in strict mode. - * This is equivalent to prefacing every repl statement with `'use strict'`. - */ - const REPL_MODE_STRICT: unique symbol; - - /** - * Creates and starts a `repl.REPLServer` instance. - * - * @param options The options for the `REPLServer`. If `options` is a string, then it specifies - * the input prompt. - */ - function start(options?: string | ReplOptions): REPLServer; - - /** - * Indicates a recoverable error that a `REPLServer` can use to support multi-line input. - * - * @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_recoverable_errors - */ - class Recoverable extends SyntaxError { - err: Error; - - constructor(err: Error); - } -} diff --git a/node_modules/@types/node/stream.d.ts b/node_modules/@types/node/stream.d.ts deleted file mode 100644 index 7e189d95..00000000 --- a/node_modules/@types/node/stream.d.ts +++ /dev/null @@ -1,354 +0,0 @@ -declare module "stream" { - import * as events from "events"; - - class internal extends events.EventEmitter { - pipe(destination: T, options?: { end?: boolean; }): T; - } - - namespace internal { - class Stream extends internal { - constructor(opts?: ReadableOptions); - } - - interface ReadableOptions { - highWaterMark?: number; - encoding?: BufferEncoding; - objectMode?: boolean; - read?(this: Readable, size: number): void; - destroy?(this: Readable, error: Error | null, callback: (error: Error | null) => void): void; - autoDestroy?: boolean; - } - - class Readable extends Stream implements NodeJS.ReadableStream { - /** - * A utility method for creating Readable Streams out of iterators. - */ - static from(iterable: Iterable | AsyncIterable, options?: ReadableOptions): Readable; - - readable: boolean; - readonly readableEncoding: BufferEncoding | null; - readonly readableEnded: boolean; - readonly readableFlowing: boolean | null; - readonly readableHighWaterMark: number; - readonly readableLength: number; - readonly readableObjectMode: boolean; - destroyed: boolean; - constructor(opts?: ReadableOptions); - _read(size: number): void; - read(size?: number): any; - setEncoding(encoding: BufferEncoding): this; - pause(): this; - resume(): this; - isPaused(): boolean; - unpipe(destination?: NodeJS.WritableStream): this; - unshift(chunk: any, encoding?: BufferEncoding): void; - wrap(oldStream: NodeJS.ReadableStream): this; - push(chunk: any, encoding?: BufferEncoding): boolean; - _destroy(error: Error | null, callback: (error?: Error | null) => void): void; - destroy(error?: Error): void; - - /** - * Event emitter - * The defined events on documents including: - * 1. close - * 2. data - * 3. end - * 4. error - * 5. pause - * 6. readable - * 7. resume - */ - addListener(event: "close", listener: () => void): this; - addListener(event: "data", listener: (chunk: any) => void): this; - addListener(event: "end", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "pause", listener: () => void): this; - addListener(event: "readable", listener: () => void): this; - addListener(event: "resume", listener: () => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - emit(event: "close"): boolean; - emit(event: "data", chunk: any): boolean; - emit(event: "end"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "pause"): boolean; - emit(event: "readable"): boolean; - emit(event: "resume"): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - - on(event: "close", listener: () => void): this; - on(event: "data", listener: (chunk: any) => void): this; - on(event: "end", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "pause", listener: () => void): this; - on(event: "readable", listener: () => void): this; - on(event: "resume", listener: () => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "close", listener: () => void): this; - once(event: "data", listener: (chunk: any) => void): this; - once(event: "end", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "pause", listener: () => void): this; - once(event: "readable", listener: () => void): this; - once(event: "resume", listener: () => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "close", listener: () => void): this; - prependListener(event: "data", listener: (chunk: any) => void): this; - prependListener(event: "end", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "pause", listener: () => void): this; - prependListener(event: "readable", listener: () => void): this; - prependListener(event: "resume", listener: () => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "data", listener: (chunk: any) => void): this; - prependOnceListener(event: "end", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "pause", listener: () => void): this; - prependOnceListener(event: "readable", listener: () => void): this; - prependOnceListener(event: "resume", listener: () => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - - removeListener(event: "close", listener: () => void): this; - removeListener(event: "data", listener: (chunk: any) => void): this; - removeListener(event: "end", listener: () => void): this; - removeListener(event: "error", listener: (err: Error) => void): this; - removeListener(event: "pause", listener: () => void): this; - removeListener(event: "readable", listener: () => void): this; - removeListener(event: "resume", listener: () => void): this; - removeListener(event: string | symbol, listener: (...args: any[]) => void): this; - - [Symbol.asyncIterator](): AsyncIterableIterator; - } - - interface WritableOptions { - highWaterMark?: number; - decodeStrings?: boolean; - defaultEncoding?: BufferEncoding; - objectMode?: boolean; - emitClose?: boolean; - write?(this: Writable, chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void; - writev?(this: Writable, chunks: Array<{ chunk: any, encoding: BufferEncoding }>, callback: (error?: Error | null) => void): void; - destroy?(this: Writable, error: Error | null, callback: (error: Error | null) => void): void; - final?(this: Writable, callback: (error?: Error | null) => void): void; - autoDestroy?: boolean; - } - - class Writable extends Stream implements NodeJS.WritableStream { - readonly writable: boolean; - readonly writableEnded: boolean; - readonly writableFinished: boolean; - readonly writableHighWaterMark: number; - readonly writableLength: number; - readonly writableObjectMode: boolean; - readonly writableCorked: number; - destroyed: boolean; - constructor(opts?: WritableOptions); - _write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void; - _writev?(chunks: Array<{ chunk: any, encoding: BufferEncoding }>, callback: (error?: Error | null) => void): void; - _destroy(error: Error | null, callback: (error?: Error | null) => void): void; - _final(callback: (error?: Error | null) => void): void; - write(chunk: any, cb?: (error: Error | null | undefined) => void): boolean; - write(chunk: any, encoding: BufferEncoding, cb?: (error: Error | null | undefined) => void): boolean; - setDefaultEncoding(encoding: BufferEncoding): this; - end(cb?: () => void): void; - end(chunk: any, cb?: () => void): void; - end(chunk: any, encoding: BufferEncoding, cb?: () => void): void; - cork(): void; - uncork(): void; - destroy(error?: Error): void; - - /** - * Event emitter - * The defined events on documents including: - * 1. close - * 2. drain - * 3. error - * 4. finish - * 5. pipe - * 6. unpipe - */ - addListener(event: "close", listener: () => void): this; - addListener(event: "drain", listener: () => void): this; - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "finish", listener: () => void): this; - addListener(event: "pipe", listener: (src: Readable) => void): this; - addListener(event: "unpipe", listener: (src: Readable) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - emit(event: "close"): boolean; - emit(event: "drain"): boolean; - emit(event: "error", err: Error): boolean; - emit(event: "finish"): boolean; - emit(event: "pipe", src: Readable): boolean; - emit(event: "unpipe", src: Readable): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - - on(event: "close", listener: () => void): this; - on(event: "drain", listener: () => void): this; - on(event: "error", listener: (err: Error) => void): this; - on(event: "finish", listener: () => void): this; - on(event: "pipe", listener: (src: Readable) => void): this; - on(event: "unpipe", listener: (src: Readable) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "close", listener: () => void): this; - once(event: "drain", listener: () => void): this; - once(event: "error", listener: (err: Error) => void): this; - once(event: "finish", listener: () => void): this; - once(event: "pipe", listener: (src: Readable) => void): this; - once(event: "unpipe", listener: (src: Readable) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "close", listener: () => void): this; - prependListener(event: "drain", listener: () => void): this; - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "finish", listener: () => void): this; - prependListener(event: "pipe", listener: (src: Readable) => void): this; - prependListener(event: "unpipe", listener: (src: Readable) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "drain", listener: () => void): this; - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "finish", listener: () => void): this; - prependOnceListener(event: "pipe", listener: (src: Readable) => void): this; - prependOnceListener(event: "unpipe", listener: (src: Readable) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - - removeListener(event: "close", listener: () => void): this; - removeListener(event: "drain", listener: () => void): this; - removeListener(event: "error", listener: (err: Error) => void): this; - removeListener(event: "finish", listener: () => void): this; - removeListener(event: "pipe", listener: (src: Readable) => void): this; - removeListener(event: "unpipe", listener: (src: Readable) => void): this; - removeListener(event: string | symbol, listener: (...args: any[]) => void): this; - } - - interface DuplexOptions extends ReadableOptions, WritableOptions { - allowHalfOpen?: boolean; - readableObjectMode?: boolean; - writableObjectMode?: boolean; - readableHighWaterMark?: number; - writableHighWaterMark?: number; - writableCorked?: number; - read?(this: Duplex, size: number): void; - write?(this: Duplex, chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void; - writev?(this: Duplex, chunks: Array<{ chunk: any, encoding: BufferEncoding }>, callback: (error?: Error | null) => void): void; - final?(this: Duplex, callback: (error?: Error | null) => void): void; - destroy?(this: Duplex, error: Error | null, callback: (error: Error | null) => void): void; - } - - // Note: Duplex extends both Readable and Writable. - class Duplex extends Readable implements Writable { - readonly writable: boolean; - readonly writableEnded: boolean; - readonly writableFinished: boolean; - readonly writableHighWaterMark: number; - readonly writableLength: number; - readonly writableObjectMode: boolean; - readonly writableCorked: number; - constructor(opts?: DuplexOptions); - _write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void; - _writev?(chunks: Array<{ chunk: any, encoding: BufferEncoding }>, callback: (error?: Error | null) => void): void; - _destroy(error: Error | null, callback: (error: Error | null) => void): void; - _final(callback: (error?: Error | null) => void): void; - write(chunk: any, encoding?: BufferEncoding, cb?: (error: Error | null | undefined) => void): boolean; - write(chunk: any, cb?: (error: Error | null | undefined) => void): boolean; - setDefaultEncoding(encoding: BufferEncoding): this; - end(cb?: () => void): void; - end(chunk: any, cb?: () => void): void; - end(chunk: any, encoding?: BufferEncoding, cb?: () => void): void; - cork(): void; - uncork(): void; - } - - type TransformCallback = (error?: Error | null, data?: any) => void; - - interface TransformOptions extends DuplexOptions { - read?(this: Transform, size: number): void; - write?(this: Transform, chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void; - writev?(this: Transform, chunks: Array<{ chunk: any, encoding: BufferEncoding }>, callback: (error?: Error | null) => void): void; - final?(this: Transform, callback: (error?: Error | null) => void): void; - destroy?(this: Transform, error: Error | null, callback: (error: Error | null) => void): void; - transform?(this: Transform, chunk: any, encoding: BufferEncoding, callback: TransformCallback): void; - flush?(this: Transform, callback: TransformCallback): void; - } - - class Transform extends Duplex { - constructor(opts?: TransformOptions); - _transform(chunk: any, encoding: BufferEncoding, callback: TransformCallback): void; - _flush(callback: TransformCallback): void; - } - - class PassThrough extends Transform { } - - interface FinishedOptions { - error?: boolean; - readable?: boolean; - writable?: boolean; - } - function finished(stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, options: FinishedOptions, callback: (err?: NodeJS.ErrnoException | null) => void): () => void; - function finished(stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, callback: (err?: NodeJS.ErrnoException | null) => void): () => void; - namespace finished { - function __promisify__(stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, options?: FinishedOptions): Promise; - } - - function pipeline(stream1: NodeJS.ReadableStream, stream2: T, callback?: (err: NodeJS.ErrnoException | null) => void): T; - function pipeline(stream1: NodeJS.ReadableStream, stream2: NodeJS.ReadWriteStream, stream3: T, callback?: (err: NodeJS.ErrnoException | null) => void): T; - function pipeline( - stream1: NodeJS.ReadableStream, - stream2: NodeJS.ReadWriteStream, - stream3: NodeJS.ReadWriteStream, - stream4: T, - callback?: (err: NodeJS.ErrnoException | null) => void, - ): T; - function pipeline( - stream1: NodeJS.ReadableStream, - stream2: NodeJS.ReadWriteStream, - stream3: NodeJS.ReadWriteStream, - stream4: NodeJS.ReadWriteStream, - stream5: T, - callback?: (err: NodeJS.ErrnoException | null) => void, - ): T; - function pipeline( - streams: ReadonlyArray, - callback?: (err: NodeJS.ErrnoException | null) => void, - ): NodeJS.WritableStream; - function pipeline( - stream1: NodeJS.ReadableStream, - stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream, - ...streams: Array void)>, - ): NodeJS.WritableStream; - namespace pipeline { - function __promisify__(stream1: NodeJS.ReadableStream, stream2: NodeJS.WritableStream): Promise; - function __promisify__(stream1: NodeJS.ReadableStream, stream2: NodeJS.ReadWriteStream, stream3: NodeJS.WritableStream): Promise; - function __promisify__(stream1: NodeJS.ReadableStream, stream2: NodeJS.ReadWriteStream, stream3: NodeJS.ReadWriteStream, stream4: NodeJS.WritableStream): Promise; - function __promisify__( - stream1: NodeJS.ReadableStream, - stream2: NodeJS.ReadWriteStream, - stream3: NodeJS.ReadWriteStream, - stream4: NodeJS.ReadWriteStream, - stream5: NodeJS.WritableStream, - ): Promise; - function __promisify__(streams: ReadonlyArray): Promise; - function __promisify__( - stream1: NodeJS.ReadableStream, - stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream, - ...streams: Array, - ): Promise; - } - - interface Pipe { - close(): void; - hasRef(): boolean; - ref(): void; - unref(): void; - } - } - - export = internal; -} diff --git a/node_modules/@types/node/string_decoder.d.ts b/node_modules/@types/node/string_decoder.d.ts deleted file mode 100644 index a6a40601..00000000 --- a/node_modules/@types/node/string_decoder.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -declare module "string_decoder" { - class StringDecoder { - constructor(encoding?: BufferEncoding); - write(buffer: Buffer): string; - end(buffer?: Buffer): string; - } -} diff --git a/node_modules/@types/node/timers.d.ts b/node_modules/@types/node/timers.d.ts deleted file mode 100644 index e64a6735..00000000 --- a/node_modules/@types/node/timers.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -declare module "timers" { - function setTimeout(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timeout; - namespace setTimeout { - function __promisify__(ms: number): Promise; - function __promisify__(ms: number, value: T): Promise; - } - function clearTimeout(timeoutId: NodeJS.Timeout): void; - function setInterval(callback: (...args: any[]) => void, ms: number, ...args: any[]): NodeJS.Timeout; - function clearInterval(intervalId: NodeJS.Timeout): void; - function setImmediate(callback: (...args: any[]) => void, ...args: any[]): NodeJS.Immediate; - namespace setImmediate { - function __promisify__(): Promise; - function __promisify__(value: T): Promise; - } - function clearImmediate(immediateId: NodeJS.Immediate): void; -} diff --git a/node_modules/@types/node/tls.d.ts b/node_modules/@types/node/tls.d.ts deleted file mode 100644 index 6092a6e8..00000000 --- a/node_modules/@types/node/tls.d.ts +++ /dev/null @@ -1,779 +0,0 @@ -declare module "tls" { - import * as crypto from "crypto"; - import * as dns from "dns"; - import * as net from "net"; - import * as stream from "stream"; - - const CLIENT_RENEG_LIMIT: number; - const CLIENT_RENEG_WINDOW: number; - - interface Certificate { - /** - * Country code. - */ - C: string; - /** - * Street. - */ - ST: string; - /** - * Locality. - */ - L: string; - /** - * Organization. - */ - O: string; - /** - * Organizational unit. - */ - OU: string; - /** - * Common name. - */ - CN: string; - } - - interface PeerCertificate { - subject: Certificate; - issuer: Certificate; - subjectaltname: string; - infoAccess: NodeJS.Dict; - modulus: string; - exponent: string; - valid_from: string; - valid_to: string; - fingerprint: string; - fingerprint256: string; - ext_key_usage: string[]; - serialNumber: string; - raw: Buffer; - } - - interface DetailedPeerCertificate extends PeerCertificate { - issuerCertificate: DetailedPeerCertificate; - } - - interface CipherNameAndProtocol { - /** - * The cipher name. - */ - name: string; - /** - * SSL/TLS protocol version. - */ - version: string; - - /** - * IETF name for the cipher suite. - */ - standardName: string; - } - - interface EphemeralKeyInfo { - /** - * The supported types are 'DH' and 'ECDH'. - */ - type: string; - /** - * The name property is available only when type is 'ECDH'. - */ - name?: string; - /** - * The size of parameter of an ephemeral key exchange. - */ - size: number; - } - - interface KeyObject { - /** - * Private keys in PEM format. - */ - pem: string | Buffer; - /** - * Optional passphrase. - */ - passphrase?: string; - } - - interface PxfObject { - /** - * PFX or PKCS12 encoded private key and certificate chain. - */ - buf: string | Buffer; - /** - * Optional passphrase. - */ - passphrase?: string; - } - - interface TLSSocketOptions extends SecureContextOptions, CommonConnectionOptions { - /** - * If true the TLS socket will be instantiated in server-mode. - * Defaults to false. - */ - isServer?: boolean; - /** - * An optional net.Server instance. - */ - server?: net.Server; - - /** - * An optional Buffer instance containing a TLS session. - */ - session?: Buffer; - /** - * If true, specifies that the OCSP status request extension will be - * added to the client hello and an 'OCSPResponse' event will be - * emitted on the socket before establishing a secure communication - */ - requestOCSP?: boolean; - } - - class TLSSocket extends net.Socket { - /** - * Construct a new tls.TLSSocket object from an existing TCP socket. - */ - constructor(socket: net.Socket, options?: TLSSocketOptions); - - /** - * A boolean that is true if the peer certificate was signed by one of the specified CAs, otherwise false. - */ - authorized: boolean; - /** - * The reason why the peer's certificate has not been verified. - * This property becomes available only when tlsSocket.authorized === false. - */ - authorizationError: Error; - /** - * Static boolean value, always true. - * May be used to distinguish TLS sockets from regular ones. - */ - encrypted: boolean; - - /** - * String containing the selected ALPN protocol. - * When ALPN has no selected protocol, tlsSocket.alpnProtocol equals false. - */ - alpnProtocol?: string; - - /** - * Returns an object representing the local certificate. The returned - * object has some properties corresponding to the fields of the - * certificate. - * - * See tls.TLSSocket.getPeerCertificate() for an example of the - * certificate structure. - * - * If there is no local certificate, an empty object will be returned. - * If the socket has been destroyed, null will be returned. - */ - getCertificate(): PeerCertificate | object | null; - /** - * Returns an object representing the cipher name and the SSL/TLS protocol version of the current connection. - * @returns Returns an object representing the cipher name - * and the SSL/TLS protocol version of the current connection. - */ - getCipher(): CipherNameAndProtocol; - /** - * Returns an object representing the type, name, and size of parameter - * of an ephemeral key exchange in Perfect Forward Secrecy on a client - * connection. It returns an empty object when the key exchange is not - * ephemeral. As this is only supported on a client socket; null is - * returned if called on a server socket. The supported types are 'DH' - * and 'ECDH'. The name property is available only when type is 'ECDH'. - * - * For example: { type: 'ECDH', name: 'prime256v1', size: 256 }. - */ - getEphemeralKeyInfo(): EphemeralKeyInfo | object | null; - /** - * Returns the latest Finished message that has - * been sent to the socket as part of a SSL/TLS handshake, or undefined - * if no Finished message has been sent yet. - * - * As the Finished messages are message digests of the complete - * handshake (with a total of 192 bits for TLS 1.0 and more for SSL - * 3.0), they can be used for external authentication procedures when - * the authentication provided by SSL/TLS is not desired or is not - * enough. - * - * Corresponds to the SSL_get_finished routine in OpenSSL and may be - * used to implement the tls-unique channel binding from RFC 5929. - */ - getFinished(): Buffer | undefined; - /** - * Returns an object representing the peer's certificate. - * The returned object has some properties corresponding to the field of the certificate. - * If detailed argument is true the full chain with issuer property will be returned, - * if false only the top certificate without issuer property. - * If the peer does not provide a certificate, it returns null or an empty object. - * @param detailed - If true; the full chain with issuer property will be returned. - * @returns An object representing the peer's certificate. - */ - getPeerCertificate(detailed: true): DetailedPeerCertificate; - getPeerCertificate(detailed?: false): PeerCertificate; - getPeerCertificate(detailed?: boolean): PeerCertificate | DetailedPeerCertificate; - /** - * Returns the latest Finished message that is expected or has actually - * been received from the socket as part of a SSL/TLS handshake, or - * undefined if there is no Finished message so far. - * - * As the Finished messages are message digests of the complete - * handshake (with a total of 192 bits for TLS 1.0 and more for SSL - * 3.0), they can be used for external authentication procedures when - * the authentication provided by SSL/TLS is not desired or is not - * enough. - * - * Corresponds to the SSL_get_peer_finished routine in OpenSSL and may - * be used to implement the tls-unique channel binding from RFC 5929. - */ - getPeerFinished(): Buffer | undefined; - /** - * Returns a string containing the negotiated SSL/TLS protocol version of the current connection. - * The value `'unknown'` will be returned for connected sockets that have not completed the handshaking process. - * The value `null` will be returned for server sockets or disconnected client sockets. - * See https://www.openssl.org/docs/man1.0.2/ssl/SSL_get_version.html for more information. - * @returns negotiated SSL/TLS protocol version of the current connection - */ - getProtocol(): string | null; - /** - * Could be used to speed up handshake establishment when reconnecting to the server. - * @returns ASN.1 encoded TLS session or undefined if none was negotiated. - */ - getSession(): Buffer | undefined; - /** - * Returns a list of signature algorithms shared between the server and - * the client in the order of decreasing preference. - */ - getSharedSigalgs(): string[]; - /** - * NOTE: Works only with client TLS sockets. - * Useful only for debugging, for session reuse provide session option to tls.connect(). - * @returns TLS session ticket or undefined if none was negotiated. - */ - getTLSTicket(): Buffer | undefined; - /** - * Returns true if the session was reused, false otherwise. - */ - isSessionReused(): boolean; - /** - * Initiate TLS renegotiation process. - * - * NOTE: Can be used to request peer's certificate after the secure connection has been established. - * ANOTHER NOTE: When running as the server, socket will be destroyed with an error after handshakeTimeout timeout. - * @param options - The options may contain the following fields: rejectUnauthorized, - * requestCert (See tls.createServer() for details). - * @param callback - callback(err) will be executed with null as err, once the renegotiation - * is successfully completed. - * @return `undefined` when socket is destroy, `false` if negotiaion can't be initiated. - */ - renegotiate(options: { rejectUnauthorized?: boolean, requestCert?: boolean }, callback: (err: Error | null) => void): undefined | boolean; - /** - * Set maximum TLS fragment size (default and maximum value is: 16384, minimum is: 512). - * Smaller fragment size decreases buffering latency on the client: large fragments are buffered by - * the TLS layer until the entire fragment is received and its integrity is verified; - * large fragments can span multiple roundtrips, and their processing can be delayed due to packet - * loss or reordering. However, smaller fragments add extra TLS framing bytes and CPU overhead, - * which may decrease overall server throughput. - * @param size - TLS fragment size (default and maximum value is: 16384, minimum is: 512). - * @returns Returns true on success, false otherwise. - */ - setMaxSendFragment(size: number): boolean; - - /** - * Disables TLS renegotiation for this TLSSocket instance. Once called, - * attempts to renegotiate will trigger an 'error' event on the - * TLSSocket. - */ - disableRenegotiation(): void; - - /** - * When enabled, TLS packet trace information is written to `stderr`. This can be - * used to debug TLS connection problems. - * - * Note: The format of the output is identical to the output of `openssl s_client - * -trace` or `openssl s_server -trace`. While it is produced by OpenSSL's - * `SSL_trace()` function, the format is undocumented, can change without notice, - * and should not be relied on. - */ - enableTrace(): void; - - /** - * @param length number of bytes to retrieve from keying material - * @param label an application specific label, typically this will be a value from the - * [IANA Exporter Label Registry](https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#exporter-labels). - * @param context optionally provide a context. - */ - exportKeyingMaterial(length: number, label: string, context: Buffer): Buffer; - - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "OCSPResponse", listener: (response: Buffer) => void): this; - addListener(event: "secureConnect", listener: () => void): this; - addListener(event: "session", listener: (session: Buffer) => void): this; - addListener(event: "keylog", listener: (line: Buffer) => void): this; - - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "OCSPResponse", response: Buffer): boolean; - emit(event: "secureConnect"): boolean; - emit(event: "session", session: Buffer): boolean; - emit(event: "keylog", line: Buffer): boolean; - - on(event: string, listener: (...args: any[]) => void): this; - on(event: "OCSPResponse", listener: (response: Buffer) => void): this; - on(event: "secureConnect", listener: () => void): this; - on(event: "session", listener: (session: Buffer) => void): this; - on(event: "keylog", listener: (line: Buffer) => void): this; - - once(event: string, listener: (...args: any[]) => void): this; - once(event: "OCSPResponse", listener: (response: Buffer) => void): this; - once(event: "secureConnect", listener: () => void): this; - once(event: "session", listener: (session: Buffer) => void): this; - once(event: "keylog", listener: (line: Buffer) => void): this; - - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "OCSPResponse", listener: (response: Buffer) => void): this; - prependListener(event: "secureConnect", listener: () => void): this; - prependListener(event: "session", listener: (session: Buffer) => void): this; - prependListener(event: "keylog", listener: (line: Buffer) => void): this; - - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "OCSPResponse", listener: (response: Buffer) => void): this; - prependOnceListener(event: "secureConnect", listener: () => void): this; - prependOnceListener(event: "session", listener: (session: Buffer) => void): this; - prependOnceListener(event: "keylog", listener: (line: Buffer) => void): this; - } - - interface CommonConnectionOptions { - /** - * An optional TLS context object from tls.createSecureContext() - */ - secureContext?: SecureContext; - - /** - * When enabled, TLS packet trace information is written to `stderr`. This can be - * used to debug TLS connection problems. - * @default false - */ - enableTrace?: boolean; - /** - * If true the server will request a certificate from clients that - * connect and attempt to verify that certificate. Defaults to - * false. - */ - requestCert?: boolean; - /** - * An array of strings or a Buffer naming possible ALPN protocols. - * (Protocols should be ordered by their priority.) - */ - ALPNProtocols?: string[] | Uint8Array[] | Uint8Array; - /** - * SNICallback(servername, cb) A function that will be - * called if the client supports SNI TLS extension. Two arguments - * will be passed when called: servername and cb. SNICallback should - * invoke cb(null, ctx), where ctx is a SecureContext instance. - * (tls.createSecureContext(...) can be used to get a proper - * SecureContext.) If SNICallback wasn't provided the default callback - * with high-level API will be used (see below). - */ - SNICallback?: (servername: string, cb: (err: Error | null, ctx: SecureContext) => void) => void; - /** - * If true the server will reject any connection which is not - * authorized with the list of supplied CAs. This option only has an - * effect if requestCert is true. - * @default true - */ - rejectUnauthorized?: boolean; - } - - interface TlsOptions extends SecureContextOptions, CommonConnectionOptions { - /** - * Abort the connection if the SSL/TLS handshake does not finish in the - * specified number of milliseconds. A 'tlsClientError' is emitted on - * the tls.Server object whenever a handshake times out. Default: - * 120000 (120 seconds). - */ - handshakeTimeout?: number; - /** - * The number of seconds after which a TLS session created by the - * server will no longer be resumable. See Session Resumption for more - * information. Default: 300. - */ - sessionTimeout?: number; - /** - * 48-bytes of cryptographically strong pseudo-random data. - */ - ticketKeys?: Buffer; - - /** - * - * @param socket - * @param identity identity parameter sent from the client. - * @return pre-shared key that must either be - * a buffer or `null` to stop the negotiation process. Returned PSK must be - * compatible with the selected cipher's digest. - * - * When negotiating TLS-PSK (pre-shared keys), this function is called - * with the identity provided by the client. - * If the return value is `null` the negotiation process will stop and an - * "unknown_psk_identity" alert message will be sent to the other party. - * If the server wishes to hide the fact that the PSK identity was not known, - * the callback must provide some random data as `psk` to make the connection - * fail with "decrypt_error" before negotiation is finished. - * PSK ciphers are disabled by default, and using TLS-PSK thus - * requires explicitly specifying a cipher suite with the `ciphers` option. - * More information can be found in the RFC 4279. - */ - - pskCallback?(socket: TLSSocket, identity: string): DataView | NodeJS.TypedArray | null; - /** - * hint to send to a client to help - * with selecting the identity during TLS-PSK negotiation. Will be ignored - * in TLS 1.3. Upon failing to set pskIdentityHint `tlsClientError` will be - * emitted with `ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED` code. - */ - pskIdentityHint?: string; - } - - interface PSKCallbackNegotation { - psk: DataView | NodeJS.TypedArray; - identitty: string; - } - - interface ConnectionOptions extends SecureContextOptions, CommonConnectionOptions { - host?: string; - port?: number; - path?: string; // Creates unix socket connection to path. If this option is specified, `host` and `port` are ignored. - socket?: net.Socket; // Establish secure connection on a given socket rather than creating a new socket - checkServerIdentity?: typeof checkServerIdentity; - servername?: string; // SNI TLS Extension - session?: Buffer; - minDHSize?: number; - lookup?: net.LookupFunction; - timeout?: number; - /** - * When negotiating TLS-PSK (pre-shared keys), this function is called - * with optional identity `hint` provided by the server or `null` - * in case of TLS 1.3 where `hint` was removed. - * It will be necessary to provide a custom `tls.checkServerIdentity()` - * for the connection as the default one will try to check hostname/IP - * of the server against the certificate but that's not applicable for PSK - * because there won't be a certificate present. - * More information can be found in the RFC 4279. - * - * @param hint message sent from the server to help client - * decide which identity to use during negotiation. - * Always `null` if TLS 1.3 is used. - * @returns Return `null` to stop the negotiation process. `psk` must be - * compatible with the selected cipher's digest. - * `identity` must use UTF-8 encoding. - */ - pskCallback?(hint: string | null): PSKCallbackNegotation | null; - } - - class Server extends net.Server { - /** - * The server.addContext() method adds a secure context that will be - * used if the client request's SNI name matches the supplied hostname - * (or wildcard). - */ - addContext(hostName: string, credentials: SecureContextOptions): void; - /** - * Returns the session ticket keys. - */ - getTicketKeys(): Buffer; - /** - * - * The server.setSecureContext() method replaces the - * secure context of an existing server. Existing connections to the - * server are not interrupted. - */ - setSecureContext(details: SecureContextOptions): void; - /** - * The server.setSecureContext() method replaces the secure context of - * an existing server. Existing connections to the server are not - * interrupted. - */ - setTicketKeys(keys: Buffer): void; - - /** - * events.EventEmitter - * 1. tlsClientError - * 2. newSession - * 3. OCSPRequest - * 4. resumeSession - * 5. secureConnection - * 6. keylog - */ - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; - addListener(event: "newSession", listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this; - addListener(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this; - addListener(event: "resumeSession", listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this; - addListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; - addListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; - - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "tlsClientError", err: Error, tlsSocket: TLSSocket): boolean; - emit(event: "newSession", sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void): boolean; - emit(event: "OCSPRequest", certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void): boolean; - emit(event: "resumeSession", sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void): boolean; - emit(event: "secureConnection", tlsSocket: TLSSocket): boolean; - emit(event: "keylog", line: Buffer, tlsSocket: TLSSocket): boolean; - - on(event: string, listener: (...args: any[]) => void): this; - on(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; - on(event: "newSession", listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this; - on(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this; - on(event: "resumeSession", listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this; - on(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; - on(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; - - once(event: string, listener: (...args: any[]) => void): this; - once(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; - once(event: "newSession", listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this; - once(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this; - once(event: "resumeSession", listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this; - once(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; - once(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; - - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; - prependListener(event: "newSession", listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this; - prependListener(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this; - prependListener(event: "resumeSession", listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this; - prependListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; - prependListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; - - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this; - prependOnceListener(event: "newSession", listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this; - prependOnceListener(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this; - prependOnceListener(event: "resumeSession", listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this; - prependOnceListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this; - prependOnceListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this; - } - - interface SecurePair { - encrypted: TLSSocket; - cleartext: TLSSocket; - } - - type SecureVersion = 'TLSv1.3' | 'TLSv1.2' | 'TLSv1.1' | 'TLSv1'; - - interface SecureContextOptions { - /** - * Optionally override the trusted CA certificates. Default is to trust - * the well-known CAs curated by Mozilla. Mozilla's CAs are completely - * replaced when CAs are explicitly specified using this option. - */ - ca?: string | Buffer | Array; - /** - * Cert chains in PEM format. One cert chain should be provided per - * private key. Each cert chain should consist of the PEM formatted - * certificate for a provided private key, followed by the PEM - * formatted intermediate certificates (if any), in order, and not - * including the root CA (the root CA must be pre-known to the peer, - * see ca). When providing multiple cert chains, they do not have to - * be in the same order as their private keys in key. If the - * intermediate certificates are not provided, the peer will not be - * able to validate the certificate, and the handshake will fail. - */ - cert?: string | Buffer | Array; - /** - * Colon-separated list of supported signature algorithms. The list - * can contain digest algorithms (SHA256, MD5 etc.), public key - * algorithms (RSA-PSS, ECDSA etc.), combination of both (e.g - * 'RSA+SHA384') or TLS v1.3 scheme names (e.g. rsa_pss_pss_sha512). - */ - sigalgs?: string; - /** - * Cipher suite specification, replacing the default. For more - * information, see modifying the default cipher suite. Permitted - * ciphers can be obtained via tls.getCiphers(). Cipher names must be - * uppercased in order for OpenSSL to accept them. - */ - ciphers?: string; - /** - * Name of an OpenSSL engine which can provide the client certificate. - */ - clientCertEngine?: string; - /** - * PEM formatted CRLs (Certificate Revocation Lists). - */ - crl?: string | Buffer | Array; - /** - * Diffie Hellman parameters, required for Perfect Forward Secrecy. Use - * openssl dhparam to create the parameters. The key length must be - * greater than or equal to 1024 bits or else an error will be thrown. - * Although 1024 bits is permissible, use 2048 bits or larger for - * stronger security. If omitted or invalid, the parameters are - * silently discarded and DHE ciphers will not be available. - */ - dhparam?: string | Buffer; - /** - * A string describing a named curve or a colon separated list of curve - * NIDs or names, for example P-521:P-384:P-256, to use for ECDH key - * agreement. Set to auto to select the curve automatically. Use - * crypto.getCurves() to obtain a list of available curve names. On - * recent releases, openssl ecparam -list_curves will also display the - * name and description of each available elliptic curve. Default: - * tls.DEFAULT_ECDH_CURVE. - */ - ecdhCurve?: string; - /** - * Attempt to use the server's cipher suite preferences instead of the - * client's. When true, causes SSL_OP_CIPHER_SERVER_PREFERENCE to be - * set in secureOptions - */ - honorCipherOrder?: boolean; - /** - * Private keys in PEM format. PEM allows the option of private keys - * being encrypted. Encrypted keys will be decrypted with - * options.passphrase. Multiple keys using different algorithms can be - * provided either as an array of unencrypted key strings or buffers, - * or an array of objects in the form {pem: [, - * passphrase: ]}. The object form can only occur in an array. - * object.passphrase is optional. Encrypted keys will be decrypted with - * object.passphrase if provided, or options.passphrase if it is not. - */ - key?: string | Buffer | Array; - /** - * Name of an OpenSSL engine to get private key from. Should be used - * together with privateKeyIdentifier. - */ - privateKeyEngine?: string; - /** - * Identifier of a private key managed by an OpenSSL engine. Should be - * used together with privateKeyEngine. Should not be set together with - * key, because both options define a private key in different ways. - */ - privateKeyIdentifier?: string; - /** - * Optionally set the maximum TLS version to allow. One - * of `'TLSv1.3'`, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified along with the - * `secureProtocol` option, use one or the other. - * **Default:** `'TLSv1.3'`, unless changed using CLI options. Using - * `--tls-max-v1.2` sets the default to `'TLSv1.2'`. Using `--tls-max-v1.3` sets the default to - * `'TLSv1.3'`. If multiple of the options are provided, the highest maximum is used. - */ - maxVersion?: SecureVersion; - /** - * Optionally set the minimum TLS version to allow. One - * of `'TLSv1.3'`, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified along with the - * `secureProtocol` option, use one or the other. It is not recommended to use - * less than TLSv1.2, but it may be required for interoperability. - * **Default:** `'TLSv1.2'`, unless changed using CLI options. Using - * `--tls-v1.0` sets the default to `'TLSv1'`. Using `--tls-v1.1` sets the default to - * `'TLSv1.1'`. Using `--tls-min-v1.3` sets the default to - * 'TLSv1.3'. If multiple of the options are provided, the lowest minimum is used. - */ - minVersion?: SecureVersion; - /** - * Shared passphrase used for a single private key and/or a PFX. - */ - passphrase?: string; - /** - * PFX or PKCS12 encoded private key and certificate chain. pfx is an - * alternative to providing key and cert individually. PFX is usually - * encrypted, if it is, passphrase will be used to decrypt it. Multiple - * PFX can be provided either as an array of unencrypted PFX buffers, - * or an array of objects in the form {buf: [, - * passphrase: ]}. The object form can only occur in an array. - * object.passphrase is optional. Encrypted PFX will be decrypted with - * object.passphrase if provided, or options.passphrase if it is not. - */ - pfx?: string | Buffer | Array; - /** - * Optionally affect the OpenSSL protocol behavior, which is not - * usually necessary. This should be used carefully if at all! Value is - * a numeric bitmask of the SSL_OP_* options from OpenSSL Options - */ - secureOptions?: number; // Value is a numeric bitmask of the `SSL_OP_*` options - /** - * Legacy mechanism to select the TLS protocol version to use, it does - * not support independent control of the minimum and maximum version, - * and does not support limiting the protocol to TLSv1.3. Use - * minVersion and maxVersion instead. The possible values are listed as - * SSL_METHODS, use the function names as strings. For example, use - * 'TLSv1_1_method' to force TLS version 1.1, or 'TLS_method' to allow - * any TLS protocol version up to TLSv1.3. It is not recommended to use - * TLS versions less than 1.2, but it may be required for - * interoperability. Default: none, see minVersion. - */ - secureProtocol?: string; - /** - * Opaque identifier used by servers to ensure session state is not - * shared between applications. Unused by clients. - */ - sessionIdContext?: string; - /** - * 48-bytes of cryptographically strong pseudo-random data. - * See Session Resumption for more information. - */ - ticketKeys?: Buffer; - /** - * The number of seconds after which a TLS session created by the - * server will no longer be resumable. See Session Resumption for more - * information. Default: 300. - */ - sessionTimeout?: number; - } - - interface SecureContext { - context: any; - } - - /* - * Verifies the certificate `cert` is issued to host `host`. - * @host The hostname to verify the certificate against - * @cert PeerCertificate representing the peer's certificate - * - * Returns Error object, populating it with the reason, host and cert on failure. On success, returns undefined. - */ - function checkServerIdentity(host: string, cert: PeerCertificate): Error | undefined; - function createServer(secureConnectionListener?: (socket: TLSSocket) => void): Server; - function createServer(options: TlsOptions, secureConnectionListener?: (socket: TLSSocket) => void): Server; - function connect(options: ConnectionOptions, secureConnectListener?: () => void): TLSSocket; - function connect(port: number, host?: string, options?: ConnectionOptions, secureConnectListener?: () => void): TLSSocket; - function connect(port: number, options?: ConnectionOptions, secureConnectListener?: () => void): TLSSocket; - /** - * @deprecated since v0.11.3 Use `tls.TLSSocket` instead. - */ - function createSecurePair(credentials?: SecureContext, isServer?: boolean, requestCert?: boolean, rejectUnauthorized?: boolean): SecurePair; - function createSecureContext(options?: SecureContextOptions): SecureContext; - function getCiphers(): string[]; - - /** - * The default curve name to use for ECDH key agreement in a tls server. - * The default value is 'auto'. See tls.createSecureContext() for further - * information. - */ - let DEFAULT_ECDH_CURVE: string; - /** - * The default value of the maxVersion option of - * tls.createSecureContext(). It can be assigned any of the supported TLS - * protocol versions, 'TLSv1.3', 'TLSv1.2', 'TLSv1.1', or 'TLSv1'. Default: - * 'TLSv1.3', unless changed using CLI options. Using --tls-max-v1.2 sets - * the default to 'TLSv1.2'. Using --tls-max-v1.3 sets the default to - * 'TLSv1.3'. If multiple of the options are provided, the highest maximum - * is used. - */ - let DEFAULT_MAX_VERSION: SecureVersion; - /** - * The default value of the minVersion option of tls.createSecureContext(). - * It can be assigned any of the supported TLS protocol versions, - * 'TLSv1.3', 'TLSv1.2', 'TLSv1.1', or 'TLSv1'. Default: 'TLSv1.2', unless - * changed using CLI options. Using --tls-min-v1.0 sets the default to - * 'TLSv1'. Using --tls-min-v1.1 sets the default to 'TLSv1.1'. Using - * --tls-min-v1.3 sets the default to 'TLSv1.3'. If multiple of the options - * are provided, the lowest minimum is used. - */ - let DEFAULT_MIN_VERSION: SecureVersion; - - /** - * An immutable array of strings representing the root certificates (in PEM - * format) used for verifying peer certificates. This is the default value - * of the ca option to tls.createSecureContext(). - */ - const rootCertificates: ReadonlyArray; -} diff --git a/node_modules/@types/node/trace_events.d.ts b/node_modules/@types/node/trace_events.d.ts deleted file mode 100644 index 1f3a89c4..00000000 --- a/node_modules/@types/node/trace_events.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -declare module "trace_events" { - /** - * The `Tracing` object is used to enable or disable tracing for sets of - * categories. Instances are created using the - * `trace_events.createTracing()` method. - * - * When created, the `Tracing` object is disabled. Calling the - * `tracing.enable()` method adds the categories to the set of enabled trace - * event categories. Calling `tracing.disable()` will remove the categories - * from the set of enabled trace event categories. - */ - interface Tracing { - /** - * A comma-separated list of the trace event categories covered by this - * `Tracing` object. - */ - readonly categories: string; - - /** - * Disables this `Tracing` object. - * - * Only trace event categories _not_ covered by other enabled `Tracing` - * objects and _not_ specified by the `--trace-event-categories` flag - * will be disabled. - */ - disable(): void; - - /** - * Enables this `Tracing` object for the set of categories covered by - * the `Tracing` object. - */ - enable(): void; - - /** - * `true` only if the `Tracing` object has been enabled. - */ - readonly enabled: boolean; - } - - interface CreateTracingOptions { - /** - * An array of trace category names. Values included in the array are - * coerced to a string when possible. An error will be thrown if the - * value cannot be coerced. - */ - categories: string[]; - } - - /** - * Creates and returns a Tracing object for the given set of categories. - */ - function createTracing(options: CreateTracingOptions): Tracing; - - /** - * Returns a comma-separated list of all currently-enabled trace event - * categories. The current set of enabled trace event categories is - * determined by the union of all currently-enabled `Tracing` objects and - * any categories enabled using the `--trace-event-categories` flag. - */ - function getEnabledCategories(): string | undefined; -} diff --git a/node_modules/@types/node/ts3.4/assert.d.ts b/node_modules/@types/node/ts3.4/assert.d.ts deleted file mode 100644 index 4bc6c729..00000000 --- a/node_modules/@types/node/ts3.4/assert.d.ts +++ /dev/null @@ -1,98 +0,0 @@ -declare module 'assert' { - /** An alias of `assert.ok()`. */ - function assert(value: any, message?: string | Error): void; - namespace assert { - class AssertionError implements Error { - name: string; - message: string; - actual: any; - expected: any; - operator: string; - generatedMessage: boolean; - code: 'ERR_ASSERTION'; - - constructor(options?: { - /** If provided, the error message is set to this value. */ - message?: string; - /** The `actual` property on the error instance. */ - actual?: any; - /** The `expected` property on the error instance. */ - expected?: any; - /** The `operator` property on the error instance. */ - operator?: string; - /** If provided, the generated stack trace omits frames before this function. */ - stackStartFn?: Function; - }); - } - - class CallTracker { - calls(exact?: number): () => void; - calls any>(fn?: Func, exact?: number): Func; - report(): CallTrackerReportInformation[]; - verify(): void; - } - interface CallTrackerReportInformation { - message: string; - /** The actual number of times the function was called. */ - actual: number; - /** The number of times the function was expected to be called. */ - expected: number; - /** The name of the function that is wrapped. */ - operator: string; - /** A stack trace of the function. */ - stack: object; - } - - type AssertPredicate = RegExp | (new () => object) | ((thrown: any) => boolean) | object | Error; - - function fail(message?: string | Error): never; - /** @deprecated since v10.0.0 - use fail([message]) or other assert functions instead. */ - function fail( - actual: any, - expected: any, - message?: string | Error, - operator?: string, - stackStartFn?: Function, - ): never; - function ok(value: any, message?: string | Error): void; - /** @deprecated since v9.9.0 - use strictEqual() instead. */ - function equal(actual: any, expected: any, message?: string | Error): void; - /** @deprecated since v9.9.0 - use notStrictEqual() instead. */ - function notEqual(actual: any, expected: any, message?: string | Error): void; - /** @deprecated since v9.9.0 - use deepStrictEqual() instead. */ - function deepEqual(actual: any, expected: any, message?: string | Error): void; - /** @deprecated since v9.9.0 - use notDeepStrictEqual() instead. */ - function notDeepEqual(actual: any, expected: any, message?: string | Error): void; - function strictEqual(actual: any, expected: any, message?: string | Error): void; - function notStrictEqual(actual: any, expected: any, message?: string | Error): void; - function deepStrictEqual(actual: any, expected: any, message?: string | Error): void; - function notDeepStrictEqual(actual: any, expected: any, message?: string | Error): void; - - function throws(block: () => any, message?: string | Error): void; - function throws(block: () => any, error: AssertPredicate, message?: string | Error): void; - function doesNotThrow(block: () => any, message?: string | Error): void; - function doesNotThrow(block: () => any, error: RegExp | Function, message?: string | Error): void; - - function ifError(value: any): void; - - function rejects(block: (() => Promise) | Promise, message?: string | Error): Promise; - function rejects( - block: (() => Promise) | Promise, - error: AssertPredicate, - message?: string | Error, - ): Promise; - function doesNotReject(block: (() => Promise) | Promise, message?: string | Error): Promise; - function doesNotReject( - block: (() => Promise) | Promise, - error: RegExp | Function, - message?: string | Error, - ): Promise; - - function match(value: string, regExp: RegExp, message?: string | Error): void; - function doesNotMatch(value: string, regExp: RegExp, message?: string | Error): void; - - const strict: typeof assert; - } - - export = assert; -} diff --git a/node_modules/@types/node/ts3.4/base.d.ts b/node_modules/@types/node/ts3.4/base.d.ts deleted file mode 100644 index 2ea04f58..00000000 --- a/node_modules/@types/node/ts3.4/base.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -// NOTE: These definitions support NodeJS and TypeScript 3.2 - 3.4. - -// NOTE: TypeScript version-specific augmentations can be found in the following paths: -// - ~/base.d.ts - Shared definitions common to all TypeScript versions -// - ~/index.d.ts - Definitions specific to TypeScript 2.1 -// - ~/ts3.2/base.d.ts - Definitions specific to TypeScript 3.2 -// - ~/ts3.2/index.d.ts - Definitions specific to TypeScript 3.2 with global and assert pulled in - -// Reference required types from the default lib: -/// -/// -/// -/// - -// Base definitions for all NodeJS modules that are not specific to any version of TypeScript: - -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// diff --git a/node_modules/@types/node/ts3.4/globals.global.d.ts b/node_modules/@types/node/ts3.4/globals.global.d.ts deleted file mode 100644 index 8e854665..00000000 --- a/node_modules/@types/node/ts3.4/globals.global.d.ts +++ /dev/null @@ -1 +0,0 @@ -declare var global: NodeJS.Global; diff --git a/node_modules/@types/node/ts3.4/index.d.ts b/node_modules/@types/node/ts3.4/index.d.ts deleted file mode 100644 index 506b32a5..00000000 --- a/node_modules/@types/node/ts3.4/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -// NOTE: These definitions support NodeJS and TypeScript 3.2 - 3.4. -// This is required to enable globalThis support for global in ts3.5 without causing errors -// This is required to enable typing assert in ts3.7 without causing errors -// Typically type modifiations should be made in base.d.ts instead of here - -/// -/// -/// diff --git a/node_modules/@types/node/ts3.6/base.d.ts b/node_modules/@types/node/ts3.6/base.d.ts deleted file mode 100644 index 05afa406..00000000 --- a/node_modules/@types/node/ts3.6/base.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -// NOTE: These definitions support NodeJS and TypeScript 3.5. - -// NOTE: TypeScript version-specific augmentations can be found in the following paths: -// - ~/base.d.ts - Shared definitions common to all TypeScript versions -// - ~/index.d.ts - Definitions specific to TypeScript 2.1 -// - ~/ts3.5/base.d.ts - Definitions specific to TypeScript 3.5 -// - ~/ts3.5/index.d.ts - Definitions specific to TypeScript 3.5 with assert pulled in - -// Reference required types from the default lib: -/// -/// -/// -/// - -// Base definitions for all NodeJS modules that are not specific to any version of TypeScript: -/// - -// TypeScript 3.5-specific augmentations: -/// - -// TypeScript 3.5-specific augmentations: -/// diff --git a/node_modules/@types/node/ts3.6/index.d.ts b/node_modules/@types/node/ts3.6/index.d.ts deleted file mode 100644 index 7e6b98cc..00000000 --- a/node_modules/@types/node/ts3.6/index.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -// NOTE: These definitions support NodeJS and TypeScript 3.5 - 3.6. -// This is required to enable typing assert in ts3.7 without causing errors -// Typically type modifications should be made in base.d.ts instead of here - -/// - -/// diff --git a/node_modules/@types/node/tty.d.ts b/node_modules/@types/node/tty.d.ts deleted file mode 100644 index 78543663..00000000 --- a/node_modules/@types/node/tty.d.ts +++ /dev/null @@ -1,66 +0,0 @@ -declare module "tty" { - import * as net from "net"; - - function isatty(fd: number): boolean; - class ReadStream extends net.Socket { - constructor(fd: number, options?: net.SocketConstructorOpts); - isRaw: boolean; - setRawMode(mode: boolean): this; - isTTY: boolean; - } - /** - * -1 - to the left from cursor - * 0 - the entire line - * 1 - to the right from cursor - */ - type Direction = -1 | 0 | 1; - class WriteStream extends net.Socket { - constructor(fd: number); - addListener(event: string, listener: (...args: any[]) => void): this; - addListener(event: "resize", listener: () => void): this; - - emit(event: string | symbol, ...args: any[]): boolean; - emit(event: "resize"): boolean; - - on(event: string, listener: (...args: any[]) => void): this; - on(event: "resize", listener: () => void): this; - - once(event: string, listener: (...args: any[]) => void): this; - once(event: "resize", listener: () => void): this; - - prependListener(event: string, listener: (...args: any[]) => void): this; - prependListener(event: "resize", listener: () => void): this; - - prependOnceListener(event: string, listener: (...args: any[]) => void): this; - prependOnceListener(event: "resize", listener: () => void): this; - - /** - * Clears the current line of this WriteStream in a direction identified by `dir`. - */ - clearLine(dir: Direction, callback?: () => void): boolean; - /** - * Clears this `WriteStream` from the current cursor down. - */ - clearScreenDown(callback?: () => void): boolean; - /** - * Moves this WriteStream's cursor to the specified position. - */ - cursorTo(x: number, y?: number, callback?: () => void): boolean; - cursorTo(x: number, callback: () => void): boolean; - /** - * Moves this WriteStream's cursor relative to its current position. - */ - moveCursor(dx: number, dy: number, callback?: () => void): boolean; - /** - * @default `process.env` - */ - getColorDepth(env?: {}): number; - hasColors(depth?: number): boolean; - hasColors(env?: {}): boolean; - hasColors(depth: number, env?: {}): boolean; - getWindowSize(): [number, number]; - columns: number; - rows: number; - isTTY: boolean; - } -} diff --git a/node_modules/@types/node/url.d.ts b/node_modules/@types/node/url.d.ts deleted file mode 100644 index 2490c352..00000000 --- a/node_modules/@types/node/url.d.ts +++ /dev/null @@ -1,110 +0,0 @@ -declare module "url" { - import { ParsedUrlQuery, ParsedUrlQueryInput } from 'querystring'; - - // Input to `url.format` - interface UrlObject { - auth?: string | null; - hash?: string | null; - host?: string | null; - hostname?: string | null; - href?: string | null; - pathname?: string | null; - protocol?: string | null; - search?: string | null; - slashes?: boolean | null; - port?: string | number | null; - query?: string | null | ParsedUrlQueryInput; - } - - // Output of `url.parse` - interface Url { - auth: string | null; - hash: string | null; - host: string | null; - hostname: string | null; - href: string; - path: string | null; - pathname: string | null; - protocol: string | null; - search: string | null; - slashes: boolean | null; - port: string | null; - query: string | null | ParsedUrlQuery; - } - - interface UrlWithParsedQuery extends Url { - query: ParsedUrlQuery; - } - - interface UrlWithStringQuery extends Url { - query: string | null; - } - - function parse(urlStr: string): UrlWithStringQuery; - function parse(urlStr: string, parseQueryString: false | undefined, slashesDenoteHost?: boolean): UrlWithStringQuery; - function parse(urlStr: string, parseQueryString: true, slashesDenoteHost?: boolean): UrlWithParsedQuery; - function parse(urlStr: string, parseQueryString: boolean, slashesDenoteHost?: boolean): Url; - - function format(URL: URL, options?: URLFormatOptions): string; - function format(urlObject: UrlObject | string): string; - function resolve(from: string, to: string): string; - - function domainToASCII(domain: string): string; - function domainToUnicode(domain: string): string; - - /** - * This function ensures the correct decodings of percent-encoded characters as - * well as ensuring a cross-platform valid absolute path string. - * @param url The file URL string or URL object to convert to a path. - */ - function fileURLToPath(url: string | URL): string; - - /** - * This function ensures that path is resolved absolutely, and that the URL - * control characters are correctly encoded when converting into a File URL. - * @param url The path to convert to a File URL. - */ - function pathToFileURL(url: string): URL; - - interface URLFormatOptions { - auth?: boolean; - fragment?: boolean; - search?: boolean; - unicode?: boolean; - } - - class URL { - constructor(input: string, base?: string | URL); - hash: string; - host: string; - hostname: string; - href: string; - readonly origin: string; - password: string; - pathname: string; - port: string; - protocol: string; - search: string; - readonly searchParams: URLSearchParams; - username: string; - toString(): string; - toJSON(): string; - } - - class URLSearchParams implements Iterable<[string, string]> { - constructor(init?: URLSearchParams | string | NodeJS.Dict> | Iterable<[string, string]> | ReadonlyArray<[string, string]>); - append(name: string, value: string): void; - delete(name: string): void; - entries(): IterableIterator<[string, string]>; - forEach(callback: (value: string, name: string, searchParams: this) => void): void; - get(name: string): string | null; - getAll(name: string): string[]; - has(name: string): boolean; - keys(): IterableIterator; - set(name: string, value: string): void; - sort(): void; - toString(): string; - values(): IterableIterator; - [Symbol.iterator](): IterableIterator<[string, string]>; - } -} diff --git a/node_modules/@types/node/util.d.ts b/node_modules/@types/node/util.d.ts deleted file mode 100644 index 4c39aebf..00000000 --- a/node_modules/@types/node/util.d.ts +++ /dev/null @@ -1,207 +0,0 @@ -declare module "util" { - interface InspectOptions extends NodeJS.InspectOptions { } - type Style = 'special' | 'number' | 'bigint' | 'boolean' | 'undefined' | 'null' | 'string' | 'symbol' | 'date' | 'regexp' | 'module'; - type CustomInspectFunction = (depth: number, options: InspectOptionsStylized) => string; - interface InspectOptionsStylized extends InspectOptions { - stylize(text: string, styleType: Style): string; - } - function format(format: any, ...param: any[]): string; - function formatWithOptions(inspectOptions: InspectOptions, format: string, ...param: any[]): string; - /** @deprecated since v0.11.3 - use a third party module instead. */ - function log(string: string): void; - function inspect(object: any, showHidden?: boolean, depth?: number | null, color?: boolean): string; - function inspect(object: any, options: InspectOptions): string; - namespace inspect { - let colors: NodeJS.Dict<[number, number]>; - let styles: { - [K in Style]: string - }; - let defaultOptions: InspectOptions; - /** - * Allows changing inspect settings from the repl. - */ - let replDefaults: InspectOptions; - const custom: unique symbol; - } - /** @deprecated since v4.0.0 - use `Array.isArray()` instead. */ - function isArray(object: any): object is any[]; - /** @deprecated since v4.0.0 - use `util.types.isRegExp()` instead. */ - function isRegExp(object: any): object is RegExp; - /** @deprecated since v4.0.0 - use `util.types.isDate()` instead. */ - function isDate(object: any): object is Date; - /** @deprecated since v4.0.0 - use `util.types.isNativeError()` instead. */ - function isError(object: any): object is Error; - function inherits(constructor: any, superConstructor: any): void; - function debuglog(key: string): (msg: string, ...param: any[]) => void; - /** @deprecated since v4.0.0 - use `typeof value === 'boolean'` instead. */ - function isBoolean(object: any): object is boolean; - /** @deprecated since v4.0.0 - use `Buffer.isBuffer()` instead. */ - function isBuffer(object: any): object is Buffer; - /** @deprecated since v4.0.0 - use `typeof value === 'function'` instead. */ - function isFunction(object: any): boolean; - /** @deprecated since v4.0.0 - use `value === null` instead. */ - function isNull(object: any): object is null; - /** @deprecated since v4.0.0 - use `value === null || value === undefined` instead. */ - function isNullOrUndefined(object: any): object is null | undefined; - /** @deprecated since v4.0.0 - use `typeof value === 'number'` instead. */ - function isNumber(object: any): object is number; - /** @deprecated since v4.0.0 - use `value !== null && typeof value === 'object'` instead. */ - function isObject(object: any): boolean; - /** @deprecated since v4.0.0 - use `(typeof value !== 'object' && typeof value !== 'function') || value === null` instead. */ - function isPrimitive(object: any): boolean; - /** @deprecated since v4.0.0 - use `typeof value === 'string'` instead. */ - function isString(object: any): object is string; - /** @deprecated since v4.0.0 - use `typeof value === 'symbol'` instead. */ - function isSymbol(object: any): object is symbol; - /** @deprecated since v4.0.0 - use `value === undefined` instead. */ - function isUndefined(object: any): object is undefined; - function deprecate(fn: T, message: string, code?: string): T; - function isDeepStrictEqual(val1: any, val2: any): boolean; - - function callbackify(fn: () => Promise): (callback: (err: NodeJS.ErrnoException) => void) => void; - function callbackify(fn: () => Promise): (callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void; - function callbackify(fn: (arg1: T1) => Promise): (arg1: T1, callback: (err: NodeJS.ErrnoException) => void) => void; - function callbackify(fn: (arg1: T1) => Promise): (arg1: T1, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void; - function callbackify(fn: (arg1: T1, arg2: T2) => Promise): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException) => void) => void; - function callbackify(fn: (arg1: T1, arg2: T2) => Promise): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void; - function callbackify(fn: (arg1: T1, arg2: T2, arg3: T3) => Promise): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException) => void) => void; - function callbackify( - fn: (arg1: T1, arg2: T2, arg3: T3) => Promise): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void; - function callbackify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: NodeJS.ErrnoException) => void) => void; - function callbackify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void; - function callbackify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: NodeJS.ErrnoException) => void) => void; - function callbackify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise, - ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void; - function callbackify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => Promise, - ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, callback: (err: NodeJS.ErrnoException) => void) => void; - function callbackify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => Promise - ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void; - - interface CustomPromisifyLegacy extends Function { - __promisify__: TCustom; - } - - interface CustomPromisifySymbol extends Function { - [promisify.custom]: TCustom; - } - - type CustomPromisify = CustomPromisifySymbol | CustomPromisifyLegacy; - - function promisify(fn: CustomPromisify): TCustom; - function promisify(fn: (callback: (err: any, result: TResult) => void) => void): () => Promise; - function promisify(fn: (callback: (err?: any) => void) => void): () => Promise; - function promisify(fn: (arg1: T1, callback: (err: any, result: TResult) => void) => void): (arg1: T1) => Promise; - function promisify(fn: (arg1: T1, callback: (err?: any) => void) => void): (arg1: T1) => Promise; - function promisify(fn: (arg1: T1, arg2: T2, callback: (err: any, result: TResult) => void) => void): (arg1: T1, arg2: T2) => Promise; - function promisify(fn: (arg1: T1, arg2: T2, callback: (err?: any) => void) => void): (arg1: T1, arg2: T2) => Promise; - function promisify(fn: (arg1: T1, arg2: T2, arg3: T3, callback: (err: any, result: TResult) => void) => void): - (arg1: T1, arg2: T2, arg3: T3) => Promise; - function promisify(fn: (arg1: T1, arg2: T2, arg3: T3, callback: (err?: any) => void) => void): (arg1: T1, arg2: T2, arg3: T3) => Promise; - function promisify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: any, result: TResult) => void) => void, - ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise; - function promisify(fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err?: any) => void) => void): - (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise; - function promisify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: any, result: TResult) => void) => void, - ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise; - function promisify( - fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err?: any) => void) => void, - ): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise; - function promisify(fn: Function): Function; - namespace promisify { - const custom: unique symbol; - } - - namespace types { - function isAnyArrayBuffer(object: any): object is ArrayBufferLike; - function isArgumentsObject(object: any): object is IArguments; - function isArrayBuffer(object: any): object is ArrayBuffer; - function isArrayBufferView(object: any): object is NodeJS.ArrayBufferView; - function isAsyncFunction(object: any): boolean; - function isBigInt64Array(value: any): value is BigInt64Array; - function isBigUint64Array(value: any): value is BigUint64Array; - function isBooleanObject(object: any): object is Boolean; - function isBoxedPrimitive(object: any): object is String | Number | BigInt | Boolean | Symbol; - function isDataView(object: any): object is DataView; - function isDate(object: any): object is Date; - function isExternal(object: any): boolean; - function isFloat32Array(object: any): object is Float32Array; - function isFloat64Array(object: any): object is Float64Array; - function isGeneratorFunction(object: any): object is GeneratorFunction; - function isGeneratorObject(object: any): object is Generator; - function isInt8Array(object: any): object is Int8Array; - function isInt16Array(object: any): object is Int16Array; - function isInt32Array(object: any): object is Int32Array; - function isMap( - object: T | {}, - ): object is T extends ReadonlyMap - ? unknown extends T - ? never - : ReadonlyMap - : Map; - function isMapIterator(object: any): boolean; - function isModuleNamespaceObject(value: any): boolean; - function isNativeError(object: any): object is Error; - function isNumberObject(object: any): object is Number; - function isPromise(object: any): object is Promise; - function isProxy(object: any): boolean; - function isRegExp(object: any): object is RegExp; - function isSet( - object: T | {}, - ): object is T extends ReadonlySet - ? unknown extends T - ? never - : ReadonlySet - : Set; - function isSetIterator(object: any): boolean; - function isSharedArrayBuffer(object: any): object is SharedArrayBuffer; - function isStringObject(object: any): object is String; - function isSymbolObject(object: any): object is Symbol; - function isTypedArray(object: any): object is NodeJS.TypedArray; - function isUint8Array(object: any): object is Uint8Array; - function isUint8ClampedArray(object: any): object is Uint8ClampedArray; - function isUint16Array(object: any): object is Uint16Array; - function isUint32Array(object: any): object is Uint32Array; - function isWeakMap(object: any): object is WeakMap; - function isWeakSet(object: any): object is WeakSet; - } - - class TextDecoder { - readonly encoding: string; - readonly fatal: boolean; - readonly ignoreBOM: boolean; - constructor( - encoding?: string, - options?: { fatal?: boolean; ignoreBOM?: boolean } - ); - decode( - input?: NodeJS.ArrayBufferView | ArrayBuffer | null, - options?: { stream?: boolean } - ): string; - } - - interface EncodeIntoResult { - /** - * The read Unicode code units of input. - */ - - read: number; - /** - * The written UTF-8 bytes of output. - */ - written: number; - } - - class TextEncoder { - readonly encoding: string; - encode(input?: string): Uint8Array; - encodeInto(input: string, output: Uint8Array): EncodeIntoResult; - } -} diff --git a/node_modules/@types/node/v8.d.ts b/node_modules/@types/node/v8.d.ts deleted file mode 100644 index 7d950824..00000000 --- a/node_modules/@types/node/v8.d.ts +++ /dev/null @@ -1,187 +0,0 @@ -declare module "v8" { - import { Readable } from "stream"; - - interface HeapSpaceInfo { - space_name: string; - space_size: number; - space_used_size: number; - space_available_size: number; - physical_space_size: number; - } - - // ** Signifies if the --zap_code_space option is enabled or not. 1 == enabled, 0 == disabled. */ - type DoesZapCodeSpaceFlag = 0 | 1; - - interface HeapInfo { - total_heap_size: number; - total_heap_size_executable: number; - total_physical_size: number; - total_available_size: number; - used_heap_size: number; - heap_size_limit: number; - malloced_memory: number; - peak_malloced_memory: number; - does_zap_garbage: DoesZapCodeSpaceFlag; - number_of_native_contexts: number; - number_of_detached_contexts: number; - } - - interface HeapCodeStatistics { - code_and_metadata_size: number; - bytecode_and_metadata_size: number; - external_script_source_size: number; - } - - /** - * Returns an integer representing a "version tag" derived from the V8 version, command line flags and detected CPU features. - * This is useful for determining whether a vm.Script cachedData buffer is compatible with this instance of V8. - */ - function cachedDataVersionTag(): number; - - function getHeapStatistics(): HeapInfo; - function getHeapSpaceStatistics(): HeapSpaceInfo[]; - function setFlagsFromString(flags: string): void; - /** - * Generates a snapshot of the current V8 heap and returns a Readable - * Stream that may be used to read the JSON serialized representation. - * This conversation was marked as resolved by joyeecheung - * This JSON stream format is intended to be used with tools such as - * Chrome DevTools. The JSON schema is undocumented and specific to the - * V8 engine, and may change from one version of V8 to the next. - */ - function getHeapSnapshot(): Readable; - - /** - * - * @param fileName The file path where the V8 heap snapshot is to be - * saved. If not specified, a file name with the pattern - * `'Heap-${yyyymmdd}-${hhmmss}-${pid}-${thread_id}.heapsnapshot'` will be - * generated, where `{pid}` will be the PID of the Node.js process, - * `{thread_id}` will be `0` when `writeHeapSnapshot()` is called from - * the main Node.js thread or the id of a worker thread. - */ - function writeHeapSnapshot(fileName?: string): string; - - function getHeapCodeStatistics(): HeapCodeStatistics; - - class Serializer { - /** - * Writes out a header, which includes the serialization format version. - */ - writeHeader(): void; - - /** - * Serializes a JavaScript value and adds the serialized representation to the internal buffer. - * This throws an error if value cannot be serialized. - */ - writeValue(val: any): boolean; - - /** - * Returns the stored internal buffer. - * This serializer should not be used once the buffer is released. - * Calling this method results in undefined behavior if a previous write has failed. - */ - releaseBuffer(): Buffer; - - /** - * Marks an ArrayBuffer as having its contents transferred out of band.\ - * Pass the corresponding ArrayBuffer in the deserializing context to deserializer.transferArrayBuffer(). - */ - transferArrayBuffer(id: number, arrayBuffer: ArrayBuffer): void; - - /** - * Write a raw 32-bit unsigned integer. - */ - writeUint32(value: number): void; - - /** - * Write a raw 64-bit unsigned integer, split into high and low 32-bit parts. - */ - writeUint64(hi: number, lo: number): void; - - /** - * Write a JS number value. - */ - writeDouble(value: number): void; - - /** - * Write raw bytes into the serializer’s internal buffer. - * The deserializer will require a way to compute the length of the buffer. - */ - writeRawBytes(buffer: NodeJS.TypedArray): void; - } - - /** - * A subclass of `Serializer` that serializes `TypedArray` (in particular `Buffer`) and `DataView` objects as host objects, - * and only stores the part of their underlying `ArrayBuffers` that they are referring to. - */ - class DefaultSerializer extends Serializer { - } - - class Deserializer { - constructor(data: NodeJS.TypedArray); - /** - * Reads and validates a header (including the format version). - * May, for example, reject an invalid or unsupported wire format. - * In that case, an Error is thrown. - */ - readHeader(): boolean; - - /** - * Deserializes a JavaScript value from the buffer and returns it. - */ - readValue(): any; - - /** - * Marks an ArrayBuffer as having its contents transferred out of band. - * Pass the corresponding `ArrayBuffer` in the serializing context to serializer.transferArrayBuffer() - * (or return the id from serializer._getSharedArrayBufferId() in the case of SharedArrayBuffers). - */ - transferArrayBuffer(id: number, arrayBuffer: ArrayBuffer): void; - - /** - * Reads the underlying wire format version. - * Likely mostly to be useful to legacy code reading old wire format versions. - * May not be called before .readHeader(). - */ - getWireFormatVersion(): number; - - /** - * Read a raw 32-bit unsigned integer and return it. - */ - readUint32(): number; - - /** - * Read a raw 64-bit unsigned integer and return it as an array [hi, lo] with two 32-bit unsigned integer entries. - */ - readUint64(): [number, number]; - - /** - * Read a JS number value. - */ - readDouble(): number; - - /** - * Read raw bytes from the deserializer’s internal buffer. - * The length parameter must correspond to the length of the buffer that was passed to serializer.writeRawBytes(). - */ - readRawBytes(length: number): Buffer; - } - - /** - * A subclass of `Serializer` that serializes `TypedArray` (in particular `Buffer`) and `DataView` objects as host objects, - * and only stores the part of their underlying `ArrayBuffers` that they are referring to. - */ - class DefaultDeserializer extends Deserializer { - } - - /** - * Uses a `DefaultSerializer` to serialize value into a buffer. - */ - function serialize(value: any): Buffer; - - /** - * Uses a `DefaultDeserializer` with default options to read a JS value from a buffer. - */ - function deserialize(data: NodeJS.TypedArray): any; -} diff --git a/node_modules/@types/node/vm.d.ts b/node_modules/@types/node/vm.d.ts deleted file mode 100644 index 399c2a6a..00000000 --- a/node_modules/@types/node/vm.d.ts +++ /dev/null @@ -1,146 +0,0 @@ -declare module "vm" { - interface Context extends NodeJS.Dict { } - interface BaseOptions { - /** - * Specifies the filename used in stack traces produced by this script. - * Default: `''`. - */ - filename?: string; - /** - * Specifies the line number offset that is displayed in stack traces produced by this script. - * Default: `0`. - */ - lineOffset?: number; - /** - * Specifies the column number offset that is displayed in stack traces produced by this script. - * Default: `0` - */ - columnOffset?: number; - } - interface ScriptOptions extends BaseOptions { - displayErrors?: boolean; - timeout?: number; - cachedData?: Buffer; - produceCachedData?: boolean; - } - interface RunningScriptOptions extends BaseOptions { - /** - * When `true`, if an `Error` occurs while compiling the `code`, the line of code causing the error is attached to the stack trace. - * Default: `true`. - */ - displayErrors?: boolean; - /** - * Specifies the number of milliseconds to execute code before terminating execution. - * If execution is terminated, an `Error` will be thrown. This value must be a strictly positive integer. - */ - timeout?: number; - /** - * If `true`, the execution will be terminated when `SIGINT` (Ctrl+C) is received. - * Existing handlers for the event that have been attached via `process.on('SIGINT')` will be disabled during script execution, but will continue to work after that. - * If execution is terminated, an `Error` will be thrown. - * Default: `false`. - */ - breakOnSigint?: boolean; - /** - * If set to `afterEvaluate`, microtasks will be run immediately after the script has run. - */ - microtaskMode?: 'afterEvaluate'; - } - interface CompileFunctionOptions extends BaseOptions { - /** - * Provides an optional data with V8's code cache data for the supplied source. - */ - cachedData?: Buffer; - /** - * Specifies whether to produce new cache data. - * Default: `false`, - */ - produceCachedData?: boolean; - /** - * The sandbox/context in which the said function should be compiled in. - */ - parsingContext?: Context; - - /** - * An array containing a collection of context extensions (objects wrapping the current scope) to be applied while compiling - */ - contextExtensions?: Object[]; - } - - interface CreateContextOptions { - /** - * Human-readable name of the newly created context. - * @default 'VM Context i' Where i is an ascending numerical index of the created context. - */ - name?: string; - /** - * Corresponds to the newly created context for display purposes. - * The origin should be formatted like a `URL`, but with only the scheme, host, and port (if necessary), - * like the value of the `url.origin` property of a URL object. - * Most notably, this string should omit the trailing slash, as that denotes a path. - * @default '' - */ - origin?: string; - codeGeneration?: { - /** - * If set to false any calls to eval or function constructors (Function, GeneratorFunction, etc) - * will throw an EvalError. - * @default true - */ - strings?: boolean; - /** - * If set to false any attempt to compile a WebAssembly module will throw a WebAssembly.CompileError. - * @default true - */ - wasm?: boolean; - }; - } - - type MeasureMemoryMode = 'summary' | 'detailed'; - - interface MeasureMemoryOptions { - /** - * @default 'summary' - */ - mode?: MeasureMemoryMode; - context?: Context; - } - - interface MemoryMeasurement { - total: { - jsMemoryEstimate: number; - jsMemoryRange: [number, number]; - }; - } - - class Script { - constructor(code: string, options?: ScriptOptions); - runInContext(contextifiedSandbox: Context, options?: RunningScriptOptions): any; - runInNewContext(sandbox?: Context, options?: RunningScriptOptions): any; - runInThisContext(options?: RunningScriptOptions): any; - createCachedData(): Buffer; - } - function createContext(sandbox?: Context, options?: CreateContextOptions): Context; - function isContext(sandbox: Context): boolean; - function runInContext(code: string, contextifiedSandbox: Context, options?: RunningScriptOptions | string): any; - function runInNewContext(code: string, sandbox?: Context, options?: RunningScriptOptions | string): any; - function runInThisContext(code: string, options?: RunningScriptOptions | string): any; - function compileFunction(code: string, params?: ReadonlyArray, options?: CompileFunctionOptions): Function; - - /** - * Measure the memory known to V8 and used by the current execution context or a specified context. - * - * The format of the object that the returned Promise may resolve with is - * specific to the V8 engine and may change from one version of V8 to the next. - * - * The returned result is different from the statistics returned by - * `v8.getHeapSpaceStatistics()` in that `vm.measureMemory()` measures - * the memory reachable by V8 from a specific context, while - * `v8.getHeapSpaceStatistics()` measures the memory used by an instance - * of V8 engine, which can switch among multiple contexts that reference - * objects in the heap of one engine. - * - * @experimental - */ - function measureMemory(options?: MeasureMemoryOptions): Promise; -} diff --git a/node_modules/@types/node/wasi.d.ts b/node_modules/@types/node/wasi.d.ts deleted file mode 100644 index fe2b2aab..00000000 --- a/node_modules/@types/node/wasi.d.ts +++ /dev/null @@ -1,86 +0,0 @@ -declare module 'wasi' { - interface WASIOptions { - /** - * An array of strings that the WebAssembly application will - * see as command line arguments. The first argument is the virtual path to the - * WASI command itself. - */ - args?: string[]; - - /** - * An object similar to `process.env` that the WebAssembly - * application will see as its environment. - */ - env?: object; - - /** - * This object represents the WebAssembly application's - * sandbox directory structure. The string keys of `preopens` are treated as - * directories within the sandbox. The corresponding values in `preopens` are - * the real paths to those directories on the host machine. - */ - preopens?: NodeJS.Dict; - - /** - * By default, WASI applications terminate the Node.js - * process via the `__wasi_proc_exit()` function. Setting this option to `true` - * causes `wasi.start()` to return the exit code rather than terminate the - * process. - * @default false - */ - returnOnExit?: boolean; - - /** - * The file descriptor used as standard input in the WebAssembly application. - * @default 0 - */ - stdin?: number; - - /** - * The file descriptor used as standard output in the WebAssembly application. - * @default 1 - */ - stdout?: number; - - /** - * The file descriptor used as standard error in the WebAssembly application. - * @default 2 - */ - stderr?: number; - } - - class WASI { - constructor(options?: WASIOptions); - /** - * - * Attempt to begin execution of `instance` by invoking its `_start()` export. - * If `instance` does not contain a `_start()` export, then `start()` attempts to - * invoke the `__wasi_unstable_reactor_start()` export. If neither of those exports - * is present on `instance`, then `start()` does nothing. - * - * `start()` requires that `instance` exports a [`WebAssembly.Memory`][] named - * `memory`. If `instance` does not have a `memory` export an exception is thrown. - * - * If `start()` is called more than once, an exception is thrown. - */ - start(instance: object): void; // TODO: avoid DOM dependency until WASM moved to own lib. - - /** - * Attempt to initialize `instance` as a WASI reactor by invoking its `_initialize()` export, if it is present. - * If `instance` contains a `_start()` export, then an exception is thrown. - * - * `start()` requires that `instance` exports a [`WebAssembly.Memory`][] named - * `memory`. If `instance` does not have a `memory` export an exception is thrown. - * - * If `initialize()` is called more than once, an exception is thrown. - */ - initialize(instance: object): void; // TODO: avoid DOM dependency until WASM moved to own lib. - - /** - * Is an object that implements the WASI system call API. This object - * should be passed as the `wasi_snapshot_preview1` import during the instantiation of a - * [`WebAssembly.Instance`][]. - */ - readonly wasiImport: NodeJS.Dict; // TODO: Narrow to DOM types - } -} diff --git a/node_modules/@types/node/worker_threads.d.ts b/node_modules/@types/node/worker_threads.d.ts deleted file mode 100644 index 3a8881e6..00000000 --- a/node_modules/@types/node/worker_threads.d.ts +++ /dev/null @@ -1,238 +0,0 @@ -declare module "worker_threads" { - import { Context } from "vm"; - import { EventEmitter } from "events"; - import { Readable, Writable } from "stream"; - import { URL } from "url"; - import { FileHandle } from "fs/promises"; - - const isMainThread: boolean; - const parentPort: null | MessagePort; - const resourceLimits: ResourceLimits; - const SHARE_ENV: unique symbol; - const threadId: number; - const workerData: any; - - class MessageChannel { - readonly port1: MessagePort; - readonly port2: MessagePort; - } - - type TransferListItem = ArrayBuffer | MessagePort | FileHandle; - - class MessagePort extends EventEmitter { - close(): void; - postMessage(value: any, transferList?: ReadonlyArray): void; - ref(): void; - unref(): void; - start(): void; - - addListener(event: "close", listener: () => void): this; - addListener(event: "message", listener: (value: any) => void): this; - addListener(event: "messageerror", listener: (error: Error) => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - emit(event: "close"): boolean; - emit(event: "message", value: any): boolean; - emit(event: "messageerror", error: Error): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - - on(event: "close", listener: () => void): this; - on(event: "message", listener: (value: any) => void): this; - on(event: "messageerror", listener: (error: Error) => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "close", listener: () => void): this; - once(event: "message", listener: (value: any) => void): this; - once(event: "messageerror", listener: (error: Error) => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "close", listener: () => void): this; - prependListener(event: "message", listener: (value: any) => void): this; - prependListener(event: "messageerror", listener: (error: Error) => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "close", listener: () => void): this; - prependOnceListener(event: "message", listener: (value: any) => void): this; - prependOnceListener(event: "messageerror", listener: (error: Error) => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - - removeListener(event: "close", listener: () => void): this; - removeListener(event: "message", listener: (value: any) => void): this; - removeListener(event: "messageerror", listener: (error: Error) => void): this; - removeListener(event: string | symbol, listener: (...args: any[]) => void): this; - - off(event: "close", listener: () => void): this; - off(event: "message", listener: (value: any) => void): this; - off(event: "messageerror", listener: (error: Error) => void): this; - off(event: string | symbol, listener: (...args: any[]) => void): this; - } - - interface WorkerOptions { - /** - * List of arguments which would be stringified and appended to - * `process.argv` in the worker. This is mostly similar to the `workerData` - * but the values will be available on the global `process.argv` as if they - * were passed as CLI options to the script. - */ - argv?: any[]; - env?: NodeJS.Dict | typeof SHARE_ENV; - eval?: boolean; - workerData?: any; - stdin?: boolean; - stdout?: boolean; - stderr?: boolean; - execArgv?: string[]; - resourceLimits?: ResourceLimits; - /** - * Additional data to send in the first worker message. - */ - transferList?: TransferListItem[]; - trackUnmanagedFds?: boolean; - } - - interface ResourceLimits { - /** - * The maximum size of a heap space for recently created objects. - */ - maxYoungGenerationSizeMb?: number; - /** - * The maximum size of the main heap in MB. - */ - maxOldGenerationSizeMb?: number; - /** - * The size of a pre-allocated memory range used for generated code. - */ - codeRangeSizeMb?: number; - /** - * The default maximum stack size for the thread. Small values may lead to unusable Worker instances. - * @default 4 - */ - stackSizeMb?: number; - } - - class Worker extends EventEmitter { - readonly stdin: Writable | null; - readonly stdout: Readable; - readonly stderr: Readable; - readonly threadId: number; - readonly resourceLimits?: ResourceLimits; - - /** - * @param filename The path to the Worker’s main script or module. - * Must be either an absolute path or a relative path (i.e. relative to the current working directory) starting with ./ or ../, - * or a WHATWG URL object using file: protocol. If options.eval is true, this is a string containing JavaScript code rather than a path. - */ - constructor(filename: string | URL, options?: WorkerOptions); - - postMessage(value: any, transferList?: ReadonlyArray): void; - ref(): void; - unref(): void; - /** - * Stop all JavaScript execution in the worker thread as soon as possible. - * Returns a Promise for the exit code that is fulfilled when the `exit` event is emitted. - */ - terminate(): Promise; - - /** - * Returns a readable stream for a V8 snapshot of the current state of the Worker. - * See [`v8.getHeapSnapshot()`][] for more details. - * - * If the Worker thread is no longer running, which may occur before the - * [`'exit'` event][] is emitted, the returned `Promise` will be rejected - * immediately with an [`ERR_WORKER_NOT_RUNNING`][] error - */ - getHeapSnapshot(): Promise; - - addListener(event: "error", listener: (err: Error) => void): this; - addListener(event: "exit", listener: (exitCode: number) => void): this; - addListener(event: "message", listener: (value: any) => void): this; - addListener(event: "messageerror", listener: (error: Error) => void): this; - addListener(event: "online", listener: () => void): this; - addListener(event: string | symbol, listener: (...args: any[]) => void): this; - - emit(event: "error", err: Error): boolean; - emit(event: "exit", exitCode: number): boolean; - emit(event: "message", value: any): boolean; - emit(event: "messageerror", error: Error): boolean; - emit(event: "online"): boolean; - emit(event: string | symbol, ...args: any[]): boolean; - - on(event: "error", listener: (err: Error) => void): this; - on(event: "exit", listener: (exitCode: number) => void): this; - on(event: "message", listener: (value: any) => void): this; - on(event: "messageerror", listener: (error: Error) => void): this; - on(event: "online", listener: () => void): this; - on(event: string | symbol, listener: (...args: any[]) => void): this; - - once(event: "error", listener: (err: Error) => void): this; - once(event: "exit", listener: (exitCode: number) => void): this; - once(event: "message", listener: (value: any) => void): this; - once(event: "messageerror", listener: (error: Error) => void): this; - once(event: "online", listener: () => void): this; - once(event: string | symbol, listener: (...args: any[]) => void): this; - - prependListener(event: "error", listener: (err: Error) => void): this; - prependListener(event: "exit", listener: (exitCode: number) => void): this; - prependListener(event: "message", listener: (value: any) => void): this; - prependListener(event: "messageerror", listener: (error: Error) => void): this; - prependListener(event: "online", listener: () => void): this; - prependListener(event: string | symbol, listener: (...args: any[]) => void): this; - - prependOnceListener(event: "error", listener: (err: Error) => void): this; - prependOnceListener(event: "exit", listener: (exitCode: number) => void): this; - prependOnceListener(event: "message", listener: (value: any) => void): this; - prependOnceListener(event: "messageerror", listener: (error: Error) => void): this; - prependOnceListener(event: "online", listener: () => void): this; - prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this; - - removeListener(event: "error", listener: (err: Error) => void): this; - removeListener(event: "exit", listener: (exitCode: number) => void): this; - removeListener(event: "message", listener: (value: any) => void): this; - removeListener(event: "messageerror", listener: (error: Error) => void): this; - removeListener(event: "online", listener: () => void): this; - removeListener(event: string | symbol, listener: (...args: any[]) => void): this; - - off(event: "error", listener: (err: Error) => void): this; - off(event: "exit", listener: (exitCode: number) => void): this; - off(event: "message", listener: (value: any) => void): this; - off(event: "messageerror", listener: (error: Error) => void): this; - off(event: "online", listener: () => void): this; - off(event: string | symbol, listener: (...args: any[]) => void): this; - } - - /** - * Mark an object as not transferable. - * If `object` occurs in the transfer list of a `port.postMessage()` call, it will be ignored. - * - * In particular, this makes sense for objects that can be cloned, rather than transferred, - * and which are used by other objects on the sending side. For example, Node.js marks - * the `ArrayBuffer`s it uses for its Buffer pool with this. - * - * This operation cannot be undone. - */ - function markAsUntransferable(object: object): void; - - /** - * Transfer a `MessagePort` to a different `vm` Context. The original `port` - * object will be rendered unusable, and the returned `MessagePort` instance will - * take its place. - * - * The returned `MessagePort` will be an object in the target context, and will - * inherit from its global `Object` class. Objects passed to the - * `port.onmessage()` listener will also be created in the target context - * and inherit from its global `Object` class. - * - * However, the created `MessagePort` will no longer inherit from - * `EventEmitter`, and only `port.onmessage()` can be used to receive - * events using it. - */ - function moveMessagePortToContext(port: MessagePort, context: Context): MessagePort; - - /** - * Receive a single message from a given `MessagePort`. If no message is available, - * `undefined` is returned, otherwise an object with a single `message` property - * that contains the message payload, corresponding to the oldest message in the - * `MessagePort`’s queue. - */ - function receiveMessageOnPort(port: MessagePort): { message: any } | undefined; -} diff --git a/node_modules/@types/node/zlib.d.ts b/node_modules/@types/node/zlib.d.ts deleted file mode 100644 index 754f5ed1..00000000 --- a/node_modules/@types/node/zlib.d.ts +++ /dev/null @@ -1,361 +0,0 @@ -declare module "zlib" { - import * as stream from "stream"; - - interface ZlibOptions { - /** - * @default constants.Z_NO_FLUSH - */ - flush?: number; - /** - * @default constants.Z_FINISH - */ - finishFlush?: number; - /** - * @default 16*1024 - */ - chunkSize?: number; - windowBits?: number; - level?: number; // compression only - memLevel?: number; // compression only - strategy?: number; // compression only - dictionary?: NodeJS.ArrayBufferView | ArrayBuffer; // deflate/inflate only, empty dictionary by default - info?: boolean; - maxOutputLength?: number; - } - - interface BrotliOptions { - /** - * @default constants.BROTLI_OPERATION_PROCESS - */ - flush?: number; - /** - * @default constants.BROTLI_OPERATION_FINISH - */ - finishFlush?: number; - /** - * @default 16*1024 - */ - chunkSize?: number; - params?: { - /** - * Each key is a `constants.BROTLI_*` constant. - */ - [key: number]: boolean | number; - }; - maxOutputLength?: number; - } - - interface Zlib { - /** @deprecated Use bytesWritten instead. */ - readonly bytesRead: number; - readonly bytesWritten: number; - shell?: boolean | string; - close(callback?: () => void): void; - flush(kind?: number, callback?: () => void): void; - flush(callback?: () => void): void; - } - - interface ZlibParams { - params(level: number, strategy: number, callback: () => void): void; - } - - interface ZlibReset { - reset(): void; - } - - interface BrotliCompress extends stream.Transform, Zlib { } - interface BrotliDecompress extends stream.Transform, Zlib { } - interface Gzip extends stream.Transform, Zlib { } - interface Gunzip extends stream.Transform, Zlib { } - interface Deflate extends stream.Transform, Zlib, ZlibReset, ZlibParams { } - interface Inflate extends stream.Transform, Zlib, ZlibReset { } - interface DeflateRaw extends stream.Transform, Zlib, ZlibReset, ZlibParams { } - interface InflateRaw extends stream.Transform, Zlib, ZlibReset { } - interface Unzip extends stream.Transform, Zlib { } - - function createBrotliCompress(options?: BrotliOptions): BrotliCompress; - function createBrotliDecompress(options?: BrotliOptions): BrotliDecompress; - function createGzip(options?: ZlibOptions): Gzip; - function createGunzip(options?: ZlibOptions): Gunzip; - function createDeflate(options?: ZlibOptions): Deflate; - function createInflate(options?: ZlibOptions): Inflate; - function createDeflateRaw(options?: ZlibOptions): DeflateRaw; - function createInflateRaw(options?: ZlibOptions): InflateRaw; - function createUnzip(options?: ZlibOptions): Unzip; - - type InputType = string | ArrayBuffer | NodeJS.ArrayBufferView; - - type CompressCallback = (error: Error | null, result: Buffer) => void; - - function brotliCompress(buf: InputType, options: BrotliOptions, callback: CompressCallback): void; - function brotliCompress(buf: InputType, callback: CompressCallback): void; - namespace brotliCompress { - function __promisify__(buffer: InputType, options?: BrotliOptions): Promise; - } - - function brotliCompressSync(buf: InputType, options?: BrotliOptions): Buffer; - - function brotliDecompress(buf: InputType, options: BrotliOptions, callback: CompressCallback): void; - function brotliDecompress(buf: InputType, callback: CompressCallback): void; - namespace brotliDecompress { - function __promisify__(buffer: InputType, options?: BrotliOptions): Promise; - } - - function brotliDecompressSync(buf: InputType, options?: BrotliOptions): Buffer; - - function deflate(buf: InputType, callback: CompressCallback): void; - function deflate(buf: InputType, options: ZlibOptions, callback: CompressCallback): void; - namespace deflate { - function __promisify__(buffer: InputType, options?: ZlibOptions): Promise; - } - - function deflateSync(buf: InputType, options?: ZlibOptions): Buffer; - - function deflateRaw(buf: InputType, callback: CompressCallback): void; - function deflateRaw(buf: InputType, options: ZlibOptions, callback: CompressCallback): void; - namespace deflateRaw { - function __promisify__(buffer: InputType, options?: ZlibOptions): Promise; - } - - function deflateRawSync(buf: InputType, options?: ZlibOptions): Buffer; - - function gzip(buf: InputType, callback: CompressCallback): void; - function gzip(buf: InputType, options: ZlibOptions, callback: CompressCallback): void; - namespace gzip { - function __promisify__(buffer: InputType, options?: ZlibOptions): Promise; - } - - function gzipSync(buf: InputType, options?: ZlibOptions): Buffer; - - function gunzip(buf: InputType, callback: CompressCallback): void; - function gunzip(buf: InputType, options: ZlibOptions, callback: CompressCallback): void; - namespace gunzip { - function __promisify__(buffer: InputType, options?: ZlibOptions): Promise; - } - - function gunzipSync(buf: InputType, options?: ZlibOptions): Buffer; - - function inflate(buf: InputType, callback: CompressCallback): void; - function inflate(buf: InputType, options: ZlibOptions, callback: CompressCallback): void; - namespace inflate { - function __promisify__(buffer: InputType, options?: ZlibOptions): Promise; - } - - function inflateSync(buf: InputType, options?: ZlibOptions): Buffer; - - function inflateRaw(buf: InputType, callback: CompressCallback): void; - function inflateRaw(buf: InputType, options: ZlibOptions, callback: CompressCallback): void; - namespace inflateRaw { - function __promisify__(buffer: InputType, options?: ZlibOptions): Promise; - } - - function inflateRawSync(buf: InputType, options?: ZlibOptions): Buffer; - - function unzip(buf: InputType, callback: CompressCallback): void; - function unzip(buf: InputType, options: ZlibOptions, callback: CompressCallback): void; - namespace unzip { - function __promisify__(buffer: InputType, options?: ZlibOptions): Promise; - } - - function unzipSync(buf: InputType, options?: ZlibOptions): Buffer; - - namespace constants { - const BROTLI_DECODE: number; - const BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES: number; - const BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP: number; - const BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES: number; - const BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1: number; - const BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2: number; - const BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS: number; - const BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET: number; - const BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1: number; - const BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2: number; - const BROTLI_DECODER_ERROR_FORMAT_CL_SPACE: number; - const BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT: number; - const BROTLI_DECODER_ERROR_FORMAT_DICTIONARY: number; - const BROTLI_DECODER_ERROR_FORMAT_DISTANCE: number; - const BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE: number; - const BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE: number; - const BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE: number; - const BROTLI_DECODER_ERROR_FORMAT_PADDING_1: number; - const BROTLI_DECODER_ERROR_FORMAT_PADDING_2: number; - const BROTLI_DECODER_ERROR_FORMAT_RESERVED: number; - const BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET: number; - const BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME: number; - const BROTLI_DECODER_ERROR_FORMAT_TRANSFORM: number; - const BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS: number; - const BROTLI_DECODER_ERROR_INVALID_ARGUMENTS: number; - const BROTLI_DECODER_ERROR_UNREACHABLE: number; - const BROTLI_DECODER_NEEDS_MORE_INPUT: number; - const BROTLI_DECODER_NEEDS_MORE_OUTPUT: number; - const BROTLI_DECODER_NO_ERROR: number; - const BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION: number; - const BROTLI_DECODER_PARAM_LARGE_WINDOW: number; - const BROTLI_DECODER_RESULT_ERROR: number; - const BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT: number; - const BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT: number; - const BROTLI_DECODER_RESULT_SUCCESS: number; - const BROTLI_DECODER_SUCCESS: number; - - const BROTLI_DEFAULT_MODE: number; - const BROTLI_DEFAULT_QUALITY: number; - const BROTLI_DEFAULT_WINDOW: number; - const BROTLI_ENCODE: number; - const BROTLI_LARGE_MAX_WINDOW_BITS: number; - const BROTLI_MAX_INPUT_BLOCK_BITS: number; - const BROTLI_MAX_QUALITY: number; - const BROTLI_MAX_WINDOW_BITS: number; - const BROTLI_MIN_INPUT_BLOCK_BITS: number; - const BROTLI_MIN_QUALITY: number; - const BROTLI_MIN_WINDOW_BITS: number; - - const BROTLI_MODE_FONT: number; - const BROTLI_MODE_GENERIC: number; - const BROTLI_MODE_TEXT: number; - - const BROTLI_OPERATION_EMIT_METADATA: number; - const BROTLI_OPERATION_FINISH: number; - const BROTLI_OPERATION_FLUSH: number; - const BROTLI_OPERATION_PROCESS: number; - - const BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING: number; - const BROTLI_PARAM_LARGE_WINDOW: number; - const BROTLI_PARAM_LGBLOCK: number; - const BROTLI_PARAM_LGWIN: number; - const BROTLI_PARAM_MODE: number; - const BROTLI_PARAM_NDIRECT: number; - const BROTLI_PARAM_NPOSTFIX: number; - const BROTLI_PARAM_QUALITY: number; - const BROTLI_PARAM_SIZE_HINT: number; - - const DEFLATE: number; - const DEFLATERAW: number; - const GUNZIP: number; - const GZIP: number; - const INFLATE: number; - const INFLATERAW: number; - const UNZIP: number; - - // Allowed flush values. - const Z_NO_FLUSH: number; - const Z_PARTIAL_FLUSH: number; - const Z_SYNC_FLUSH: number; - const Z_FULL_FLUSH: number; - const Z_FINISH: number; - const Z_BLOCK: number; - const Z_TREES: number; - - // Return codes for the compression/decompression functions. - // Negative values are errors, positive values are used for special but normal events. - const Z_OK: number; - const Z_STREAM_END: number; - const Z_NEED_DICT: number; - const Z_ERRNO: number; - const Z_STREAM_ERROR: number; - const Z_DATA_ERROR: number; - const Z_MEM_ERROR: number; - const Z_BUF_ERROR: number; - const Z_VERSION_ERROR: number; - - // Compression levels. - const Z_NO_COMPRESSION: number; - const Z_BEST_SPEED: number; - const Z_BEST_COMPRESSION: number; - const Z_DEFAULT_COMPRESSION: number; - - // Compression strategy. - const Z_FILTERED: number; - const Z_HUFFMAN_ONLY: number; - const Z_RLE: number; - const Z_FIXED: number; - const Z_DEFAULT_STRATEGY: number; - - const Z_DEFAULT_WINDOWBITS: number; - const Z_MIN_WINDOWBITS: number; - const Z_MAX_WINDOWBITS: number; - - const Z_MIN_CHUNK: number; - const Z_MAX_CHUNK: number; - const Z_DEFAULT_CHUNK: number; - - const Z_MIN_MEMLEVEL: number; - const Z_MAX_MEMLEVEL: number; - const Z_DEFAULT_MEMLEVEL: number; - - const Z_MIN_LEVEL: number; - const Z_MAX_LEVEL: number; - const Z_DEFAULT_LEVEL: number; - - const ZLIB_VERNUM: number; - } - - // Allowed flush values. - /** @deprecated Use `constants.Z_NO_FLUSH` */ - const Z_NO_FLUSH: number; - /** @deprecated Use `constants.Z_PARTIAL_FLUSH` */ - const Z_PARTIAL_FLUSH: number; - /** @deprecated Use `constants.Z_SYNC_FLUSH` */ - const Z_SYNC_FLUSH: number; - /** @deprecated Use `constants.Z_FULL_FLUSH` */ - const Z_FULL_FLUSH: number; - /** @deprecated Use `constants.Z_FINISH` */ - const Z_FINISH: number; - /** @deprecated Use `constants.Z_BLOCK` */ - const Z_BLOCK: number; - /** @deprecated Use `constants.Z_TREES` */ - const Z_TREES: number; - - // Return codes for the compression/decompression functions. - // Negative values are errors, positive values are used for special but normal events. - /** @deprecated Use `constants.Z_OK` */ - const Z_OK: number; - /** @deprecated Use `constants.Z_STREAM_END` */ - const Z_STREAM_END: number; - /** @deprecated Use `constants.Z_NEED_DICT` */ - const Z_NEED_DICT: number; - /** @deprecated Use `constants.Z_ERRNO` */ - const Z_ERRNO: number; - /** @deprecated Use `constants.Z_STREAM_ERROR` */ - const Z_STREAM_ERROR: number; - /** @deprecated Use `constants.Z_DATA_ERROR` */ - const Z_DATA_ERROR: number; - /** @deprecated Use `constants.Z_MEM_ERROR` */ - const Z_MEM_ERROR: number; - /** @deprecated Use `constants.Z_BUF_ERROR` */ - const Z_BUF_ERROR: number; - /** @deprecated Use `constants.Z_VERSION_ERROR` */ - const Z_VERSION_ERROR: number; - - // Compression levels. - /** @deprecated Use `constants.Z_NO_COMPRESSION` */ - const Z_NO_COMPRESSION: number; - /** @deprecated Use `constants.Z_BEST_SPEED` */ - const Z_BEST_SPEED: number; - /** @deprecated Use `constants.Z_BEST_COMPRESSION` */ - const Z_BEST_COMPRESSION: number; - /** @deprecated Use `constants.Z_DEFAULT_COMPRESSION` */ - const Z_DEFAULT_COMPRESSION: number; - - // Compression strategy. - /** @deprecated Use `constants.Z_FILTERED` */ - const Z_FILTERED: number; - /** @deprecated Use `constants.Z_HUFFMAN_ONLY` */ - const Z_HUFFMAN_ONLY: number; - /** @deprecated Use `constants.Z_RLE` */ - const Z_RLE: number; - /** @deprecated Use `constants.Z_FIXED` */ - const Z_FIXED: number; - /** @deprecated Use `constants.Z_DEFAULT_STRATEGY` */ - const Z_DEFAULT_STRATEGY: number; - - /** @deprecated */ - const Z_BINARY: number; - /** @deprecated */ - const Z_TEXT: number; - /** @deprecated */ - const Z_ASCII: number; - /** @deprecated */ - const Z_UNKNOWN: number; - /** @deprecated */ - const Z_DEFLATED: number; -} diff --git a/node_modules/qs/.editorconfig b/node_modules/qs/.editorconfig deleted file mode 100644 index b442a9f9..00000000 --- a/node_modules/qs/.editorconfig +++ /dev/null @@ -1,33 +0,0 @@ -root = true - -[*] -indent_style = space -indent_size = 4 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true -max_line_length = 160 - -[test/*] -max_line_length = off - -[LICENSE.md] -indent_size = off - -[*.md] -max_line_length = off - -[*.json] -max_line_length = off - -[Makefile] -max_line_length = off - -[CHANGELOG.md] -indent_style = space -indent_size = 2 - -[LICENSE] -indent_size = 2 -max_line_length = off diff --git a/node_modules/qs/.eslintignore b/node_modules/qs/.eslintignore deleted file mode 100644 index 1521c8b7..00000000 --- a/node_modules/qs/.eslintignore +++ /dev/null @@ -1 +0,0 @@ -dist diff --git a/node_modules/qs/.eslintrc b/node_modules/qs/.eslintrc deleted file mode 100644 index e3bde898..00000000 --- a/node_modules/qs/.eslintrc +++ /dev/null @@ -1,21 +0,0 @@ -{ - "root": true, - - "extends": "@ljharb", - - "rules": { - "complexity": 0, - "consistent-return": 1, - "func-name-matching": 0, - "id-length": [2, { "min": 1, "max": 25, "properties": "never" }], - "indent": [2, 4], - "max-lines-per-function": [2, { "max": 150 }], - "max-params": [2, 14], - "max-statements": [2, 52], - "multiline-comment-style": 0, - "no-continue": 1, - "no-magic-numbers": 0, - "no-restricted-syntax": [2, "BreakStatement", "DebuggerStatement", "ForInStatement", "LabeledStatement", "WithStatement"], - "operator-linebreak": [2, "before"], - } -} diff --git a/node_modules/qs/.github/FUNDING.yml b/node_modules/qs/.github/FUNDING.yml deleted file mode 100644 index 0355f4f5..00000000 --- a/node_modules/qs/.github/FUNDING.yml +++ /dev/null @@ -1,12 +0,0 @@ -# These are supported funding model platforms - -github: [ljharb] -patreon: # Replace with a single Patreon username -open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: npm/qs -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -custom: # Replace with a single custom sponsorship URL diff --git a/node_modules/qs/.github/workflows/rebase.yml b/node_modules/qs/.github/workflows/rebase.yml deleted file mode 100644 index 436cb79d..00000000 --- a/node_modules/qs/.github/workflows/rebase.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Automatic Rebase - -on: [pull_request] - -jobs: - _: - name: "Automatic Rebase" - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v1 - - uses: ljharb/rebase@master - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/node_modules/qs/CHANGELOG.md b/node_modules/qs/CHANGELOG.md deleted file mode 100644 index d18060b2..00000000 --- a/node_modules/qs/CHANGELOG.md +++ /dev/null @@ -1,345 +0,0 @@ -## **6.9.4** -- [Fix] `stringify`: when `arrayFormat` is `comma`, respect `serializeDate` (#364) -- [Refactor] `stringify`: reduce branching (part of #350) -- [Refactor] move `maybeMap` to `utils` -- [Dev Deps] update `browserify`, `tape` - -## **6.9.3** -- [Fix] proper comma parsing of URL-encoded commas (#361) -- [Fix] parses comma delimited array while having percent-encoded comma treated as normal text (#336) - -## **6.9.2** -- [Fix] `parse`: Fix parsing array from object with `comma` true (#359) -- [Fix] `parse`: throw a TypeError instead of an Error for bad charset (#349) -- [meta] ignore eclint transitive audit warning -- [meta] fix indentation in package.json -- [meta] add tidelift marketing copy -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `object-inspect`, `has-symbols`, `tape`, `mkdirp`, `iconv-lite` -- [actions] add automatic rebasing / merge commit blocking - -## **6.9.1** -- [Fix] `parse`: with comma true, handle field that holds an array of arrays (#335) -- [Fix] `parse`: with comma true, do not split non-string values (#334) -- [meta] add `funding` field -- [Dev Deps] update `eslint`, `@ljharb/eslint-config` -- [Tests] use shared travis-ci config - -## **6.9.0** -- [New] `parse`/`stringify`: Pass extra key/value argument to `decoder` (#333) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `evalmd` -- [Tests] `parse`: add passing `arrayFormat` tests -- [Tests] add `posttest` using `npx aud` to run `npm audit` without a lockfile -- [Tests] up to `node` `v12.10`, `v11.15`, `v10.16`, `v8.16` -- [Tests] `Buffer.from` in node v5.0-v5.9 and v4.0-v4.4 requires a TypedArray - -## **6.8.2** -- [Fix] proper comma parsing of URL-encoded commas (#361) -- [Fix] parses comma delimited array while having percent-encoded comma treated as normal text (#336) - -## **6.8.1** -- [Fix] `parse`: Fix parsing array from object with `comma` true (#359) -- [Fix] `parse`: throw a TypeError instead of an Error for bad charset (#349) -- [Fix] `parse`: with comma true, handle field that holds an array of arrays (#335) -- [fix] `parse`: with comma true, do not split non-string values (#334) -- [meta] add tidelift marketing copy -- [meta] add `funding` field -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`, `safe-publish-latest`, `evalmd`, `has-symbols`, `iconv-lite`, `mkdirp`, `object-inspect` -- [Tests] `parse`: add passing `arrayFormat` tests -- [Tests] use shared travis-ci configs -- [Tests] `Buffer.from` in node v5.0-v5.9 and v4.0-v4.4 requires a TypedArray -- [actions] add automatic rebasing / merge commit blocking - -## **6.8.0** -- [New] add `depth=false` to preserve the original key; [Fix] `depth=0` should preserve the original key (#326) -- [New] [Fix] stringify symbols and bigints -- [Fix] ensure node 0.12 can stringify Symbols -- [Fix] fix for an impossible situation: when the formatter is called with a non-string value -- [Refactor] `formats`: tiny bit of cleanup. -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `browserify`, `safe-publish-latest`, `iconv-lite`, `tape` -- [Tests] add tests for `depth=0` and `depth=false` behavior, both current and intuitive/intended (#326) -- [Tests] use `eclint` instead of `editorconfig-tools` -- [docs] readme: add security note -- [meta] add github sponsorship -- [meta] add FUNDING.yml -- [meta] Clean up license text so it’s properly detected as BSD-3-Clause - -## **6.7.2** -- [Fix] proper comma parsing of URL-encoded commas (#361) -- [Fix] parses comma delimited array while having percent-encoded comma treated as normal text (#336) - -## **6.7.1** -- [Fix] `parse`: Fix parsing array from object with `comma` true (#359) -- [Fix] `parse`: with comma true, handle field that holds an array of arrays (#335) -- [fix] `parse`: with comma true, do not split non-string values (#334) -- [Fix] `parse`: throw a TypeError instead of an Error for bad charset (#349) -- [Fix] fix for an impossible situation: when the formatter is called with a non-string value -- [Refactor] `formats`: tiny bit of cleanup. -- readme: add security note -- [meta] add tidelift marketing copy -- [meta] add `funding` field -- [meta] add FUNDING.yml -- [meta] Clean up license text so it’s properly detected as BSD-3-Clause -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`, `safe-publish-latest`, `evalmd`, `iconv-lite`, `mkdirp`, `object-inspect`, `browserify` -- [Tests] `parse`: add passing `arrayFormat` tests -- [Tests] use shared travis-ci configs -- [Tests] `Buffer.from` in node v5.0-v5.9 and v4.0-v4.4 requires a TypedArray -- [Tests] add tests for `depth=0` and `depth=false` behavior, both current and intuitive/intended -- [Tests] use `eclint` instead of `editorconfig-tools` -- [actions] add automatic rebasing / merge commit blocking - -## **6.7.0** -- [New] `stringify`/`parse`: add `comma` as an `arrayFormat` option (#276, #219) -- [Fix] correctly parse nested arrays (#212) -- [Fix] `utils.merge`: avoid a crash with a null target and a truthy non-array source, also with an array source -- [Robustness] `stringify`: cache `Object.prototype.hasOwnProperty` -- [Refactor] `utils`: `isBuffer`: small tweak; add tests -- [Refactor] use cached `Array.isArray` -- [Refactor] `parse`/`stringify`: make a function to normalize the options -- [Refactor] `utils`: reduce observable [[Get]]s -- [Refactor] `stringify`/`utils`: cache `Array.isArray` -- [Tests] always use `String(x)` over `x.toString()` -- [Tests] fix Buffer tests to work in node < 4.5 and node < 5.10 -- [Tests] temporarily allow coverage to fail - -## **6.6.0** -- [New] Add support for iso-8859-1, utf8 "sentinel" and numeric entities (#268) -- [New] move two-value combine to a `utils` function (#189) -- [Fix] `stringify`: fix a crash with `strictNullHandling` and a custom `filter`/`serializeDate` (#279) -- [Fix] when `parseArrays` is false, properly handle keys ending in `[]` (#260) -- [Fix] `stringify`: do not crash in an obscure combo of `interpretNumericEntities`, a bad custom `decoder`, & `iso-8859-1` -- [Fix] `utils`: `merge`: fix crash when `source` is a truthy primitive & no options are provided -- [refactor] `stringify`: Avoid arr = arr.concat(...), push to the existing instance (#269) -- [Refactor] `parse`: only need to reassign the var once -- [Refactor] `parse`/`stringify`: clean up `charset` options checking; fix defaults -- [Refactor] add missing defaults -- [Refactor] `parse`: one less `concat` call -- [Refactor] `utils`: `compactQueue`: make it explicitly side-effecting -- [Dev Deps] update `browserify`, `eslint`, `@ljharb/eslint-config`, `iconv-lite`, `safe-publish-latest`, `tape` -- [Tests] up to `node` `v10.10`, `v9.11`, `v8.12`, `v6.14`, `v4.9`; pin included builds to LTS - -## **6.5.2** -- [Fix] use `safer-buffer` instead of `Buffer` constructor -- [Refactor] utils: `module.exports` one thing, instead of mutating `exports` (#230) -- [Dev Deps] update `browserify`, `eslint`, `iconv-lite`, `safer-buffer`, `tape`, `browserify` - -## **6.5.1** -- [Fix] Fix parsing & compacting very deep objects (#224) -- [Refactor] name utils functions -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` -- [Tests] up to `node` `v8.4`; use `nvm install-latest-npm` so newer npm doesn’t break older node -- [Tests] Use precise dist for Node.js 0.6 runtime (#225) -- [Tests] make 0.6 required, now that it’s passing -- [Tests] on `node` `v8.2`; fix npm on node 0.6 - -## **6.5.0** -- [New] add `utils.assign` -- [New] pass default encoder/decoder to custom encoder/decoder functions (#206) -- [New] `parse`/`stringify`: add `ignoreQueryPrefix`/`addQueryPrefix` options, respectively (#213) -- [Fix] Handle stringifying empty objects with addQueryPrefix (#217) -- [Fix] do not mutate `options` argument (#207) -- [Refactor] `parse`: cache index to reuse in else statement (#182) -- [Docs] add various badges to readme (#208) -- [Dev Deps] update `eslint`, `browserify`, `iconv-lite`, `tape` -- [Tests] up to `node` `v8.1`, `v7.10`, `v6.11`; npm v4.6 breaks on node < v1; npm v5+ breaks on node < v4 -- [Tests] add `editorconfig-tools` - -## **6.4.0** -- [New] `qs.stringify`: add `encodeValuesOnly` option -- [Fix] follow `allowPrototypes` option during merge (#201, #201) -- [Fix] support keys starting with brackets (#202, #200) -- [Fix] chmod a-x -- [Dev Deps] update `eslint` -- [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds -- [eslint] reduce warnings - -## **6.3.2** -- [Fix] follow `allowPrototypes` option during merge (#201, #200) -- [Dev Deps] update `eslint` -- [Fix] chmod a-x -- [Fix] support keys starting with brackets (#202, #200) -- [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds - -## **6.3.1** -- [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties (thanks, @snyk!) -- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `browserify`, `iconv-lite`, `qs-iconv`, `tape` -- [Tests] on all node minors; improve test matrix -- [Docs] document stringify option `allowDots` (#195) -- [Docs] add empty object and array values example (#195) -- [Docs] Fix minor inconsistency/typo (#192) -- [Docs] document stringify option `sort` (#191) -- [Refactor] `stringify`: throw faster with an invalid encoder -- [Refactor] remove unnecessary escapes (#184) -- Remove contributing.md, since `qs` is no longer part of `hapi` (#183) - -## **6.3.0** -- [New] Add support for RFC 1738 (#174, #173) -- [New] `stringify`: Add `serializeDate` option to customize Date serialization (#159) -- [Fix] ensure `utils.merge` handles merging two arrays -- [Refactor] only constructors should be capitalized -- [Refactor] capitalized var names are for constructors only -- [Refactor] avoid using a sparse array -- [Robustness] `formats`: cache `String#replace` -- [Dev Deps] update `browserify`, `eslint`, `@ljharb/eslint-config`; add `safe-publish-latest` -- [Tests] up to `node` `v6.8`, `v4.6`; improve test matrix -- [Tests] flesh out arrayLimit/arrayFormat tests (#107) -- [Tests] skip Object.create tests when null objects are not available -- [Tests] Turn on eslint for test files (#175) - -## **6.2.3** -- [Fix] follow `allowPrototypes` option during merge (#201, #200) -- [Fix] chmod a-x -- [Fix] support keys starting with brackets (#202, #200) -- [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds - -## **6.2.2** -- [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties - -## **6.2.1** -- [Fix] ensure `key[]=x&key[]&key[]=y` results in 3, not 2, values -- [Refactor] Be explicit and use `Object.prototype.hasOwnProperty.call` -- [Tests] remove `parallelshell` since it does not reliably report failures -- [Tests] up to `node` `v6.3`, `v5.12` -- [Dev Deps] update `tape`, `eslint`, `@ljharb/eslint-config`, `qs-iconv` - -## [**6.2.0**](https://github.com/ljharb/qs/issues?milestone=36&state=closed) -- [New] pass Buffers to the encoder/decoder directly (#161) -- [New] add "encoder" and "decoder" options, for custom param encoding/decoding (#160) -- [Fix] fix compacting of nested sparse arrays (#150) - -## **6.1.2 -- [Fix] follow `allowPrototypes` option during merge (#201, #200) -- [Fix] chmod a-x -- [Fix] support keys starting with brackets (#202, #200) -- [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds - -## **6.1.1** -- [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties - -## [**6.1.0**](https://github.com/ljharb/qs/issues?milestone=35&state=closed) -- [New] allowDots option for `stringify` (#151) -- [Fix] "sort" option should work at a depth of 3 or more (#151) -- [Fix] Restore `dist` directory; will be removed in v7 (#148) - -## **6.0.4** -- [Fix] follow `allowPrototypes` option during merge (#201, #200) -- [Fix] chmod a-x -- [Fix] support keys starting with brackets (#202, #200) -- [Tests] up to `node` `v7.7`, `v6.10`,` v4.8`; disable osx builds since they block linux builds - -## **6.0.3** -- [Fix] ensure that `allowPrototypes: false` does not ever shadow Object.prototype properties -- [Fix] Restore `dist` directory; will be removed in v7 (#148) - -## [**6.0.2**](https://github.com/ljharb/qs/issues?milestone=33&state=closed) -- Revert ES6 requirement and restore support for node down to v0.8. - -## [**6.0.1**](https://github.com/ljharb/qs/issues?milestone=32&state=closed) -- [**#127**](https://github.com/ljharb/qs/pull/127) Fix engines definition in package.json - -## [**6.0.0**](https://github.com/ljharb/qs/issues?milestone=31&state=closed) -- [**#124**](https://github.com/ljharb/qs/issues/124) Use ES6 and drop support for node < v4 - -## **5.2.1** -- [Fix] ensure `key[]=x&key[]&key[]=y` results in 3, not 2, values - -## [**5.2.0**](https://github.com/ljharb/qs/issues?milestone=30&state=closed) -- [**#64**](https://github.com/ljharb/qs/issues/64) Add option to sort object keys in the query string - -## [**5.1.0**](https://github.com/ljharb/qs/issues?milestone=29&state=closed) -- [**#117**](https://github.com/ljharb/qs/issues/117) make URI encoding stringified results optional -- [**#106**](https://github.com/ljharb/qs/issues/106) Add flag `skipNulls` to optionally skip null values in stringify - -## [**5.0.0**](https://github.com/ljharb/qs/issues?milestone=28&state=closed) -- [**#114**](https://github.com/ljharb/qs/issues/114) default allowDots to false -- [**#100**](https://github.com/ljharb/qs/issues/100) include dist to npm - -## [**4.0.0**](https://github.com/ljharb/qs/issues?milestone=26&state=closed) -- [**#98**](https://github.com/ljharb/qs/issues/98) make returning plain objects and allowing prototype overwriting properties optional - -## [**3.1.0**](https://github.com/ljharb/qs/issues?milestone=24&state=closed) -- [**#89**](https://github.com/ljharb/qs/issues/89) Add option to disable "Transform dot notation to bracket notation" - -## [**3.0.0**](https://github.com/ljharb/qs/issues?milestone=23&state=closed) -- [**#80**](https://github.com/ljharb/qs/issues/80) qs.parse silently drops properties -- [**#77**](https://github.com/ljharb/qs/issues/77) Perf boost -- [**#60**](https://github.com/ljharb/qs/issues/60) Add explicit option to disable array parsing -- [**#74**](https://github.com/ljharb/qs/issues/74) Bad parse when turning array into object -- [**#81**](https://github.com/ljharb/qs/issues/81) Add a `filter` option -- [**#68**](https://github.com/ljharb/qs/issues/68) Fixed issue with recursion and passing strings into objects. -- [**#66**](https://github.com/ljharb/qs/issues/66) Add mixed array and object dot notation support Closes: #47 -- [**#76**](https://github.com/ljharb/qs/issues/76) RFC 3986 -- [**#85**](https://github.com/ljharb/qs/issues/85) No equal sign -- [**#84**](https://github.com/ljharb/qs/issues/84) update license attribute - -## [**2.4.1**](https://github.com/ljharb/qs/issues?milestone=20&state=closed) -- [**#73**](https://github.com/ljharb/qs/issues/73) Property 'hasOwnProperty' of object # is not a function - -## [**2.4.0**](https://github.com/ljharb/qs/issues?milestone=19&state=closed) -- [**#70**](https://github.com/ljharb/qs/issues/70) Add arrayFormat option - -## [**2.3.3**](https://github.com/ljharb/qs/issues?milestone=18&state=closed) -- [**#59**](https://github.com/ljharb/qs/issues/59) make sure array indexes are >= 0, closes #57 -- [**#58**](https://github.com/ljharb/qs/issues/58) make qs usable for browser loader - -## [**2.3.2**](https://github.com/ljharb/qs/issues?milestone=17&state=closed) -- [**#55**](https://github.com/ljharb/qs/issues/55) allow merging a string into an object - -## [**2.3.1**](https://github.com/ljharb/qs/issues?milestone=16&state=closed) -- [**#52**](https://github.com/ljharb/qs/issues/52) Return "undefined" and "false" instead of throwing "TypeError". - -## [**2.3.0**](https://github.com/ljharb/qs/issues?milestone=15&state=closed) -- [**#50**](https://github.com/ljharb/qs/issues/50) add option to omit array indices, closes #46 - -## [**2.2.5**](https://github.com/ljharb/qs/issues?milestone=14&state=closed) -- [**#39**](https://github.com/ljharb/qs/issues/39) Is there an alternative to Buffer.isBuffer? -- [**#49**](https://github.com/ljharb/qs/issues/49) refactor utils.merge, fixes #45 -- [**#41**](https://github.com/ljharb/qs/issues/41) avoid browserifying Buffer, for #39 - -## [**2.2.4**](https://github.com/ljharb/qs/issues?milestone=13&state=closed) -- [**#38**](https://github.com/ljharb/qs/issues/38) how to handle object keys beginning with a number - -## [**2.2.3**](https://github.com/ljharb/qs/issues?milestone=12&state=closed) -- [**#37**](https://github.com/ljharb/qs/issues/37) parser discards first empty value in array -- [**#36**](https://github.com/ljharb/qs/issues/36) Update to lab 4.x - -## [**2.2.2**](https://github.com/ljharb/qs/issues?milestone=11&state=closed) -- [**#33**](https://github.com/ljharb/qs/issues/33) Error when plain object in a value -- [**#34**](https://github.com/ljharb/qs/issues/34) use Object.prototype.hasOwnProperty.call instead of obj.hasOwnProperty -- [**#24**](https://github.com/ljharb/qs/issues/24) Changelog? Semver? - -## [**2.2.1**](https://github.com/ljharb/qs/issues?milestone=10&state=closed) -- [**#32**](https://github.com/ljharb/qs/issues/32) account for circular references properly, closes #31 -- [**#31**](https://github.com/ljharb/qs/issues/31) qs.parse stackoverflow on circular objects - -## [**2.2.0**](https://github.com/ljharb/qs/issues?milestone=9&state=closed) -- [**#26**](https://github.com/ljharb/qs/issues/26) Don't use Buffer global if it's not present -- [**#30**](https://github.com/ljharb/qs/issues/30) Bug when merging non-object values into arrays -- [**#29**](https://github.com/ljharb/qs/issues/29) Don't call Utils.clone at the top of Utils.merge -- [**#23**](https://github.com/ljharb/qs/issues/23) Ability to not limit parameters? - -## [**2.1.0**](https://github.com/ljharb/qs/issues?milestone=8&state=closed) -- [**#22**](https://github.com/ljharb/qs/issues/22) Enable using a RegExp as delimiter - -## [**2.0.0**](https://github.com/ljharb/qs/issues?milestone=7&state=closed) -- [**#18**](https://github.com/ljharb/qs/issues/18) Why is there arrayLimit? -- [**#20**](https://github.com/ljharb/qs/issues/20) Configurable parametersLimit -- [**#21**](https://github.com/ljharb/qs/issues/21) make all limits optional, for #18, for #20 - -## [**1.2.2**](https://github.com/ljharb/qs/issues?milestone=6&state=closed) -- [**#19**](https://github.com/ljharb/qs/issues/19) Don't overwrite null values - -## [**1.2.1**](https://github.com/ljharb/qs/issues?milestone=5&state=closed) -- [**#16**](https://github.com/ljharb/qs/issues/16) ignore non-string delimiters -- [**#15**](https://github.com/ljharb/qs/issues/15) Close code block - -## [**1.2.0**](https://github.com/ljharb/qs/issues?milestone=4&state=closed) -- [**#12**](https://github.com/ljharb/qs/issues/12) Add optional delim argument -- [**#13**](https://github.com/ljharb/qs/issues/13) fix #11: flattened keys in array are now correctly parsed - -## [**1.1.0**](https://github.com/ljharb/qs/issues?milestone=3&state=closed) -- [**#7**](https://github.com/ljharb/qs/issues/7) Empty values of a POST array disappear after being submitted -- [**#9**](https://github.com/ljharb/qs/issues/9) Should not omit equals signs (=) when value is null -- [**#6**](https://github.com/ljharb/qs/issues/6) Minor grammar fix in README - -## [**1.0.2**](https://github.com/ljharb/qs/issues?milestone=2&state=closed) -- [**#5**](https://github.com/ljharb/qs/issues/5) array holes incorrectly copied into object on large index diff --git a/node_modules/qs/LICENSE.md b/node_modules/qs/LICENSE.md deleted file mode 100644 index fecf6b69..00000000 --- a/node_modules/qs/LICENSE.md +++ /dev/null @@ -1,29 +0,0 @@ -BSD 3-Clause License - -Copyright (c) 2014, Nathan LaFreniere and other [contributors](https://github.com/ljharb/qs/graphs/contributors) -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -3. Neither the name of the copyright holder nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/node_modules/qs/README.md b/node_modules/qs/README.md deleted file mode 100644 index 84f2534e..00000000 --- a/node_modules/qs/README.md +++ /dev/null @@ -1,604 +0,0 @@ -# qs [![Version Badge][2]][1] - -[![Build Status][3]][4] -[![dependency status][5]][6] -[![dev dependency status][7]][8] -[![License][license-image]][license-url] -[![Downloads][downloads-image]][downloads-url] - -[![npm badge][11]][1] - -A querystring parsing and stringifying library with some added security. - -Lead Maintainer: [Jordan Harband](https://github.com/ljharb) - -The **qs** module was originally created and maintained by [TJ Holowaychuk](https://github.com/visionmedia/node-querystring). - -## Usage - -```javascript -var qs = require('qs'); -var assert = require('assert'); - -var obj = qs.parse('a=c'); -assert.deepEqual(obj, { a: 'c' }); - -var str = qs.stringify(obj); -assert.equal(str, 'a=c'); -``` - -### Parsing Objects - -[](#preventEval) -```javascript -qs.parse(string, [options]); -``` - -**qs** allows you to create nested objects within your query strings, by surrounding the name of sub-keys with square brackets `[]`. -For example, the string `'foo[bar]=baz'` converts to: - -```javascript -assert.deepEqual(qs.parse('foo[bar]=baz'), { - foo: { - bar: 'baz' - } -}); -``` - -When using the `plainObjects` option the parsed value is returned as a null object, created via `Object.create(null)` and as such you should be aware that prototype methods will not exist on it and a user may set those names to whatever value they like: - -```javascript -var nullObject = qs.parse('a[hasOwnProperty]=b', { plainObjects: true }); -assert.deepEqual(nullObject, { a: { hasOwnProperty: 'b' } }); -``` - -By default parameters that would overwrite properties on the object prototype are ignored, if you wish to keep the data from those fields either use `plainObjects` as mentioned above, or set `allowPrototypes` to `true` which will allow user input to overwrite those properties. *WARNING* It is generally a bad idea to enable this option as it can cause problems when attempting to use the properties that have been overwritten. Always be careful with this option. - -```javascript -var protoObject = qs.parse('a[hasOwnProperty]=b', { allowPrototypes: true }); -assert.deepEqual(protoObject, { a: { hasOwnProperty: 'b' } }); -``` - -URI encoded strings work too: - -```javascript -assert.deepEqual(qs.parse('a%5Bb%5D=c'), { - a: { b: 'c' } -}); -``` - -You can also nest your objects, like `'foo[bar][baz]=foobarbaz'`: - -```javascript -assert.deepEqual(qs.parse('foo[bar][baz]=foobarbaz'), { - foo: { - bar: { - baz: 'foobarbaz' - } - } -}); -``` - -By default, when nesting objects **qs** will only parse up to 5 children deep. This means if you attempt to parse a string like -`'a[b][c][d][e][f][g][h][i]=j'` your resulting object will be: - -```javascript -var expected = { - a: { - b: { - c: { - d: { - e: { - f: { - '[g][h][i]': 'j' - } - } - } - } - } - } -}; -var string = 'a[b][c][d][e][f][g][h][i]=j'; -assert.deepEqual(qs.parse(string), expected); -``` - -This depth can be overridden by passing a `depth` option to `qs.parse(string, [options])`: - -```javascript -var deep = qs.parse('a[b][c][d][e][f][g][h][i]=j', { depth: 1 }); -assert.deepEqual(deep, { a: { b: { '[c][d][e][f][g][h][i]': 'j' } } }); -``` - -The depth limit helps mitigate abuse when **qs** is used to parse user input, and it is recommended to keep it a reasonably small number. - -For similar reasons, by default **qs** will only parse up to 1000 parameters. This can be overridden by passing a `parameterLimit` option: - -```javascript -var limited = qs.parse('a=b&c=d', { parameterLimit: 1 }); -assert.deepEqual(limited, { a: 'b' }); -``` - -To bypass the leading question mark, use `ignoreQueryPrefix`: - -```javascript -var prefixed = qs.parse('?a=b&c=d', { ignoreQueryPrefix: true }); -assert.deepEqual(prefixed, { a: 'b', c: 'd' }); -``` - -An optional delimiter can also be passed: - -```javascript -var delimited = qs.parse('a=b;c=d', { delimiter: ';' }); -assert.deepEqual(delimited, { a: 'b', c: 'd' }); -``` - -Delimiters can be a regular expression too: - -```javascript -var regexed = qs.parse('a=b;c=d,e=f', { delimiter: /[;,]/ }); -assert.deepEqual(regexed, { a: 'b', c: 'd', e: 'f' }); -``` - -Option `allowDots` can be used to enable dot notation: - -```javascript -var withDots = qs.parse('a.b=c', { allowDots: true }); -assert.deepEqual(withDots, { a: { b: 'c' } }); -``` - -If you have to deal with legacy browsers or services, there's -also support for decoding percent-encoded octets as iso-8859-1: - -```javascript -var oldCharset = qs.parse('a=%A7', { charset: 'iso-8859-1' }); -assert.deepEqual(oldCharset, { a: '§' }); -``` - -Some services add an initial `utf8=✓` value to forms so that old -Internet Explorer versions are more likely to submit the form as -utf-8. Additionally, the server can check the value against wrong -encodings of the checkmark character and detect that a query string -or `application/x-www-form-urlencoded` body was *not* sent as -utf-8, eg. if the form had an `accept-charset` parameter or the -containing page had a different character set. - -**qs** supports this mechanism via the `charsetSentinel` option. -If specified, the `utf8` parameter will be omitted from the -returned object. It will be used to switch to `iso-8859-1`/`utf-8` -mode depending on how the checkmark is encoded. - -**Important**: When you specify both the `charset` option and the -`charsetSentinel` option, the `charset` will be overridden when -the request contains a `utf8` parameter from which the actual -charset can be deduced. In that sense the `charset` will behave -as the default charset rather than the authoritative charset. - -```javascript -var detectedAsUtf8 = qs.parse('utf8=%E2%9C%93&a=%C3%B8', { - charset: 'iso-8859-1', - charsetSentinel: true -}); -assert.deepEqual(detectedAsUtf8, { a: 'ø' }); - -// Browsers encode the checkmark as ✓ when submitting as iso-8859-1: -var detectedAsIso8859_1 = qs.parse('utf8=%26%2310003%3B&a=%F8', { - charset: 'utf-8', - charsetSentinel: true -}); -assert.deepEqual(detectedAsIso8859_1, { a: 'ø' }); -``` - -If you want to decode the `&#...;` syntax to the actual character, -you can specify the `interpretNumericEntities` option as well: - -```javascript -var detectedAsIso8859_1 = qs.parse('a=%26%239786%3B', { - charset: 'iso-8859-1', - interpretNumericEntities: true -}); -assert.deepEqual(detectedAsIso8859_1, { a: '☺' }); -``` - -It also works when the charset has been detected in `charsetSentinel` -mode. - -### Parsing Arrays - -**qs** can also parse arrays using a similar `[]` notation: - -```javascript -var withArray = qs.parse('a[]=b&a[]=c'); -assert.deepEqual(withArray, { a: ['b', 'c'] }); -``` - -You may specify an index as well: - -```javascript -var withIndexes = qs.parse('a[1]=c&a[0]=b'); -assert.deepEqual(withIndexes, { a: ['b', 'c'] }); -``` - -Note that the only difference between an index in an array and a key in an object is that the value between the brackets must be a number -to create an array. When creating arrays with specific indices, **qs** will compact a sparse array to only the existing values preserving -their order: - -```javascript -var noSparse = qs.parse('a[1]=b&a[15]=c'); -assert.deepEqual(noSparse, { a: ['b', 'c'] }); -``` - -Note that an empty string is also a value, and will be preserved: - -```javascript -var withEmptyString = qs.parse('a[]=&a[]=b'); -assert.deepEqual(withEmptyString, { a: ['', 'b'] }); - -var withIndexedEmptyString = qs.parse('a[0]=b&a[1]=&a[2]=c'); -assert.deepEqual(withIndexedEmptyString, { a: ['b', '', 'c'] }); -``` - -**qs** will also limit specifying indices in an array to a maximum index of `20`. Any array members with an index of greater than `20` will -instead be converted to an object with the index as the key. This is needed to handle cases when someone sent, for example, `a[999999999]` and it will take significant time to iterate over this huge array. - -```javascript -var withMaxIndex = qs.parse('a[100]=b'); -assert.deepEqual(withMaxIndex, { a: { '100': 'b' } }); -``` - -This limit can be overridden by passing an `arrayLimit` option: - -```javascript -var withArrayLimit = qs.parse('a[1]=b', { arrayLimit: 0 }); -assert.deepEqual(withArrayLimit, { a: { '1': 'b' } }); -``` - -To disable array parsing entirely, set `parseArrays` to `false`. - -```javascript -var noParsingArrays = qs.parse('a[]=b', { parseArrays: false }); -assert.deepEqual(noParsingArrays, { a: { '0': 'b' } }); -``` - -If you mix notations, **qs** will merge the two items into an object: - -```javascript -var mixedNotation = qs.parse('a[0]=b&a[b]=c'); -assert.deepEqual(mixedNotation, { a: { '0': 'b', b: 'c' } }); -``` - -You can also create arrays of objects: - -```javascript -var arraysOfObjects = qs.parse('a[][b]=c'); -assert.deepEqual(arraysOfObjects, { a: [{ b: 'c' }] }); -``` - -Some people use comma to join array, **qs** can parse it: -```javascript -var arraysOfObjects = qs.parse('a=b,c', { comma: true }) -assert.deepEqual(arraysOfObjects, { a: ['b', 'c'] }) -``` -(_this cannot convert nested objects, such as `a={b:1},{c:d}`_) - -### Stringifying - -[](#preventEval) -```javascript -qs.stringify(object, [options]); -``` - -When stringifying, **qs** by default URI encodes output. Objects are stringified as you would expect: - -```javascript -assert.equal(qs.stringify({ a: 'b' }), 'a=b'); -assert.equal(qs.stringify({ a: { b: 'c' } }), 'a%5Bb%5D=c'); -``` - -This encoding can be disabled by setting the `encode` option to `false`: - -```javascript -var unencoded = qs.stringify({ a: { b: 'c' } }, { encode: false }); -assert.equal(unencoded, 'a[b]=c'); -``` - -Encoding can be disabled for keys by setting the `encodeValuesOnly` option to `true`: -```javascript -var encodedValues = qs.stringify( - { a: 'b', c: ['d', 'e=f'], f: [['g'], ['h']] }, - { encodeValuesOnly: true } -); -assert.equal(encodedValues,'a=b&c[0]=d&c[1]=e%3Df&f[0][0]=g&f[1][0]=h'); -``` - -This encoding can also be replaced by a custom encoding method set as `encoder` option: - -```javascript -var encoded = qs.stringify({ a: { b: 'c' } }, { encoder: function (str) { - // Passed in values `a`, `b`, `c` - return // Return encoded string -}}) -``` - -_(Note: the `encoder` option does not apply if `encode` is `false`)_ - -Analogue to the `encoder` there is a `decoder` option for `parse` to override decoding of properties and values: - -```javascript -var decoded = qs.parse('x=z', { decoder: function (str) { - // Passed in values `x`, `z` - return // Return decoded string -}}) -``` - -You can encode keys and values using different logic by using the type argument provided to the encoder: - -```javascript -var encoded = qs.stringify({ a: { b: 'c' } }, { encoder: function (str, defaultEncoder, charset, type) { - if (type === 'key') { - return // Encoded key - } else if (type === 'value') { - return // Encoded value - } -}}) -``` - -The type argument is also provided to the decoder: - -```javascript -var decoded = qs.parse('x=z', { decoder: function (str, defaultEncoder, charset, type) { - if (type === 'key') { - return // Decoded key - } else if (type === 'value') { - return // Decoded value - } -}}) -``` - -Examples beyond this point will be shown as though the output is not URI encoded for clarity. Please note that the return values in these cases *will* be URI encoded during real usage. - -When arrays are stringified, by default they are given explicit indices: - -```javascript -qs.stringify({ a: ['b', 'c', 'd'] }); -// 'a[0]=b&a[1]=c&a[2]=d' -``` - -You may override this by setting the `indices` option to `false`: - -```javascript -qs.stringify({ a: ['b', 'c', 'd'] }, { indices: false }); -// 'a=b&a=c&a=d' -``` - -You may use the `arrayFormat` option to specify the format of the output array: - -```javascript -qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'indices' }) -// 'a[0]=b&a[1]=c' -qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'brackets' }) -// 'a[]=b&a[]=c' -qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'repeat' }) -// 'a=b&a=c' -qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'comma' }) -// 'a=b,c' -``` - -When objects are stringified, by default they use bracket notation: - -```javascript -qs.stringify({ a: { b: { c: 'd', e: 'f' } } }); -// 'a[b][c]=d&a[b][e]=f' -``` - -You may override this to use dot notation by setting the `allowDots` option to `true`: - -```javascript -qs.stringify({ a: { b: { c: 'd', e: 'f' } } }, { allowDots: true }); -// 'a.b.c=d&a.b.e=f' -``` - -Empty strings and null values will omit the value, but the equals sign (=) remains in place: - -```javascript -assert.equal(qs.stringify({ a: '' }), 'a='); -``` - -Key with no values (such as an empty object or array) will return nothing: - -```javascript -assert.equal(qs.stringify({ a: [] }), ''); -assert.equal(qs.stringify({ a: {} }), ''); -assert.equal(qs.stringify({ a: [{}] }), ''); -assert.equal(qs.stringify({ a: { b: []} }), ''); -assert.equal(qs.stringify({ a: { b: {}} }), ''); -``` - -Properties that are set to `undefined` will be omitted entirely: - -```javascript -assert.equal(qs.stringify({ a: null, b: undefined }), 'a='); -``` - -The query string may optionally be prepended with a question mark: - -```javascript -assert.equal(qs.stringify({ a: 'b', c: 'd' }, { addQueryPrefix: true }), '?a=b&c=d'); -``` - -The delimiter may be overridden with stringify as well: - -```javascript -assert.equal(qs.stringify({ a: 'b', c: 'd' }, { delimiter: ';' }), 'a=b;c=d'); -``` - -If you only want to override the serialization of `Date` objects, you can provide a `serializeDate` option: - -```javascript -var date = new Date(7); -assert.equal(qs.stringify({ a: date }), 'a=1970-01-01T00:00:00.007Z'.replace(/:/g, '%3A')); -assert.equal( - qs.stringify({ a: date }, { serializeDate: function (d) { return d.getTime(); } }), - 'a=7' -); -``` - -You may use the `sort` option to affect the order of parameter keys: - -```javascript -function alphabeticalSort(a, b) { - return a.localeCompare(b); -} -assert.equal(qs.stringify({ a: 'c', z: 'y', b : 'f' }, { sort: alphabeticalSort }), 'a=c&b=f&z=y'); -``` - -Finally, you can use the `filter` option to restrict which keys will be included in the stringified output. -If you pass a function, it will be called for each key to obtain the replacement value. Otherwise, if you -pass an array, it will be used to select properties and array indices for stringification: - -```javascript -function filterFunc(prefix, value) { - if (prefix == 'b') { - // Return an `undefined` value to omit a property. - return; - } - if (prefix == 'e[f]') { - return value.getTime(); - } - if (prefix == 'e[g][0]') { - return value * 2; - } - return value; -} -qs.stringify({ a: 'b', c: 'd', e: { f: new Date(123), g: [2] } }, { filter: filterFunc }); -// 'a=b&c=d&e[f]=123&e[g][0]=4' -qs.stringify({ a: 'b', c: 'd', e: 'f' }, { filter: ['a', 'e'] }); -// 'a=b&e=f' -qs.stringify({ a: ['b', 'c', 'd'], e: 'f' }, { filter: ['a', 0, 2] }); -// 'a[0]=b&a[2]=d' -``` - -### Handling of `null` values - -By default, `null` values are treated like empty strings: - -```javascript -var withNull = qs.stringify({ a: null, b: '' }); -assert.equal(withNull, 'a=&b='); -``` - -Parsing does not distinguish between parameters with and without equal signs. Both are converted to empty strings. - -```javascript -var equalsInsensitive = qs.parse('a&b='); -assert.deepEqual(equalsInsensitive, { a: '', b: '' }); -``` - -To distinguish between `null` values and empty strings use the `strictNullHandling` flag. In the result string the `null` -values have no `=` sign: - -```javascript -var strictNull = qs.stringify({ a: null, b: '' }, { strictNullHandling: true }); -assert.equal(strictNull, 'a&b='); -``` - -To parse values without `=` back to `null` use the `strictNullHandling` flag: - -```javascript -var parsedStrictNull = qs.parse('a&b=', { strictNullHandling: true }); -assert.deepEqual(parsedStrictNull, { a: null, b: '' }); -``` - -To completely skip rendering keys with `null` values, use the `skipNulls` flag: - -```javascript -var nullsSkipped = qs.stringify({ a: 'b', c: null}, { skipNulls: true }); -assert.equal(nullsSkipped, 'a=b'); -``` - -If you're communicating with legacy systems, you can switch to `iso-8859-1` -using the `charset` option: - -```javascript -var iso = qs.stringify({ æ: 'æ' }, { charset: 'iso-8859-1' }); -assert.equal(iso, '%E6=%E6'); -``` - -Characters that don't exist in `iso-8859-1` will be converted to numeric -entities, similar to what browsers do: - -```javascript -var numeric = qs.stringify({ a: '☺' }, { charset: 'iso-8859-1' }); -assert.equal(numeric, 'a=%26%239786%3B'); -``` - -You can use the `charsetSentinel` option to announce the character by -including an `utf8=✓` parameter with the proper encoding if the checkmark, -similar to what Ruby on Rails and others do when submitting forms. - -```javascript -var sentinel = qs.stringify({ a: '☺' }, { charsetSentinel: true }); -assert.equal(sentinel, 'utf8=%E2%9C%93&a=%E2%98%BA'); - -var isoSentinel = qs.stringify({ a: 'æ' }, { charsetSentinel: true, charset: 'iso-8859-1' }); -assert.equal(isoSentinel, 'utf8=%26%2310003%3B&a=%E6'); -``` - -### Dealing with special character sets - -By default the encoding and decoding of characters is done in `utf-8`, -and `iso-8859-1` support is also built in via the `charset` parameter. - -If you wish to encode querystrings to a different character set (i.e. -[Shift JIS](https://en.wikipedia.org/wiki/Shift_JIS)) you can use the -[`qs-iconv`](https://github.com/martinheidegger/qs-iconv) library: - -```javascript -var encoder = require('qs-iconv/encoder')('shift_jis'); -var shiftJISEncoded = qs.stringify({ a: 'こんにちは!' }, { encoder: encoder }); -assert.equal(shiftJISEncoded, 'a=%82%B1%82%F1%82%C9%82%BF%82%CD%81I'); -``` - -This also works for decoding of query strings: - -```javascript -var decoder = require('qs-iconv/decoder')('shift_jis'); -var obj = qs.parse('a=%82%B1%82%F1%82%C9%82%BF%82%CD%81I', { decoder: decoder }); -assert.deepEqual(obj, { a: 'こんにちは!' }); -``` - -### RFC 3986 and RFC 1738 space encoding - -RFC3986 used as default option and encodes ' ' to *%20* which is backward compatible. -In the same time, output can be stringified as per RFC1738 with ' ' equal to '+'. - -``` -assert.equal(qs.stringify({ a: 'b c' }), 'a=b%20c'); -assert.equal(qs.stringify({ a: 'b c' }, { format : 'RFC3986' }), 'a=b%20c'); -assert.equal(qs.stringify({ a: 'b c' }, { format : 'RFC1738' }), 'a=b+c'); -``` - -## Security - -Please email [@ljharb](https://github.com/ljharb) or see https://tidelift.com/security if you have a potential security vulnerability to report. - -## qs for enterprise - -Available as part of the Tidelift Subscription - -The maintainers of qs and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-qs?utm_source=npm-qs&utm_medium=referral&utm_campaign=enterprise&utm_term=repo) - -[1]: https://npmjs.org/package/qs -[2]: http://versionbadg.es/ljharb/qs.svg -[3]: https://api.travis-ci.org/ljharb/qs.svg -[4]: https://travis-ci.org/ljharb/qs -[5]: https://david-dm.org/ljharb/qs.svg -[6]: https://david-dm.org/ljharb/qs -[7]: https://david-dm.org/ljharb/qs/dev-status.svg -[8]: https://david-dm.org/ljharb/qs?type=dev -[9]: https://ci.testling.com/ljharb/qs.png -[10]: https://ci.testling.com/ljharb/qs -[11]: https://nodei.co/npm/qs.png?downloads=true&stars=true -[license-image]: http://img.shields.io/npm/l/qs.svg -[license-url]: LICENSE -[downloads-image]: http://img.shields.io/npm/dm/qs.svg -[downloads-url]: http://npm-stat.com/charts.html?package=qs diff --git a/node_modules/qs/dist/qs.js b/node_modules/qs/dist/qs.js deleted file mode 100644 index a6204f25..00000000 --- a/node_modules/qs/dist/qs.js +++ /dev/null @@ -1,825 +0,0 @@ -(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Qs = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i -1) { - return val.split(','); - } - - return val; -}; - -// This is what browsers will submit when the ✓ character occurs in an -// application/x-www-form-urlencoded body and the encoding of the page containing -// the form is iso-8859-1, or when the submitted form has an accept-charset -// attribute of iso-8859-1. Presumably also with other charsets that do not contain -// the ✓ character, such as us-ascii. -var isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('✓') - -// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded. -var charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓') - -var parseValues = function parseQueryStringValues(str, options) { - var obj = {}; - var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str; - var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit; - var parts = cleanStr.split(options.delimiter, limit); - var skipIndex = -1; // Keep track of where the utf8 sentinel was found - var i; - - var charset = options.charset; - if (options.charsetSentinel) { - for (i = 0; i < parts.length; ++i) { - if (parts[i].indexOf('utf8=') === 0) { - if (parts[i] === charsetSentinel) { - charset = 'utf-8'; - } else if (parts[i] === isoSentinel) { - charset = 'iso-8859-1'; - } - skipIndex = i; - i = parts.length; // The eslint settings do not allow break; - } - } - } - - for (i = 0; i < parts.length; ++i) { - if (i === skipIndex) { - continue; - } - var part = parts[i]; - - var bracketEqualsPos = part.indexOf(']='); - var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1; - - var key, val; - if (pos === -1) { - key = options.decoder(part, defaults.decoder, charset, 'key'); - val = options.strictNullHandling ? null : ''; - } else { - key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key'); - val = utils.maybeMap( - parseArrayValue(part.slice(pos + 1), options), - function (encodedVal) { - return options.decoder(encodedVal, defaults.decoder, charset, 'value'); - } - ); - } - - if (val && options.interpretNumericEntities && charset === 'iso-8859-1') { - val = interpretNumericEntities(val); - } - - if (part.indexOf('[]=') > -1) { - val = isArray(val) ? [val] : val; - } - - if (has.call(obj, key)) { - obj[key] = utils.combine(obj[key], val); - } else { - obj[key] = val; - } - } - - return obj; -}; - -var parseObject = function (chain, val, options, valuesParsed) { - var leaf = valuesParsed ? val : parseArrayValue(val, options); - - for (var i = chain.length - 1; i >= 0; --i) { - var obj; - var root = chain[i]; - - if (root === '[]' && options.parseArrays) { - obj = [].concat(leaf); - } else { - obj = options.plainObjects ? Object.create(null) : {}; - var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root; - var index = parseInt(cleanRoot, 10); - if (!options.parseArrays && cleanRoot === '') { - obj = { 0: leaf }; - } else if ( - !isNaN(index) - && root !== cleanRoot - && String(index) === cleanRoot - && index >= 0 - && (options.parseArrays && index <= options.arrayLimit) - ) { - obj = []; - obj[index] = leaf; - } else { - obj[cleanRoot] = leaf; - } - } - - leaf = obj; // eslint-disable-line no-param-reassign - } - - return leaf; -}; - -var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) { - if (!givenKey) { - return; - } - - // Transform dot notation to bracket notation - var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey; - - // The regex chunks - - var brackets = /(\[[^[\]]*])/; - var child = /(\[[^[\]]*])/g; - - // Get the parent - - var segment = options.depth > 0 && brackets.exec(key); - var parent = segment ? key.slice(0, segment.index) : key; - - // Stash the parent if it exists - - var keys = []; - if (parent) { - // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties - if (!options.plainObjects && has.call(Object.prototype, parent)) { - if (!options.allowPrototypes) { - return; - } - } - - keys.push(parent); - } - - // Loop through children appending to the array until we hit depth - - var i = 0; - while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) { - i += 1; - if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) { - if (!options.allowPrototypes) { - return; - } - } - keys.push(segment[1]); - } - - // If there's a remainder, just add whatever is left - - if (segment) { - keys.push('[' + key.slice(segment.index) + ']'); - } - - return parseObject(keys, val, options, valuesParsed); -}; - -var normalizeParseOptions = function normalizeParseOptions(opts) { - if (!opts) { - return defaults; - } - - if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') { - throw new TypeError('Decoder has to be a function.'); - } - - if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') { - throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined'); - } - var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset; - - return { - allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots, - allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes, - arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit, - charset: charset, - charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel, - comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma, - decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder, - delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter, - // eslint-disable-next-line no-implicit-coercion, no-extra-parens - depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth, - ignoreQueryPrefix: opts.ignoreQueryPrefix === true, - interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities, - parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit, - parseArrays: opts.parseArrays !== false, - plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects, - strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling - }; -}; - -module.exports = function (str, opts) { - var options = normalizeParseOptions(opts); - - if (str === '' || str === null || typeof str === 'undefined') { - return options.plainObjects ? Object.create(null) : {}; - } - - var tempObj = typeof str === 'string' ? parseValues(str, options) : str; - var obj = options.plainObjects ? Object.create(null) : {}; - - // Iterate over the keys and setup the new object - - var keys = Object.keys(tempObj); - for (var i = 0; i < keys.length; ++i) { - var key = keys[i]; - var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string'); - obj = utils.merge(obj, newObj, options); - } - - return utils.compact(obj); -}; - -},{"./utils":5}],4:[function(require,module,exports){ -'use strict'; - -var utils = require('./utils'); -var formats = require('./formats'); -var has = Object.prototype.hasOwnProperty; - -var arrayPrefixGenerators = { - brackets: function brackets(prefix) { - return prefix + '[]'; - }, - comma: 'comma', - indices: function indices(prefix, key) { - return prefix + '[' + key + ']'; - }, - repeat: function repeat(prefix) { - return prefix; - } -}; - -var isArray = Array.isArray; -var push = Array.prototype.push; -var pushToArray = function (arr, valueOrArray) { - push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]); -}; - -var toISO = Date.prototype.toISOString; - -var defaultFormat = formats['default']; -var defaults = { - addQueryPrefix: false, - allowDots: false, - charset: 'utf-8', - charsetSentinel: false, - delimiter: '&', - encode: true, - encoder: utils.encode, - encodeValuesOnly: false, - format: defaultFormat, - formatter: formats.formatters[defaultFormat], - // deprecated - indices: false, - serializeDate: function serializeDate(date) { - return toISO.call(date); - }, - skipNulls: false, - strictNullHandling: false -}; - -var isNonNullishPrimitive = function isNonNullishPrimitive(v) { - return typeof v === 'string' - || typeof v === 'number' - || typeof v === 'boolean' - || typeof v === 'symbol' - || typeof v === 'bigint'; -}; - -var stringify = function stringify( - object, - prefix, - generateArrayPrefix, - strictNullHandling, - skipNulls, - encoder, - filter, - sort, - allowDots, - serializeDate, - formatter, - encodeValuesOnly, - charset -) { - var obj = object; - if (typeof filter === 'function') { - obj = filter(prefix, obj); - } else if (obj instanceof Date) { - obj = serializeDate(obj); - } else if (generateArrayPrefix === 'comma' && isArray(obj)) { - obj = utils.maybeMap(obj, function (value) { - if (value instanceof Date) { - return serializeDate(value); - } - return value; - }).join(','); - } - - if (obj === null) { - if (strictNullHandling) { - return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key') : prefix; - } - - obj = ''; - } - - if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) { - if (encoder) { - var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key'); - return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value'))]; - } - return [formatter(prefix) + '=' + formatter(String(obj))]; - } - - var values = []; - - if (typeof obj === 'undefined') { - return values; - } - - var objKeys; - if (isArray(filter)) { - objKeys = filter; - } else { - var keys = Object.keys(obj); - objKeys = sort ? keys.sort(sort) : keys; - } - - for (var i = 0; i < objKeys.length; ++i) { - var key = objKeys[i]; - var value = obj[key]; - - if (skipNulls && value === null) { - continue; - } - - var keyPrefix = isArray(obj) - ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(prefix, key) : prefix - : prefix + (allowDots ? '.' + key : '[' + key + ']'); - - pushToArray(values, stringify( - value, - keyPrefix, - generateArrayPrefix, - strictNullHandling, - skipNulls, - encoder, - filter, - sort, - allowDots, - serializeDate, - formatter, - encodeValuesOnly, - charset - )); - } - - return values; -}; - -var normalizeStringifyOptions = function normalizeStringifyOptions(opts) { - if (!opts) { - return defaults; - } - - if (opts.encoder !== null && opts.encoder !== undefined && typeof opts.encoder !== 'function') { - throw new TypeError('Encoder has to be a function.'); - } - - var charset = opts.charset || defaults.charset; - if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') { - throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined'); - } - - var format = formats['default']; - if (typeof opts.format !== 'undefined') { - if (!has.call(formats.formatters, opts.format)) { - throw new TypeError('Unknown format option provided.'); - } - format = opts.format; - } - var formatter = formats.formatters[format]; - - var filter = defaults.filter; - if (typeof opts.filter === 'function' || isArray(opts.filter)) { - filter = opts.filter; - } - - return { - addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix, - allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots, - charset: charset, - charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel, - delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter, - encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode, - encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder, - encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly, - filter: filter, - formatter: formatter, - serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate, - skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls, - sort: typeof opts.sort === 'function' ? opts.sort : null, - strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling - }; -}; - -module.exports = function (object, opts) { - var obj = object; - var options = normalizeStringifyOptions(opts); - - var objKeys; - var filter; - - if (typeof options.filter === 'function') { - filter = options.filter; - obj = filter('', obj); - } else if (isArray(options.filter)) { - filter = options.filter; - objKeys = filter; - } - - var keys = []; - - if (typeof obj !== 'object' || obj === null) { - return ''; - } - - var arrayFormat; - if (opts && opts.arrayFormat in arrayPrefixGenerators) { - arrayFormat = opts.arrayFormat; - } else if (opts && 'indices' in opts) { - arrayFormat = opts.indices ? 'indices' : 'repeat'; - } else { - arrayFormat = 'indices'; - } - - var generateArrayPrefix = arrayPrefixGenerators[arrayFormat]; - - if (!objKeys) { - objKeys = Object.keys(obj); - } - - if (options.sort) { - objKeys.sort(options.sort); - } - - for (var i = 0; i < objKeys.length; ++i) { - var key = objKeys[i]; - - if (options.skipNulls && obj[key] === null) { - continue; - } - pushToArray(keys, stringify( - obj[key], - key, - generateArrayPrefix, - options.strictNullHandling, - options.skipNulls, - options.encode ? options.encoder : null, - options.filter, - options.sort, - options.allowDots, - options.serializeDate, - options.formatter, - options.encodeValuesOnly, - options.charset - )); - } - - var joined = keys.join(options.delimiter); - var prefix = options.addQueryPrefix === true ? '?' : ''; - - if (options.charsetSentinel) { - if (options.charset === 'iso-8859-1') { - // encodeURIComponent('✓'), the "numeric entity" representation of a checkmark - prefix += 'utf8=%26%2310003%3B&'; - } else { - // encodeURIComponent('✓') - prefix += 'utf8=%E2%9C%93&'; - } - } - - return joined.length > 0 ? prefix + joined : ''; -}; - -},{"./formats":1,"./utils":5}],5:[function(require,module,exports){ -'use strict'; - -var has = Object.prototype.hasOwnProperty; -var isArray = Array.isArray; - -var hexTable = (function () { - var array = []; - for (var i = 0; i < 256; ++i) { - array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase()); - } - - return array; -}()); - -var compactQueue = function compactQueue(queue) { - while (queue.length > 1) { - var item = queue.pop(); - var obj = item.obj[item.prop]; - - if (isArray(obj)) { - var compacted = []; - - for (var j = 0; j < obj.length; ++j) { - if (typeof obj[j] !== 'undefined') { - compacted.push(obj[j]); - } - } - - item.obj[item.prop] = compacted; - } - } -}; - -var arrayToObject = function arrayToObject(source, options) { - var obj = options && options.plainObjects ? Object.create(null) : {}; - for (var i = 0; i < source.length; ++i) { - if (typeof source[i] !== 'undefined') { - obj[i] = source[i]; - } - } - - return obj; -}; - -var merge = function merge(target, source, options) { - /* eslint no-param-reassign: 0 */ - if (!source) { - return target; - } - - if (typeof source !== 'object') { - if (isArray(target)) { - target.push(source); - } else if (target && typeof target === 'object') { - if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) { - target[source] = true; - } - } else { - return [target, source]; - } - - return target; - } - - if (!target || typeof target !== 'object') { - return [target].concat(source); - } - - var mergeTarget = target; - if (isArray(target) && !isArray(source)) { - mergeTarget = arrayToObject(target, options); - } - - if (isArray(target) && isArray(source)) { - source.forEach(function (item, i) { - if (has.call(target, i)) { - var targetItem = target[i]; - if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') { - target[i] = merge(targetItem, item, options); - } else { - target.push(item); - } - } else { - target[i] = item; - } - }); - return target; - } - - return Object.keys(source).reduce(function (acc, key) { - var value = source[key]; - - if (has.call(acc, key)) { - acc[key] = merge(acc[key], value, options); - } else { - acc[key] = value; - } - return acc; - }, mergeTarget); -}; - -var assign = function assignSingleSource(target, source) { - return Object.keys(source).reduce(function (acc, key) { - acc[key] = source[key]; - return acc; - }, target); -}; - -var decode = function (str, decoder, charset) { - var strWithoutPlus = str.replace(/\+/g, ' '); - if (charset === 'iso-8859-1') { - // unescape never throws, no try...catch needed: - return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape); - } - // utf-8 - try { - return decodeURIComponent(strWithoutPlus); - } catch (e) { - return strWithoutPlus; - } -}; - -var encode = function encode(str, defaultEncoder, charset) { - // This code was originally written by Brian White (mscdex) for the io.js core querystring library. - // It has been adapted here for stricter adherence to RFC 3986 - if (str.length === 0) { - return str; - } - - var string = str; - if (typeof str === 'symbol') { - string = Symbol.prototype.toString.call(str); - } else if (typeof str !== 'string') { - string = String(str); - } - - if (charset === 'iso-8859-1') { - return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) { - return '%26%23' + parseInt($0.slice(2), 16) + '%3B'; - }); - } - - var out = ''; - for (var i = 0; i < string.length; ++i) { - var c = string.charCodeAt(i); - - if ( - c === 0x2D // - - || c === 0x2E // . - || c === 0x5F // _ - || c === 0x7E // ~ - || (c >= 0x30 && c <= 0x39) // 0-9 - || (c >= 0x41 && c <= 0x5A) // a-z - || (c >= 0x61 && c <= 0x7A) // A-Z - ) { - out += string.charAt(i); - continue; - } - - if (c < 0x80) { - out = out + hexTable[c]; - continue; - } - - if (c < 0x800) { - out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]); - continue; - } - - if (c < 0xD800 || c >= 0xE000) { - out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]); - continue; - } - - i += 1; - c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF)); - out += hexTable[0xF0 | (c >> 18)] - + hexTable[0x80 | ((c >> 12) & 0x3F)] - + hexTable[0x80 | ((c >> 6) & 0x3F)] - + hexTable[0x80 | (c & 0x3F)]; - } - - return out; -}; - -var compact = function compact(value) { - var queue = [{ obj: { o: value }, prop: 'o' }]; - var refs = []; - - for (var i = 0; i < queue.length; ++i) { - var item = queue[i]; - var obj = item.obj[item.prop]; - - var keys = Object.keys(obj); - for (var j = 0; j < keys.length; ++j) { - var key = keys[j]; - var val = obj[key]; - if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) { - queue.push({ obj: obj, prop: key }); - refs.push(val); - } - } - } - - compactQueue(queue); - - return value; -}; - -var isRegExp = function isRegExp(obj) { - return Object.prototype.toString.call(obj) === '[object RegExp]'; -}; - -var isBuffer = function isBuffer(obj) { - if (!obj || typeof obj !== 'object') { - return false; - } - - return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj)); -}; - -var combine = function combine(a, b) { - return [].concat(a, b); -}; - -var maybeMap = function maybeMap(val, fn) { - if (isArray(val)) { - var mapped = []; - for (var i = 0; i < val.length; i += 1) { - mapped.push(fn(val[i])); - } - return mapped; - } - return fn(val); -}; - -module.exports = { - arrayToObject: arrayToObject, - assign: assign, - combine: combine, - compact: compact, - decode: decode, - encode: encode, - isBuffer: isBuffer, - isRegExp: isRegExp, - maybeMap: maybeMap, - merge: merge -}; - -},{}]},{},[2])(2) -}); diff --git a/node_modules/qs/lib/formats.js b/node_modules/qs/lib/formats.js deleted file mode 100644 index a4ecca78..00000000 --- a/node_modules/qs/lib/formats.js +++ /dev/null @@ -1,26 +0,0 @@ -'use strict'; - -var replace = String.prototype.replace; -var percentTwenties = /%20/g; - -var util = require('./utils'); - -var Format = { - RFC1738: 'RFC1738', - RFC3986: 'RFC3986' -}; - -module.exports = util.assign( - { - 'default': Format.RFC3986, - formatters: { - RFC1738: function (value) { - return replace.call(value, percentTwenties, '+'); - }, - RFC3986: function (value) { - return String(value); - } - } - }, - Format -); diff --git a/node_modules/qs/lib/index.js b/node_modules/qs/lib/index.js deleted file mode 100644 index 0d6a97dc..00000000 --- a/node_modules/qs/lib/index.js +++ /dev/null @@ -1,11 +0,0 @@ -'use strict'; - -var stringify = require('./stringify'); -var parse = require('./parse'); -var formats = require('./formats'); - -module.exports = { - formats: formats, - parse: parse, - stringify: stringify -}; diff --git a/node_modules/qs/lib/parse.js b/node_modules/qs/lib/parse.js deleted file mode 100644 index 1751c7be..00000000 --- a/node_modules/qs/lib/parse.js +++ /dev/null @@ -1,257 +0,0 @@ -'use strict'; - -var utils = require('./utils'); - -var has = Object.prototype.hasOwnProperty; -var isArray = Array.isArray; - -var defaults = { - allowDots: false, - allowPrototypes: false, - arrayLimit: 20, - charset: 'utf-8', - charsetSentinel: false, - comma: false, - decoder: utils.decode, - delimiter: '&', - depth: 5, - ignoreQueryPrefix: false, - interpretNumericEntities: false, - parameterLimit: 1000, - parseArrays: true, - plainObjects: false, - strictNullHandling: false -}; - -var interpretNumericEntities = function (str) { - return str.replace(/&#(\d+);/g, function ($0, numberStr) { - return String.fromCharCode(parseInt(numberStr, 10)); - }); -}; - -var parseArrayValue = function (val, options) { - if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) { - return val.split(','); - } - - return val; -}; - -// This is what browsers will submit when the ✓ character occurs in an -// application/x-www-form-urlencoded body and the encoding of the page containing -// the form is iso-8859-1, or when the submitted form has an accept-charset -// attribute of iso-8859-1. Presumably also with other charsets that do not contain -// the ✓ character, such as us-ascii. -var isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('✓') - -// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded. -var charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓') - -var parseValues = function parseQueryStringValues(str, options) { - var obj = {}; - var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str; - var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit; - var parts = cleanStr.split(options.delimiter, limit); - var skipIndex = -1; // Keep track of where the utf8 sentinel was found - var i; - - var charset = options.charset; - if (options.charsetSentinel) { - for (i = 0; i < parts.length; ++i) { - if (parts[i].indexOf('utf8=') === 0) { - if (parts[i] === charsetSentinel) { - charset = 'utf-8'; - } else if (parts[i] === isoSentinel) { - charset = 'iso-8859-1'; - } - skipIndex = i; - i = parts.length; // The eslint settings do not allow break; - } - } - } - - for (i = 0; i < parts.length; ++i) { - if (i === skipIndex) { - continue; - } - var part = parts[i]; - - var bracketEqualsPos = part.indexOf(']='); - var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1; - - var key, val; - if (pos === -1) { - key = options.decoder(part, defaults.decoder, charset, 'key'); - val = options.strictNullHandling ? null : ''; - } else { - key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key'); - val = utils.maybeMap( - parseArrayValue(part.slice(pos + 1), options), - function (encodedVal) { - return options.decoder(encodedVal, defaults.decoder, charset, 'value'); - } - ); - } - - if (val && options.interpretNumericEntities && charset === 'iso-8859-1') { - val = interpretNumericEntities(val); - } - - if (part.indexOf('[]=') > -1) { - val = isArray(val) ? [val] : val; - } - - if (has.call(obj, key)) { - obj[key] = utils.combine(obj[key], val); - } else { - obj[key] = val; - } - } - - return obj; -}; - -var parseObject = function (chain, val, options, valuesParsed) { - var leaf = valuesParsed ? val : parseArrayValue(val, options); - - for (var i = chain.length - 1; i >= 0; --i) { - var obj; - var root = chain[i]; - - if (root === '[]' && options.parseArrays) { - obj = [].concat(leaf); - } else { - obj = options.plainObjects ? Object.create(null) : {}; - var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root; - var index = parseInt(cleanRoot, 10); - if (!options.parseArrays && cleanRoot === '') { - obj = { 0: leaf }; - } else if ( - !isNaN(index) - && root !== cleanRoot - && String(index) === cleanRoot - && index >= 0 - && (options.parseArrays && index <= options.arrayLimit) - ) { - obj = []; - obj[index] = leaf; - } else { - obj[cleanRoot] = leaf; - } - } - - leaf = obj; // eslint-disable-line no-param-reassign - } - - return leaf; -}; - -var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) { - if (!givenKey) { - return; - } - - // Transform dot notation to bracket notation - var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey; - - // The regex chunks - - var brackets = /(\[[^[\]]*])/; - var child = /(\[[^[\]]*])/g; - - // Get the parent - - var segment = options.depth > 0 && brackets.exec(key); - var parent = segment ? key.slice(0, segment.index) : key; - - // Stash the parent if it exists - - var keys = []; - if (parent) { - // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties - if (!options.plainObjects && has.call(Object.prototype, parent)) { - if (!options.allowPrototypes) { - return; - } - } - - keys.push(parent); - } - - // Loop through children appending to the array until we hit depth - - var i = 0; - while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) { - i += 1; - if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) { - if (!options.allowPrototypes) { - return; - } - } - keys.push(segment[1]); - } - - // If there's a remainder, just add whatever is left - - if (segment) { - keys.push('[' + key.slice(segment.index) + ']'); - } - - return parseObject(keys, val, options, valuesParsed); -}; - -var normalizeParseOptions = function normalizeParseOptions(opts) { - if (!opts) { - return defaults; - } - - if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') { - throw new TypeError('Decoder has to be a function.'); - } - - if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') { - throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined'); - } - var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset; - - return { - allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots, - allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes, - arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit, - charset: charset, - charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel, - comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma, - decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder, - delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter, - // eslint-disable-next-line no-implicit-coercion, no-extra-parens - depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth, - ignoreQueryPrefix: opts.ignoreQueryPrefix === true, - interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities, - parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit, - parseArrays: opts.parseArrays !== false, - plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects, - strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling - }; -}; - -module.exports = function (str, opts) { - var options = normalizeParseOptions(opts); - - if (str === '' || str === null || typeof str === 'undefined') { - return options.plainObjects ? Object.create(null) : {}; - } - - var tempObj = typeof str === 'string' ? parseValues(str, options) : str; - var obj = options.plainObjects ? Object.create(null) : {}; - - // Iterate over the keys and setup the new object - - var keys = Object.keys(tempObj); - for (var i = 0; i < keys.length; ++i) { - var key = keys[i]; - var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string'); - obj = utils.merge(obj, newObj, options); - } - - return utils.compact(obj); -}; diff --git a/node_modules/qs/lib/stringify.js b/node_modules/qs/lib/stringify.js deleted file mode 100644 index 5d22260c..00000000 --- a/node_modules/qs/lib/stringify.js +++ /dev/null @@ -1,271 +0,0 @@ -'use strict'; - -var utils = require('./utils'); -var formats = require('./formats'); -var has = Object.prototype.hasOwnProperty; - -var arrayPrefixGenerators = { - brackets: function brackets(prefix) { - return prefix + '[]'; - }, - comma: 'comma', - indices: function indices(prefix, key) { - return prefix + '[' + key + ']'; - }, - repeat: function repeat(prefix) { - return prefix; - } -}; - -var isArray = Array.isArray; -var push = Array.prototype.push; -var pushToArray = function (arr, valueOrArray) { - push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]); -}; - -var toISO = Date.prototype.toISOString; - -var defaultFormat = formats['default']; -var defaults = { - addQueryPrefix: false, - allowDots: false, - charset: 'utf-8', - charsetSentinel: false, - delimiter: '&', - encode: true, - encoder: utils.encode, - encodeValuesOnly: false, - format: defaultFormat, - formatter: formats.formatters[defaultFormat], - // deprecated - indices: false, - serializeDate: function serializeDate(date) { - return toISO.call(date); - }, - skipNulls: false, - strictNullHandling: false -}; - -var isNonNullishPrimitive = function isNonNullishPrimitive(v) { - return typeof v === 'string' - || typeof v === 'number' - || typeof v === 'boolean' - || typeof v === 'symbol' - || typeof v === 'bigint'; -}; - -var stringify = function stringify( - object, - prefix, - generateArrayPrefix, - strictNullHandling, - skipNulls, - encoder, - filter, - sort, - allowDots, - serializeDate, - formatter, - encodeValuesOnly, - charset -) { - var obj = object; - if (typeof filter === 'function') { - obj = filter(prefix, obj); - } else if (obj instanceof Date) { - obj = serializeDate(obj); - } else if (generateArrayPrefix === 'comma' && isArray(obj)) { - obj = utils.maybeMap(obj, function (value) { - if (value instanceof Date) { - return serializeDate(value); - } - return value; - }).join(','); - } - - if (obj === null) { - if (strictNullHandling) { - return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key') : prefix; - } - - obj = ''; - } - - if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) { - if (encoder) { - var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key'); - return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value'))]; - } - return [formatter(prefix) + '=' + formatter(String(obj))]; - } - - var values = []; - - if (typeof obj === 'undefined') { - return values; - } - - var objKeys; - if (isArray(filter)) { - objKeys = filter; - } else { - var keys = Object.keys(obj); - objKeys = sort ? keys.sort(sort) : keys; - } - - for (var i = 0; i < objKeys.length; ++i) { - var key = objKeys[i]; - var value = obj[key]; - - if (skipNulls && value === null) { - continue; - } - - var keyPrefix = isArray(obj) - ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(prefix, key) : prefix - : prefix + (allowDots ? '.' + key : '[' + key + ']'); - - pushToArray(values, stringify( - value, - keyPrefix, - generateArrayPrefix, - strictNullHandling, - skipNulls, - encoder, - filter, - sort, - allowDots, - serializeDate, - formatter, - encodeValuesOnly, - charset - )); - } - - return values; -}; - -var normalizeStringifyOptions = function normalizeStringifyOptions(opts) { - if (!opts) { - return defaults; - } - - if (opts.encoder !== null && opts.encoder !== undefined && typeof opts.encoder !== 'function') { - throw new TypeError('Encoder has to be a function.'); - } - - var charset = opts.charset || defaults.charset; - if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') { - throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined'); - } - - var format = formats['default']; - if (typeof opts.format !== 'undefined') { - if (!has.call(formats.formatters, opts.format)) { - throw new TypeError('Unknown format option provided.'); - } - format = opts.format; - } - var formatter = formats.formatters[format]; - - var filter = defaults.filter; - if (typeof opts.filter === 'function' || isArray(opts.filter)) { - filter = opts.filter; - } - - return { - addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix, - allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots, - charset: charset, - charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel, - delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter, - encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode, - encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder, - encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly, - filter: filter, - formatter: formatter, - serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate, - skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls, - sort: typeof opts.sort === 'function' ? opts.sort : null, - strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling - }; -}; - -module.exports = function (object, opts) { - var obj = object; - var options = normalizeStringifyOptions(opts); - - var objKeys; - var filter; - - if (typeof options.filter === 'function') { - filter = options.filter; - obj = filter('', obj); - } else if (isArray(options.filter)) { - filter = options.filter; - objKeys = filter; - } - - var keys = []; - - if (typeof obj !== 'object' || obj === null) { - return ''; - } - - var arrayFormat; - if (opts && opts.arrayFormat in arrayPrefixGenerators) { - arrayFormat = opts.arrayFormat; - } else if (opts && 'indices' in opts) { - arrayFormat = opts.indices ? 'indices' : 'repeat'; - } else { - arrayFormat = 'indices'; - } - - var generateArrayPrefix = arrayPrefixGenerators[arrayFormat]; - - if (!objKeys) { - objKeys = Object.keys(obj); - } - - if (options.sort) { - objKeys.sort(options.sort); - } - - for (var i = 0; i < objKeys.length; ++i) { - var key = objKeys[i]; - - if (options.skipNulls && obj[key] === null) { - continue; - } - pushToArray(keys, stringify( - obj[key], - key, - generateArrayPrefix, - options.strictNullHandling, - options.skipNulls, - options.encode ? options.encoder : null, - options.filter, - options.sort, - options.allowDots, - options.serializeDate, - options.formatter, - options.encodeValuesOnly, - options.charset - )); - } - - var joined = keys.join(options.delimiter); - var prefix = options.addQueryPrefix === true ? '?' : ''; - - if (options.charsetSentinel) { - if (options.charset === 'iso-8859-1') { - // encodeURIComponent('✓'), the "numeric entity" representation of a checkmark - prefix += 'utf8=%26%2310003%3B&'; - } else { - // encodeURIComponent('✓') - prefix += 'utf8=%E2%9C%93&'; - } - } - - return joined.length > 0 ? prefix + joined : ''; -}; diff --git a/node_modules/qs/lib/utils.js b/node_modules/qs/lib/utils.js deleted file mode 100644 index 98ab1937..00000000 --- a/node_modules/qs/lib/utils.js +++ /dev/null @@ -1,248 +0,0 @@ -'use strict'; - -var has = Object.prototype.hasOwnProperty; -var isArray = Array.isArray; - -var hexTable = (function () { - var array = []; - for (var i = 0; i < 256; ++i) { - array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase()); - } - - return array; -}()); - -var compactQueue = function compactQueue(queue) { - while (queue.length > 1) { - var item = queue.pop(); - var obj = item.obj[item.prop]; - - if (isArray(obj)) { - var compacted = []; - - for (var j = 0; j < obj.length; ++j) { - if (typeof obj[j] !== 'undefined') { - compacted.push(obj[j]); - } - } - - item.obj[item.prop] = compacted; - } - } -}; - -var arrayToObject = function arrayToObject(source, options) { - var obj = options && options.plainObjects ? Object.create(null) : {}; - for (var i = 0; i < source.length; ++i) { - if (typeof source[i] !== 'undefined') { - obj[i] = source[i]; - } - } - - return obj; -}; - -var merge = function merge(target, source, options) { - /* eslint no-param-reassign: 0 */ - if (!source) { - return target; - } - - if (typeof source !== 'object') { - if (isArray(target)) { - target.push(source); - } else if (target && typeof target === 'object') { - if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) { - target[source] = true; - } - } else { - return [target, source]; - } - - return target; - } - - if (!target || typeof target !== 'object') { - return [target].concat(source); - } - - var mergeTarget = target; - if (isArray(target) && !isArray(source)) { - mergeTarget = arrayToObject(target, options); - } - - if (isArray(target) && isArray(source)) { - source.forEach(function (item, i) { - if (has.call(target, i)) { - var targetItem = target[i]; - if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') { - target[i] = merge(targetItem, item, options); - } else { - target.push(item); - } - } else { - target[i] = item; - } - }); - return target; - } - - return Object.keys(source).reduce(function (acc, key) { - var value = source[key]; - - if (has.call(acc, key)) { - acc[key] = merge(acc[key], value, options); - } else { - acc[key] = value; - } - return acc; - }, mergeTarget); -}; - -var assign = function assignSingleSource(target, source) { - return Object.keys(source).reduce(function (acc, key) { - acc[key] = source[key]; - return acc; - }, target); -}; - -var decode = function (str, decoder, charset) { - var strWithoutPlus = str.replace(/\+/g, ' '); - if (charset === 'iso-8859-1') { - // unescape never throws, no try...catch needed: - return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape); - } - // utf-8 - try { - return decodeURIComponent(strWithoutPlus); - } catch (e) { - return strWithoutPlus; - } -}; - -var encode = function encode(str, defaultEncoder, charset) { - // This code was originally written by Brian White (mscdex) for the io.js core querystring library. - // It has been adapted here for stricter adherence to RFC 3986 - if (str.length === 0) { - return str; - } - - var string = str; - if (typeof str === 'symbol') { - string = Symbol.prototype.toString.call(str); - } else if (typeof str !== 'string') { - string = String(str); - } - - if (charset === 'iso-8859-1') { - return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) { - return '%26%23' + parseInt($0.slice(2), 16) + '%3B'; - }); - } - - var out = ''; - for (var i = 0; i < string.length; ++i) { - var c = string.charCodeAt(i); - - if ( - c === 0x2D // - - || c === 0x2E // . - || c === 0x5F // _ - || c === 0x7E // ~ - || (c >= 0x30 && c <= 0x39) // 0-9 - || (c >= 0x41 && c <= 0x5A) // a-z - || (c >= 0x61 && c <= 0x7A) // A-Z - ) { - out += string.charAt(i); - continue; - } - - if (c < 0x80) { - out = out + hexTable[c]; - continue; - } - - if (c < 0x800) { - out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]); - continue; - } - - if (c < 0xD800 || c >= 0xE000) { - out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]); - continue; - } - - i += 1; - c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF)); - out += hexTable[0xF0 | (c >> 18)] - + hexTable[0x80 | ((c >> 12) & 0x3F)] - + hexTable[0x80 | ((c >> 6) & 0x3F)] - + hexTable[0x80 | (c & 0x3F)]; - } - - return out; -}; - -var compact = function compact(value) { - var queue = [{ obj: { o: value }, prop: 'o' }]; - var refs = []; - - for (var i = 0; i < queue.length; ++i) { - var item = queue[i]; - var obj = item.obj[item.prop]; - - var keys = Object.keys(obj); - for (var j = 0; j < keys.length; ++j) { - var key = keys[j]; - var val = obj[key]; - if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) { - queue.push({ obj: obj, prop: key }); - refs.push(val); - } - } - } - - compactQueue(queue); - - return value; -}; - -var isRegExp = function isRegExp(obj) { - return Object.prototype.toString.call(obj) === '[object RegExp]'; -}; - -var isBuffer = function isBuffer(obj) { - if (!obj || typeof obj !== 'object') { - return false; - } - - return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj)); -}; - -var combine = function combine(a, b) { - return [].concat(a, b); -}; - -var maybeMap = function maybeMap(val, fn) { - if (isArray(val)) { - var mapped = []; - for (var i = 0; i < val.length; i += 1) { - mapped.push(fn(val[i])); - } - return mapped; - } - return fn(val); -}; - -module.exports = { - arrayToObject: arrayToObject, - assign: assign, - combine: combine, - compact: compact, - decode: decode, - encode: encode, - isBuffer: isBuffer, - isRegExp: isRegExp, - maybeMap: maybeMap, - merge: merge -}; diff --git a/node_modules/qs/package.json b/node_modules/qs/package.json deleted file mode 100644 index b109668c..00000000 --- a/node_modules/qs/package.json +++ /dev/null @@ -1,97 +0,0 @@ -{ - "_from": "qs@^6.6.0", - "_id": "qs@6.9.4", - "_inBundle": false, - "_integrity": "sha512-A1kFqHekCTM7cz0udomYUoYNWjBebHm/5wzU/XqrBRBNWectVH0QIiN+NEcZ0Dte5hvzHwbr8+XQmguPhJ6WdQ==", - "_location": "/qs", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "qs@^6.6.0", - "name": "qs", - "escapedName": "qs", - "rawSpec": "^6.6.0", - "saveSpec": null, - "fetchSpec": "^6.6.0" - }, - "_requiredBy": [ - "/stripe" - ], - "_resolved": "https://registry.npmjs.org/qs/-/qs-6.9.4.tgz", - "_shasum": "9090b290d1f91728d3c22e54843ca44aea5ab687", - "_spec": "qs@^6.6.0", - "_where": "/home/mitch/levitytech.github.io/node_modules/stripe", - "bugs": { - "url": "https://github.com/ljharb/qs/issues" - }, - "bundleDependencies": false, - "contributors": [ - { - "name": "Jordan Harband", - "email": "ljharb@gmail.com", - "url": "http://ljharb.codes" - } - ], - "dependencies": {}, - "deprecated": false, - "description": "A querystring parser that supports nesting and arrays, with a depth limit", - "devDependencies": { - "@ljharb/eslint-config": "^16.0.0", - "browserify": "^16.5.1", - "covert": "^1.1.1", - "eclint": "^2.8.1", - "eslint": "^6.8.0", - "evalmd": "^0.0.19", - "for-each": "^0.3.3", - "has-symbols": "^1.0.1", - "iconv-lite": "^0.5.1", - "mkdirp": "^0.5.4", - "object-inspect": "^1.7.0", - "qs-iconv": "^1.0.4", - "safe-publish-latest": "^1.1.4", - "safer-buffer": "^2.1.2", - "tape": "^5.0.0" - }, - "engines": { - "node": ">=0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - }, - "greenkeeper": { - "ignore": [ - "iconv-lite", - "mkdirp" - ] - }, - "homepage": "https://github.com/ljharb/qs", - "keywords": [ - "querystring", - "qs", - "query", - "url", - "parse", - "stringify" - ], - "license": "BSD-3-Clause", - "main": "lib/index.js", - "name": "qs", - "repository": { - "type": "git", - "url": "git+https://github.com/ljharb/qs.git" - }, - "scripts": { - "coverage": "covert test", - "dist": "mkdirp dist && browserify --standalone Qs lib/index.js > dist/qs.js", - "lint": "eslint lib/*.js test/*.js", - "postlint": "eclint check * lib/* test/*", - "posttest": "npx aud --production", - "prepublish": "safe-publish-latest && npm run dist", - "pretest": "npm run --silent readme && npm run --silent lint", - "readme": "evalmd README.md", - "test": "npm run --silent coverage", - "tests-only": "node test" - }, - "version": "6.9.4" -} diff --git a/node_modules/qs/test/.eslintrc b/node_modules/qs/test/.eslintrc deleted file mode 100644 index 8ab8536a..00000000 --- a/node_modules/qs/test/.eslintrc +++ /dev/null @@ -1,18 +0,0 @@ -{ - "rules": { - "array-bracket-newline": 0, - "array-element-newline": 0, - "consistent-return": 2, - "function-paren-newline": 0, - "max-lines": 0, - "max-lines-per-function": 0, - "max-nested-callbacks": [2, 3], - "max-statements": 0, - "no-buffer-constructor": 0, - "no-extend-native": 0, - "no-magic-numbers": 0, - "no-throw-literal": 0, - "object-curly-newline": 0, - "sort-keys": 0, - } -} diff --git a/node_modules/qs/test/index.js b/node_modules/qs/test/index.js deleted file mode 100644 index 5e6bc8fb..00000000 --- a/node_modules/qs/test/index.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; - -require('./parse'); - -require('./stringify'); - -require('./utils'); diff --git a/node_modules/qs/test/parse.js b/node_modules/qs/test/parse.js deleted file mode 100644 index b6ec1b72..00000000 --- a/node_modules/qs/test/parse.js +++ /dev/null @@ -1,772 +0,0 @@ -'use strict'; - -var test = require('tape'); -var qs = require('../'); -var utils = require('../lib/utils'); -var iconv = require('iconv-lite'); -var SaferBuffer = require('safer-buffer').Buffer; - -test('parse()', function (t) { - t.test('parses a simple string', function (st) { - st.deepEqual(qs.parse('0=foo'), { 0: 'foo' }); - st.deepEqual(qs.parse('foo=c++'), { foo: 'c ' }); - st.deepEqual(qs.parse('a[>=]=23'), { a: { '>=': '23' } }); - st.deepEqual(qs.parse('a[<=>]==23'), { a: { '<=>': '=23' } }); - st.deepEqual(qs.parse('a[==]=23'), { a: { '==': '23' } }); - st.deepEqual(qs.parse('foo', { strictNullHandling: true }), { foo: null }); - st.deepEqual(qs.parse('foo'), { foo: '' }); - st.deepEqual(qs.parse('foo='), { foo: '' }); - st.deepEqual(qs.parse('foo=bar'), { foo: 'bar' }); - st.deepEqual(qs.parse(' foo = bar = baz '), { ' foo ': ' bar = baz ' }); - st.deepEqual(qs.parse('foo=bar=baz'), { foo: 'bar=baz' }); - st.deepEqual(qs.parse('foo=bar&bar=baz'), { foo: 'bar', bar: 'baz' }); - st.deepEqual(qs.parse('foo2=bar2&baz2='), { foo2: 'bar2', baz2: '' }); - st.deepEqual(qs.parse('foo=bar&baz', { strictNullHandling: true }), { foo: 'bar', baz: null }); - st.deepEqual(qs.parse('foo=bar&baz'), { foo: 'bar', baz: '' }); - st.deepEqual(qs.parse('cht=p3&chd=t:60,40&chs=250x100&chl=Hello|World'), { - cht: 'p3', - chd: 't:60,40', - chs: '250x100', - chl: 'Hello|World' - }); - st.end(); - }); - - t.test('arrayFormat: brackets allows only explicit arrays', function (st) { - st.deepEqual(qs.parse('a[]=b&a[]=c', { arrayFormat: 'brackets' }), { a: ['b', 'c'] }); - st.deepEqual(qs.parse('a[0]=b&a[1]=c', { arrayFormat: 'brackets' }), { a: ['b', 'c'] }); - st.deepEqual(qs.parse('a=b,c', { arrayFormat: 'brackets' }), { a: 'b,c' }); - st.deepEqual(qs.parse('a=b&a=c', { arrayFormat: 'brackets' }), { a: ['b', 'c'] }); - st.end(); - }); - - t.test('arrayFormat: indices allows only indexed arrays', function (st) { - st.deepEqual(qs.parse('a[]=b&a[]=c', { arrayFormat: 'indices' }), { a: ['b', 'c'] }); - st.deepEqual(qs.parse('a[0]=b&a[1]=c', { arrayFormat: 'indices' }), { a: ['b', 'c'] }); - st.deepEqual(qs.parse('a=b,c', { arrayFormat: 'indices' }), { a: 'b,c' }); - st.deepEqual(qs.parse('a=b&a=c', { arrayFormat: 'indices' }), { a: ['b', 'c'] }); - st.end(); - }); - - t.test('arrayFormat: comma allows only comma-separated arrays', function (st) { - st.deepEqual(qs.parse('a[]=b&a[]=c', { arrayFormat: 'comma' }), { a: ['b', 'c'] }); - st.deepEqual(qs.parse('a[0]=b&a[1]=c', { arrayFormat: 'comma' }), { a: ['b', 'c'] }); - st.deepEqual(qs.parse('a=b,c', { arrayFormat: 'comma' }), { a: 'b,c' }); - st.deepEqual(qs.parse('a=b&a=c', { arrayFormat: 'comma' }), { a: ['b', 'c'] }); - st.end(); - }); - - t.test('arrayFormat: repeat allows only repeated values', function (st) { - st.deepEqual(qs.parse('a[]=b&a[]=c', { arrayFormat: 'repeat' }), { a: ['b', 'c'] }); - st.deepEqual(qs.parse('a[0]=b&a[1]=c', { arrayFormat: 'repeat' }), { a: ['b', 'c'] }); - st.deepEqual(qs.parse('a=b,c', { arrayFormat: 'repeat' }), { a: 'b,c' }); - st.deepEqual(qs.parse('a=b&a=c', { arrayFormat: 'repeat' }), { a: ['b', 'c'] }); - st.end(); - }); - - t.test('allows enabling dot notation', function (st) { - st.deepEqual(qs.parse('a.b=c'), { 'a.b': 'c' }); - st.deepEqual(qs.parse('a.b=c', { allowDots: true }), { a: { b: 'c' } }); - st.end(); - }); - - t.deepEqual(qs.parse('a[b]=c'), { a: { b: 'c' } }, 'parses a single nested string'); - t.deepEqual(qs.parse('a[b][c]=d'), { a: { b: { c: 'd' } } }, 'parses a double nested string'); - t.deepEqual( - qs.parse('a[b][c][d][e][f][g][h]=i'), - { a: { b: { c: { d: { e: { f: { '[g][h]': 'i' } } } } } } }, - 'defaults to a depth of 5' - ); - - t.test('only parses one level when depth = 1', function (st) { - st.deepEqual(qs.parse('a[b][c]=d', { depth: 1 }), { a: { b: { '[c]': 'd' } } }); - st.deepEqual(qs.parse('a[b][c][d]=e', { depth: 1 }), { a: { b: { '[c][d]': 'e' } } }); - st.end(); - }); - - t.test('uses original key when depth = 0', function (st) { - st.deepEqual(qs.parse('a[0]=b&a[1]=c', { depth: 0 }), { 'a[0]': 'b', 'a[1]': 'c' }); - st.deepEqual(qs.parse('a[0][0]=b&a[0][1]=c&a[1]=d&e=2', { depth: 0 }), { 'a[0][0]': 'b', 'a[0][1]': 'c', 'a[1]': 'd', e: '2' }); - st.end(); - }); - - t.test('uses original key when depth = false', function (st) { - st.deepEqual(qs.parse('a[0]=b&a[1]=c', { depth: false }), { 'a[0]': 'b', 'a[1]': 'c' }); - st.deepEqual(qs.parse('a[0][0]=b&a[0][1]=c&a[1]=d&e=2', { depth: false }), { 'a[0][0]': 'b', 'a[0][1]': 'c', 'a[1]': 'd', e: '2' }); - st.end(); - }); - - t.deepEqual(qs.parse('a=b&a=c'), { a: ['b', 'c'] }, 'parses a simple array'); - - t.test('parses an explicit array', function (st) { - st.deepEqual(qs.parse('a[]=b'), { a: ['b'] }); - st.deepEqual(qs.parse('a[]=b&a[]=c'), { a: ['b', 'c'] }); - st.deepEqual(qs.parse('a[]=b&a[]=c&a[]=d'), { a: ['b', 'c', 'd'] }); - st.end(); - }); - - t.test('parses a mix of simple and explicit arrays', function (st) { - st.deepEqual(qs.parse('a=b&a[]=c'), { a: ['b', 'c'] }); - st.deepEqual(qs.parse('a[]=b&a=c'), { a: ['b', 'c'] }); - st.deepEqual(qs.parse('a[0]=b&a=c'), { a: ['b', 'c'] }); - st.deepEqual(qs.parse('a=b&a[0]=c'), { a: ['b', 'c'] }); - - st.deepEqual(qs.parse('a[1]=b&a=c', { arrayLimit: 20 }), { a: ['b', 'c'] }); - st.deepEqual(qs.parse('a[]=b&a=c', { arrayLimit: 0 }), { a: ['b', 'c'] }); - st.deepEqual(qs.parse('a[]=b&a=c'), { a: ['b', 'c'] }); - - st.deepEqual(qs.parse('a=b&a[1]=c', { arrayLimit: 20 }), { a: ['b', 'c'] }); - st.deepEqual(qs.parse('a=b&a[]=c', { arrayLimit: 0 }), { a: ['b', 'c'] }); - st.deepEqual(qs.parse('a=b&a[]=c'), { a: ['b', 'c'] }); - - st.end(); - }); - - t.test('parses a nested array', function (st) { - st.deepEqual(qs.parse('a[b][]=c&a[b][]=d'), { a: { b: ['c', 'd'] } }); - st.deepEqual(qs.parse('a[>=]=25'), { a: { '>=': '25' } }); - st.end(); - }); - - t.test('allows to specify array indices', function (st) { - st.deepEqual(qs.parse('a[1]=c&a[0]=b&a[2]=d'), { a: ['b', 'c', 'd'] }); - st.deepEqual(qs.parse('a[1]=c&a[0]=b'), { a: ['b', 'c'] }); - st.deepEqual(qs.parse('a[1]=c', { arrayLimit: 20 }), { a: ['c'] }); - st.deepEqual(qs.parse('a[1]=c', { arrayLimit: 0 }), { a: { 1: 'c' } }); - st.deepEqual(qs.parse('a[1]=c'), { a: ['c'] }); - st.end(); - }); - - t.test('limits specific array indices to arrayLimit', function (st) { - st.deepEqual(qs.parse('a[20]=a', { arrayLimit: 20 }), { a: ['a'] }); - st.deepEqual(qs.parse('a[21]=a', { arrayLimit: 20 }), { a: { 21: 'a' } }); - st.end(); - }); - - t.deepEqual(qs.parse('a[12b]=c'), { a: { '12b': 'c' } }, 'supports keys that begin with a number'); - - t.test('supports encoded = signs', function (st) { - st.deepEqual(qs.parse('he%3Dllo=th%3Dere'), { 'he=llo': 'th=ere' }); - st.end(); - }); - - t.test('is ok with url encoded strings', function (st) { - st.deepEqual(qs.parse('a[b%20c]=d'), { a: { 'b c': 'd' } }); - st.deepEqual(qs.parse('a[b]=c%20d'), { a: { b: 'c d' } }); - st.end(); - }); - - t.test('allows brackets in the value', function (st) { - st.deepEqual(qs.parse('pets=["tobi"]'), { pets: '["tobi"]' }); - st.deepEqual(qs.parse('operators=[">=", "<="]'), { operators: '[">=", "<="]' }); - st.end(); - }); - - t.test('allows empty values', function (st) { - st.deepEqual(qs.parse(''), {}); - st.deepEqual(qs.parse(null), {}); - st.deepEqual(qs.parse(undefined), {}); - st.end(); - }); - - t.test('transforms arrays to objects', function (st) { - st.deepEqual(qs.parse('foo[0]=bar&foo[bad]=baz'), { foo: { 0: 'bar', bad: 'baz' } }); - st.deepEqual(qs.parse('foo[bad]=baz&foo[0]=bar'), { foo: { bad: 'baz', 0: 'bar' } }); - st.deepEqual(qs.parse('foo[bad]=baz&foo[]=bar'), { foo: { bad: 'baz', 0: 'bar' } }); - st.deepEqual(qs.parse('foo[]=bar&foo[bad]=baz'), { foo: { 0: 'bar', bad: 'baz' } }); - st.deepEqual(qs.parse('foo[bad]=baz&foo[]=bar&foo[]=foo'), { foo: { bad: 'baz', 0: 'bar', 1: 'foo' } }); - st.deepEqual(qs.parse('foo[0][a]=a&foo[0][b]=b&foo[1][a]=aa&foo[1][b]=bb'), { foo: [{ a: 'a', b: 'b' }, { a: 'aa', b: 'bb' }] }); - - st.deepEqual(qs.parse('a[]=b&a[t]=u&a[hasOwnProperty]=c', { allowPrototypes: false }), { a: { 0: 'b', t: 'u' } }); - st.deepEqual(qs.parse('a[]=b&a[t]=u&a[hasOwnProperty]=c', { allowPrototypes: true }), { a: { 0: 'b', t: 'u', hasOwnProperty: 'c' } }); - st.deepEqual(qs.parse('a[]=b&a[hasOwnProperty]=c&a[x]=y', { allowPrototypes: false }), { a: { 0: 'b', x: 'y' } }); - st.deepEqual(qs.parse('a[]=b&a[hasOwnProperty]=c&a[x]=y', { allowPrototypes: true }), { a: { 0: 'b', hasOwnProperty: 'c', x: 'y' } }); - st.end(); - }); - - t.test('transforms arrays to objects (dot notation)', function (st) { - st.deepEqual(qs.parse('foo[0].baz=bar&fool.bad=baz', { allowDots: true }), { foo: [{ baz: 'bar' }], fool: { bad: 'baz' } }); - st.deepEqual(qs.parse('foo[0].baz=bar&fool.bad.boo=baz', { allowDots: true }), { foo: [{ baz: 'bar' }], fool: { bad: { boo: 'baz' } } }); - st.deepEqual(qs.parse('foo[0][0].baz=bar&fool.bad=baz', { allowDots: true }), { foo: [[{ baz: 'bar' }]], fool: { bad: 'baz' } }); - st.deepEqual(qs.parse('foo[0].baz[0]=15&foo[0].bar=2', { allowDots: true }), { foo: [{ baz: ['15'], bar: '2' }] }); - st.deepEqual(qs.parse('foo[0].baz[0]=15&foo[0].baz[1]=16&foo[0].bar=2', { allowDots: true }), { foo: [{ baz: ['15', '16'], bar: '2' }] }); - st.deepEqual(qs.parse('foo.bad=baz&foo[0]=bar', { allowDots: true }), { foo: { bad: 'baz', 0: 'bar' } }); - st.deepEqual(qs.parse('foo.bad=baz&foo[]=bar', { allowDots: true }), { foo: { bad: 'baz', 0: 'bar' } }); - st.deepEqual(qs.parse('foo[]=bar&foo.bad=baz', { allowDots: true }), { foo: { 0: 'bar', bad: 'baz' } }); - st.deepEqual(qs.parse('foo.bad=baz&foo[]=bar&foo[]=foo', { allowDots: true }), { foo: { bad: 'baz', 0: 'bar', 1: 'foo' } }); - st.deepEqual(qs.parse('foo[0].a=a&foo[0].b=b&foo[1].a=aa&foo[1].b=bb', { allowDots: true }), { foo: [{ a: 'a', b: 'b' }, { a: 'aa', b: 'bb' }] }); - st.end(); - }); - - t.test('correctly prunes undefined values when converting an array to an object', function (st) { - st.deepEqual(qs.parse('a[2]=b&a[99999999]=c'), { a: { 2: 'b', 99999999: 'c' } }); - st.end(); - }); - - t.test('supports malformed uri characters', function (st) { - st.deepEqual(qs.parse('{%:%}', { strictNullHandling: true }), { '{%:%}': null }); - st.deepEqual(qs.parse('{%:%}='), { '{%:%}': '' }); - st.deepEqual(qs.parse('foo=%:%}'), { foo: '%:%}' }); - st.end(); - }); - - t.test('doesn\'t produce empty keys', function (st) { - st.deepEqual(qs.parse('_r=1&'), { _r: '1' }); - st.end(); - }); - - t.test('cannot access Object prototype', function (st) { - qs.parse('constructor[prototype][bad]=bad'); - qs.parse('bad[constructor][prototype][bad]=bad'); - st.equal(typeof Object.prototype.bad, 'undefined'); - st.end(); - }); - - t.test('parses arrays of objects', function (st) { - st.deepEqual(qs.parse('a[][b]=c'), { a: [{ b: 'c' }] }); - st.deepEqual(qs.parse('a[0][b]=c'), { a: [{ b: 'c' }] }); - st.end(); - }); - - t.test('allows for empty strings in arrays', function (st) { - st.deepEqual(qs.parse('a[]=b&a[]=&a[]=c'), { a: ['b', '', 'c'] }); - - st.deepEqual( - qs.parse('a[0]=b&a[1]&a[2]=c&a[19]=', { strictNullHandling: true, arrayLimit: 20 }), - { a: ['b', null, 'c', ''] }, - 'with arrayLimit 20 + array indices: null then empty string works' - ); - st.deepEqual( - qs.parse('a[]=b&a[]&a[]=c&a[]=', { strictNullHandling: true, arrayLimit: 0 }), - { a: ['b', null, 'c', ''] }, - 'with arrayLimit 0 + array brackets: null then empty string works' - ); - - st.deepEqual( - qs.parse('a[0]=b&a[1]=&a[2]=c&a[19]', { strictNullHandling: true, arrayLimit: 20 }), - { a: ['b', '', 'c', null] }, - 'with arrayLimit 20 + array indices: empty string then null works' - ); - st.deepEqual( - qs.parse('a[]=b&a[]=&a[]=c&a[]', { strictNullHandling: true, arrayLimit: 0 }), - { a: ['b', '', 'c', null] }, - 'with arrayLimit 0 + array brackets: empty string then null works' - ); - - st.deepEqual( - qs.parse('a[]=&a[]=b&a[]=c'), - { a: ['', 'b', 'c'] }, - 'array brackets: empty strings work' - ); - st.end(); - }); - - t.test('compacts sparse arrays', function (st) { - st.deepEqual(qs.parse('a[10]=1&a[2]=2', { arrayLimit: 20 }), { a: ['2', '1'] }); - st.deepEqual(qs.parse('a[1][b][2][c]=1', { arrayLimit: 20 }), { a: [{ b: [{ c: '1' }] }] }); - st.deepEqual(qs.parse('a[1][2][3][c]=1', { arrayLimit: 20 }), { a: [[[{ c: '1' }]]] }); - st.deepEqual(qs.parse('a[1][2][3][c][1]=1', { arrayLimit: 20 }), { a: [[[{ c: ['1'] }]]] }); - st.end(); - }); - - t.test('parses semi-parsed strings', function (st) { - st.deepEqual(qs.parse({ 'a[b]': 'c' }), { a: { b: 'c' } }); - st.deepEqual(qs.parse({ 'a[b]': 'c', 'a[d]': 'e' }), { a: { b: 'c', d: 'e' } }); - st.end(); - }); - - t.test('parses buffers correctly', function (st) { - var b = SaferBuffer.from('test'); - st.deepEqual(qs.parse({ a: b }), { a: b }); - st.end(); - }); - - t.test('parses jquery-param strings', function (st) { - // readable = 'filter[0][]=int1&filter[0][]==&filter[0][]=77&filter[]=and&filter[2][]=int2&filter[2][]==&filter[2][]=8' - var encoded = 'filter%5B0%5D%5B%5D=int1&filter%5B0%5D%5B%5D=%3D&filter%5B0%5D%5B%5D=77&filter%5B%5D=and&filter%5B2%5D%5B%5D=int2&filter%5B2%5D%5B%5D=%3D&filter%5B2%5D%5B%5D=8'; - var expected = { filter: [['int1', '=', '77'], 'and', ['int2', '=', '8']] }; - st.deepEqual(qs.parse(encoded), expected); - st.end(); - }); - - t.test('continues parsing when no parent is found', function (st) { - st.deepEqual(qs.parse('[]=&a=b'), { 0: '', a: 'b' }); - st.deepEqual(qs.parse('[]&a=b', { strictNullHandling: true }), { 0: null, a: 'b' }); - st.deepEqual(qs.parse('[foo]=bar'), { foo: 'bar' }); - st.end(); - }); - - t.test('does not error when parsing a very long array', function (st) { - var str = 'a[]=a'; - while (Buffer.byteLength(str) < 128 * 1024) { - str = str + '&' + str; - } - - st.doesNotThrow(function () { - qs.parse(str); - }); - - st.end(); - }); - - t.test('should not throw when a native prototype has an enumerable property', function (st) { - Object.prototype.crash = ''; - Array.prototype.crash = ''; - st.doesNotThrow(qs.parse.bind(null, 'a=b')); - st.deepEqual(qs.parse('a=b'), { a: 'b' }); - st.doesNotThrow(qs.parse.bind(null, 'a[][b]=c')); - st.deepEqual(qs.parse('a[][b]=c'), { a: [{ b: 'c' }] }); - delete Object.prototype.crash; - delete Array.prototype.crash; - st.end(); - }); - - t.test('parses a string with an alternative string delimiter', function (st) { - st.deepEqual(qs.parse('a=b;c=d', { delimiter: ';' }), { a: 'b', c: 'd' }); - st.end(); - }); - - t.test('parses a string with an alternative RegExp delimiter', function (st) { - st.deepEqual(qs.parse('a=b; c=d', { delimiter: /[;,] */ }), { a: 'b', c: 'd' }); - st.end(); - }); - - t.test('does not use non-splittable objects as delimiters', function (st) { - st.deepEqual(qs.parse('a=b&c=d', { delimiter: true }), { a: 'b', c: 'd' }); - st.end(); - }); - - t.test('allows overriding parameter limit', function (st) { - st.deepEqual(qs.parse('a=b&c=d', { parameterLimit: 1 }), { a: 'b' }); - st.end(); - }); - - t.test('allows setting the parameter limit to Infinity', function (st) { - st.deepEqual(qs.parse('a=b&c=d', { parameterLimit: Infinity }), { a: 'b', c: 'd' }); - st.end(); - }); - - t.test('allows overriding array limit', function (st) { - st.deepEqual(qs.parse('a[0]=b', { arrayLimit: -1 }), { a: { 0: 'b' } }); - st.deepEqual(qs.parse('a[-1]=b', { arrayLimit: -1 }), { a: { '-1': 'b' } }); - st.deepEqual(qs.parse('a[0]=b&a[1]=c', { arrayLimit: 0 }), { a: { 0: 'b', 1: 'c' } }); - st.end(); - }); - - t.test('allows disabling array parsing', function (st) { - var indices = qs.parse('a[0]=b&a[1]=c', { parseArrays: false }); - st.deepEqual(indices, { a: { 0: 'b', 1: 'c' } }); - st.equal(Array.isArray(indices.a), false, 'parseArrays:false, indices case is not an array'); - - var emptyBrackets = qs.parse('a[]=b', { parseArrays: false }); - st.deepEqual(emptyBrackets, { a: { 0: 'b' } }); - st.equal(Array.isArray(emptyBrackets.a), false, 'parseArrays:false, empty brackets case is not an array'); - - st.end(); - }); - - t.test('allows for query string prefix', function (st) { - st.deepEqual(qs.parse('?foo=bar', { ignoreQueryPrefix: true }), { foo: 'bar' }); - st.deepEqual(qs.parse('foo=bar', { ignoreQueryPrefix: true }), { foo: 'bar' }); - st.deepEqual(qs.parse('?foo=bar', { ignoreQueryPrefix: false }), { '?foo': 'bar' }); - st.end(); - }); - - t.test('parses an object', function (st) { - var input = { - 'user[name]': { 'pop[bob]': 3 }, - 'user[email]': null - }; - - var expected = { - user: { - name: { 'pop[bob]': 3 }, - email: null - } - }; - - var result = qs.parse(input); - - st.deepEqual(result, expected); - st.end(); - }); - - t.test('parses string with comma as array divider', function (st) { - st.deepEqual(qs.parse('foo=bar,tee', { comma: true }), { foo: ['bar', 'tee'] }); - st.deepEqual(qs.parse('foo[bar]=coffee,tee', { comma: true }), { foo: { bar: ['coffee', 'tee'] } }); - st.deepEqual(qs.parse('foo=', { comma: true }), { foo: '' }); - st.deepEqual(qs.parse('foo', { comma: true }), { foo: '' }); - st.deepEqual(qs.parse('foo', { comma: true, strictNullHandling: true }), { foo: null }); - st.end(); - }); - - t.test('parses values with comma as array divider', function (st) { - st.deepEqual(qs.parse({ foo: 'bar,tee' }, { comma: false }), { foo: 'bar,tee' }); - st.deepEqual(qs.parse({ foo: 'bar,tee' }, { comma: true }), { foo: ['bar', 'tee'] }); - st.end(); - }); - - t.test('use number decoder, parses string that has one number with comma option enabled', function (st) { - var decoder = function (str, defaultDecoder, charset, type) { - if (!isNaN(Number(str))) { - return parseFloat(str); - } - return defaultDecoder(str, defaultDecoder, charset, type); - }; - - st.deepEqual(qs.parse('foo=1', { comma: true, decoder: decoder }), { foo: 1 }); - st.deepEqual(qs.parse('foo=0', { comma: true, decoder: decoder }), { foo: 0 }); - - st.end(); - }); - - t.test('parses brackets holds array of arrays when having two parts of strings with comma as array divider', function (st) { - st.deepEqual(qs.parse('foo[]=1,2,3&foo[]=4,5,6', { comma: true }), { foo: [['1', '2', '3'], ['4', '5', '6']] }); - st.deepEqual(qs.parse('foo[]=1,2,3&foo[]=', { comma: true }), { foo: [['1', '2', '3'], ''] }); - st.deepEqual(qs.parse('foo[]=1,2,3&foo[]=,', { comma: true }), { foo: [['1', '2', '3'], ['', '']] }); - st.deepEqual(qs.parse('foo[]=1,2,3&foo[]=a', { comma: true }), { foo: [['1', '2', '3'], 'a'] }); - - st.end(); - }); - - t.test('parses comma delimited array while having percent-encoded comma treated as normal text', function (st) { - st.deepEqual(qs.parse('foo=a%2Cb', { comma: true }), { foo: 'a,b' }); - st.deepEqual(qs.parse('foo=a%2C%20b,d', { comma: true }), { foo: ['a, b', 'd'] }); - st.deepEqual(qs.parse('foo=a%2C%20b,c%2C%20d', { comma: true }), { foo: ['a, b', 'c, d'] }); - - st.end(); - }); - - t.test('parses an object in dot notation', function (st) { - var input = { - 'user.name': { 'pop[bob]': 3 }, - 'user.email.': null - }; - - var expected = { - user: { - name: { 'pop[bob]': 3 }, - email: null - } - }; - - var result = qs.parse(input, { allowDots: true }); - - st.deepEqual(result, expected); - st.end(); - }); - - t.test('parses an object and not child values', function (st) { - var input = { - 'user[name]': { 'pop[bob]': { test: 3 } }, - 'user[email]': null - }; - - var expected = { - user: { - name: { 'pop[bob]': { test: 3 } }, - email: null - } - }; - - var result = qs.parse(input); - - st.deepEqual(result, expected); - st.end(); - }); - - t.test('does not blow up when Buffer global is missing', function (st) { - var tempBuffer = global.Buffer; - delete global.Buffer; - var result = qs.parse('a=b&c=d'); - global.Buffer = tempBuffer; - st.deepEqual(result, { a: 'b', c: 'd' }); - st.end(); - }); - - t.test('does not crash when parsing circular references', function (st) { - var a = {}; - a.b = a; - - var parsed; - - st.doesNotThrow(function () { - parsed = qs.parse({ 'foo[bar]': 'baz', 'foo[baz]': a }); - }); - - st.equal('foo' in parsed, true, 'parsed has "foo" property'); - st.equal('bar' in parsed.foo, true); - st.equal('baz' in parsed.foo, true); - st.equal(parsed.foo.bar, 'baz'); - st.deepEqual(parsed.foo.baz, a); - st.end(); - }); - - t.test('does not crash when parsing deep objects', function (st) { - var parsed; - var str = 'foo'; - - for (var i = 0; i < 5000; i++) { - str += '[p]'; - } - - str += '=bar'; - - st.doesNotThrow(function () { - parsed = qs.parse(str, { depth: 5000 }); - }); - - st.equal('foo' in parsed, true, 'parsed has "foo" property'); - - var depth = 0; - var ref = parsed.foo; - while ((ref = ref.p)) { - depth += 1; - } - - st.equal(depth, 5000, 'parsed is 5000 properties deep'); - - st.end(); - }); - - t.test('parses null objects correctly', { skip: !Object.create }, function (st) { - var a = Object.create(null); - a.b = 'c'; - - st.deepEqual(qs.parse(a), { b: 'c' }); - var result = qs.parse({ a: a }); - st.equal('a' in result, true, 'result has "a" property'); - st.deepEqual(result.a, a); - st.end(); - }); - - t.test('parses dates correctly', function (st) { - var now = new Date(); - st.deepEqual(qs.parse({ a: now }), { a: now }); - st.end(); - }); - - t.test('parses regular expressions correctly', function (st) { - var re = /^test$/; - st.deepEqual(qs.parse({ a: re }), { a: re }); - st.end(); - }); - - t.test('does not allow overwriting prototype properties', function (st) { - st.deepEqual(qs.parse('a[hasOwnProperty]=b', { allowPrototypes: false }), {}); - st.deepEqual(qs.parse('hasOwnProperty=b', { allowPrototypes: false }), {}); - - st.deepEqual( - qs.parse('toString', { allowPrototypes: false }), - {}, - 'bare "toString" results in {}' - ); - - st.end(); - }); - - t.test('can allow overwriting prototype properties', function (st) { - st.deepEqual(qs.parse('a[hasOwnProperty]=b', { allowPrototypes: true }), { a: { hasOwnProperty: 'b' } }); - st.deepEqual(qs.parse('hasOwnProperty=b', { allowPrototypes: true }), { hasOwnProperty: 'b' }); - - st.deepEqual( - qs.parse('toString', { allowPrototypes: true }), - { toString: '' }, - 'bare "toString" results in { toString: "" }' - ); - - st.end(); - }); - - t.test('params starting with a closing bracket', function (st) { - st.deepEqual(qs.parse(']=toString'), { ']': 'toString' }); - st.deepEqual(qs.parse(']]=toString'), { ']]': 'toString' }); - st.deepEqual(qs.parse(']hello]=toString'), { ']hello]': 'toString' }); - st.end(); - }); - - t.test('params starting with a starting bracket', function (st) { - st.deepEqual(qs.parse('[=toString'), { '[': 'toString' }); - st.deepEqual(qs.parse('[[=toString'), { '[[': 'toString' }); - st.deepEqual(qs.parse('[hello[=toString'), { '[hello[': 'toString' }); - st.end(); - }); - - t.test('add keys to objects', function (st) { - st.deepEqual( - qs.parse('a[b]=c&a=d'), - { a: { b: 'c', d: true } }, - 'can add keys to objects' - ); - - st.deepEqual( - qs.parse('a[b]=c&a=toString'), - { a: { b: 'c' } }, - 'can not overwrite prototype' - ); - - st.deepEqual( - qs.parse('a[b]=c&a=toString', { allowPrototypes: true }), - { a: { b: 'c', toString: true } }, - 'can overwrite prototype with allowPrototypes true' - ); - - st.deepEqual( - qs.parse('a[b]=c&a=toString', { plainObjects: true }), - { __proto__: null, a: { __proto__: null, b: 'c', toString: true } }, - 'can overwrite prototype with plainObjects true' - ); - - st.end(); - }); - - t.test('can return null objects', { skip: !Object.create }, function (st) { - var expected = Object.create(null); - expected.a = Object.create(null); - expected.a.b = 'c'; - expected.a.hasOwnProperty = 'd'; - st.deepEqual(qs.parse('a[b]=c&a[hasOwnProperty]=d', { plainObjects: true }), expected); - st.deepEqual(qs.parse(null, { plainObjects: true }), Object.create(null)); - var expectedArray = Object.create(null); - expectedArray.a = Object.create(null); - expectedArray.a[0] = 'b'; - expectedArray.a.c = 'd'; - st.deepEqual(qs.parse('a[]=b&a[c]=d', { plainObjects: true }), expectedArray); - st.end(); - }); - - t.test('can parse with custom encoding', function (st) { - st.deepEqual(qs.parse('%8c%a7=%91%e5%8d%e3%95%7b', { - decoder: function (str) { - var reg = /%([0-9A-F]{2})/ig; - var result = []; - var parts = reg.exec(str); - while (parts) { - result.push(parseInt(parts[1], 16)); - parts = reg.exec(str); - } - return String(iconv.decode(SaferBuffer.from(result), 'shift_jis')); - } - }), { 県: '大阪府' }); - st.end(); - }); - - t.test('receives the default decoder as a second argument', function (st) { - st.plan(1); - qs.parse('a', { - decoder: function (str, defaultDecoder) { - st.equal(defaultDecoder, utils.decode); - } - }); - st.end(); - }); - - t.test('throws error with wrong decoder', function (st) { - st['throws'](function () { - qs.parse({}, { decoder: 'string' }); - }, new TypeError('Decoder has to be a function.')); - st.end(); - }); - - t.test('does not mutate the options argument', function (st) { - var options = {}; - qs.parse('a[b]=true', options); - st.deepEqual(options, {}); - st.end(); - }); - - t.test('throws if an invalid charset is specified', function (st) { - st['throws'](function () { - qs.parse('a=b', { charset: 'foobar' }); - }, new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined')); - st.end(); - }); - - t.test('parses an iso-8859-1 string if asked to', function (st) { - st.deepEqual(qs.parse('%A2=%BD', { charset: 'iso-8859-1' }), { '¢': '½' }); - st.end(); - }); - - var urlEncodedCheckmarkInUtf8 = '%E2%9C%93'; - var urlEncodedOSlashInUtf8 = '%C3%B8'; - var urlEncodedNumCheckmark = '%26%2310003%3B'; - var urlEncodedNumSmiley = '%26%239786%3B'; - - t.test('prefers an utf-8 charset specified by the utf8 sentinel to a default charset of iso-8859-1', function (st) { - st.deepEqual(qs.parse('utf8=' + urlEncodedCheckmarkInUtf8 + '&' + urlEncodedOSlashInUtf8 + '=' + urlEncodedOSlashInUtf8, { charsetSentinel: true, charset: 'iso-8859-1' }), { ø: 'ø' }); - st.end(); - }); - - t.test('prefers an iso-8859-1 charset specified by the utf8 sentinel to a default charset of utf-8', function (st) { - st.deepEqual(qs.parse('utf8=' + urlEncodedNumCheckmark + '&' + urlEncodedOSlashInUtf8 + '=' + urlEncodedOSlashInUtf8, { charsetSentinel: true, charset: 'utf-8' }), { 'ø': 'ø' }); - st.end(); - }); - - t.test('does not require the utf8 sentinel to be defined before the parameters whose decoding it affects', function (st) { - st.deepEqual(qs.parse('a=' + urlEncodedOSlashInUtf8 + '&utf8=' + urlEncodedNumCheckmark, { charsetSentinel: true, charset: 'utf-8' }), { a: 'ø' }); - st.end(); - }); - - t.test('should ignore an utf8 sentinel with an unknown value', function (st) { - st.deepEqual(qs.parse('utf8=foo&' + urlEncodedOSlashInUtf8 + '=' + urlEncodedOSlashInUtf8, { charsetSentinel: true, charset: 'utf-8' }), { ø: 'ø' }); - st.end(); - }); - - t.test('uses the utf8 sentinel to switch to utf-8 when no default charset is given', function (st) { - st.deepEqual(qs.parse('utf8=' + urlEncodedCheckmarkInUtf8 + '&' + urlEncodedOSlashInUtf8 + '=' + urlEncodedOSlashInUtf8, { charsetSentinel: true }), { ø: 'ø' }); - st.end(); - }); - - t.test('uses the utf8 sentinel to switch to iso-8859-1 when no default charset is given', function (st) { - st.deepEqual(qs.parse('utf8=' + urlEncodedNumCheckmark + '&' + urlEncodedOSlashInUtf8 + '=' + urlEncodedOSlashInUtf8, { charsetSentinel: true }), { 'ø': 'ø' }); - st.end(); - }); - - t.test('interprets numeric entities in iso-8859-1 when `interpretNumericEntities`', function (st) { - st.deepEqual(qs.parse('foo=' + urlEncodedNumSmiley, { charset: 'iso-8859-1', interpretNumericEntities: true }), { foo: '☺' }); - st.end(); - }); - - t.test('handles a custom decoder returning `null`, in the `iso-8859-1` charset, when `interpretNumericEntities`', function (st) { - st.deepEqual(qs.parse('foo=&bar=' + urlEncodedNumSmiley, { - charset: 'iso-8859-1', - decoder: function (str, defaultDecoder, charset) { - return str ? defaultDecoder(str, defaultDecoder, charset) : null; - }, - interpretNumericEntities: true - }), { foo: null, bar: '☺' }); - st.end(); - }); - - t.test('does not interpret numeric entities in iso-8859-1 when `interpretNumericEntities` is absent', function (st) { - st.deepEqual(qs.parse('foo=' + urlEncodedNumSmiley, { charset: 'iso-8859-1' }), { foo: '☺' }); - st.end(); - }); - - t.test('does not interpret numeric entities when the charset is utf-8, even when `interpretNumericEntities`', function (st) { - st.deepEqual(qs.parse('foo=' + urlEncodedNumSmiley, { charset: 'utf-8', interpretNumericEntities: true }), { foo: '☺' }); - st.end(); - }); - - t.test('does not interpret %uXXXX syntax in iso-8859-1 mode', function (st) { - st.deepEqual(qs.parse('%u263A=%u263A', { charset: 'iso-8859-1' }), { '%u263A': '%u263A' }); - st.end(); - }); - - t.test('allows for decoding keys and values differently', function (st) { - var decoder = function (str, defaultDecoder, charset, type) { - if (type === 'key') { - return defaultDecoder(str, defaultDecoder, charset, type).toLowerCase(); - } - if (type === 'value') { - return defaultDecoder(str, defaultDecoder, charset, type).toUpperCase(); - } - throw 'this should never happen! type: ' + type; - }; - - st.deepEqual(qs.parse('KeY=vAlUe', { decoder: decoder }), { key: 'VALUE' }); - st.end(); - }); - - t.end(); -}); diff --git a/node_modules/qs/test/stringify.js b/node_modules/qs/test/stringify.js deleted file mode 100644 index 49692184..00000000 --- a/node_modules/qs/test/stringify.js +++ /dev/null @@ -1,750 +0,0 @@ -'use strict'; - -var test = require('tape'); -var qs = require('../'); -var utils = require('../lib/utils'); -var iconv = require('iconv-lite'); -var SaferBuffer = require('safer-buffer').Buffer; -var hasSymbols = require('has-symbols'); -var hasBigInt = typeof BigInt === 'function'; - -test('stringify()', function (t) { - t.test('stringifies a querystring object', function (st) { - st.equal(qs.stringify({ a: 'b' }), 'a=b'); - st.equal(qs.stringify({ a: 1 }), 'a=1'); - st.equal(qs.stringify({ a: 1, b: 2 }), 'a=1&b=2'); - st.equal(qs.stringify({ a: 'A_Z' }), 'a=A_Z'); - st.equal(qs.stringify({ a: '€' }), 'a=%E2%82%AC'); - st.equal(qs.stringify({ a: '' }), 'a=%EE%80%80'); - st.equal(qs.stringify({ a: 'א' }), 'a=%D7%90'); - st.equal(qs.stringify({ a: '𐐷' }), 'a=%F0%90%90%B7'); - st.end(); - }); - - t.test('stringifies falsy values', function (st) { - st.equal(qs.stringify(undefined), ''); - st.equal(qs.stringify(null), ''); - st.equal(qs.stringify(null, { strictNullHandling: true }), ''); - st.equal(qs.stringify(false), ''); - st.equal(qs.stringify(0), ''); - st.end(); - }); - - t.test('stringifies symbols', { skip: !hasSymbols() }, function (st) { - st.equal(qs.stringify(Symbol.iterator), ''); - st.equal(qs.stringify([Symbol.iterator]), '0=Symbol%28Symbol.iterator%29'); - st.equal(qs.stringify({ a: Symbol.iterator }), 'a=Symbol%28Symbol.iterator%29'); - st.equal( - qs.stringify({ a: [Symbol.iterator] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), - 'a[]=Symbol%28Symbol.iterator%29' - ); - st.end(); - }); - - t.test('stringifies bigints', { skip: !hasBigInt }, function (st) { - var three = BigInt(3); - var encodeWithN = function (value, defaultEncoder, charset) { - var result = defaultEncoder(value, defaultEncoder, charset); - return typeof value === 'bigint' ? result + 'n' : result; - }; - st.equal(qs.stringify(three), ''); - st.equal(qs.stringify([three]), '0=3'); - st.equal(qs.stringify([three], { encoder: encodeWithN }), '0=3n'); - st.equal(qs.stringify({ a: three }), 'a=3'); - st.equal(qs.stringify({ a: three }, { encoder: encodeWithN }), 'a=3n'); - st.equal( - qs.stringify({ a: [three] }, { encodeValuesOnly: true, arrayFormat: 'brackets' }), - 'a[]=3' - ); - st.equal( - qs.stringify({ a: [three] }, { encodeValuesOnly: true, encoder: encodeWithN, arrayFormat: 'brackets' }), - 'a[]=3n' - ); - st.end(); - }); - - t.test('adds query prefix', function (st) { - st.equal(qs.stringify({ a: 'b' }, { addQueryPrefix: true }), '?a=b'); - st.end(); - }); - - t.test('with query prefix, outputs blank string given an empty object', function (st) { - st.equal(qs.stringify({}, { addQueryPrefix: true }), ''); - st.end(); - }); - - t.test('stringifies nested falsy values', function (st) { - st.equal(qs.stringify({ a: { b: { c: null } } }), 'a%5Bb%5D%5Bc%5D='); - st.equal(qs.stringify({ a: { b: { c: null } } }, { strictNullHandling: true }), 'a%5Bb%5D%5Bc%5D'); - st.equal(qs.stringify({ a: { b: { c: false } } }), 'a%5Bb%5D%5Bc%5D=false'); - st.end(); - }); - - t.test('stringifies a nested object', function (st) { - st.equal(qs.stringify({ a: { b: 'c' } }), 'a%5Bb%5D=c'); - st.equal(qs.stringify({ a: { b: { c: { d: 'e' } } } }), 'a%5Bb%5D%5Bc%5D%5Bd%5D=e'); - st.end(); - }); - - t.test('stringifies a nested object with dots notation', function (st) { - st.equal(qs.stringify({ a: { b: 'c' } }, { allowDots: true }), 'a.b=c'); - st.equal(qs.stringify({ a: { b: { c: { d: 'e' } } } }, { allowDots: true }), 'a.b.c.d=e'); - st.end(); - }); - - t.test('stringifies an array value', function (st) { - st.equal( - qs.stringify({ a: ['b', 'c', 'd'] }, { arrayFormat: 'indices' }), - 'a%5B0%5D=b&a%5B1%5D=c&a%5B2%5D=d', - 'indices => indices' - ); - st.equal( - qs.stringify({ a: ['b', 'c', 'd'] }, { arrayFormat: 'brackets' }), - 'a%5B%5D=b&a%5B%5D=c&a%5B%5D=d', - 'brackets => brackets' - ); - st.equal( - qs.stringify({ a: ['b', 'c', 'd'] }, { arrayFormat: 'comma' }), - 'a=b%2Cc%2Cd', - 'comma => comma' - ); - st.equal( - qs.stringify({ a: ['b', 'c', 'd'] }), - 'a%5B0%5D=b&a%5B1%5D=c&a%5B2%5D=d', - 'default => indices' - ); - st.end(); - }); - - t.test('omits nulls when asked', function (st) { - st.equal(qs.stringify({ a: 'b', c: null }, { skipNulls: true }), 'a=b'); - st.end(); - }); - - t.test('omits nested nulls when asked', function (st) { - st.equal(qs.stringify({ a: { b: 'c', d: null } }, { skipNulls: true }), 'a%5Bb%5D=c'); - st.end(); - }); - - t.test('omits array indices when asked', function (st) { - st.equal(qs.stringify({ a: ['b', 'c', 'd'] }, { indices: false }), 'a=b&a=c&a=d'); - st.end(); - }); - - t.test('stringifies a nested array value', function (st) { - st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { arrayFormat: 'indices' }), 'a%5Bb%5D%5B0%5D=c&a%5Bb%5D%5B1%5D=d'); - st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { arrayFormat: 'brackets' }), 'a%5Bb%5D%5B%5D=c&a%5Bb%5D%5B%5D=d'); - st.equal(qs.stringify({ a: { b: ['c', 'd'] } }, { arrayFormat: 'comma' }), 'a%5Bb%5D=c%2Cd'); // a[b]=c,d - st.equal(qs.stringify({ a: { b: ['c', 'd'] } }), 'a%5Bb%5D%5B0%5D=c&a%5Bb%5D%5B1%5D=d'); - st.end(); - }); - - t.test('stringifies a nested array value with dots notation', function (st) { - st.equal( - qs.stringify( - { a: { b: ['c', 'd'] } }, - { allowDots: true, encode: false, arrayFormat: 'indices' } - ), - 'a.b[0]=c&a.b[1]=d', - 'indices: stringifies with dots + indices' - ); - st.equal( - qs.stringify( - { a: { b: ['c', 'd'] } }, - { allowDots: true, encode: false, arrayFormat: 'brackets' } - ), - 'a.b[]=c&a.b[]=d', - 'brackets: stringifies with dots + brackets' - ); - st.equal( - qs.stringify( - { a: { b: ['c', 'd'] } }, - { allowDots: true, encode: false, arrayFormat: 'comma' } - ), - 'a.b=c,d', - 'comma: stringifies with dots + comma' - ); - st.equal( - qs.stringify( - { a: { b: ['c', 'd'] } }, - { allowDots: true, encode: false } - ), - 'a.b[0]=c&a.b[1]=d', - 'default: stringifies with dots + indices' - ); - st.end(); - }); - - t.test('stringifies an object inside an array', function (st) { - st.equal( - qs.stringify({ a: [{ b: 'c' }] }, { arrayFormat: 'indices' }), - 'a%5B0%5D%5Bb%5D=c', // a[0][b]=c - 'indices => brackets' - ); - st.equal( - qs.stringify({ a: [{ b: 'c' }] }, { arrayFormat: 'brackets' }), - 'a%5B%5D%5Bb%5D=c', // a[][b]=c - 'brackets => brackets' - ); - st.equal( - qs.stringify({ a: [{ b: 'c' }] }), - 'a%5B0%5D%5Bb%5D=c', - 'default => indices' - ); - - st.equal( - qs.stringify({ a: [{ b: { c: [1] } }] }, { arrayFormat: 'indices' }), - 'a%5B0%5D%5Bb%5D%5Bc%5D%5B0%5D=1', - 'indices => indices' - ); - - st.equal( - qs.stringify({ a: [{ b: { c: [1] } }] }, { arrayFormat: 'brackets' }), - 'a%5B%5D%5Bb%5D%5Bc%5D%5B%5D=1', - 'brackets => brackets' - ); - - st.equal( - qs.stringify({ a: [{ b: { c: [1] } }] }), - 'a%5B0%5D%5Bb%5D%5Bc%5D%5B0%5D=1', - 'default => indices' - ); - - st.end(); - }); - - t.test('stringifies an array with mixed objects and primitives', function (st) { - st.equal( - qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encode: false, arrayFormat: 'indices' }), - 'a[0][b]=1&a[1]=2&a[2]=3', - 'indices => indices' - ); - st.equal( - qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encode: false, arrayFormat: 'brackets' }), - 'a[][b]=1&a[]=2&a[]=3', - 'brackets => brackets' - ); - st.equal( - qs.stringify({ a: [{ b: 1 }, 2, 3] }, { encode: false }), - 'a[0][b]=1&a[1]=2&a[2]=3', - 'default => indices' - ); - - st.end(); - }); - - t.test('stringifies an object inside an array with dots notation', function (st) { - st.equal( - qs.stringify( - { a: [{ b: 'c' }] }, - { allowDots: true, encode: false, arrayFormat: 'indices' } - ), - 'a[0].b=c', - 'indices => indices' - ); - st.equal( - qs.stringify( - { a: [{ b: 'c' }] }, - { allowDots: true, encode: false, arrayFormat: 'brackets' } - ), - 'a[].b=c', - 'brackets => brackets' - ); - st.equal( - qs.stringify( - { a: [{ b: 'c' }] }, - { allowDots: true, encode: false } - ), - 'a[0].b=c', - 'default => indices' - ); - - st.equal( - qs.stringify( - { a: [{ b: { c: [1] } }] }, - { allowDots: true, encode: false, arrayFormat: 'indices' } - ), - 'a[0].b.c[0]=1', - 'indices => indices' - ); - st.equal( - qs.stringify( - { a: [{ b: { c: [1] } }] }, - { allowDots: true, encode: false, arrayFormat: 'brackets' } - ), - 'a[].b.c[]=1', - 'brackets => brackets' - ); - st.equal( - qs.stringify( - { a: [{ b: { c: [1] } }] }, - { allowDots: true, encode: false } - ), - 'a[0].b.c[0]=1', - 'default => indices' - ); - - st.end(); - }); - - t.test('does not omit object keys when indices = false', function (st) { - st.equal(qs.stringify({ a: [{ b: 'c' }] }, { indices: false }), 'a%5Bb%5D=c'); - st.end(); - }); - - t.test('uses indices notation for arrays when indices=true', function (st) { - st.equal(qs.stringify({ a: ['b', 'c'] }, { indices: true }), 'a%5B0%5D=b&a%5B1%5D=c'); - st.end(); - }); - - t.test('uses indices notation for arrays when no arrayFormat is specified', function (st) { - st.equal(qs.stringify({ a: ['b', 'c'] }), 'a%5B0%5D=b&a%5B1%5D=c'); - st.end(); - }); - - t.test('uses indices notation for arrays when no arrayFormat=indices', function (st) { - st.equal(qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'indices' }), 'a%5B0%5D=b&a%5B1%5D=c'); - st.end(); - }); - - t.test('uses repeat notation for arrays when no arrayFormat=repeat', function (st) { - st.equal(qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'repeat' }), 'a=b&a=c'); - st.end(); - }); - - t.test('uses brackets notation for arrays when no arrayFormat=brackets', function (st) { - st.equal(qs.stringify({ a: ['b', 'c'] }, { arrayFormat: 'brackets' }), 'a%5B%5D=b&a%5B%5D=c'); - st.end(); - }); - - t.test('stringifies a complicated object', function (st) { - st.equal(qs.stringify({ a: { b: 'c', d: 'e' } }), 'a%5Bb%5D=c&a%5Bd%5D=e'); - st.end(); - }); - - t.test('stringifies an empty value', function (st) { - st.equal(qs.stringify({ a: '' }), 'a='); - st.equal(qs.stringify({ a: null }, { strictNullHandling: true }), 'a'); - - st.equal(qs.stringify({ a: '', b: '' }), 'a=&b='); - st.equal(qs.stringify({ a: null, b: '' }, { strictNullHandling: true }), 'a&b='); - - st.equal(qs.stringify({ a: { b: '' } }), 'a%5Bb%5D='); - st.equal(qs.stringify({ a: { b: null } }, { strictNullHandling: true }), 'a%5Bb%5D'); - st.equal(qs.stringify({ a: { b: null } }, { strictNullHandling: false }), 'a%5Bb%5D='); - - st.end(); - }); - - t.test('stringifies a null object', { skip: !Object.create }, function (st) { - var obj = Object.create(null); - obj.a = 'b'; - st.equal(qs.stringify(obj), 'a=b'); - st.end(); - }); - - t.test('returns an empty string for invalid input', function (st) { - st.equal(qs.stringify(undefined), ''); - st.equal(qs.stringify(false), ''); - st.equal(qs.stringify(null), ''); - st.equal(qs.stringify(''), ''); - st.end(); - }); - - t.test('stringifies an object with a null object as a child', { skip: !Object.create }, function (st) { - var obj = { a: Object.create(null) }; - - obj.a.b = 'c'; - st.equal(qs.stringify(obj), 'a%5Bb%5D=c'); - st.end(); - }); - - t.test('drops keys with a value of undefined', function (st) { - st.equal(qs.stringify({ a: undefined }), ''); - - st.equal(qs.stringify({ a: { b: undefined, c: null } }, { strictNullHandling: true }), 'a%5Bc%5D'); - st.equal(qs.stringify({ a: { b: undefined, c: null } }, { strictNullHandling: false }), 'a%5Bc%5D='); - st.equal(qs.stringify({ a: { b: undefined, c: '' } }), 'a%5Bc%5D='); - st.end(); - }); - - t.test('url encodes values', function (st) { - st.equal(qs.stringify({ a: 'b c' }), 'a=b%20c'); - st.end(); - }); - - t.test('stringifies a date', function (st) { - var now = new Date(); - var str = 'a=' + encodeURIComponent(now.toISOString()); - st.equal(qs.stringify({ a: now }), str); - st.end(); - }); - - t.test('stringifies the weird object from qs', function (st) { - st.equal(qs.stringify({ 'my weird field': '~q1!2"\'w$5&7/z8)?' }), 'my%20weird%20field=~q1%212%22%27w%245%267%2Fz8%29%3F'); - st.end(); - }); - - t.test('skips properties that are part of the object prototype', function (st) { - Object.prototype.crash = 'test'; - st.equal(qs.stringify({ a: 'b' }), 'a=b'); - st.equal(qs.stringify({ a: { b: 'c' } }), 'a%5Bb%5D=c'); - delete Object.prototype.crash; - st.end(); - }); - - t.test('stringifies boolean values', function (st) { - st.equal(qs.stringify({ a: true }), 'a=true'); - st.equal(qs.stringify({ a: { b: true } }), 'a%5Bb%5D=true'); - st.equal(qs.stringify({ b: false }), 'b=false'); - st.equal(qs.stringify({ b: { c: false } }), 'b%5Bc%5D=false'); - st.end(); - }); - - t.test('stringifies buffer values', function (st) { - st.equal(qs.stringify({ a: SaferBuffer.from('test') }), 'a=test'); - st.equal(qs.stringify({ a: { b: SaferBuffer.from('test') } }), 'a%5Bb%5D=test'); - st.end(); - }); - - t.test('stringifies an object using an alternative delimiter', function (st) { - st.equal(qs.stringify({ a: 'b', c: 'd' }, { delimiter: ';' }), 'a=b;c=d'); - st.end(); - }); - - t.test('doesn\'t blow up when Buffer global is missing', function (st) { - var tempBuffer = global.Buffer; - delete global.Buffer; - var result = qs.stringify({ a: 'b', c: 'd' }); - global.Buffer = tempBuffer; - st.equal(result, 'a=b&c=d'); - st.end(); - }); - - t.test('selects properties when filter=array', function (st) { - st.equal(qs.stringify({ a: 'b' }, { filter: ['a'] }), 'a=b'); - st.equal(qs.stringify({ a: 1 }, { filter: [] }), ''); - - st.equal( - qs.stringify( - { a: { b: [1, 2, 3, 4], c: 'd' }, c: 'f' }, - { filter: ['a', 'b', 0, 2], arrayFormat: 'indices' } - ), - 'a%5Bb%5D%5B0%5D=1&a%5Bb%5D%5B2%5D=3', - 'indices => indices' - ); - st.equal( - qs.stringify( - { a: { b: [1, 2, 3, 4], c: 'd' }, c: 'f' }, - { filter: ['a', 'b', 0, 2], arrayFormat: 'brackets' } - ), - 'a%5Bb%5D%5B%5D=1&a%5Bb%5D%5B%5D=3', - 'brackets => brackets' - ); - st.equal( - qs.stringify( - { a: { b: [1, 2, 3, 4], c: 'd' }, c: 'f' }, - { filter: ['a', 'b', 0, 2] } - ), - 'a%5Bb%5D%5B0%5D=1&a%5Bb%5D%5B2%5D=3', - 'default => indices' - ); - - st.end(); - }); - - t.test('supports custom representations when filter=function', function (st) { - var calls = 0; - var obj = { a: 'b', c: 'd', e: { f: new Date(1257894000000) } }; - var filterFunc = function (prefix, value) { - calls += 1; - if (calls === 1) { - st.equal(prefix, '', 'prefix is empty'); - st.equal(value, obj); - } else if (prefix === 'c') { - return void 0; - } else if (value instanceof Date) { - st.equal(prefix, 'e[f]'); - return value.getTime(); - } - return value; - }; - - st.equal(qs.stringify(obj, { filter: filterFunc }), 'a=b&e%5Bf%5D=1257894000000'); - st.equal(calls, 5); - st.end(); - }); - - t.test('can disable uri encoding', function (st) { - st.equal(qs.stringify({ a: 'b' }, { encode: false }), 'a=b'); - st.equal(qs.stringify({ a: { b: 'c' } }, { encode: false }), 'a[b]=c'); - st.equal(qs.stringify({ a: 'b', c: null }, { strictNullHandling: true, encode: false }), 'a=b&c'); - st.end(); - }); - - t.test('can sort the keys', function (st) { - var sort = function (a, b) { - return a.localeCompare(b); - }; - st.equal(qs.stringify({ a: 'c', z: 'y', b: 'f' }, { sort: sort }), 'a=c&b=f&z=y'); - st.equal(qs.stringify({ a: 'c', z: { j: 'a', i: 'b' }, b: 'f' }, { sort: sort }), 'a=c&b=f&z%5Bi%5D=b&z%5Bj%5D=a'); - st.end(); - }); - - t.test('can sort the keys at depth 3 or more too', function (st) { - var sort = function (a, b) { - return a.localeCompare(b); - }; - st.equal( - qs.stringify( - { a: 'a', z: { zj: { zjb: 'zjb', zja: 'zja' }, zi: { zib: 'zib', zia: 'zia' } }, b: 'b' }, - { sort: sort, encode: false } - ), - 'a=a&b=b&z[zi][zia]=zia&z[zi][zib]=zib&z[zj][zja]=zja&z[zj][zjb]=zjb' - ); - st.equal( - qs.stringify( - { a: 'a', z: { zj: { zjb: 'zjb', zja: 'zja' }, zi: { zib: 'zib', zia: 'zia' } }, b: 'b' }, - { sort: null, encode: false } - ), - 'a=a&z[zj][zjb]=zjb&z[zj][zja]=zja&z[zi][zib]=zib&z[zi][zia]=zia&b=b' - ); - st.end(); - }); - - t.test('can stringify with custom encoding', function (st) { - st.equal(qs.stringify({ 県: '大阪府', '': '' }, { - encoder: function (str) { - if (str.length === 0) { - return ''; - } - var buf = iconv.encode(str, 'shiftjis'); - var result = []; - for (var i = 0; i < buf.length; ++i) { - result.push(buf.readUInt8(i).toString(16)); - } - return '%' + result.join('%'); - } - }), '%8c%a7=%91%e5%8d%e3%95%7b&='); - st.end(); - }); - - t.test('receives the default encoder as a second argument', function (st) { - st.plan(2); - qs.stringify({ a: 1 }, { - encoder: function (str, defaultEncoder) { - st.equal(defaultEncoder, utils.encode); - } - }); - st.end(); - }); - - t.test('throws error with wrong encoder', function (st) { - st['throws'](function () { - qs.stringify({}, { encoder: 'string' }); - }, new TypeError('Encoder has to be a function.')); - st.end(); - }); - - t.test('can use custom encoder for a buffer object', { skip: typeof Buffer === 'undefined' }, function (st) { - st.equal(qs.stringify({ a: SaferBuffer.from([1]) }, { - encoder: function (buffer) { - if (typeof buffer === 'string') { - return buffer; - } - return String.fromCharCode(buffer.readUInt8(0) + 97); - } - }), 'a=b'); - - st.equal(qs.stringify({ a: SaferBuffer.from('a b') }, { - encoder: function (buffer) { - return buffer; - } - }), 'a=a b'); - st.end(); - }); - - t.test('serializeDate option', function (st) { - var date = new Date(); - st.equal( - qs.stringify({ a: date }), - 'a=' + date.toISOString().replace(/:/g, '%3A'), - 'default is toISOString' - ); - - var mutatedDate = new Date(); - mutatedDate.toISOString = function () { - throw new SyntaxError(); - }; - st['throws'](function () { - mutatedDate.toISOString(); - }, SyntaxError); - st.equal( - qs.stringify({ a: mutatedDate }), - 'a=' + Date.prototype.toISOString.call(mutatedDate).replace(/:/g, '%3A'), - 'toISOString works even when method is not locally present' - ); - - var specificDate = new Date(6); - st.equal( - qs.stringify( - { a: specificDate }, - { serializeDate: function (d) { return d.getTime() * 7; } } - ), - 'a=42', - 'custom serializeDate function called' - ); - - st.equal( - qs.stringify( - { a: [date] }, - { - serializeDate: function (d) { return d.getTime(); }, - arrayFormat: 'comma' - } - ), - 'a=' + date.getTime(), - 'works with arrayFormat comma' - ); - - st.end(); - }); - - t.test('RFC 1738 spaces serialization', function (st) { - st.equal(qs.stringify({ a: 'b c' }, { format: qs.formats.RFC1738 }), 'a=b+c'); - st.equal(qs.stringify({ 'a b': 'c d' }, { format: qs.formats.RFC1738 }), 'a+b=c+d'); - st.equal(qs.stringify({ 'a b': SaferBuffer.from('a b') }, { format: qs.formats.RFC1738 }), 'a+b=a+b'); - st.end(); - }); - - t.test('RFC 3986 spaces serialization', function (st) { - st.equal(qs.stringify({ a: 'b c' }, { format: qs.formats.RFC3986 }), 'a=b%20c'); - st.equal(qs.stringify({ 'a b': 'c d' }, { format: qs.formats.RFC3986 }), 'a%20b=c%20d'); - st.equal(qs.stringify({ 'a b': SaferBuffer.from('a b') }, { format: qs.formats.RFC3986 }), 'a%20b=a%20b'); - st.end(); - }); - - t.test('Backward compatibility to RFC 3986', function (st) { - st.equal(qs.stringify({ a: 'b c' }), 'a=b%20c'); - st.equal(qs.stringify({ 'a b': SaferBuffer.from('a b') }), 'a%20b=a%20b'); - st.end(); - }); - - t.test('Edge cases and unknown formats', function (st) { - ['UFO1234', false, 1234, null, {}, []].forEach( - function (format) { - st['throws']( - function () { - qs.stringify({ a: 'b c' }, { format: format }); - }, - new TypeError('Unknown format option provided.') - ); - } - ); - st.end(); - }); - - t.test('encodeValuesOnly', function (st) { - st.equal( - qs.stringify( - { a: 'b', c: ['d', 'e=f'], f: [['g'], ['h']] }, - { encodeValuesOnly: true } - ), - 'a=b&c[0]=d&c[1]=e%3Df&f[0][0]=g&f[1][0]=h' - ); - st.equal( - qs.stringify( - { a: 'b', c: ['d', 'e'], f: [['g'], ['h']] } - ), - 'a=b&c%5B0%5D=d&c%5B1%5D=e&f%5B0%5D%5B0%5D=g&f%5B1%5D%5B0%5D=h' - ); - st.end(); - }); - - t.test('encodeValuesOnly - strictNullHandling', function (st) { - st.equal( - qs.stringify( - { a: { b: null } }, - { encodeValuesOnly: true, strictNullHandling: true } - ), - 'a[b]' - ); - st.end(); - }); - - t.test('throws if an invalid charset is specified', function (st) { - st['throws'](function () { - qs.stringify({ a: 'b' }, { charset: 'foobar' }); - }, new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined')); - st.end(); - }); - - t.test('respects a charset of iso-8859-1', function (st) { - st.equal(qs.stringify({ æ: 'æ' }, { charset: 'iso-8859-1' }), '%E6=%E6'); - st.end(); - }); - - t.test('encodes unrepresentable chars as numeric entities in iso-8859-1 mode', function (st) { - st.equal(qs.stringify({ a: '☺' }, { charset: 'iso-8859-1' }), 'a=%26%239786%3B'); - st.end(); - }); - - t.test('respects an explicit charset of utf-8 (the default)', function (st) { - st.equal(qs.stringify({ a: 'æ' }, { charset: 'utf-8' }), 'a=%C3%A6'); - st.end(); - }); - - t.test('adds the right sentinel when instructed to and the charset is utf-8', function (st) { - st.equal(qs.stringify({ a: 'æ' }, { charsetSentinel: true, charset: 'utf-8' }), 'utf8=%E2%9C%93&a=%C3%A6'); - st.end(); - }); - - t.test('adds the right sentinel when instructed to and the charset is iso-8859-1', function (st) { - st.equal(qs.stringify({ a: 'æ' }, { charsetSentinel: true, charset: 'iso-8859-1' }), 'utf8=%26%2310003%3B&a=%E6'); - st.end(); - }); - - t.test('does not mutate the options argument', function (st) { - var options = {}; - qs.stringify({}, options); - st.deepEqual(options, {}); - st.end(); - }); - - t.test('strictNullHandling works with custom filter', function (st) { - var filter = function (prefix, value) { - return value; - }; - - var options = { strictNullHandling: true, filter: filter }; - st.equal(qs.stringify({ key: null }, options), 'key'); - st.end(); - }); - - t.test('strictNullHandling works with null serializeDate', function (st) { - var serializeDate = function () { - return null; - }; - var options = { strictNullHandling: true, serializeDate: serializeDate }; - var date = new Date(); - st.equal(qs.stringify({ key: date }, options), 'key'); - st.end(); - }); - - t.test('allows for encoding keys and values differently', function (st) { - var encoder = function (str, defaultEncoder, charset, type) { - if (type === 'key') { - return defaultEncoder(str, defaultEncoder, charset, type).toLowerCase(); - } - if (type === 'value') { - return defaultEncoder(str, defaultEncoder, charset, type).toUpperCase(); - } - throw 'this should never happen! type: ' + type; - }; - - st.deepEqual(qs.stringify({ KeY: 'vAlUe' }, { encoder: encoder }), 'key=VALUE'); - st.end(); - }); - - t.end(); -}); diff --git a/node_modules/qs/test/utils.js b/node_modules/qs/test/utils.js deleted file mode 100644 index aa84dfdc..00000000 --- a/node_modules/qs/test/utils.js +++ /dev/null @@ -1,136 +0,0 @@ -'use strict'; - -var test = require('tape'); -var inspect = require('object-inspect'); -var SaferBuffer = require('safer-buffer').Buffer; -var forEach = require('for-each'); -var utils = require('../lib/utils'); - -test('merge()', function (t) { - t.deepEqual(utils.merge(null, true), [null, true], 'merges true into null'); - - t.deepEqual(utils.merge(null, [42]), [null, 42], 'merges null into an array'); - - t.deepEqual(utils.merge({ a: 'b' }, { a: 'c' }), { a: ['b', 'c'] }, 'merges two objects with the same key'); - - var oneMerged = utils.merge({ foo: 'bar' }, { foo: { first: '123' } }); - t.deepEqual(oneMerged, { foo: ['bar', { first: '123' }] }, 'merges a standalone and an object into an array'); - - var twoMerged = utils.merge({ foo: ['bar', { first: '123' }] }, { foo: { second: '456' } }); - t.deepEqual(twoMerged, { foo: { 0: 'bar', 1: { first: '123' }, second: '456' } }, 'merges a standalone and two objects into an array'); - - var sandwiched = utils.merge({ foo: ['bar', { first: '123', second: '456' }] }, { foo: 'baz' }); - t.deepEqual(sandwiched, { foo: ['bar', { first: '123', second: '456' }, 'baz'] }, 'merges an object sandwiched by two standalones into an array'); - - var nestedArrays = utils.merge({ foo: ['baz'] }, { foo: ['bar', 'xyzzy'] }); - t.deepEqual(nestedArrays, { foo: ['baz', 'bar', 'xyzzy'] }); - - var noOptionsNonObjectSource = utils.merge({ foo: 'baz' }, 'bar'); - t.deepEqual(noOptionsNonObjectSource, { foo: 'baz', bar: true }); - - t.test( - 'avoids invoking array setters unnecessarily', - { skip: typeof Object.defineProperty !== 'function' }, - function (st) { - var setCount = 0; - var getCount = 0; - var observed = []; - Object.defineProperty(observed, 0, { - get: function () { - getCount += 1; - return { bar: 'baz' }; - }, - set: function () { setCount += 1; } - }); - utils.merge(observed, [null]); - st.equal(setCount, 0); - st.equal(getCount, 1); - observed[0] = observed[0]; // eslint-disable-line no-self-assign - st.equal(setCount, 1); - st.equal(getCount, 2); - st.end(); - } - ); - - t.end(); -}); - -test('assign()', function (t) { - var target = { a: 1, b: 2 }; - var source = { b: 3, c: 4 }; - var result = utils.assign(target, source); - - t.equal(result, target, 'returns the target'); - t.deepEqual(target, { a: 1, b: 3, c: 4 }, 'target and source are merged'); - t.deepEqual(source, { b: 3, c: 4 }, 'source is untouched'); - - t.end(); -}); - -test('combine()', function (t) { - t.test('both arrays', function (st) { - var a = [1]; - var b = [2]; - var combined = utils.combine(a, b); - - st.deepEqual(a, [1], 'a is not mutated'); - st.deepEqual(b, [2], 'b is not mutated'); - st.notEqual(a, combined, 'a !== combined'); - st.notEqual(b, combined, 'b !== combined'); - st.deepEqual(combined, [1, 2], 'combined is a + b'); - - st.end(); - }); - - t.test('one array, one non-array', function (st) { - var aN = 1; - var a = [aN]; - var bN = 2; - var b = [bN]; - - var combinedAnB = utils.combine(aN, b); - st.deepEqual(b, [bN], 'b is not mutated'); - st.notEqual(aN, combinedAnB, 'aN + b !== aN'); - st.notEqual(a, combinedAnB, 'aN + b !== a'); - st.notEqual(bN, combinedAnB, 'aN + b !== bN'); - st.notEqual(b, combinedAnB, 'aN + b !== b'); - st.deepEqual([1, 2], combinedAnB, 'first argument is array-wrapped when not an array'); - - var combinedABn = utils.combine(a, bN); - st.deepEqual(a, [aN], 'a is not mutated'); - st.notEqual(aN, combinedABn, 'a + bN !== aN'); - st.notEqual(a, combinedABn, 'a + bN !== a'); - st.notEqual(bN, combinedABn, 'a + bN !== bN'); - st.notEqual(b, combinedABn, 'a + bN !== b'); - st.deepEqual([1, 2], combinedABn, 'second argument is array-wrapped when not an array'); - - st.end(); - }); - - t.test('neither is an array', function (st) { - var combined = utils.combine(1, 2); - st.notEqual(1, combined, '1 + 2 !== 1'); - st.notEqual(2, combined, '1 + 2 !== 2'); - st.deepEqual([1, 2], combined, 'both arguments are array-wrapped when not an array'); - - st.end(); - }); - - t.end(); -}); - -test('isBuffer()', function (t) { - forEach([null, undefined, true, false, '', 'abc', 42, 0, NaN, {}, [], function () {}, /a/g], function (x) { - t.equal(utils.isBuffer(x), false, inspect(x) + ' is not a buffer'); - }); - - var fakeBuffer = { constructor: Buffer }; - t.equal(utils.isBuffer(fakeBuffer), false, 'fake buffer is not a buffer'); - - var saferBuffer = SaferBuffer.from('abc'); - t.equal(utils.isBuffer(saferBuffer), true, 'SaferBuffer instance is a buffer'); - - var buffer = Buffer.from && Buffer.alloc ? Buffer.from('abc') : new Buffer('abc'); - t.equal(utils.isBuffer(buffer), true, 'real Buffer instance is a buffer'); - t.end(); -}); diff --git a/node_modules/stripe/CHANGELOG.md b/node_modules/stripe/CHANGELOG.md deleted file mode 100644 index 4b35a77d..00000000 --- a/node_modules/stripe/CHANGELOG.md +++ /dev/null @@ -1,1381 +0,0 @@ -# CHANGELOG - -## 8.126.0 - 2020-11-24 -* [#1079](https://github.com/stripe/stripe-node/pull/1079) Multiple API changes - * Add support for `account_tax_ids` on `Invoice` - * Add support for `payment_method_options[sepa_debit]` on `PaymentIntent` - -## 8.125.0 - 2020-11-20 -* [#1075](https://github.com/stripe/stripe-node/pull/1075) Add support for `capabilities[grabpay_payments]` on `Account` - -## 8.124.0 - 2020-11-19 -* [#1074](https://github.com/stripe/stripe-node/pull/1074) - * Add support for mandate_options on SetupIntent.payment_method_options.sepa_debit. - * Add support for card_present and interact_present as values for PaymentMethod.type. -* [#1073](https://github.com/stripe/stripe-node/pull/1073) More consistent namespacing for shared types - -## 8.123.0 - 2020-11-18 -* [#1072](https://github.com/stripe/stripe-node/pull/1072) Add support for `grabpay` on `PaymentMethod` - -## 8.122.1 - 2020-11-17 -* Identical to 8.122.0. Published to resolve a release issue. - -## 8.122.0 - 2020-11-17 -* [#1070](https://github.com/stripe/stripe-node/pull/1070) - * Add support for `sepa_debit` on `SetupIntent.PaymentMethodOptions` - * `Invoice.tax_amounts` and `InvoiceLineItem.tax_rates` are no longer nullable - * `Invoice.default_tax_rates` and `InvoiceLineItem.tax_amounts` are no longer nullable - -## 8.121.0 - 2020-11-09 -* [#1064](https://github.com/stripe/stripe-node/pull/1064) Add `invoice.finalization_error` as a `type` on `Event` -* [#1063](https://github.com/stripe/stripe-node/pull/1063) Multiple API changes - * Add support for `last_finalization_error` on `Invoice` - * Add support for deserializing Issuing `Dispute` as a `source` on `BalanceTransaction` - * Add support for `payment_method_type` on `StripeError` used by other API resources - -## 8.120.0 - 2020-11-04 -* [#1061](https://github.com/stripe/stripe-node/pull/1061) Add support for `company[registration_number]` on `Account` - -## 8.119.0 - 2020-10-27 -* [#1056](https://github.com/stripe/stripe-node/pull/1056) Add `payment_method_details[interac_present][preferred_locales]` on `Charge` -* [#1057](https://github.com/stripe/stripe-node/pull/1057) Standardize on CRULD order for method definitions -* [#1055](https://github.com/stripe/stripe-node/pull/1055) Added requirements to README - -## 8.118.0 - 2020-10-26 -* [#1053](https://github.com/stripe/stripe-node/pull/1053) Multiple API changes - * Improving Typescript types for nullable parameters and introduced `Stripe.Emptyable` as a type - * Add support for `payment_method_options[card][cvc_token]` on `PaymentIntent` - * Add support for `cvc_update[cvc]` on `Token` creation -* [#1052](https://github.com/stripe/stripe-node/pull/1052) Add Stripe.Emptyable type definition - -## 8.117.0 - 2020-10-23 -* [#1050](https://github.com/stripe/stripe-node/pull/1050) Add support for passing `p24[bank]` for P24 on `PaymentIntent` or `PaymentMethod` - -## 8.116.0 - 2020-10-22 -* [#1049](https://github.com/stripe/stripe-node/pull/1049) Support passing `tax_rates` when creating invoice items through `Subscription` or `SubscriptionSchedule` - -## 8.115.0 - 2020-10-20 -* [#1048](https://github.com/stripe/stripe-node/pull/1048) Add support for `jp_rn` and `ru_kpp` as a `type` on `TaxId` -* [#1046](https://github.com/stripe/stripe-node/pull/1046) chore: replace recommended extension sublime babel with babel javascript - -## 8.114.0 - 2020-10-15 -* [#1045](https://github.com/stripe/stripe-node/pull/1045) Make `original_payout` and `reversed_by` not optional anymore - -## 8.113.0 - 2020-10-14 -* [#1044](https://github.com/stripe/stripe-node/pull/1044) Add support for `discounts` on `Session.create` - -## 8.112.0 - 2020-10-14 -* [#1042](https://github.com/stripe/stripe-node/pull/1042) Add support for the Payout Reverse API -* [#1041](https://github.com/stripe/stripe-node/pull/1041) Do not mutate user-supplied opts - -## 8.111.0 - 2020-10-12 -* [#1038](https://github.com/stripe/stripe-node/pull/1038) Add support for `description`, `iin` and `issuer` in `payment_method_details[card_present]` and `payment_method_details[interac_present]` on `Charge` - -## 8.110.0 - 2020-10-12 -* [#1035](https://github.com/stripe/stripe-node/pull/1035) Add support for `setup_intent.requires_action` on Event - -## 8.109.0 - 2020-10-09 -* [#1033](https://github.com/stripe/stripe-node/pull/1033) Add support for internal-only `description`, `iin`, and `issuer` for `card_present` and `interac_present` on `Charge.payment_method_details` - -## 8.108.0 - 2020-10-08 -* [#1028](https://github.com/stripe/stripe-node/pull/1028) Add support for `Bancontact/iDEAL/Sofort -> SEPA` - * Add support for `generated_sepa_debit` and `generated_sepa_debit_mandate` on `Charge.payment_method_details.ideal`, `Charge.payment_method_details.bancontact` and `Charge.payment_method_details.sofort` - * Add support for `generated_from` on `PaymentMethod.sepa_debit` - * Add support for `ideal`, `bancontact` and `sofort` on `SetupAttempt.payment_method_details` - -## 8.107.0 - 2020-10-02 -* [#1026](https://github.com/stripe/stripe-node/pull/1026) Add support for `tos_acceptance[service_agreement]` on `Account` -* [#1025](https://github.com/stripe/stripe-node/pull/1025) Add support for new payments capabilities on `Account` - -## 8.106.0 - 2020-09-29 -* [#1024](https://github.com/stripe/stripe-node/pull/1024) Add support for the `SetupAttempt` resource and List API - -## 8.105.0 - 2020-09-29 -* [#1023](https://github.com/stripe/stripe-node/pull/1023) Add support for `contribution` in `reporting_category` on `ReportRun` - -## 8.104.0 - 2020-09-28 -* [#1022](https://github.com/stripe/stripe-node/pull/1022) Add support for `oxxo_payments` capability on `Account` - -## 8.103.0 - 2020-09-28 -* [#1021](https://github.com/stripe/stripe-node/pull/1021) Add VERSION constant to instantiated Stripe client. - -## 8.102.0 - 2020-09-25 -* [#1019](https://github.com/stripe/stripe-node/pull/1019) Add support for `oxxo` as a valid `type` on the List PaymentMethod API - -## 8.101.0 - 2020-09-25 -* [#1018](https://github.com/stripe/stripe-node/pull/1018) More idiomatic types - -## 8.100.0 - 2020-09-24 -* [#1016](https://github.com/stripe/stripe-node/pull/1016) Multiple API changes - * Add support for OXXO on `PaymentMethod` and `PaymentIntent` - * Add support for `contribution` on `BalanceTransaction` - -## 8.99.0 - 2020-09-24 -* [#1011](https://github.com/stripe/stripe-node/pull/1011) Add type definition for Stripe.StripeResource - -## 8.98.0 - 2020-09-23 -* [#1014](https://github.com/stripe/stripe-node/pull/1014) Multiple API changes - * Add support for `issuing_dispute.closed` and `issuing_dispute.submitted` events - * Add support for `instant_available` on `Balance` - -## 8.97.0 - 2020-09-21 -* [#1012](https://github.com/stripe/stripe-node/pull/1012) Multiple API changes - * `metadata` is now always nullable on all resources - * Add support for `amount_captured` on `Charge` - * Add `checkout_session` on `Discount` - -## 8.96.0 - 2020-09-13 -* [#1003](https://github.com/stripe/stripe-node/pull/1003) Add support for `promotion_code.created` and `promotion_code.updated` on `Event` - -## 8.95.0 - 2020-09-10 -* [#999](https://github.com/stripe/stripe-node/pull/999) Add support for SEPA debit on Checkout - -## 8.94.0 - 2020-09-09 -* [#998](https://github.com/stripe/stripe-node/pull/998) Multiple API changes - * Add support for `sofort` as a `type` on the List PaymentMethods API - * Add back support for `invoice.payment_succeeded` - -## 8.93.0 - 2020-09-08 -* [#995](https://github.com/stripe/stripe-node/pull/995) Add support for Sofort on `PaymentMethod` and `PaymentIntent` - -## 8.92.0 - 2020-09-02 -* [#993](https://github.com/stripe/stripe-node/pull/993) Multiple API changes - * Add support for the Issuing `Dispute` submit API - * Add support for evidence details on Issuing `Dispute` creation, update and the resource. - * Add `available_payout_methods` on `BankAccount` - * Add `payment_status` on Checkout `Session` - -## 8.91.0 - 2020-08-31 -* [#992](https://github.com/stripe/stripe-node/pull/992) Add support for `payment_method.automatically_updated` on `WebhookEndpoint` - -## 8.90.0 - 2020-08-28 -* [#991](https://github.com/stripe/stripe-node/pull/991) Multiple API changes -* [#990](https://github.com/stripe/stripe-node/pull/990) Typescript: add 'lastResponse' to return types - -## 8.89.0 - 2020-08-19 -* [#988](https://github.com/stripe/stripe-node/pull/988) Multiple API changes - * `tax_ids` on `Customer` can now be nullable - * Added support for `expires_at` on `File` - -## 8.88.0 - 2020-08-17 -* [#987](https://github.com/stripe/stripe-node/pull/987) Add support for `amount_details` on Issuing `Authorization` and `Transaction` - -## 8.87.0 - 2020-08-17 -* [#984](https://github.com/stripe/stripe-node/pull/984) Multiple API changes - * Add `alipay` on `type` for the List PaymentMethods API - * Add `payment_intent.requires_action` as a new `type` on `Event` - -## 8.86.0 - 2020-08-13 -* [#981](https://github.com/stripe/stripe-node/pull/981) Add support for Alipay on Checkout `Session` - -## 8.85.0 - 2020-08-13 -* [#980](https://github.com/stripe/stripe-node/pull/980) [codegen] Multiple API Changes - * Added support for bank_name on `Charge.payment_method_details.acss_debit` - * `Issuing.dispute.balance_transactions` is now nullable. - -## 8.84.0 - 2020-08-07 -* [#975](https://github.com/stripe/stripe-node/pull/975) Add support for Alipay on `PaymentMethod` and `PaymentIntent` - -## 8.83.0 - 2020-08-05 -* [#973](https://github.com/stripe/stripe-node/pull/973) Multiple API changes - * Add support for the `PromotionCode` resource and APIs - * Add support for `allow_promotion_codes` on Checkout `Session` - * Add support for `applies_to[products]` on `Coupon` - * Add support for `promotion_code` on `Customer` and `Subscription` - * Add support for `promotion_code` on `Discount` - -## 8.82.0 - 2020-08-04 -* [#972](https://github.com/stripe/stripe-node/pull/972) Multiple API changes - * Add `zh-HK` and `zh-TW` as `locale` on Checkout `Session` - * Add `payment_method_details[card_present][receipt][account_type]` on `Charge` - -## 8.81.0 - 2020-07-30 -* [#970](https://github.com/stripe/stripe-node/pull/970) Improve types for `customer` on `CreditNote` to support `DeletedCustomer` - -## 8.80.0 - 2020-07-29 -* [#969](https://github.com/stripe/stripe-node/pull/969) Multiple API changes - * Add support for `id`, `invoice` and `invoice_item` on `Discount` and `DeletedDiscount` - * Add support for `discount_amounts` on `CreditNote`, `CreditNoteLineItem`, `InvoiceLineItem` - * Add support for `discounts` on `InvoiceItem`, `InvoiceLineItem` and `Invoice` - * Add support for `total_discount_amounts` on `Invoice` - * Make `customer` and `verification` on `TaxId` optional as the resource will be re-used for `Account` in the future. - -## 8.79.0 - 2020-07-24 -* [#967](https://github.com/stripe/stripe-node/pull/967) Multiple API changes - * Make all properties from `Discount` available on `DeletedDiscount` - * Add `capabilities[fpx_payments]` on `Account` create and update - -## 8.78.0 - 2020-07-22 -* [#965](https://github.com/stripe/stripe-node/pull/965) Add support for `cartes_bancaires_payments` as a `Capability` - -## 8.77.0 - 2020-07-20 -* [#963](https://github.com/stripe/stripe-node/pull/963) Add support for `capabilities` as a parameter on `Account` create and update - -## 8.76.0 - 2020-07-17 -* [#962](https://github.com/stripe/stripe-node/pull/962) Add support for `political_exposure` on `Person` - -## 8.75.0 - 2020-07-16 -* [#961](https://github.com/stripe/stripe-node/pull/961) Add support for `account_onboarding` and `account_update` as `type` on `AccountLink` - -## 8.74.0 - 2020-07-16 -* [#959](https://github.com/stripe/stripe-node/pull/959) Refactor remaining 'var' to 'let/const' usages -* [#960](https://github.com/stripe/stripe-node/pull/960) Use strict equality check for 'protocol' field for consistency -* [#952](https://github.com/stripe/stripe-node/pull/952) Add new fields to lastResponse: apiVersion, stripeAccount, idempotencyKey - -## 8.73.0 - 2020-07-15 -* [#958](https://github.com/stripe/stripe-node/pull/958) Multiple API changes - * Add support for `en-GB`, `fr-CA` and `id` as `locale` on Checkout `Session` - * Move `purpose` to an enum on `File` -* [#957](https://github.com/stripe/stripe-node/pull/957) Bump lodash from 4.17.15 to 4.17.19 - -## 8.72.0 - 2020-07-15 -* [#956](https://github.com/stripe/stripe-node/pull/956) Add support for `amount_total`, `amount_subtotal`, `currency` and `total_details` on Checkout `Session` - -## 8.71.0 - 2020-07-14 -* [#955](https://github.com/stripe/stripe-node/pull/955) Change from string to enum value for `billing_address_collection` on Checkout `Session` - -## 8.70.0 - 2020-07-13 -* [#953](https://github.com/stripe/stripe-node/pull/953) Multiple API changes - * Adds `es-419` as a `locale` to Checkout `Session` - * Adds `billing_cycle_anchor` to `default_settings` and `phases` for `SubscriptionSchedule` - -## 8.69.0 - 2020-07-06 -* [#946](https://github.com/stripe/stripe-node/pull/946) Fix `assert_capabilities` type definition -* [#920](https://github.com/stripe/stripe-node/pull/920) Expose StripeResource on instance - -## 8.68.0 - 2020-07-01 -* [#940](https://github.com/stripe/stripe-node/pull/940) Document but discourage `protocol` config option -* [#933](https://github.com/stripe/stripe-node/pull/933) Fix tests for `Plan` and `Price` to not appear as amount can be updated. - -## 8.67.0 - 2020-06-24 -* [#929](https://github.com/stripe/stripe-node/pull/929) Add support for `invoice.paid` event - -## 8.66.0 - 2020-06-23 -* [#927](https://github.com/stripe/stripe-node/pull/927) Add support for `payment_method_data` on `PaymentIntent` - -## 8.65.0 - 2020-06-23 -* [#926](https://github.com/stripe/stripe-node/pull/926) Multiple API changes - * Add `discounts` on `LineItem` - * Add `document_provider_identity_document` as a `purpose` on `File` - * Support nullable `metadata` on Issuing `Dispute` - * Add `klarna[shipping_delay]` on `Source` - -## 8.64.0 - 2020-06-18 -* [#924](https://github.com/stripe/stripe-node/pull/924) Multiple API changes - * Add support for `refresh_url` and `return_url` on `AccountLink` - * Add support for `issuing_dispute.*` events - -## 8.63.0 - 2020-06-11 -* [#919](https://github.com/stripe/stripe-node/pull/919) Multiple API changes - * Add `transaction` on Issuing `Dispute` - * Add `payment_method_details[acss_debit][mandate]` on `Charge` - -## 8.62.0 - 2020-06-10 -* [#918](https://github.com/stripe/stripe-node/pull/918) Add support for Cartes Bancaires payments on `PaymentIntent` and `Pay… - -## 8.61.0 - 2020-06-09 -* [#917](https://github.com/stripe/stripe-node/pull/917) Add support for `id_npwp` and `my_frp` as `type` on `TaxId` - -## 8.60.0 - 2020-06-03 -* [#911](https://github.com/stripe/stripe-node/pull/911) Add support for `payment_intent_data[transfer_group]` on Checkout `Session` - -## 8.59.0 - 2020-06-03 -* [#910](https://github.com/stripe/stripe-node/pull/910) Add support for Bancontact, EPS, Giropay and P24 on Checkout `Session` - -## 8.58.0 - 2020-06-03 -* [#909](https://github.com/stripe/stripe-node/pull/909) Multiple API changes - * Add `bacs_debit_payments` as a `Capability` - * Add support for BACS Debit on Checkout `Session` - * Add support for `checkout.session.async_payment_failed` and `checkout.session.async_payment_succeeded` as `type` on `Event` - -## 8.57.0 - 2020-06-03 -* [#908](https://github.com/stripe/stripe-node/pull/908) Multiple API changes - * Add support for bg, cs, el, et, hu, lt, lv, mt, ro, ru, sk, sl and tr as new locale on Checkout `Session` - * Add `settings[sepa_debit_payments][creditor_id]` on `Account` - * Add support for Bancontact, EPS, Giropay and P24 on `PaymentMethod`, `PaymentIntent` and `SetupIntent` - * Add support for `order_item[parent]` on `Source` for Klarna -* [#905](https://github.com/stripe/stripe-node/pull/905) Add support for BACS Debit as a `PaymentMethod` - -## 8.56.0 - 2020-05-28 -* [#904](https://github.com/stripe/stripe-node/pull/904) Multiple API changes - * Add `payment_method_details[card][three_d_secure][authentication_flow]` on `Charge` - * Add `line_items[][price_data][product_data]` on Checkout `Session` creation - -## 8.55.0 - 2020-05-22 -* [#899](https://github.com/stripe/stripe-node/pull/899) Multiple API changes - * Add support for `ae_trn`, `cl_tin` and `sa_vat` as `type` on `TaxId` - * Add `result` and `result_reason` inside `payment_method_details[card][three_d_secure]` on `Charge` - -## 8.54.0 - 2020-05-20 -* [#897](https://github.com/stripe/stripe-node/pull/897) Multiple API changes - * Add `anticipation_repayment` as a `type` on `BalanceTransaction` - * Add `interac_present` as a `type` on `PaymentMethod` - * Add `payment_method_details[interac_present]` on `Charge` - * Add `transfer_data` on `SubscriptionSchedule` - -## 8.53.0 - 2020-05-18 -* [#895](https://github.com/stripe/stripe-node/pull/895) Multiple API changes - * Add support for `issuing_dispute` as a `type` on `BalanceTransaction` - * Add `balance_transactions` as an array of `BalanceTransaction` on Issuing `Dispute` - * Add `fingerprint` and `transaction_id` in `payment_method_details[alipay]` on `Charge` - * Add `transfer_data[amount]` on `Invoice` - * Add `transfer_data[amount_percent]` on `Subscription` - * Add `price.created`, `price.deleted` and `price.updated` on `Event` - -## 8.52.0 - 2020-05-13 -* [#891](https://github.com/stripe/stripe-node/pull/891) Add support for `purchase_details` on Issuing `Transaction` - -## 8.51.0 - 2020-05-11 -* [#890](https://github.com/stripe/stripe-node/pull/890) Add support for the `LineItem` resource and APIs - -## 8.50.0 - 2020-05-07 -* [#888](https://github.com/stripe/stripe-node/pull/888) Multiple API changes - * Remove parameters in `price_data[recurring]` across APIs as they were never supported - * Move `payment_method_details[card][three_d_secure]` to a list of enum values on `Charge` - * Add support for for `business_profile[support_adress]` on `Account` create and update - -## 8.49.0 - 2020-05-01 -* [#883](https://github.com/stripe/stripe-node/pull/883) Multiple API changes - * Add `issuing` on `Balance` - * Add `br_cnpj` and `br_cpf` as `type` on `TaxId` - * Add `price` support in phases on `SubscriptionSchedule` - * Make `quantity` nullable on `SubscriptionSchedule` for upcoming API version change - -## 8.48.0 - 2020-04-29 -* [#881](https://github.com/stripe/stripe-node/pull/881) Add support for the `Price` resource and APIs - -## 8.47.1 - 2020-04-28 -* [#880](https://github.com/stripe/stripe-node/pull/880) Make `display_items` on Checkout `Session` optional - -## 8.47.0 - 2020-04-24 -* [#876](https://github.com/stripe/stripe-node/pull/876) Add support for `jcb_payments` as a `Capability` - -## 8.46.0 - 2020-04-22 -* [#875](https://github.com/stripe/stripe-node/pull/875) Add support for `coupon` when for subscriptions on Checkout - -## 8.45.0 - 2020-04-22 -* [#874](https://github.com/stripe/stripe-node/pull/874) Add support for `billingPortal` namespace and `session` resource and APIs - -## 8.44.0 - 2020-04-17 -* [#873](https://github.com/stripe/stripe-node/pull/873) Multiple API changes - * Add support for `cardholder_name` in `payment_method_details[card_present]` on `Charge` - * Add new enum values for `company.structure` on `Account` - -## 8.43.0 - 2020-04-16 -* [#868](https://github.com/stripe/stripe-node/pull/868) Multiple API changes - -## 8.42.0 - 2020-04-15 -* [#867](https://github.com/stripe/stripe-node/pull/867) Clean up deprecated features in our Typescript definitions for Issuing and other resources - -## 8.41.0 - 2020-04-14 -* [#866](https://github.com/stripe/stripe-node/pull/866) Add support for `settings[branding][secondary_color]` on `Account` - -## 8.40.0 - 2020-04-13 -* [#865](https://github.com/stripe/stripe-node/pull/865) Add support for `description` on `WebhookEndpoint` - -## 8.39.2 - 2020-04-10 -* [#864](https://github.com/stripe/stripe-node/pull/864) Multiple API changes - * Make `payment_intent` expandable on `Charge` - * Add support for `sg_gst` as a value for `type` on `TaxId` and related APIs - * Add `cancellation_reason` and new enum values for `replacement_reason` on Issuing `Card` - -## 8.39.1 - 2020-04-08 -* [#848](https://github.com/stripe/stripe-node/pull/848) Fix TS return type for autoPagingEach - -## 8.39.0 - 2020-04-03 -* [#859](https://github.com/stripe/stripe-node/pull/859) Add support for `calculatedStatementDescriptor` on `Charge` - -## 8.38.0 - 2020-03-27 - -- [#853](https://github.com/stripe/stripe-node/pull/853) Improve StripeError.generate() - - Add `doc_url` field to StripeError. - - Expose `Stripe.errors.generate()` as a convenience for `Stripe.errors.StripeError.generate()`. - - Fix several TS types related to StripeErrors. - - Add types for `StripeInvalidGrantError`. - - Add support for `authentication_error` and `rate_limit_error` in `.generate()`. - -## 8.37.0 - 2020-03-26 - -- [#851](https://github.com/stripe/stripe-node/pull/851) Add support for `spending_controls` on Issuing `Card` and `Cardholder` - -## 8.36.0 - 2020-03-25 - -- [#850](https://github.com/stripe/stripe-node/pull/850) Multiple API changes - - Add support for `pt-BR` as a `locale` on Checkout `Session` - - Add support for `company` as a `type` on Issuing `Cardholder` - -## 8.35.0 - 2020-03-24 - -- [#849](https://github.com/stripe/stripe-node/pull/849) Add support for `pause_collection` on `Subscription` - -## 8.34.0 - 2020-03-24 - -- [#847](https://github.com/stripe/stripe-node/pull/847) Add new capabilities for AU Becs Debit and tax reporting - -## 8.33.0 - 2020-03-20 - -- [#842](https://github.com/stripe/stripe-node/pull/842) Multiple API changes for Issuing: - - Add `amount`, `currency`, `merchant_amount` and `merchant_currency` on `Authorization` - - Add `amount`, `currency`, `merchant_amount` and `merchant_currency` inside `request_history` on `Authorization` - - Add `pending_request` on `Authorization` - - Add `amount` when approving an `Authorization` - - Add `replaced_by` on `Card` - -## 8.32.0 - 2020-03-13 - -- [#836](https://github.com/stripe/stripe-node/pull/836) Multiple API changes for Issuing: - - Rename `speed` to `service` on Issuing `Card` - - Rename `wallet_provider` to `wallet` and `address_zip_check` to `address_postal_code_check` on Issuing `Authorization` - - Mark `is_default` as deprecated on Issuing `Cardholder` - -## 8.31.0 - 2020-03-12 - -- [#835](https://github.com/stripe/stripe-node/pull/835) Add support for `shipping` and `shipping_address_collection` on Checkout `Session` - -## 8.30.0 - 2020-03-12 - -- [#834](https://github.com/stripe/stripe-node/pull/834) Add support for `ThreeDSecure` on Issuing `Authorization` - -## 8.29.0 - 2020-03-05 - -- [#833](https://github.com/stripe/stripe-node/pull/833) Make metadata nullable in many endpoints - -## 8.28.1 - 2020-03-05 - -- [#827](https://github.com/stripe/stripe-node/pull/827) Allow `null`/`undefined` to be passed for `options` arg. - -## 8.28.0 - 2020-03-04 - -- [#830](https://github.com/stripe/stripe-node/pull/830) Add support for `metadata` on `WebhookEndpoint` - -## 8.27.0 - 2020-03-04 - -- [#829](https://github.com/stripe/stripe-node/pull/829) Multiple API changes - - Add support for `account` as a parameter on `Token` to create Account tokens - - Add support for `verification_data.expiry_check` on Issuing `Authorization` - - Add support for `incorrect_cvc` and `incorrect_expiry` as a value for `request_history.reason` on Issuing `Authorization` - -## 8.26.0 - 2020-03-04 - -- [#828](https://github.com/stripe/stripe-node/pull/828) Multiple API changes - - Add support for `errors` in `requirements` on `Account`, `Capability` and `Person` - - Add support for `payment_intent.processing` as a new `type` on `Event`. - -## 8.25.0 - 2020-03-03 - -⚠️ This is a breaking change for TypeScript users. - -- [#826](https://github.com/stripe/stripe-node/pull/826) Multiple API changes: - - ⚠️ Types are now for the API version `2020-03-02`. This is a breaking change for TypeScript users - - Remove `uob_regional` as a value on `bank` for FPX as this is deprecated and was never used - - Add support for `next_invoice_sequence` on `Customer` - - Add support for `proration_behavior` on `SubscriptionItem` delete - -## 8.24.1 - 2020-03-02 - -- [#824](https://github.com/stripe/stripe-node/pull/824) Update type for StripeError to extend Error - -## 8.24.0 - 2020-02-28 - -- [#822](https://github.com/stripe/stripe-node/pull/822) Add `my_sst` as a valid value for `type` on `TaxId` - -## 8.23.0 - 2020-02-27 - -- [#821](https://github.com/stripe/stripe-node/pull/821) Make `type` on `AccountLink` an enum - -## 8.22.0 - 2020-02-24 - -- [#820](https://github.com/stripe/stripe-node/pull/820) Add new enum values in `reason` for Issuing `Dispute` creation - -## 8.21.0 - 2020-02-24 - -- [#819](https://github.com/stripe/stripe-node/pull/819) Add support for listing Checkout `Session` and passing tax rate information - -## 8.20.0 - 2020-02-21 - -- [#813](https://github.com/stripe/stripe-node/pull/813) Multiple API changes - - Add support for `timezone` on `ReportRun` - - Add support for `proration_behavior` on `SubscriptionSchedule` - -## 8.19.0 - 2020-02-18 - -- [#807](https://github.com/stripe/stripe-node/pull/807) Change timeout default to constant 80000 instead Node default - -## 8.18.0 - 2020-02-14 - -- [#802](https://github.com/stripe/stripe-node/pull/802) TS Fixes - - Correctly type `Array` - - More consistently describe nullable fields as `| null`, vs `| ''`. - -## 8.17.0 - 2020-02-12 - -- [#804](https://github.com/stripe/stripe-node/pull/804) Add support for `payment_intent_data[transfer_data][amount]` on Checkout `Session` - -## 8.16.0 - 2020-02-12 - -- [#803](https://github.com/stripe/stripe-node/pull/803) Multiple API changes reflect in Typescript definitions - - Add `fpx` as a valid `source_type` on `Balance`, `Payout` and `Transfer` - - Add `fpx` support on Checkout `Session` - - Fields inside `verification_data` on Issuing `Authorization` are now enums - - Support updating `payment_method_options` on `PaymentIntent` and `SetupIntent` - -## 8.15.0 - 2020-02-10 - -- [#801](https://github.com/stripe/stripe-node/pull/801) Multiple API changes - - Add support for new `type` values for `TaxId`. - - Add support for `payment_intent_data[statement_descriptor_suffix]` on Checkout `Session`. - -## 8.14.0 - 2020-02-04 - -- [#793](https://github.com/stripe/stripe-node/pull/793) Rename `sort_code` to `sender_sort_code` on `SourceTransaction` for BACS debit. - -## 8.13.0 - 2020-02-03 - -- [#792](https://github.com/stripe/stripe-node/pull/792) Multiple API changes - - Add new `purpose` for `File`: `additional_verification` - - Add `error_on_requires_action` as a parameter for `PaymentIntent` creation and confirmation - -## 8.12.0 - 2020-01-31 - -- [#790](https://github.com/stripe/stripe-node/pull/790) Add new type of `TaxId` - -## 8.11.0 - 2020-01-30 - -- [#789](https://github.com/stripe/stripe-node/pull/789) Add support for `company.structure` on `Account` and other docs changes - -## 8.10.0 - 2020-01-30 - -- [#788](https://github.com/stripe/stripe-node/pull/788) Make typescript param optional - -## 8.9.0 - 2020-01-30 - -- [#787](https://github.com/stripe/stripe-node/pull/787) Add support for FPX as a `PaymentMethod` -- [#769](https://github.com/stripe/stripe-node/pull/769) Fix Typescript definition on `Token` creation for bank accounts - -## 8.8.2 - 2020-01-30 - -- [#785](https://github.com/stripe/stripe-node/pull/785) Fix file uploads with nested params - -## 8.8.1 - 2020-01-29 - -- [#784](https://github.com/stripe/stripe-node/pull/784) Allow @types/node 8.1 - -## 8.8.0 - 2020-01-28 - -- [#780](https://github.com/stripe/stripe-node/pull/780) Add new type for `TaxId` and `sender_account_name` on `SourceTransaction` - -## 8.7.0 - 2020-01-24 - -- [#777](https://github.com/stripe/stripe-node/pull/777) Add support for `shipping[speed]` on Issuing `Card` - -## 8.6.0 - 2020-01-23 - -- [#775](https://github.com/stripe/stripe-node/pull/775) Gracefully handle a missing `subprocess` module - -## 8.5.0 - 2020-01-23 - -- [#776](https://github.com/stripe/stripe-node/pull/776) Add support for new `type` on `CustomerTaxId` - -## 8.4.1 - 2020-01-21 - -- [#774](https://github.com/stripe/stripe-node/pull/774) Improve docstrings for many properties and parameters - -## 8.4.0 - 2020-01-17 - -- [#771](https://github.com/stripe/stripe-node/pull/771) Add `metadata` on Checkout `Session` and remove deprecated features -- [#764](https://github.com/stripe/stripe-node/pull/764) Added typescript webhook example - -## 8.3.0 - 2020-01-15 - -- [#767](https://github.com/stripe/stripe-node/pull/767) Adding missing events for pending updates on `Subscription` - -## 8.2.0 - 2020-01-15 - -- [#765](https://github.com/stripe/stripe-node/pull/765) Add support for `pending_update` on `Subscription` to the Typescript definitions - -## 8.1.0 - 2020-01-14 - -- [#763](https://github.com/stripe/stripe-node/pull/763) Add support for listing line items on a `CreditNote` -- [#762](https://github.com/stripe/stripe-node/pull/762) Improve docs for core fields such as `metadata` on Typescript definitions - -## 8.0.1 - 2020-01-09 - -- [#757](https://github.com/stripe/stripe-node/pull/757) [bugfix] Add types dir to npmignore whitelist and stop warning when instantiating stripe with no args - -## 8.0.0 - 2020-01-09 - -Major version release, adding TypeScript definitions and dropping support for Node 6. [The migration guide](https://github.com/stripe/stripe-node/wiki/Migration-guide-for-v8) contains a detailed list of backwards-incompatible changes with upgrade instructions. - -Major pull requests included in this release (cf. [#742](https://github.com/stripe/stripe-node/pull/742)) (⚠️ = breaking changes): - -- [#736](https://github.com/stripe/stripe-node/pull/736) Add TypeScript definitions -- [#744](https://github.com/stripe/stripe-node/pull/744) Remove deprecated resources and methods -- [#752](https://github.com/stripe/stripe-node/pull/752) Deprecate many library api's, unify others - -## 7.63.1 - 2020-11-17 -- Identical to 7.15.0. - -## 7.63.0 - 2020-11-17 -- Published in error. Do not use. This is identical to 8.122.0. - -## 7.15.0 - 2019-12-30 - -- [#745](https://github.com/stripe/stripe-node/pull/745) Bump handlebars from 4.1.2 to 4.5.3 -- [#737](https://github.com/stripe/stripe-node/pull/737) Fix flows test - -## 7.14.0 - 2019-11-26 - -- [#732](https://github.com/stripe/stripe-node/pull/732) Add support for CreditNote preview - -## 7.13.1 - 2019-11-22 - -- [#728](https://github.com/stripe/stripe-node/pull/728) Remove duplicate export - -## 7.13.0 - 2019-11-06 - -- [#703](https://github.com/stripe/stripe-node/pull/703) New config object - -## 7.12.0 - 2019-11-05 - -- [#724](https://github.com/stripe/stripe-node/pull/724) Add support for `Mandate` - -## 7.11.0 - 2019-10-31 - -- [#719](https://github.com/stripe/stripe-node/pull/719) Define 'type' as a property on errors rather than a getter -- [#709](https://github.com/stripe/stripe-node/pull/709) README: imply context of stripe-node -- [#717](https://github.com/stripe/stripe-node/pull/717) Contributor Convenant - -## 7.10.0 - 2019-10-08 - -- [#699](https://github.com/stripe/stripe-node/pull/699) Add request-specific fields from raw error to top level error - -## 7.9.1 - 2019-09-17 - -- [#692](https://github.com/stripe/stripe-node/pull/692) Retry based on `Stripe-Should-Retry` and `Retry-After` headers - -## 7.9.0 - 2019-09-09 - -- [#691](https://github.com/stripe/stripe-node/pull/691) GET and DELETE requests data: body->queryParams -- [#684](https://github.com/stripe/stripe-node/pull/684) Bump eslint-utils from 1.3.1 to 1.4.2 - -## 7.8.0 - 2019-08-12 - -- [#678](https://github.com/stripe/stripe-node/pull/678) Add `subscriptionItems.createUsageRecord()` method - -## 7.7.0 - 2019-08-09 - -- [#675](https://github.com/stripe/stripe-node/pull/675) Remove subscription schedule revisions - - This is technically a breaking change. We've chosen to release it as a minor vesion bump because the associated API is unused. - -## 7.6.2 - 2019-08-09 - -- [#674](https://github.com/stripe/stripe-node/pull/674) Refactor requestDataProcessor for File out into its own file - -## 7.6.1 - 2019-08-08 - -- [#673](https://github.com/stripe/stripe-node/pull/673) Add request start and end time to request and response events - -## 7.6.0 - 2019-08-02 - -- [#661](https://github.com/stripe/stripe-node/pull/661) Refactor errors to ES6 classes. -- [#672](https://github.com/stripe/stripe-node/pull/672) Refinements to error ES6 classes. - -## 7.5.5 - 2019-08-02 - -- [#665](https://github.com/stripe/stripe-node/pull/665) Remove `lodash.isplainobject`. - -## 7.5.4 - 2019-08-01 - -- [#671](https://github.com/stripe/stripe-node/pull/671) Include a prefix in generated idempotency keys and remove uuid dependency. - -## 7.5.3 - 2019-07-31 - -- [#667](https://github.com/stripe/stripe-node/pull/667) Refactor request headers, allowing any header to be overridden. - -## 7.5.2 - 2019-07-30 - -- [#664](https://github.com/stripe/stripe-node/pull/664) Expose and use `once` - -## 7.5.1 - 2019-07-30 - -- [#662](https://github.com/stripe/stripe-node/pull/662) Remove `safe-buffer` dependency -- [#666](https://github.com/stripe/stripe-node/pull/666) Bump lodash from 4.17.11 to 4.17.15 -- [#668](https://github.com/stripe/stripe-node/pull/668) Move Balance History to /v1/balance_transactions - -## 7.5.0 - 2019-07-24 - -- [#660](https://github.com/stripe/stripe-node/pull/660) Interpret any string in args as API Key instead of a regex - - ⚠️ Careful: passing strings which are not API Keys as as the final argument to a request previously would have ignored those strings, and would now result in the request failing with an authentication error. - - ⚠️ Careful: The private api `utils.isAuthKey` was removed. -- [#658](https://github.com/stripe/stripe-node/pull/658) Update README retry code sample to use two retries -- [#653](https://github.com/stripe/stripe-node/pull/653) Reorder customer methods - -## 7.4.0 - 2019-06-27 - -- [#652](https://github.com/stripe/stripe-node/pull/652) Add support for the `SetupIntent` resource and APIs - -## 7.3.0 - 2019-06-24 - -- [#649](https://github.com/stripe/stripe-node/pull/649) Enable request latency telemetry by default - -## 7.2.0 - 2019-06-17 - -- [#608](https://github.com/stripe/stripe-node/pull/608) Add support for `CustomerBalanceTransaction` resource and APIs - -## 7.1.0 - 2019-05-23 - -- [#632](https://github.com/stripe/stripe-node/pull/632) Add support for `radar.early_fraud_warning` resource - -## 7.0.1 - 2019-05-22 - -- [#631](https://github.com/stripe/stripe-node/pull/631) Make autopagination functions work for `listLineItems` and `listUpcomingLineItems` - -## 7.0.0 - 2019-05-14 - -Major version release. [The migration guide](https://github.com/stripe/stripe-node/wiki/Migration-guide-for-v7) contains a detailed list of backwards-incompatible changes with upgrade instructions. - -Pull requests included in this release (cf. [#606](https://github.com/stripe/stripe-node/pull/606)) (⚠️ = breaking changes): - -- ⚠️ Drop support for Node 4, 5 and 7 ([#606](https://github.com/stripe/stripe-node/pull/606)) -- Prettier formatting ([#604](https://github.com/stripe/stripe-node/pull/604)) -- Alphabetize “basic” methods ([#610](https://github.com/stripe/stripe-node/pull/610)) -- Use `id` for single positional arguments ([#611](https://github.com/stripe/stripe-node/pull/611)) -- Modernize ES5 to ES6 with lebab ([#607](https://github.com/stripe/stripe-node/pull/607)) -- ⚠️ Remove deprecated methods ([#613](https://github.com/stripe/stripe-node/pull/613)) -- Add VSCode and EditorConfig files ([#620](https://github.com/stripe/stripe-node/pull/620)) -- ⚠️ Drop support for Node 9 and bump dependencies to latest versions ([#614](https://github.com/stripe/stripe-node/pull/614)) -- Misc. manual formatting ([#623](https://github.com/stripe/stripe-node/pull/623)) -- ⚠️ Remove legacy parameter support in `invoices.retrieveUpcoming()` ([#621](https://github.com/stripe/stripe-node/pull/621)) -- ⚠️ Remove curried urlData and manually specified urlParams ([#625](https://github.com/stripe/stripe-node/pull/625)) -- Extract resources file ([#626](https://github.com/stripe/stripe-node/pull/626)) - -## 6.36.0 - 2019-05-14 - -- [#622](https://github.com/stripe/stripe-node/pull/622) Add support for the `Capability` resource and APIs - -## 6.35.0 - 2019-05-14 - -- [#627](https://github.com/stripe/stripe-node/pull/627) Add `listLineItems` and `listUpcomingLineItems` methods to `Invoice` - -## 6.34.0 - 2019-05-08 - -- [#619](https://github.com/stripe/stripe-node/pull/619) Move `generateTestHeaderString` to stripe.webhooks (fixes a bug in 6.33.0) - -## 6.33.0 - 2019-05-08 - UNRELEASED - -**Important**: This version is non-functional and has been yanked in favor of 6.32.0. - -- [#609](https://github.com/stripe/stripe-node/pull/609) Add `generateWebhookHeaderString` to make it easier to mock webhook events - -## 6.32.0 - 2019-05-07 - -- [#612](https://github.com/stripe/stripe-node/pull/612) Add `balanceTransactions` resource - -## 6.31.2 - 2019-05-03 - -- [#602](https://github.com/stripe/stripe-node/pull/602) Handle errors from the oauth/token endpoint - -## 6.31.1 - 2019-04-26 - -- [#600](https://github.com/stripe/stripe-node/pull/600) Fix encoding of nested parameters in multipart requests - -## 6.31.0 - 2019-04-24 - -- [#588](https://github.com/stripe/stripe-node/pull/588) Add support for the `TaxRate` resource and APIs - -## 6.30.0 - 2019-04-22 - -- [#589](https://github.com/stripe/stripe-node/pull/589) Add support for the `TaxId` resource and APIs -- [#593](https://github.com/stripe/stripe-node/pull/593) `retrieveUpcoming` on `Invoice` can now take one hash as parameter instead of requiring a customer id. - -## 6.29.0 - 2019-04-18 - -- [#585](https://github.com/stripe/stripe-node/pull/585) Add support for the `CreditNote` resource and APIs - -## 6.28.0 - 2019-03-18 - -- [#570](https://github.com/stripe/stripe-node/pull/570) Add support for the `PaymentMethod` resource and APIs -- [#578](https://github.com/stripe/stripe-node/pull/578) Add support for retrieving a Checkout `Session` - -## 6.27.0 - 2019-03-15 - -- [#581](https://github.com/stripe/stripe-node/pull/581) Add support for deleting Terminal `Location` and `Reader` - -## 6.26.1 - 2019-03-14 - -- [#580](https://github.com/stripe/stripe-node/pull/580) Fix support for HTTPS proxies - -## 6.26.0 - 2019-03-11 - -- [#574](https://github.com/stripe/stripe-node/pull/574) Encode `Date`s as Unix timestamps - -## 6.25.1 - 2019-02-14 - -- [#565](https://github.com/stripe/stripe-node/pull/565) Always encode arrays as integer-indexed hashes - -## 6.25.0 - 2019-02-13 - -- [#559](https://github.com/stripe/stripe-node/pull/559) Add `stripe.setMaxNetworkRetries(n)` for automatic network retries - -## 6.24.0 - 2019-02-12 - -- [#562](https://github.com/stripe/stripe-node/pull/562) Add support for `SubscriptionSchedule` and `SubscriptionScheduleRevision` - -## 6.23.1 - 2019-02-04 - -- [#560](https://github.com/stripe/stripe-node/pull/560) Enable persistent connections by default - -## 6.23.0 - 2019-01-30 - -- [#557](https://github.com/stripe/stripe-node/pull/557) Add configurable telemetry to gather information on client-side request latency - -## 6.22.0 - 2019-01-25 - -- [#555](https://github.com/stripe/stripe-node/pull/555) Add support for OAuth methods - -## 6.21.0 - 2019-01-23 - -- [#551](https://github.com/stripe/stripe-node/pull/551) Rename `CheckoutSession` to `Session` and move it under the `checkout` namespace. This is a breaking change, but we've reached out to affected merchants and all new merchants would use the new approach. - -## 6.20.1 - 2019-01-17 - -- [#552](https://github.com/stripe/stripe-node/pull/552) Fix `Buffer` deprecation warnings - -## 6.20.0 - 2018-12-21 - -- [#539](https://github.com/stripe/stripe-node/pull/539) Add support for the `CheckoutSession` resource - -## 6.19.0 - 2018-12-10 - -- [#535](https://github.com/stripe/stripe-node/pull/535) Add support for account links - -## 6.18.1 - 2018-12-07 - -- [#534](https://github.com/stripe/stripe-node/pull/534) Fix iterating on `files.list` method - -## 6.18.0 - 2018-12-06 - -- [#530](https://github.com/stripe/stripe-node/pull/530) Export errors on root Stripe object - -## 6.17.0 - 2018-11-28 - -- [#527](https://github.com/stripe/stripe-node/pull/527) Add support for the `Review` APIs - -## 6.16.0 - 2018-11-27 - -- [#515](https://github.com/stripe/stripe-node/pull/515) Add support for `ValueLists` and `ValueListItems` for Radar - -## 6.15.2 - 2018-11-26 - -- [#526](https://github.com/stripe/stripe-node/pull/526) Fixes an accidental mutation of input in rare cases - -## 6.15.1 - 2018-11-23 - -- [#523](https://github.com/stripe/stripe-node/pull/523) Handle `Buffer` instances in `Webhook.constructEvent` - -## 6.15.0 - 2018-11-12 - -- [#474](https://github.com/stripe/stripe-node/pull/474) Add support for `partner_id` in `setAppInfo` - -## 6.14.0 - 2018-11-09 - -- [#509](https://github.com/stripe/stripe-node/pull/509) Add support for new `Invoice` methods - -## 6.13.0 - 2018-10-30 - -- [#507](https://github.com/stripe/stripe-node/pull/507) Add support for persons -- [#510](https://github.com/stripe/stripe-node/pull/510) Add support for webhook endpoints - -## 6.12.1 - 2018-09-24 - -- [#502](https://github.com/stripe/stripe-node/pull/502) Fix test suite - -## 6.12.0 - 2018-09-24 - -- [#498](https://github.com/stripe/stripe-node/pull/498) Add support for Stripe Terminal -- [#500](https://github.com/stripe/stripe-node/pull/500) Rename `FileUploads` to `Files`. For backwards compatibility, `Files` is aliased to `FileUploads`. `FileUploads` is deprecated and will be removed from the next major version. - -## 6.11.0 - 2018-09-18 - -- [#496](https://github.com/stripe/stripe-node/pull/496) Add auto-pagination - -## 6.10.0 - 2018-09-05 - -- [#491](https://github.com/stripe/stripe-node/pull/491) Add support for usage record summaries - -## 6.9.0 - 2018-09-05 - -- [#493](https://github.com/stripe/stripe-node/pull/493) Add support for reporting resources - -## 6.8.0 - 2018-08-27 - -- [#488](https://github.com/stripe/stripe-node/pull/488) Remove support for `BitcoinReceivers` write-actions - -## 6.7.0 - 2018-08-03 - -- [#485](https://github.com/stripe/stripe-node/pull/485) Add support for `cancel` on topups - -## 6.6.0 - 2018-08-02 - -- [#483](https://github.com/stripe/stripe-node/pull/483) Add support for file links - -## 6.5.0 - 2018-07-28 - -- [#482](https://github.com/stripe/stripe-node/pull/482) Add support for Sigma scheduled query runs - -## 6.4.0 - 2018-07-26 - -- [#481](https://github.com/stripe/stripe-node/pull/481) Add support for Stripe Issuing - -## 6.3.0 - 2018-07-18 - -- [#471](https://github.com/stripe/stripe-node/pull/471) Add support for streams in file uploads - -## 6.2.1 - 2018-07-03 - -- [#475](https://github.com/stripe/stripe-node/pull/475) Fixes array encoding of subscription items for the upcoming invoices endpoint. - -## 6.2.0 - 2018-06-28 - -- [#473](https://github.com/stripe/stripe-node/pull/473) Add support for payment intents - -## 6.1.1 - 2018-06-07 - -- [#469](https://github.com/stripe/stripe-node/pull/469) Add `.npmignore` to create a lighter package (minus examples and tests) - -## 6.1.0 - 2018-06-01 - -- [#465](https://github.com/stripe/stripe-node/pull/465) Warn when unknown options are passed to functions - -## 6.0.0 - 2018-05-14 - -- [#453](https://github.com/stripe/stripe-node/pull/453) Re-implement usage record's `create` so that it correctly passes all arguments (this is a very minor breaking change) - -## 5.10.0 - 2018-05-14 - -- [#459](https://github.com/stripe/stripe-node/pull/459) Export error types on `stripe.errors` so that errors can be matched with `instanceof` instead of comparing the strings generated by `type` - -## 5.9.0 - 2018-05-09 - -- [#456](https://github.com/stripe/stripe-node/pull/456) Add support for issuer fraud records - -## 5.8.0 - 2018-04-04 - -- [#444](https://github.com/stripe/stripe-node/pull/444) Introduce flexible billing primitives for subscriptions - -## 5.7.0 - 2018-04-02 - -- [#441](https://github.com/stripe/stripe-node/pull/441) Write directly to a connection that's known to be still open - -## 5.6.1 - 2018-03-25 - -- [#437](https://github.com/stripe/stripe-node/pull/437) Fix error message when passing invalid parameters to some API methods - -## 5.6.0 - 2018-03-24 - -- [#439](https://github.com/stripe/stripe-node/pull/439) Drop Bluebird dependency and use native ES6 promises - -## 5.5.0 - 2018-02-21 - -- [#425](https://github.com/stripe/stripe-node/pull/425) Add support for topups - -## 5.4.0 - 2017-12-05 - -- [#412](https://github.com/stripe/stripe-node/pull/412) Add `StripeIdempotencyError` type for new kind of stripe error - -## 5.3.0 - 2017-10-31 - -- [#405](https://github.com/stripe/stripe-node/pull/405) Support for exchange rates APIs - -## 5.2.0 - 2017-10-26 - -- [#404](https://github.com/stripe/stripe-node/pull/404) Support for listing source transactions - -## 5.1.1 - 2017-10-04 - -- [#394](https://github.com/stripe/stripe-node/pull/394) Fix improper warning for requests that have options but no parameters - -## 5.1.0 - 2017-09-25 - -- Add check for when options are accidentally included in an arguments object -- Use safe-buffer package instead of building our own code -- Remove dependency on object-assign package -- Bump required versions of bluebird and qs - -## 5.0.0 - 2017-09-12 - -- Drop support for Node 0.x (minimum required version is now >= 4) - -## 4.25.0 - 2017-09-05 - -- Switch to Bearer token authentication on API requests - -## 4.24.1 - 2017-08-25 - -- Specify UTF-8 encoding when verifying HMAC-SHA256 payloads - -## 4.24.0 - 2017-08-10 - -- Support informational events with `Stripe.on` (see README for details) - -## 4.23.2 - 2017-08-03 - -- Handle `Buffer.from` incompatibility for Node versions prior to 4.5.x - -## 4.23.1 - 2017-06-24 - -- Properly encode subscription items when retrieving upcoming invoice - -## 4.23.0 - 2017-06-20 - -- Add support for ephemeral keys - -## 4.22.1 - 2017-06-20 - -- Fix usage of hasOwnProperty in utils - -## 4.22.0 - 2017-05-25 - -- Make response headers accessible on error objects - -## 4.21.0 - 2017-05-25 - -- Add support for account login links - -## 4.20.0 - 2017-05-24 - -- Add `stripe.setAppInfo` for plugin authors to register app information - -## 4.19.1 - 2017-05-18 - -- Tweak class initialization for compatibility with divergent JS engines - -## 4.19.0 - 2017-05-11 - -- Support for checking webhook signatures - -## 4.18.0 - 2017-04-12 - -- Reject ID parameters that don't look like strings - -## 4.17.1 - 2017-04-05 - -- Fix paths in error messages on bad arguments - -## 4.17.0 - 2017-03-31 - -- Add support for payouts - -## 4.16.1 - 2017-03-30 - -- Fix bad reference to `requestId` when initializing errors - -## 4.16.0 - 2017-03-22 - -- Make `requestId` available on resource `lastResponse` objects - -## 4.15.1 - 2017-03-08 - -- Update required version of "qs" dependency to 6.0.4+ - -## 4.15.0 - 2017-01-18 - -- Add support for updating sources - -## 4.14.0 - 2016-12-01 - -- Add support for verifying sources - -## 4.13.0 - 2016-11-21 - -- Add retrieve method for 3-D Secure resources - -## 4.12.0 - 2016-10-18 - -- Support for 403 status codes (permission denied) - -## 4.11.0 - 2016-09-16 - -- Add support for Apple Pay domains - -## 4.10.0 - 2016-08-29 - -- Refactor deprecated uses of Bluebird's `Promise.defer` - -## 4.9.1 - 2016-08-22 - -- URI-encode unames for Stripe user agents so we don't fail on special characters - -## 4.9.0 - 2016-07-19 - -- Add `Source` model for generic payment sources support (experimental) - -## 4.8.0 - 2016-07-14 - -- Add `ThreeDSecure` model for 3-D secure payments - -## 4.7.0 - 2016-05-25 - -- Add support for returning Relay orders - -## 4.6.0 - 2016-05-04 - -- Add `update`, `create`, `retrieve`, `list` and `del` methods to `stripe.subscriptions` - -## 4.5.0 - 2016-03-15 - -- Add `reject` on `Account` to support the new API feature - -## 4.4.0 - 2016-02-08 - -- Add `CountrySpec` model for looking up country payment information - -## 4.3.0 - 2016-01-26 - -- Add support for deleting Relay SKUs and products - -## 4.2.0 - 2016-01-13 - -- Add `lastResponse` property on `StripeResource` objects -- Return usage errors of `stripeMethod` through callback instead of raising -- Use latest year for expiry years in tests to avoid new year problems - -## 4.1.0 - 2015-12-02 - -- Add a verification routine for external accounts - -## 4.0.0 - 2015-09-17 - -- Remove ability for API keys to be passed as 1st param to acct.retrieve -- Rename StripeInvalidRequest to StripeInvalidRequestError - -## 3.9.0 - 2015-09-14 - -- Add Relay resources: Products, SKUs, and Orders - -## 3.8.0 - 2015-09-11 - -- Added rate limiting responses - -## 3.7.1 - 2015-08-17 - -- Added refund object with listing, retrieval, updating, and creation. - -## 3.7.0 - 2015-08-03 - -- Added managed account deletion -- Added dispute listing and retrieval - -## 3.6.0 - 2015-07-07 - -- Added request IDs to all Stripe errors - -## 3.5.2 - 2015-06-30 - -- [BUGFIX] Fixed issue with uploading binary files (Gabriel Chagas Marques) - -## 3.5.1 - 2015-06-30 - -- [BUGFIX] Fixed issue with passing arrays of objects - -## 3.5.0 - 2015-06-11 - -- Added support for optional parameters when retrieving an upcoming invoice - (Matthew Arkin) - -## 3.4.0 - 2015-06-10 - -- Added support for bank accounts and debit cards in managed accounts - -## 3.3.4 - 2015-04-02 - -- Remove SSL revocation tests and check - -## 3.3.3 - 2015-03-31 - -- [BUGFIX] Fix support for both stripe.account and stripe.accounts - -## 3.3.2 - 2015-02-24 - -- Support transfer reversals. - -## 3.3.1 - 2015-02-21 - -- [BUGFIX] Fix passing in only a callback to the Account resource. (Matthew Arkin) - -## 3.3.0 - 2015-02-19 - -- Support BitcoinReceiver update & delete actions -- Add methods for manipulating customer sources as per 2015-02-18 API version -- The Account resource will now take an account ID. However, legacy use of the resource (without an account ID) will still work. - -## 3.2.0 - 2015-02-05 - -- [BUGFIX] Fix incorrect failing tests for headers support -- Update all dependencies (remove mocha-as-promised) -- Switch to bluebird for promises - -## 3.1.0 - 2015-01-21 - -- Support making bitcoin charges through BitcoinReceiver source object - -## 3.0.3 - 2014-12-23 - -- Adding file uploads as a resource. - -## 3.0.2 - 2014-11-26 - -- [BUGFIX] Fix issue where multiple expand params were not getting passed through (#130) - -## 3.0.1 - 2014-11-26 - -- (Version skipped due to npm mishap) - -## 3.0.0 - 2014-11-18 - -- [BUGFIX] Fix `stringifyRequestData` to deal with nested objs correctly -- Bump MAJOR as we're no longer supporting Node 0.8 - -## 2.9.0 - 2014-11-12 - -- Allow setting of HTTP agent (proxy) (issue #124) -- Add stack traces to all Stripe Errors - -## 2.8.0 - 2014-07-26 - -- Make application fee refunds a list instead of array - -## 2.7.4 - 2014-07-17 - -- [BUGFIX] Fix lack of subscription param in `invoices#retrieveUpcoming` method -- Add support for an `optional!` annotation on `urlParams` - -## 2.7.3 - 2014-06-17 - -- Add metadata to disputes and refunds - -## 2.6.3 - 2014-05-21 - -- Support cards for recipients. - -## 2.5.3 - 2014-05-16 - -- Allow the `update` method on coupons for metadata changes - -## 2.5.2 - 2014-04-28 - -- [BUGFIX] Fix when.js version string in package.json to support older npm versions - -## 2.5.1 - 2014-04-25 - -- [BUGFIX] Fix revoked-ssl check -- Upgrade when.js to 3.1.0 - -## 2.5.0 - 2014-04-09 - -- Ensure we prevent requests using revoked SSL certs - -## 2.4.5 - 2014-04-08 - -- Add better checks for incorrect arguments (throw exceptions accordingly). -- Validate the Connect Auth key, if passed - -## 2.4.4 - 2014-03-27 - -- [BUGFIX] Fix URL encoding issue (not encoding interpolated URL params, see issue #93) - -## 2.4.3 - 2014-03-27 - -- Add more debug information to the case of a failed `JSON.parse()` - -## 2.4.2 - 2014-02-20 - -- Add binding for `transfers/{tr_id}/transactions` endpoint - -## 2.4.1 - 2014-02-07 - -- Ensure raw error object is accessible on the generated StripeError - -## 2.4.0 - 2014-01-29 - -- Support multiple subscriptions per customer - -## 2.3.4 - 2014-01-11 - -- [BUGFIX] Fix #76, pass latest as version to api & fix constructor arg signature - -## 2.3.3 - 2014-01-10 - -- Document cancelSubscription method params and add specs for `at_period_end` - -## 2.3.2 - 2013-12-02 - -- Add application fees API - -## 2.2.2 - 2013-11-20 - -- [BUGFIX] Fix incorrect deleteDiscount method & related spec(s) - -### 2.2.1 - -- [BUGFIX] Fix user-agent header issue (see issue #75) - -## 2.2.0 - 2013-11-09 - -- Add support for setTimeout -- Add specs for invoice-item listing/querying via timestamp - -## 2.1.0 - 2013-11-07 - -- Support single key/value setting on setMetadata method -- [BUGFIX] Fix Windows url-path issue -- Add missing stripe.charges.update method -- Support setting auth_token per request (useful in Connect) -- Remove global 'resources' variable - -## 2.0.0 - 2013-10-18 - -- API overhaul and refactor, including addition of promises. -- Release of version 2.0.0 - -## 1.3.0 - 2013-01-30 - -- Requests return Javascript Errors (Guillaume Flandre) - -## 1.2.0 - 2012-08-03 - -- Added events API (Jonathan Hollinger) -- Added plans update API (Pavan Kumar Sunkara) -- Various test fixes, node 0.8.x tweaks (Jan Lehnardt) - -## 1.1.0 - 2012-02-01 - -- Add Coupons API (Ryan) -- Pass a more robust error object to the callback (Ryan) -- Fix duplicate callbacks from some functions when called incorrectly (bug #24, reported by Kishore Nallan) - -## 1.0.0 - 2011-12-06 - -- Add APIs and tests for Plans and "Invoice Items" - (both changes by Ryan Ettipio) - -## 0.0.5 - 2011-11-26 - -- Add Subscription API (John Ku, #3) -- Add Invoices API (Chris Winn, #6) -- [BUGFIX] Fix a bug where callback could be called twice, if the callback() threw an error itself (Peteris Krumins) -- [BUGFIX] Fix bug in tokens.retrieve API (Xavi) -- Change documentation links (Stripe changed their URL structure) -- Make tests pass again (error in callback is null instead of 0 if all is well) -- Amount in stripe.charges.refund is optional (Branko Vukelic) -- Various documentation fixes (Xavi) -- Only require node 0.4.0 - -## 0.0.3 - 2011-10-05 - -- Add Charges API (issue #1, brackishlake) -- Add customers.list API - -## 0.0.2 - 2011-09-28 - -- Initial release with customers and tokens APIs diff --git a/node_modules/stripe/LICENSE b/node_modules/stripe/LICENSE deleted file mode 100644 index 371833e1..00000000 --- a/node_modules/stripe/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (C) 2011 Ask Bjørn Hansen -Copyright (C) 2013 Stripe, Inc. (https://stripe.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file diff --git a/node_modules/stripe/README.md b/node_modules/stripe/README.md deleted file mode 100644 index 7bc9779b..00000000 --- a/node_modules/stripe/README.md +++ /dev/null @@ -1,513 +0,0 @@ -# Stripe Node.js Library - -[![Version](https://img.shields.io/npm/v/stripe.svg)](https://www.npmjs.org/package/stripe) -[![Build Status](https://travis-ci.org/stripe/stripe-node.svg?branch=master)](https://travis-ci.org/stripe/stripe-node) -[![Coverage Status](https://coveralls.io/repos/github/stripe/stripe-node/badge.svg)](https://coveralls.io/github/stripe/stripe-node) -[![Downloads](https://img.shields.io/npm/dm/stripe.svg)](https://www.npmjs.com/package/stripe) -[![Try on RunKit](https://badge.runkitcdn.com/stripe.svg)](https://runkit.com/npm/stripe) - -The Stripe Node library provides convenient access to the Stripe API from -applications written in server-side JavaScript. - -For collecting customer and payment information in the browser, use [Stripe.js][stripe-js]. - -## Documentation - -See the [`stripe-node` API docs](https://stripe.com/docs/api?lang=node) for Node.js. - -## Requirements - -Node 8, 10 or higher. - -## Installation - -Install the package with: - -```sh -npm install stripe --save -# or -yarn add stripe -``` - -## Usage - -The package needs to be configured with your account's secret key, which is -available in the [Stripe Dashboard][api-keys]. Require it with the key's -value: - - -```js -const stripe = require('stripe')('sk_test_...'); - -stripe.customers.create({ - email: 'customer@example.com', -}) - .then(customer => console.log(customer.id)) - .catch(error => console.error(error)); -``` - -Or using ES modules and `async`/`await`: - -```js -import Stripe from 'stripe'; -const stripe = new Stripe('sk_test_...'); - -(async () => { - const customer = await stripe.customers.create({ - email: 'customer@example.com', - }); - - console.log(customer.id); -})(); -``` - -### Usage with TypeScript - -As of 8.0.1, Stripe maintains types for the latest [API version][api-versions]. - -Import Stripe as a default import (not `* as Stripe`, unlike the DefinitelyTyped version) -and instantiate it as `new Stripe()` with the latest API version. - -```ts -import Stripe from 'stripe'; -const stripe = new Stripe('sk_test_...', { - apiVersion: '2020-08-27', -}); - -const createCustomer = async () => { - const params: Stripe.CustomerCreateParams = { - description: 'test customer', - }; - - const customer: Stripe.Customer = await stripe.customers.create(params); - - console.log(customer.id); -}; -createCustomer(); -``` - -You can find a full TS server example in [stripe-samples](https://github.com/stripe-samples/accept-a-card-payment/tree/master/using-webhooks/server/node-typescript). - -#### Using old API versions with TypeScript - -Types can change between API versions (e.g., Stripe may have changed a field from a string to a hash), -so our types only reflect the latest API version. - -We therefore encourage [upgrading your API version][api-version-upgrading] -if you would like to take advantage of Stripe's TypeScript definitions. - -If you are on an older API version (e.g., `2019-10-17`) and not able to upgrade, -you may pass another version or `apiVersion: null` to use your account's default API version, -and use a comment like `// @ts-ignore stripe-version-2019-10-17` to silence type errors here -and anywhere the types differ between your API version and the latest. -When you upgrade, you should remove these comments. - -We also recommend using `// @ts-ignore` if you have access to a beta feature and need to send parameters beyond the type definitions. - -#### Using `expand` with TypeScript - -[Expandable][expanding_objects] fields are typed as `string | Foo`, -so you must cast them appropriately, e.g., - -```ts -const paymentIntent: Stripe.PaymentIntent = await stripe.paymentIntents.retrieve( - 'pi_123456789', - { - expand: ['customer'], - } -); -const customerEmail: string = (paymentIntent.customer as Stripe.Customer).email; -``` - -### Using Promises - -Every method returns a chainable promise which can be used instead of a regular -callback: - -```js -// Create a new customer and then create an invoice item then invoice it: -stripe.customers - .create({ - email: 'foo-customer@example.com', - }) - .then((customer) => { - return stripe.invoiceItems.create({ - customer: 'cus_GcAjt5gZVAtChu', - amount: 2500, - currency: 'usd', - description: 'One-time setup fee', - }) - .then((invoiceItem) => { - return stripe.invoices.create({ - collection_method: 'send_invoice', - customer: invoiceItem.customer, - }); - }) - .then((invoice) => { - // New invoice created on a new customer - }) - .catch((err) => { - // Deal with an error - }); -``` - -## Configuration - -### Initialize with config object - -The package can be initialized with several options: - -```js -import ProxyAgent from 'https-proxy-agent'; - -const stripe = Stripe('sk_test_...', { - apiVersion: '2019-08-08', - maxNetworkRetries: 1, - httpAgent: new ProxyAgent(process.env.http_proxy), - timeout: 1000, - host: 'api.example.com', - port: 123, - telemetry: true, -}); -``` - -| Option | Default | Description | -| ------------------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `apiVersion` | `null` | Stripe API version to be used. If not set the account's default version will be used. | -| `maxNetworkRetries` | 0 | The amount of times a request should be [retried](#network-retries). | -| `httpAgent` | `null` | [Proxy](#configuring-a-proxy) agent to be used by the library. | -| `timeout` | 80000 | [Maximum time each request can take in ms.](#configuring-timeout) | -| `host` | `'api.stripe.com'` | Host that requests are made to. | -| `port` | 443 | Port that requests are made to. | -| `protocol` | `'https'` | `'https'` or `'http'`. `http` is never appropriate for sending requests to Stripe servers, and we strongly discourage `http`, even in local testing scenarios, as this can result in your credentials being transmitted over an insecure channel. | -| `telemetry` | `true` | Allow Stripe to send latency [telemetry](#request-latency-telemetry). | - -Note: Both `maxNetworkRetries` and `timeout` can be overridden on a per-request basis. - -### Configuring Timeout - -Timeout can be set globally via the config object: - -```js -const stripe = Stripe('sk_test_...', { - timeout: 20 * 1000, // 20 seconds -}); -``` - -And overridden on a per-request basis: - -```js -stripe.customers.create( - { - email: 'customer@example.com', - }, - { - timeout: 1000, // 1 second - } -); -``` - -### Configuring For Connect - -A per-request `Stripe-Account` header for use with [Stripe Connect][connect] -can be added to any method: - -```js -// List the balance transactions for a connected account: -stripe.balanceTransactions.list( - { - limit: 10, - }, - { - stripeAccount: 'acct_foo', - } -); -``` - -### Configuring a Proxy - -To use stripe behind a proxy you can pass an [https-proxy-agent][https-proxy-agent] on initialization: - -```js -if (process.env.http_proxy) { - const ProxyAgent = require('https-proxy-agent'); - - const stripe = Stripe('sk_test_...', { - httpProxy: new ProxyAgent(process.env.http_proxy), - }); -} -``` - -### Network retries - -Automatic network retries can be enabled with the `maxNetworkRetries` config option. -This will retry requests `n` times with exponential backoff if they fail due to an intermittent network problem. -[Idempotency keys](https://stripe.com/docs/api/idempotent_requests) are added where appropriate to prevent duplication. - -```js -const stripe = Stripe('sk_test_...', { - maxNetworkRetries: 2, // Retry a request twice before giving up -}); -``` - -Network retries can also be set on a per-request basis: - -```js -stripe.customers.create( - { - email: 'customer@example.com', - }, - { - maxNetworkRetries: 2, // Retry this specific request twice before giving up - } -); -``` - -### Examining Responses - -Some information about the response which generated a resource is available -with the `lastResponse` property: - -```js -customer.lastResponse.requestId; // see: https://stripe.com/docs/api/request_ids?lang=node -customer.lastResponse.statusCode; -``` - -### `request` and `response` events - -The Stripe object emits `request` and `response` events. You can use them like this: - -```js -const stripe = require('stripe')('sk_test_...'); - -const onRequest = (request) => { - // Do something. -}; - -// Add the event handler function: -stripe.on('request', onRequest); - -// Remove the event handler function: -stripe.off('request', onRequest); -``` - -#### `request` object - -```js -{ - api_version: 'latest', - account: 'acct_TEST', // Only present if provided - idempotency_key: 'abc123', // Only present if provided - method: 'POST', - path: '/v1/customers', - request_start_time: 1565125303932 // Unix timestamp in milliseconds -} -``` - -#### `response` object - -```js -{ - api_version: 'latest', - account: 'acct_TEST', // Only present if provided - idempotency_key: 'abc123', // Only present if provided - method: 'POST', - path: '/v1/customers', - status: 402, - request_id: 'req_Ghc9r26ts73DRf', - elapsed: 445 // Elapsed time in milliseconds - request_start_time: 1565125303932 // Unix timestamp in milliseconds - request_end_time: 1565125304377 // Unix timestamp in milliseconds -} -``` - -### Webhook signing - -Stripe can optionally sign the webhook events it sends to your endpoint, allowing you to validate that they were not sent by a third-party. You can read more about it [here](https://stripe.com/docs/webhooks#signatures). - -Please note that you must pass the _raw_ request body, exactly as received from Stripe, to the `constructEvent()` function; this will not work with a parsed (i.e., JSON) request body. - -You can find an example of how to use this with [Express](https://expressjs.com/) in the [`examples/webhook-signing`](examples/webhook-signing) folder, but here's what it looks like: - -```js -const event = stripe.webhooks.constructEvent( - webhookRawBody, - webhookStripeSignatureHeader, - webhookSecret -); -``` - -#### Testing Webhook signing - -You can use `stripe.webhooks.generateTestHeaderString` to mock webhook events that come from Stripe: - -```js -const payload = { - id: 'evt_test_webhook', - object: 'event', -}; - -const payloadString = JSON.stringify(payload, null, 2); -const secret = 'whsec_test_secret'; - -const header = stripe.webhooks.generateTestHeaderString({ - payload: payloadString, - secret, -}); - -const event = stripe.webhooks.constructEvent(payloadString, header, secret); - -// Do something with mocked signed event -expect(event.id).to.equal(payload.id); -``` - -### Writing a Plugin - -If you're writing a plugin that uses the library, we'd appreciate it if you identified using `stripe.setAppInfo()`: - -```js -stripe.setAppInfo({ - name: 'MyAwesomePlugin', - version: '1.2.34', // Optional - url: 'https://myawesomeplugin.info', // Optional -}); -``` - -This information is passed along when the library makes calls to the Stripe API. - -### Auto-pagination - -We provide a few different APIs for this to aid with a variety of node versions and styles. - -#### Async iterators (`for-await-of`) - -If you are in a Node environment that has support for [async iteration](https://github.com/tc39/proposal-async-iteration#the-async-iteration-statement-for-await-of), -such as Node 10+ or [babel](https://babeljs.io/docs/en/babel-plugin-transform-async-generator-functions), -the following will auto-paginate: - -```js -for await (const customer of stripe.customers.list()) { - doSomething(customer); - if (shouldStop()) { - break; - } -} -``` - -#### `autoPagingEach` - -If you are in a Node environment that has support for `await`, such as Node 7.9 and greater, -you may pass an async function to `.autoPagingEach`: - -```js -await stripe.customers.list().autoPagingEach(async (customer) => { - await doSomething(customer); - if (shouldBreak()) { - return false; - } -}); -console.log('Done iterating.'); -``` - -Equivalently, without `await`, you may return a Promise, which can resolve to `false` to break: - -```js -stripe.customers - .list() - .autoPagingEach((customer) => { - return doSomething(customer).then(() => { - if (shouldBreak()) { - return false; - } - }); - }) - .then(() => { - console.log('Done iterating.'); - }) - .catch(handleError); -``` - -#### `autoPagingToArray` - -This is a convenience for cases where you expect the number of items -to be relatively small; accordingly, you must pass a `limit` option -to prevent runaway list growth from consuming too much memory. - -Returns a promise of an array of all items across pages for a list request. - -```js -const allNewCustomers = await stripe.customers - .list({created: {gt: lastMonth}}) - .autoPagingToArray({limit: 10000}); -``` - -### Request latency telemetry - -By default, the library sends request latency telemetry to Stripe. These -numbers help Stripe improve the overall latency of its API for all users. - -You can disable this behavior if you prefer: - -```js -const stripe = new Stripe('sk_test_...', { - telemetry: false, -}); -``` - -## More Information - -- [REST API Version](https://github.com/stripe/stripe-node/wiki/REST-API-Version) -- [Error Handling](https://github.com/stripe/stripe-node/wiki/Error-Handling) -- [Passing Options](https://github.com/stripe/stripe-node/wiki/Passing-Options) -- [Using Stripe Connect](https://github.com/stripe/stripe-node/wiki/Using-Stripe-Connect-with-node.js) - -## Development - -Run all tests: - -```bash -$ yarn install -$ yarn test -``` - -If you do not have `yarn` installed, you can get it with `npm install --global yarn`. - -Run a single test suite without a coverage report: - -```bash -$ yarn mocha-only test/Error.spec.js -``` - -Run a single test (case sensitive) in watch mode: - -```bash -$ yarn mocha-only test/Error.spec.js --grep 'Populates with type' --watch -``` - -If you wish, you may run tests using your Stripe _Test_ API key by setting the -environment variable `STRIPE_TEST_API_KEY` before running the tests: - -```bash -$ export STRIPE_TEST_API_KEY='sk_test....' -$ yarn test -``` - -Run prettier: - -Add an [editor integration](https://prettier.io/docs/en/editors.html) or: - -```bash -$ yarn fix -``` - -[api-keys]: https://dashboard.stripe.com/account/apikeys -[api-versions]: https://stripe.com/docs/api/versioning -[api-version-upgrading]: https://stripe.com/docs/upgrades#how-can-i-upgrade-my-api -[connect]: https://stripe.com/connect -[expanding_objects]: https://stripe.com/docs/api/expanding_objects -[https-proxy-agent]: https://github.com/TooTallNate/node-https-proxy-agent -[stripe-js]: https://stripe.com/docs/stripe.js - - diff --git a/node_modules/stripe/VERSION b/node_modules/stripe/VERSION deleted file mode 100644 index 30b528ec..00000000 --- a/node_modules/stripe/VERSION +++ /dev/null @@ -1 +0,0 @@ -8.126.0 diff --git a/node_modules/stripe/lib/Error.js b/node_modules/stripe/lib/Error.js deleted file mode 100644 index 82dcd5c7..00000000 --- a/node_modules/stripe/lib/Error.js +++ /dev/null @@ -1,136 +0,0 @@ -'use strict'; - -/** - * StripeError is the base error from which all other more specific Stripe errors derive. - * Specifically for errors returned from Stripe's REST API. - */ -class StripeError extends Error { - constructor(raw = {}) { - super(raw.message); - this.type = this.constructor.name; - - this.raw = raw; - this.rawType = raw.type; - this.code = raw.code; - this.doc_url = raw.doc_url; - this.param = raw.param; - this.detail = raw.detail; - this.headers = raw.headers; - this.requestId = raw.requestId; - this.statusCode = raw.statusCode; - this.message = raw.message; - - this.charge = raw.charge; - this.decline_code = raw.decline_code; - this.payment_intent = raw.payment_intent; - this.payment_method = raw.payment_method; - this.payment_method_type = raw.payment_method_type; - this.setup_intent = raw.setup_intent; - this.source = raw.source; - } - - /** - * Helper factory which takes raw stripe errors and outputs wrapping instances - */ - static generate(rawStripeError) { - switch (rawStripeError.type) { - case 'card_error': - return new StripeCardError(rawStripeError); - case 'invalid_request_error': - return new StripeInvalidRequestError(rawStripeError); - case 'api_error': - return new StripeAPIError(rawStripeError); - case 'authentication_error': - return new StripeAuthenticationError(rawStripeError); - case 'rate_limit_error': - return new StripeRateLimitError(rawStripeError); - case 'idempotency_error': - return new StripeIdempotencyError(rawStripeError); - case 'invalid_grant': - return new StripeInvalidGrantError(rawStripeError); - default: - return new GenericError('Generic', 'Unknown Error'); - } - } -} - -// Specific Stripe Error types: - -/** - * CardError is raised when a user enters a card that can't be charged for - * some reason. - */ -class StripeCardError extends StripeError {} - -/** - * InvalidRequestError is raised when a request is initiated with invalid - * parameters. - */ -class StripeInvalidRequestError extends StripeError {} - -/** - * APIError is a generic error that may be raised in cases where none of the - * other named errors cover the problem. It could also be raised in the case - * that a new error has been introduced in the API, but this version of the - * Node.JS SDK doesn't know how to handle it. - */ -class StripeAPIError extends StripeError {} - -/** - * AuthenticationError is raised when invalid credentials are used to connect - * to Stripe's servers. - */ -class StripeAuthenticationError extends StripeError {} - -/** - * PermissionError is raised in cases where access was attempted on a resource - * that wasn't allowed. - */ -class StripePermissionError extends StripeError {} - -/** - * RateLimitError is raised in cases where an account is putting too much load - * on Stripe's API servers (usually by performing too many requests). Please - * back off on request rate. - */ -class StripeRateLimitError extends StripeError {} - -/** - * StripeConnectionError is raised in the event that the SDK can't connect to - * Stripe's servers. That can be for a variety of different reasons from a - * downed network to a bad TLS certificate. - */ -class StripeConnectionError extends StripeError {} - -/** - * SignatureVerificationError is raised when the signature verification for a - * webhook fails - */ -class StripeSignatureVerificationError extends StripeError {} - -/** - * IdempotencyError is raised in cases where an idempotency key was used - * improperly. - */ -class StripeIdempotencyError extends StripeError {} - -/** - * InvalidGrantError is raised when a specified code doesn't exist, is - * expired, has been used, or doesn't belong to you; a refresh token doesn't - * exist, or doesn't belong to you; or if an API key's mode (live or test) - * doesn't match the mode of a code or refresh token. - */ -class StripeInvalidGrantError extends StripeError {} - -module.exports.generate = StripeError.generate; -module.exports.StripeError = StripeError; -module.exports.StripeCardError = StripeCardError; -module.exports.StripeInvalidRequestError = StripeInvalidRequestError; -module.exports.StripeAPIError = StripeAPIError; -module.exports.StripeAuthenticationError = StripeAuthenticationError; -module.exports.StripePermissionError = StripePermissionError; -module.exports.StripeRateLimitError = StripeRateLimitError; -module.exports.StripeConnectionError = StripeConnectionError; -module.exports.StripeSignatureVerificationError = StripeSignatureVerificationError; -module.exports.StripeIdempotencyError = StripeIdempotencyError; -module.exports.StripeInvalidGrantError = StripeInvalidGrantError; diff --git a/node_modules/stripe/lib/ResourceNamespace.js b/node_modules/stripe/lib/ResourceNamespace.js deleted file mode 100644 index 0d76787d..00000000 --- a/node_modules/stripe/lib/ResourceNamespace.js +++ /dev/null @@ -1,22 +0,0 @@ -'use strict'; - -// ResourceNamespace allows you to create nested resources, i.e. `stripe.issuing.cards`. -// It also works recursively, so you could do i.e. `stripe.billing.invoicing.pay`. - -function ResourceNamespace(stripe, resources) { - for (const name in resources) { - const camelCaseName = name[0].toLowerCase() + name.substring(1); - - const resource = new resources[name](stripe); - - this[camelCaseName] = resource; - } -} - -module.exports = function(namespace, resources) { - return function(stripe) { - return new ResourceNamespace(stripe, resources); - }; -}; - -module.exports.ResourceNamespace = ResourceNamespace; diff --git a/node_modules/stripe/lib/StripeMethod.basic.js b/node_modules/stripe/lib/StripeMethod.basic.js deleted file mode 100644 index c807ea18..00000000 --- a/node_modules/stripe/lib/StripeMethod.basic.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; - -const stripeMethod = require('./StripeMethod'); - -module.exports = { - create: stripeMethod({ - method: 'POST', - }), - - list: stripeMethod({ - method: 'GET', - methodType: 'list', - }), - - retrieve: stripeMethod({ - method: 'GET', - path: '/{id}', - }), - - update: stripeMethod({ - method: 'POST', - path: '{id}', - }), - - // Avoid 'delete' keyword in JS - del: stripeMethod({ - method: 'DELETE', - path: '{id}', - }), -}; diff --git a/node_modules/stripe/lib/StripeMethod.js b/node_modules/stripe/lib/StripeMethod.js deleted file mode 100644 index ace8febf..00000000 --- a/node_modules/stripe/lib/StripeMethod.js +++ /dev/null @@ -1,49 +0,0 @@ -'use strict'; - -const utils = require('./utils'); -const makeRequest = require('./makeRequest'); -const makeAutoPaginationMethods = require('./autoPagination') - .makeAutoPaginationMethods; - -/** - * Create an API method from the declared spec. - * - * @param [spec.method='GET'] Request Method (POST, GET, DELETE, PUT) - * @param [spec.path=''] Path to be appended to the API BASE_PATH, joined with - * the instance's path (e.g. 'charges' or 'customers') - * @param [spec.urlParams=[]] Array of required arguments in the order that they - * must be passed by the consumer of the API. Subsequent optional arguments are - * optionally passed through a hash (Object) as the penultimate argument - * (preceding the also-optional callback argument - * @param [spec.encode] Function for mutating input parameters to a method. - * Usefully for applying transforms to data on a per-method basis. - * @param [spec.host] Hostname for the request. - */ -function stripeMethod(spec) { - return function(...args) { - const callback = typeof args[args.length - 1] == 'function' && args.pop(); - - spec.urlParams = utils.extractUrlParams( - this.createResourcePathWithSymbols(spec.path || '') - ); - - const requestPromise = utils.callbackifyPromiseWithTimeout( - makeRequest(this, args, spec, {}), - callback - ); - - if (spec.methodType === 'list') { - const autoPaginationMethods = makeAutoPaginationMethods( - this, - args, - spec, - requestPromise - ); - Object.assign(requestPromise, autoPaginationMethods); - } - - return requestPromise; - }; -} - -module.exports = stripeMethod; diff --git a/node_modules/stripe/lib/StripeResource.js b/node_modules/stripe/lib/StripeResource.js deleted file mode 100644 index 036812dc..00000000 --- a/node_modules/stripe/lib/StripeResource.js +++ /dev/null @@ -1,547 +0,0 @@ -'use strict'; - -const http = require('http'); -const https = require('https'); -const path = require('path'); - -const utils = require('./utils'); -const { - StripeConnectionError, - StripeAuthenticationError, - StripePermissionError, - StripeRateLimitError, - StripeError, - StripeAPIError, -} = require('./Error'); - -const defaultHttpAgent = new http.Agent({keepAlive: true}); -const defaultHttpsAgent = new https.Agent({keepAlive: true}); - -// Provide extension mechanism for Stripe Resource Sub-Classes -StripeResource.extend = utils.protoExtend; - -// Expose method-creator & prepared (basic) methods -StripeResource.method = require('./StripeMethod'); -StripeResource.BASIC_METHODS = require('./StripeMethod.basic'); - -StripeResource.MAX_BUFFERED_REQUEST_METRICS = 100; -const MAX_RETRY_AFTER_WAIT = 60; - -/** - * Encapsulates request logic for a Stripe Resource - */ -function StripeResource(stripe, deprecatedUrlData) { - this._stripe = stripe; - if (deprecatedUrlData) { - throw new Error( - 'Support for curried url params was dropped in stripe-node v7.0.0. Instead, pass two ids.' - ); - } - - this.basePath = utils.makeURLInterpolator( - this.basePath || stripe.getApiField('basePath') - ); - this.resourcePath = this.path; - this.path = utils.makeURLInterpolator(this.path); - - if (this.includeBasic) { - this.includeBasic.forEach(function(methodName) { - this[methodName] = StripeResource.BASIC_METHODS[methodName]; - }, this); - } - - this.initialize(...arguments); -} - -StripeResource.prototype = { - path: '', - - // Methods that don't use the API's default '/v1' path can override it with this setting. - basePath: null, - - initialize() {}, - - // Function to override the default data processor. This allows full control - // over how a StripeResource's request data will get converted into an HTTP - // body. This is useful for non-standard HTTP requests. The function should - // take method name, data, and headers as arguments. - requestDataProcessor: null, - - // Function to add a validation checks before sending the request, errors should - // be thrown, and they will be passed to the callback/promise. - validateRequest: null, - - createFullPath(commandPath, urlData) { - return path - .join( - this.basePath(urlData), - this.path(urlData), - typeof commandPath == 'function' ? commandPath(urlData) : commandPath - ) - .replace(/\\/g, '/'); // ugly workaround for Windows - }, - - // Creates a relative resource path with symbols left in (unlike - // createFullPath which takes some data to replace them with). For example it - // might produce: /invoices/{id} - createResourcePathWithSymbols(pathWithSymbols) { - return `/${path - .join(this.resourcePath, pathWithSymbols || '') - .replace(/\\/g, '/')}`; // ugly workaround for Windows - }, - - // DEPRECATED: Here for backcompat in case users relied on this. - wrapTimeout: utils.callbackifyPromiseWithTimeout, - - _timeoutHandler(timeout, req, callback) { - return () => { - const timeoutErr = new TypeError('ETIMEDOUT'); - timeoutErr.code = 'ETIMEDOUT'; - - req._isAborted = true; - req.abort(); - - callback.call( - this, - new StripeConnectionError({ - message: `Request aborted due to timeout being reached (${timeout}ms)`, - detail: timeoutErr, - }), - null - ); - }; - }, - - _responseHandler(req, callback) { - return (res) => { - let response = ''; - - res.setEncoding('utf8'); - res.on('data', (chunk) => { - response += chunk; - }); - res.once('end', () => { - const headers = res.headers || {}; - // NOTE: Stripe responds with lowercase header names/keys. - - // For convenience, make some headers easily accessible on - // lastResponse. - res.requestId = headers['request-id']; - - const stripeAccount = headers['stripe-account']; - if (stripeAccount) { - res.stripeAccount = stripeAccount; - } - - const apiVersion = headers['stripe-version']; - if (apiVersion) { - res.apiVersion = apiVersion; - } - - const idempotencyKey = headers['idempotency-key']; - if (idempotencyKey) { - res.idempotencyKey = idempotencyKey; - } - - const requestEndTime = Date.now(); - const requestDurationMs = requestEndTime - req._requestStart; - - const responseEvent = utils.removeNullish({ - api_version: headers['stripe-version'], - account: headers['stripe-account'], - idempotency_key: headers['idempotency-key'], - method: req._requestEvent.method, - path: req._requestEvent.path, - status: res.statusCode, - request_id: res.requestId, - elapsed: requestDurationMs, - request_start_time: req._requestStart, - request_end_time: requestEndTime, - }); - - this._stripe._emitter.emit('response', responseEvent); - - try { - response = JSON.parse(response); - - if (response.error) { - let err; - - // Convert OAuth error responses into a standard format - // so that the rest of the error logic can be shared - if (typeof response.error === 'string') { - response.error = { - type: response.error, - message: response.error_description, - }; - } - - response.error.headers = headers; - response.error.statusCode = res.statusCode; - response.error.requestId = res.requestId; - - if (res.statusCode === 401) { - err = new StripeAuthenticationError(response.error); - } else if (res.statusCode === 403) { - err = new StripePermissionError(response.error); - } else if (res.statusCode === 429) { - err = new StripeRateLimitError(response.error); - } else { - err = StripeError.generate(response.error); - } - return callback.call(this, err, null); - } - } catch (e) { - return callback.call( - this, - new StripeAPIError({ - message: 'Invalid JSON received from the Stripe API', - response, - exception: e, - requestId: headers['request-id'], - }), - null - ); - } - - this._recordRequestMetrics(res.requestId, requestDurationMs); - - // Expose res object - Object.defineProperty(response, 'lastResponse', { - enumerable: false, - writable: false, - value: res, - }); - callback.call(this, null, response); - }); - }; - }, - - _generateConnectionErrorMessage(requestRetries) { - return `An error occurred with our connection to Stripe.${ - requestRetries > 0 ? ` Request was retried ${requestRetries} times.` : '' - }`; - }, - - _errorHandler(req, requestRetries, callback) { - return (error) => { - if (req._isAborted) { - // already handled - return; - } - callback.call( - this, - new StripeConnectionError({ - message: this._generateConnectionErrorMessage(requestRetries), - detail: error, - }), - null - ); - }; - }, - - // For more on when and how to retry API requests, see https://stripe.com/docs/error-handling#safely-retrying-requests-with-idempotency - _shouldRetry(res, numRetries, maxRetries) { - // Do not retry if we are out of retries. - if (numRetries >= maxRetries) { - return false; - } - - // Retry on connection error. - if (!res) { - return true; - } - - // The API may ask us not to retry (e.g., if doing so would be a no-op) - // or advise us to retry (e.g., in cases of lock timeouts); we defer to that. - if (res.headers && res.headers['stripe-should-retry'] === 'false') { - return false; - } - if (res.headers && res.headers['stripe-should-retry'] === 'true') { - return true; - } - - // Retry on conflict errors. - if (res.statusCode === 409) { - return true; - } - - // Retry on 500, 503, and other internal errors. - // - // Note that we expect the stripe-should-retry header to be false - // in most cases when a 500 is returned, since our idempotency framework - // would typically replay it anyway. - if (res.statusCode >= 500) { - return true; - } - - return false; - }, - - _getSleepTimeInMS(numRetries, retryAfter = null) { - const initialNetworkRetryDelay = this._stripe.getInitialNetworkRetryDelay(); - const maxNetworkRetryDelay = this._stripe.getMaxNetworkRetryDelay(); - - // Apply exponential backoff with initialNetworkRetryDelay on the - // number of numRetries so far as inputs. Do not allow the number to exceed - // maxNetworkRetryDelay. - let sleepSeconds = Math.min( - initialNetworkRetryDelay * Math.pow(numRetries - 1, 2), - maxNetworkRetryDelay - ); - - // Apply some jitter by randomizing the value in the range of - // (sleepSeconds / 2) to (sleepSeconds). - sleepSeconds *= 0.5 * (1 + Math.random()); - - // But never sleep less than the base sleep seconds. - sleepSeconds = Math.max(initialNetworkRetryDelay, sleepSeconds); - - // And never sleep less than the time the API asks us to wait, assuming it's a reasonable ask. - if (Number.isInteger(retryAfter) && retryAfter <= MAX_RETRY_AFTER_WAIT) { - sleepSeconds = Math.max(sleepSeconds, retryAfter); - } - - return sleepSeconds * 1000; - }, - - // Max retries can be set on a per request basis. Favor those over the global setting - _getMaxNetworkRetries(settings = {}) { - return settings.maxNetworkRetries && - Number.isInteger(settings.maxNetworkRetries) - ? settings.maxNetworkRetries - : this._stripe.getMaxNetworkRetries(); - }, - - _defaultIdempotencyKey(method, settings) { - // If this is a POST and we allow multiple retries, ensure an idempotency key. - const maxRetries = this._getMaxNetworkRetries(settings); - - if (method === 'POST' && maxRetries > 0) { - return `stripe-node-retry-${utils.uuid4()}`; - } - return null; - }, - - _makeHeaders( - auth, - contentLength, - apiVersion, - clientUserAgent, - method, - userSuppliedHeaders, - userSuppliedSettings - ) { - const defaultHeaders = { - // Use specified auth token or use default from this stripe instance: - Authorization: auth ? `Bearer ${auth}` : this._stripe.getApiField('auth'), - Accept: 'application/json', - 'Content-Type': 'application/x-www-form-urlencoded', - 'Content-Length': contentLength, - 'User-Agent': this._getUserAgentString(), - 'X-Stripe-Client-User-Agent': clientUserAgent, - 'X-Stripe-Client-Telemetry': this._getTelemetryHeader(), - 'Stripe-Version': apiVersion, - 'Idempotency-Key': this._defaultIdempotencyKey( - method, - userSuppliedSettings - ), - }; - - return Object.assign( - utils.removeNullish(defaultHeaders), - // If the user supplied, say 'idempotency-key', override instead of appending by ensuring caps are the same. - utils.normalizeHeaders(userSuppliedHeaders) - ); - }, - - _getUserAgentString() { - const packageVersion = this._stripe.getConstant('PACKAGE_VERSION'); - const appInfo = this._stripe._appInfo - ? this._stripe.getAppInfoAsString() - : ''; - - return `Stripe/v1 NodeBindings/${packageVersion} ${appInfo}`.trim(); - }, - - _getTelemetryHeader() { - if ( - this._stripe.getTelemetryEnabled() && - this._stripe._prevRequestMetrics.length > 0 - ) { - const metrics = this._stripe._prevRequestMetrics.shift(); - return JSON.stringify({ - last_request_metrics: metrics, - }); - } - }, - - _recordRequestMetrics(requestId, requestDurationMs) { - if (this._stripe.getTelemetryEnabled() && requestId) { - if ( - this._stripe._prevRequestMetrics.length > - StripeResource.MAX_BUFFERED_REQUEST_METRICS - ) { - utils.emitWarning( - 'Request metrics buffer is full, dropping telemetry message.' - ); - } else { - this._stripe._prevRequestMetrics.push({ - request_id: requestId, - request_duration_ms: requestDurationMs, - }); - } - } - }, - - _request(method, host, path, data, auth, options = {}, callback) { - let requestData; - - const retryRequest = ( - requestFn, - apiVersion, - headers, - requestRetries, - retryAfter - ) => { - return setTimeout( - requestFn, - this._getSleepTimeInMS(requestRetries, retryAfter), - apiVersion, - headers, - requestRetries + 1 - ); - }; - - const makeRequest = (apiVersion, headers, numRetries) => { - // timeout can be set on a per-request basis. Favor that over the global setting - const timeout = - options.settings && - Number.isInteger(options.settings.timeout) && - options.settings.timeout >= 0 - ? options.settings.timeout - : this._stripe.getApiField('timeout'); - - const isInsecureConnection = - this._stripe.getApiField('protocol') === 'http'; - let agent = this._stripe.getApiField('agent'); - if (agent == null) { - agent = isInsecureConnection ? defaultHttpAgent : defaultHttpsAgent; - } - - const req = (isInsecureConnection ? http : https).request({ - host: host || this._stripe.getApiField('host'), - port: this._stripe.getApiField('port'), - path, - method, - agent, - headers, - ciphers: 'DEFAULT:!aNULL:!eNULL:!LOW:!EXPORT:!SSLv2:!MD5', - }); - - const requestStartTime = Date.now(); - - const requestEvent = utils.removeNullish({ - api_version: apiVersion, - account: headers['Stripe-Account'], - idempotency_key: headers['Idempotency-Key'], - method, - path, - request_start_time: requestStartTime, - }); - - const requestRetries = numRetries || 0; - - const maxRetries = this._getMaxNetworkRetries(options.settings); - - req._requestEvent = requestEvent; - - req._requestStart = requestStartTime; - - this._stripe._emitter.emit('request', requestEvent); - - req.setTimeout(timeout, this._timeoutHandler(timeout, req, callback)); - - req.once('response', (res) => { - if (this._shouldRetry(res, requestRetries, maxRetries)) { - return retryRequest( - makeRequest, - apiVersion, - headers, - requestRetries, - ((res || {}).headers || {})['retry-after'] - ); - } else { - return this._responseHandler(req, callback)(res); - } - }); - - req.on('error', (error) => { - if (this._shouldRetry(null, requestRetries, maxRetries)) { - return retryRequest( - makeRequest, - apiVersion, - headers, - requestRetries, - null - ); - } else { - return this._errorHandler(req, requestRetries, callback)(error); - } - }); - - req.once('socket', (socket) => { - if (socket.connecting) { - socket.once( - isInsecureConnection ? 'connect' : 'secureConnect', - () => { - // Send payload; we're safe: - req.write(requestData); - req.end(); - } - ); - } else { - // we're already connected - req.write(requestData); - req.end(); - } - }); - }; - - const prepareAndMakeRequest = (error, data) => { - if (error) { - return callback(error); - } - - requestData = data; - - this._stripe.getClientUserAgent((clientUserAgent) => { - const apiVersion = this._stripe.getApiField('version'); - const headers = this._makeHeaders( - auth, - requestData.length, - apiVersion, - clientUserAgent, - method, - options.headers, - options.settings - ); - - makeRequest(apiVersion, headers); - }); - }; - - if (this.requestDataProcessor) { - this.requestDataProcessor( - method, - data, - options.headers, - prepareAndMakeRequest - ); - } else { - prepareAndMakeRequest(null, utils.stringifyRequestData(data || {})); - } - }, -}; - -module.exports = StripeResource; diff --git a/node_modules/stripe/lib/Webhooks.js b/node_modules/stripe/lib/Webhooks.js deleted file mode 100644 index ca362e59..00000000 --- a/node_modules/stripe/lib/Webhooks.js +++ /dev/null @@ -1,173 +0,0 @@ -'use strict'; - -const crypto = require('crypto'); - -const utils = require('./utils'); -const {StripeError, StripeSignatureVerificationError} = require('./Error'); - -const Webhook = { - DEFAULT_TOLERANCE: 300, // 5 minutes - - constructEvent(payload, header, secret, tolerance) { - this.signature.verifyHeader( - payload, - header, - secret, - tolerance || Webhook.DEFAULT_TOLERANCE - ); - - const jsonPayload = JSON.parse(payload); - return jsonPayload; - }, - - /** - * Generates a header to be used for webhook mocking - * - * @typedef {object} opts - * @property {number} timestamp - Timestamp of the header. Defaults to Date.now() - * @property {string} payload - JSON stringified payload object, containing the 'id' and 'object' parameters - * @property {string} secret - Stripe webhook secret 'whsec_...' - * @property {string} scheme - Version of API to hit. Defaults to 'v1'. - * @property {string} signature - Computed webhook signature - */ - generateTestHeaderString: function(opts) { - if (!opts) { - throw new StripeError({ - message: 'Options are required', - }); - } - - opts.timestamp = - Math.floor(opts.timestamp) || Math.floor(Date.now() / 1000); - opts.scheme = opts.scheme || signature.EXPECTED_SCHEME; - - opts.signature = - opts.signature || - signature._computeSignature( - opts.timestamp + '.' + opts.payload, - opts.secret - ); - - const generatedHeader = [ - 't=' + opts.timestamp, - opts.scheme + '=' + opts.signature, - ].join(','); - - return generatedHeader; - }, -}; - -const signature = { - EXPECTED_SCHEME: 'v1', - - _computeSignature: (payload, secret) => { - return crypto - .createHmac('sha256', secret) - .update(payload, 'utf8') - .digest('hex'); - }, - - verifyHeader(payload, header, secret, tolerance) { - payload = Buffer.isBuffer(payload) ? payload.toString('utf8') : payload; - - // Express's type for `Request#headers` is `string | []string` - // which is because the `set-cookie` header is an array, - // but no other headers are an array (docs: https://nodejs.org/api/http.html#http_message_headers) - // (Express's Request class is an extension of http.IncomingMessage, and doesn't appear to be relevantly modified: https://github.com/expressjs/express/blob/master/lib/request.js#L31) - if (Array.isArray(header)) { - throw new Error( - 'Unexpected: An array was passed as a header, which should not be possible for the stripe-signature header.' - ); - } - - header = Buffer.isBuffer(header) ? header.toString('utf8') : header; - - const details = parseHeader(header, this.EXPECTED_SCHEME); - - if (!details || details.timestamp === -1) { - throw new StripeSignatureVerificationError({ - message: 'Unable to extract timestamp and signatures from header', - detail: { - header, - payload, - }, - }); - } - - if (!details.signatures.length) { - throw new StripeSignatureVerificationError({ - message: 'No signatures found with expected scheme', - detail: { - header, - payload, - }, - }); - } - - const expectedSignature = this._computeSignature( - `${details.timestamp}.${payload}`, - secret - ); - - const signatureFound = !!details.signatures.filter( - utils.secureCompare.bind(utils, expectedSignature) - ).length; - - if (!signatureFound) { - throw new StripeSignatureVerificationError({ - message: - 'No signatures found matching the expected signature for payload.' + - ' Are you passing the raw request body you received from Stripe?' + - ' https://github.com/stripe/stripe-node#webhook-signing', - detail: { - header, - payload, - }, - }); - } - - const timestampAge = Math.floor(Date.now() / 1000) - details.timestamp; - - if (tolerance > 0 && timestampAge > tolerance) { - throw new StripeSignatureVerificationError({ - message: 'Timestamp outside the tolerance zone', - detail: { - header, - payload, - }, - }); - } - - return true; - }, -}; - -function parseHeader(header, scheme) { - if (typeof header !== 'string') { - return null; - } - - return header.split(',').reduce( - (accum, item) => { - const kv = item.split('='); - - if (kv[0] === 't') { - accum.timestamp = kv[1]; - } - - if (kv[0] === scheme) { - accum.signatures.push(kv[1]); - } - - return accum; - }, - { - timestamp: -1, - signatures: [], - } - ); -} - -Webhook.signature = signature; - -module.exports = Webhook; diff --git a/node_modules/stripe/lib/autoPagination.js b/node_modules/stripe/lib/autoPagination.js deleted file mode 100644 index 854ef7e7..00000000 --- a/node_modules/stripe/lib/autoPagination.js +++ /dev/null @@ -1,243 +0,0 @@ -'use strict'; - -const makeRequest = require('./makeRequest'); -const utils = require('./utils'); - -function makeAutoPaginationMethods(self, requestArgs, spec, firstPagePromise) { - const promiseCache = {currentPromise: null}; - let listPromise = firstPagePromise; - let i = 0; - - function iterate(listResult) { - if ( - !( - listResult && - listResult.data && - typeof listResult.data.length === 'number' - ) - ) { - throw Error( - 'Unexpected: Stripe API response does not have a well-formed `data` array.' - ); - } - - if (i < listResult.data.length) { - const value = listResult.data[i]; - i += 1; - return {value, done: false}; - } else if (listResult.has_more) { - // Reset counter, request next page, and recurse. - i = 0; - const lastId = getLastId(listResult); - listPromise = makeRequest(self, requestArgs, spec, { - starting_after: lastId, - }); - return listPromise.then(iterate); - } - return {value: undefined, done: true}; - } - - function asyncIteratorNext() { - return memoizedPromise(promiseCache, (resolve, reject) => { - return listPromise - .then(iterate) - .then(resolve) - .catch(reject); - }); - } - - const autoPagingEach = makeAutoPagingEach(asyncIteratorNext); - const autoPagingToArray = makeAutoPagingToArray(autoPagingEach); - - const autoPaginationMethods = { - autoPagingEach, - autoPagingToArray, - - // Async iterator functions: - next: asyncIteratorNext, - return: () => { - // This is required for `break`. - return {}; - }, - [getAsyncIteratorSymbol()]: () => { - return autoPaginationMethods; - }, - }; - return autoPaginationMethods; -} - -module.exports.makeAutoPaginationMethods = makeAutoPaginationMethods; - -/** - * ---------------- - * Private Helpers: - * ---------------- - */ - -function getAsyncIteratorSymbol() { - if (typeof Symbol !== 'undefined' && Symbol.asyncIterator) { - return Symbol.asyncIterator; - } - // Follow the convention from libraries like iterall: https://github.com/leebyron/iterall#asynciterator-1 - return '@@asyncIterator'; -} - -function getDoneCallback(args) { - if (args.length < 2) { - return undefined; - } - const onDone = args[1]; - if (typeof onDone !== 'function') { - throw Error( - `The second argument to autoPagingEach, if present, must be a callback function; receieved ${typeof onDone}` - ); - } - return onDone; -} - -/** - * We allow four forms of the `onItem` callback (the middle two being equivalent), - * - * 1. `.autoPagingEach((item) => { doSomething(item); return false; });` - * 2. `.autoPagingEach(async (item) => { await doSomething(item); return false; });` - * 3. `.autoPagingEach((item) => doSomething(item).then(() => false));` - * 4. `.autoPagingEach((item, next) => { doSomething(item); next(false); });` - * - * In addition to standard validation, this helper - * coalesces the former forms into the latter form. - */ -function getItemCallback(args) { - if (args.length === 0) { - return undefined; - } - const onItem = args[0]; - if (typeof onItem !== 'function') { - throw Error( - `The first argument to autoPagingEach, if present, must be a callback function; receieved ${typeof onItem}` - ); - } - - // 4. `.autoPagingEach((item, next) => { doSomething(item); next(false); });` - if (onItem.length === 2) { - return onItem; - } - - if (onItem.length > 2) { - throw Error( - `The \`onItem\` callback function passed to autoPagingEach must accept at most two arguments; got ${onItem}` - ); - } - - // This magically handles all three of these usecases (the latter two being functionally identical): - // 1. `.autoPagingEach((item) => { doSomething(item); return false; });` - // 2. `.autoPagingEach(async (item) => { await doSomething(item); return false; });` - // 3. `.autoPagingEach((item) => doSomething(item).then(() => false));` - return function _onItem(item, next) { - const shouldContinue = onItem(item); - next(shouldContinue); - }; -} - -function getLastId(listResult) { - const lastIdx = listResult.data.length - 1; - const lastItem = listResult.data[lastIdx]; - const lastId = lastItem && lastItem.id; - if (!lastId) { - throw Error( - 'Unexpected: No `id` found on the last item while auto-paging a list.' - ); - } - return lastId; -} - -/** - * If a user calls `.next()` multiple times in parallel, - * return the same result until something has resolved - * to prevent page-turning race conditions. - */ -function memoizedPromise(promiseCache, cb) { - if (promiseCache.currentPromise) { - return promiseCache.currentPromise; - } - promiseCache.currentPromise = new Promise(cb).then((ret) => { - promiseCache.currentPromise = undefined; - return ret; - }); - return promiseCache.currentPromise; -} - -function makeAutoPagingEach(asyncIteratorNext) { - return function autoPagingEach(/* onItem?, onDone? */) { - const args = [].slice.call(arguments); - const onItem = getItemCallback(args); - const onDone = getDoneCallback(args); - if (args.length > 2) { - throw Error('autoPagingEach takes up to two arguments; received:', args); - } - - const autoPagePromise = wrapAsyncIteratorWithCallback( - asyncIteratorNext, - onItem - ); - return utils.callbackifyPromiseWithTimeout(autoPagePromise, onDone); - }; -} - -function makeAutoPagingToArray(autoPagingEach) { - return function autoPagingToArray(opts, onDone) { - const limit = opts && opts.limit; - if (!limit) { - throw Error( - 'You must pass a `limit` option to autoPagingToArray, e.g., `autoPagingToArray({limit: 1000});`.' - ); - } - if (limit > 10000) { - throw Error( - 'You cannot specify a limit of more than 10,000 items to fetch in `autoPagingToArray`; use `autoPagingEach` to iterate through longer lists.' - ); - } - const promise = new Promise((resolve, reject) => { - const items = []; - autoPagingEach((item) => { - items.push(item); - if (items.length >= limit) { - return false; - } - }) - .then(() => { - resolve(items); - }) - .catch(reject); - }); - return utils.callbackifyPromiseWithTimeout(promise, onDone); - }; -} - -function wrapAsyncIteratorWithCallback(asyncIteratorNext, onItem) { - return new Promise((resolve, reject) => { - function handleIteration(iterResult) { - if (iterResult.done) { - resolve(); - return; - } - - const item = iterResult.value; - return new Promise((next) => { - // Bit confusing, perhaps; we pass a `resolve` fn - // to the user, so they can decide when and if to continue. - // They can return false, or a promise which resolves to false, to break. - onItem(item, next); - }).then((shouldContinue) => { - if (shouldContinue === false) { - return handleIteration({done: true}); - } else { - return asyncIteratorNext().then(handleIteration); - } - }); - } - - asyncIteratorNext() - .then(handleIteration) - .catch(reject); - }); -} diff --git a/node_modules/stripe/lib/makeRequest.js b/node_modules/stripe/lib/makeRequest.js deleted file mode 100644 index 0da41f5b..00000000 --- a/node_modules/stripe/lib/makeRequest.js +++ /dev/null @@ -1,108 +0,0 @@ -'use strict'; - -const utils = require('./utils'); - -function getRequestOpts(self, requestArgs, spec, overrideData) { - // Extract spec values with defaults. - const commandPath = utils.makeURLInterpolator(spec.path || ''); - const requestMethod = (spec.method || 'GET').toUpperCase(); - const urlParams = spec.urlParams || []; - const encode = spec.encode || ((data) => data); - const host = spec.host; - const path = self.createResourcePathWithSymbols(spec.path); - - // Don't mutate args externally. - const args = [].slice.call(requestArgs); - - // Generate and validate url params. - const urlData = urlParams.reduce((urlData, param) => { - const arg = args.shift(); - if (typeof arg !== 'string') { - throw new Error( - `Stripe: Argument "${param}" must be a string, but got: ${arg} (on API request to \`${requestMethod} ${path}\`)` - ); - } - - urlData[param] = arg; - return urlData; - }, {}); - - // Pull request data and options (headers, auth) from args. - const dataFromArgs = utils.getDataFromArgs(args); - const data = encode(Object.assign({}, dataFromArgs, overrideData)); - const options = utils.getOptionsFromArgs(args); - - // Validate that there are no more args. - if (args.filter((x) => x != null).length) { - throw new Error( - `Stripe: Unknown arguments (${args}). Did you mean to pass an options object? See https://github.com/stripe/stripe-node/wiki/Passing-Options. (on API request to ${requestMethod} \`${path}\`)` - ); - } - - const requestPath = self.createFullPath(commandPath, urlData); - const headers = Object.assign(options.headers, spec.headers); - - if (spec.validator) { - spec.validator(data, {headers}); - } - - const dataInQuery = spec.method === 'GET' || spec.method === 'DELETE'; - const bodyData = dataInQuery ? {} : data; - const queryData = dataInQuery ? data : {}; - - return { - requestMethod, - requestPath, - bodyData, - queryData, - auth: options.auth, - headers, - host, - settings: options.settings, - }; -} - -function makeRequest(self, requestArgs, spec, overrideData) { - return new Promise((resolve, reject) => { - let opts; - try { - opts = getRequestOpts(self, requestArgs, spec, overrideData); - } catch (err) { - reject(err); - return; - } - - function requestCallback(err, response) { - if (err) { - reject(err); - } else { - resolve( - spec.transformResponseData - ? spec.transformResponseData(response) - : response - ); - } - } - - const emptyQuery = Object.keys(opts.queryData).length === 0; - const path = [ - opts.requestPath, - emptyQuery ? '' : '?', - utils.stringifyRequestData(opts.queryData), - ].join(''); - - const {headers, settings} = opts; - - self._request( - opts.requestMethod, - opts.host, - path, - opts.bodyData, - opts.auth, - {headers, settings}, - requestCallback - ); - }); -} - -module.exports = makeRequest; diff --git a/node_modules/stripe/lib/multipart.js b/node_modules/stripe/lib/multipart.js deleted file mode 100644 index 90682aed..00000000 --- a/node_modules/stripe/lib/multipart.js +++ /dev/null @@ -1,96 +0,0 @@ -'use strict'; - -const utils = require('./utils'); -const {StripeError} = require('./Error'); - -class StreamProcessingError extends StripeError {} - -// Method for formatting HTTP body for the multipart/form-data specification -// Mostly taken from Fermata.js -// https://github.com/natevw/fermata/blob/5d9732a33d776ce925013a265935facd1626cc88/fermata.js#L315-L343 -const multipartDataGenerator = (method, data, headers) => { - const segno = ( - Math.round(Math.random() * 1e16) + Math.round(Math.random() * 1e16) - ).toString(); - headers['Content-Type'] = `multipart/form-data; boundary=${segno}`; - let buffer = Buffer.alloc(0); - - function push(l) { - const prevBuffer = buffer; - const newBuffer = l instanceof Buffer ? l : Buffer.from(l); - buffer = Buffer.alloc(prevBuffer.length + newBuffer.length + 2); - prevBuffer.copy(buffer); - newBuffer.copy(buffer, prevBuffer.length); - buffer.write('\r\n', buffer.length - 2); - } - - function q(s) { - return `"${s.replace(/"|"/g, '%22').replace(/\r\n|\r|\n/g, ' ')}"`; - } - - const flattenedData = utils.flattenAndStringify(data); - - for (const k in flattenedData) { - const v = flattenedData[k]; - push(`--${segno}`); - if (v.hasOwnProperty('data')) { - push( - `Content-Disposition: form-data; name=${q(k)}; filename=${q( - v.name || 'blob' - )}` - ); - push(`Content-Type: ${v.type || 'application/octet-stream'}`); - push(''); - push(v.data); - } else { - push(`Content-Disposition: form-data; name=${q(k)}`); - push(''); - push(v); - } - } - push(`--${segno}--`); - - return buffer; -}; - -const streamProcessor = (method, data, headers, callback) => { - const bufferArray = []; - data.file.data - .on('data', (line) => { - bufferArray.push(line); - }) - .once('end', () => { - const bufferData = Object.assign({}, data); - bufferData.file.data = Buffer.concat(bufferArray); - const buffer = multipartDataGenerator(method, bufferData, headers); - callback(null, buffer); - }) - .on('error', (err) => { - callback( - new StreamProcessingError({ - message: - 'An error occurred while attempting to process the file for upload.', - detail: err, - }), - null - ); - }); -}; - -const multipartRequestDataProcessor = (method, data, headers, callback) => { - data = data || {}; - - if (method !== 'POST') { - return callback(null, utils.stringifyRequestData(data)); - } - - const isStream = utils.checkForStream(data); - if (isStream) { - return streamProcessor(method, data, headers, callback); - } - - const buffer = multipartDataGenerator(method, data, headers); - return callback(null, buffer); -}; - -module.exports.multipartRequestDataProcessor = multipartRequestDataProcessor; diff --git a/node_modules/stripe/lib/resources.js b/node_modules/stripe/lib/resources.js deleted file mode 100644 index 3ae0948b..00000000 --- a/node_modules/stripe/lib/resources.js +++ /dev/null @@ -1,85 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const resourceNamespace = require('./ResourceNamespace'); - -module.exports = { - Accounts: require('./resources/Accounts'), - // Support Accounts for consistency, Account for backwards compatibility - Account: require('./resources/Accounts'), - AccountLinks: require('./resources/AccountLinks'), - ApplePayDomains: require('./resources/ApplePayDomains'), - ApplicationFees: require('./resources/ApplicationFees'), - Balance: require('./resources/Balance'), - BalanceTransactions: require('./resources/BalanceTransactions'), - Charges: require('./resources/Charges'), - CountrySpecs: require('./resources/CountrySpecs'), - Coupons: require('./resources/Coupons'), - CreditNotes: require('./resources/CreditNotes'), - Customers: require('./resources/Customers'), - Disputes: require('./resources/Disputes'), - EphemeralKeys: require('./resources/EphemeralKeys'), - Events: require('./resources/Events'), - ExchangeRates: require('./resources/ExchangeRates'), - Files: require('./resources/Files'), - FileLinks: require('./resources/FileLinks'), - Invoices: require('./resources/Invoices'), - InvoiceItems: require('./resources/InvoiceItems'), - IssuerFraudRecords: require('./resources/IssuerFraudRecords'), - Mandates: require('./resources/Mandates'), - OAuth: require('./resources/OAuth'), - Orders: require('./resources/Orders'), - OrderReturns: require('./resources/OrderReturns'), - PaymentIntents: require('./resources/PaymentIntents'), - PaymentMethods: require('./resources/PaymentMethods'), - Payouts: require('./resources/Payouts'), - Plans: require('./resources/Plans'), - Prices: require('./resources/Prices'), - Products: require('./resources/Products'), - PromotionCodes: require('./resources/PromotionCodes'), - Refunds: require('./resources/Refunds'), - Reviews: require('./resources/Reviews'), - SetupAttempts: require('./resources/SetupAttempts'), - SetupIntents: require('./resources/SetupIntents'), - Skus: require('./resources/SKUs'), - Sources: require('./resources/Sources'), - Subscriptions: require('./resources/Subscriptions'), - SubscriptionItems: require('./resources/SubscriptionItems'), - SubscriptionSchedules: require('./resources/SubscriptionSchedules'), - TaxRates: require('./resources/TaxRates'), - Tokens: require('./resources/Tokens'), - Topups: require('./resources/Topups'), - Transfers: require('./resources/Transfers'), - WebhookEndpoints: require('./resources/WebhookEndpoints'), - BillingPortal: resourceNamespace('billingPortal', { - Sessions: require('./resources/BillingPortal/Sessions'), - }), - Checkout: resourceNamespace('checkout', { - Sessions: require('./resources/Checkout/Sessions'), - }), - Issuing: resourceNamespace('issuing', { - Authorizations: require('./resources/Issuing/Authorizations'), - Cards: require('./resources/Issuing/Cards'), - Cardholders: require('./resources/Issuing/Cardholders'), - Disputes: require('./resources/Issuing/Disputes'), - Transactions: require('./resources/Issuing/Transactions'), - }), - Radar: resourceNamespace('radar', { - EarlyFraudWarnings: require('./resources/Radar/EarlyFraudWarnings'), - ValueLists: require('./resources/Radar/ValueLists'), - ValueListItems: require('./resources/Radar/ValueListItems'), - }), - Reporting: resourceNamespace('reporting', { - ReportRuns: require('./resources/Reporting/ReportRuns'), - ReportTypes: require('./resources/Reporting/ReportTypes'), - }), - Sigma: resourceNamespace('sigma', { - ScheduledQueryRuns: require('./resources/Sigma/ScheduledQueryRuns'), - }), - Terminal: resourceNamespace('terminal', { - ConnectionTokens: require('./resources/Terminal/ConnectionTokens'), - Locations: require('./resources/Terminal/Locations'), - Readers: require('./resources/Terminal/Readers'), - }), -}; diff --git a/node_modules/stripe/lib/resources/AccountLinks.js b/node_modules/stripe/lib/resources/AccountLinks.js deleted file mode 100644 index 4d8769e1..00000000 --- a/node_modules/stripe/lib/resources/AccountLinks.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'account_links', - - includeBasic: ['create'], -}); diff --git a/node_modules/stripe/lib/resources/Accounts.js b/node_modules/stripe/lib/resources/Accounts.js deleted file mode 100644 index 7bbf8ef9..00000000 --- a/node_modules/stripe/lib/resources/Accounts.js +++ /dev/null @@ -1,130 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); -const stripeMethod = StripeResource.method; - -// Since path can either be `account` or `accounts`, support both through stripeMethod path; -module.exports = StripeResource.extend({ - path: '', - - create: stripeMethod({ - method: 'POST', - path: 'accounts', - }), - - retrieve(id) { - // No longer allow an api key to be passed as the first string to this function due to ambiguity between - // old account ids and api keys. To request the account for an api key, send null as the id - if (typeof id === 'string') { - return stripeMethod({ - method: 'GET', - path: 'accounts/{id}', - }).apply(this, arguments); - } else { - if (id === null || id === undefined) { - // Remove id as stripeMethod would complain of unexpected argument - [].shift.apply(arguments); - } - return stripeMethod({ - method: 'GET', - path: 'account', - }).apply(this, arguments); - } - }, - - update: stripeMethod({ - method: 'POST', - path: 'accounts/{account}', - }), - - list: stripeMethod({ - method: 'GET', - path: 'accounts', - methodType: 'list', - }), - - del: stripeMethod({ - method: 'DELETE', - path: 'accounts/{account}', - }), - - reject: stripeMethod({ - method: 'POST', - path: 'accounts/{account}/reject', - }), - - listCapabilities: stripeMethod({ - method: 'GET', - path: 'accounts/{account}/capabilities', - methodType: 'list', - }), - - retrieveCapability: stripeMethod({ - method: 'GET', - path: 'accounts/{account}/capabilities/{capability}', - }), - - updateCapability: stripeMethod({ - method: 'POST', - path: 'accounts/{account}/capabilities/{capability}', - }), - - createExternalAccount: stripeMethod({ - method: 'POST', - path: 'accounts/{account}/external_accounts', - }), - - deleteExternalAccount: stripeMethod({ - method: 'DELETE', - path: 'accounts/{account}/external_accounts/{id}', - }), - - listExternalAccounts: stripeMethod({ - method: 'GET', - path: 'accounts/{account}/external_accounts', - methodType: 'list', - }), - - retrieveExternalAccount: stripeMethod({ - method: 'GET', - path: 'accounts/{account}/external_accounts/{id}', - }), - - updateExternalAccount: stripeMethod({ - method: 'POST', - path: 'accounts/{account}/external_accounts/{id}', - }), - - createLoginLink: stripeMethod({ - method: 'POST', - path: 'accounts/{account}/login_links', - }), - - createPerson: stripeMethod({ - method: 'POST', - path: 'accounts/{account}/persons', - }), - - deletePerson: stripeMethod({ - method: 'DELETE', - path: 'accounts/{account}/persons/{person}', - }), - - listPersons: stripeMethod({ - method: 'GET', - path: 'accounts/{account}/persons', - methodType: 'list', - }), - - retrievePerson: stripeMethod({ - method: 'GET', - path: 'accounts/{account}/persons/{person}', - }), - - updatePerson: stripeMethod({ - method: 'POST', - path: 'accounts/{account}/persons/{person}', - }), -}); diff --git a/node_modules/stripe/lib/resources/ApplePayDomains.js b/node_modules/stripe/lib/resources/ApplePayDomains.js deleted file mode 100644 index 86fa7fde..00000000 --- a/node_modules/stripe/lib/resources/ApplePayDomains.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'apple_pay/domains', - - includeBasic: ['create', 'retrieve', 'list', 'del'], -}); diff --git a/node_modules/stripe/lib/resources/ApplicationFees.js b/node_modules/stripe/lib/resources/ApplicationFees.js deleted file mode 100644 index 55db59ce..00000000 --- a/node_modules/stripe/lib/resources/ApplicationFees.js +++ /dev/null @@ -1,33 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); -const stripeMethod = StripeResource.method; - -module.exports = StripeResource.extend({ - path: 'application_fees', - - includeBasic: ['retrieve', 'list'], - - createRefund: stripeMethod({ - method: 'POST', - path: '/{id}/refunds', - }), - - listRefunds: stripeMethod({ - method: 'GET', - path: '/{id}/refunds', - methodType: 'list', - }), - - retrieveRefund: stripeMethod({ - method: 'GET', - path: '/{fee}/refunds/{id}', - }), - - updateRefund: stripeMethod({ - method: 'POST', - path: '/{fee}/refunds/{id}', - }), -}); diff --git a/node_modules/stripe/lib/resources/Balance.js b/node_modules/stripe/lib/resources/Balance.js deleted file mode 100644 index ac7a9ae4..00000000 --- a/node_modules/stripe/lib/resources/Balance.js +++ /dev/null @@ -1,15 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); -const stripeMethod = StripeResource.method; - -module.exports = StripeResource.extend({ - path: 'balance', - - retrieve: stripeMethod({ - method: 'GET', - path: '', - }), -}); diff --git a/node_modules/stripe/lib/resources/BalanceTransactions.js b/node_modules/stripe/lib/resources/BalanceTransactions.js deleted file mode 100644 index 18ae4025..00000000 --- a/node_modules/stripe/lib/resources/BalanceTransactions.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'balance_transactions', - - includeBasic: ['retrieve', 'list'], -}); diff --git a/node_modules/stripe/lib/resources/BillingPortal/Sessions.js b/node_modules/stripe/lib/resources/BillingPortal/Sessions.js deleted file mode 100644 index 1d294847..00000000 --- a/node_modules/stripe/lib/resources/BillingPortal/Sessions.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'billing_portal/sessions', - - includeBasic: ['create'], -}); diff --git a/node_modules/stripe/lib/resources/Charges.js b/node_modules/stripe/lib/resources/Charges.js deleted file mode 100644 index 901ab1af..00000000 --- a/node_modules/stripe/lib/resources/Charges.js +++ /dev/null @@ -1,17 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); -const stripeMethod = StripeResource.method; - -module.exports = StripeResource.extend({ - path: 'charges', - - includeBasic: ['create', 'retrieve', 'update', 'list'], - - capture: stripeMethod({ - method: 'POST', - path: '/{charge}/capture', - }), -}); diff --git a/node_modules/stripe/lib/resources/Checkout/Sessions.js b/node_modules/stripe/lib/resources/Checkout/Sessions.js deleted file mode 100644 index 46a30898..00000000 --- a/node_modules/stripe/lib/resources/Checkout/Sessions.js +++ /dev/null @@ -1,18 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../../StripeResource'); -const stripeMethod = StripeResource.method; - -module.exports = StripeResource.extend({ - path: 'checkout/sessions', - - includeBasic: ['create', 'retrieve', 'list'], - - listLineItems: stripeMethod({ - method: 'GET', - path: '/{session}/line_items', - methodType: 'list', - }), -}); diff --git a/node_modules/stripe/lib/resources/CountrySpecs.js b/node_modules/stripe/lib/resources/CountrySpecs.js deleted file mode 100644 index bf541db2..00000000 --- a/node_modules/stripe/lib/resources/CountrySpecs.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'country_specs', - - includeBasic: ['retrieve', 'list'], -}); diff --git a/node_modules/stripe/lib/resources/Coupons.js b/node_modules/stripe/lib/resources/Coupons.js deleted file mode 100644 index 4787164c..00000000 --- a/node_modules/stripe/lib/resources/Coupons.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'coupons', - - includeBasic: ['create', 'retrieve', 'update', 'list', 'del'], -}); diff --git a/node_modules/stripe/lib/resources/CreditNotes.js b/node_modules/stripe/lib/resources/CreditNotes.js deleted file mode 100644 index 735f1746..00000000 --- a/node_modules/stripe/lib/resources/CreditNotes.js +++ /dev/null @@ -1,34 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); -const stripeMethod = StripeResource.method; - -module.exports = StripeResource.extend({ - path: 'credit_notes', - - includeBasic: ['create', 'retrieve', 'update', 'list'], - - preview: stripeMethod({ - method: 'GET', - path: '/preview', - }), - - voidCreditNote: stripeMethod({ - method: 'POST', - path: '/{id}/void', - }), - - listLineItems: stripeMethod({ - method: 'GET', - path: '/{creditNote}/lines', - methodType: 'list', - }), - - listPreviewLineItems: stripeMethod({ - method: 'GET', - path: '/preview/lines', - methodType: 'list', - }), -}); diff --git a/node_modules/stripe/lib/resources/Customers.js b/node_modules/stripe/lib/resources/Customers.js deleted file mode 100644 index d8eac559..00000000 --- a/node_modules/stripe/lib/resources/Customers.js +++ /dev/null @@ -1,90 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); -const stripeMethod = StripeResource.method; - -module.exports = StripeResource.extend({ - path: 'customers', - - includeBasic: ['create', 'retrieve', 'update', 'list', 'del'], - - deleteDiscount: stripeMethod({ - method: 'DELETE', - path: '/{customer}/discount', - }), - - createBalanceTransaction: stripeMethod({ - method: 'POST', - path: '/{customer}/balance_transactions', - }), - - listBalanceTransactions: stripeMethod({ - method: 'GET', - path: '/{customer}/balance_transactions', - methodType: 'list', - }), - - retrieveBalanceTransaction: stripeMethod({ - method: 'GET', - path: '/{customer}/balance_transactions/{transaction}', - }), - - updateBalanceTransaction: stripeMethod({ - method: 'POST', - path: '/{customer}/balance_transactions/{transaction}', - }), - - createSource: stripeMethod({ - method: 'POST', - path: '/{customer}/sources', - }), - - listSources: stripeMethod({ - method: 'GET', - path: '/{customer}/sources', - methodType: 'list', - }), - - retrieveSource: stripeMethod({ - method: 'GET', - path: '/{customer}/sources/{id}', - }), - - updateSource: stripeMethod({ - method: 'POST', - path: '/{customer}/sources/{id}', - }), - - deleteSource: stripeMethod({ - method: 'DELETE', - path: '/{customer}/sources/{id}', - }), - - verifySource: stripeMethod({ - method: 'POST', - path: '/{customer}/sources/{id}/verify', - }), - - createTaxId: stripeMethod({ - method: 'POST', - path: '/{customer}/tax_ids', - }), - - deleteTaxId: stripeMethod({ - method: 'DELETE', - path: '/{customer}/tax_ids/{id}', - }), - - listTaxIds: stripeMethod({ - method: 'GET', - path: '/{customer}/tax_ids', - methodType: 'list', - }), - - retrieveTaxId: stripeMethod({ - method: 'GET', - path: '/{customer}/tax_ids/{id}', - }), -}); diff --git a/node_modules/stripe/lib/resources/Disputes.js b/node_modules/stripe/lib/resources/Disputes.js deleted file mode 100644 index e9ac3b74..00000000 --- a/node_modules/stripe/lib/resources/Disputes.js +++ /dev/null @@ -1,17 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); -const stripeMethod = StripeResource.method; - -module.exports = StripeResource.extend({ - path: 'disputes', - - includeBasic: ['retrieve', 'update', 'list'], - - close: stripeMethod({ - method: 'POST', - path: '/{dispute}/close', - }), -}); diff --git a/node_modules/stripe/lib/resources/EphemeralKeys.js b/node_modules/stripe/lib/resources/EphemeralKeys.js deleted file mode 100644 index 6db8357f..00000000 --- a/node_modules/stripe/lib/resources/EphemeralKeys.js +++ /dev/null @@ -1,24 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); -const stripeMethod = StripeResource.method; - -module.exports = StripeResource.extend({ - path: 'ephemeral_keys', - - includeBasic: ['del'], - - create: stripeMethod({ - method: 'POST', - path: '', - validator: (data, options) => { - if (!options.headers || !options.headers['Stripe-Version']) { - throw new Error( - 'stripe_version must be specified to create an ephemeral key' - ); - } - }, - }), -}); diff --git a/node_modules/stripe/lib/resources/Events.js b/node_modules/stripe/lib/resources/Events.js deleted file mode 100644 index 4c31e5f6..00000000 --- a/node_modules/stripe/lib/resources/Events.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'events', - - includeBasic: ['retrieve', 'list'], -}); diff --git a/node_modules/stripe/lib/resources/ExchangeRates.js b/node_modules/stripe/lib/resources/ExchangeRates.js deleted file mode 100644 index df3f658a..00000000 --- a/node_modules/stripe/lib/resources/ExchangeRates.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'exchange_rates', - - includeBasic: ['retrieve', 'list'], -}); diff --git a/node_modules/stripe/lib/resources/FileLinks.js b/node_modules/stripe/lib/resources/FileLinks.js deleted file mode 100644 index 7cdcfec5..00000000 --- a/node_modules/stripe/lib/resources/FileLinks.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'file_links', - - includeBasic: ['create', 'retrieve', 'update', 'list'], -}); diff --git a/node_modules/stripe/lib/resources/Files.js b/node_modules/stripe/lib/resources/Files.js deleted file mode 100644 index a407079f..00000000 --- a/node_modules/stripe/lib/resources/Files.js +++ /dev/null @@ -1,23 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const {multipartRequestDataProcessor} = require('../multipart'); -const StripeResource = require('../StripeResource'); -const stripeMethod = StripeResource.method; - -module.exports = StripeResource.extend({ - path: 'files', - - includeBasic: ['retrieve', 'list'], - - create: stripeMethod({ - method: 'POST', - headers: { - 'Content-Type': 'multipart/form-data', - }, - host: 'files.stripe.com', - }), - - requestDataProcessor: multipartRequestDataProcessor, -}); diff --git a/node_modules/stripe/lib/resources/InvoiceItems.js b/node_modules/stripe/lib/resources/InvoiceItems.js deleted file mode 100644 index b6a36e07..00000000 --- a/node_modules/stripe/lib/resources/InvoiceItems.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'invoiceitems', - - includeBasic: ['create', 'retrieve', 'update', 'list', 'del'], -}); diff --git a/node_modules/stripe/lib/resources/Invoices.js b/node_modules/stripe/lib/resources/Invoices.js deleted file mode 100644 index 03bf3f60..00000000 --- a/node_modules/stripe/lib/resources/Invoices.js +++ /dev/null @@ -1,54 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); -const stripeMethod = StripeResource.method; - -module.exports = StripeResource.extend({ - path: 'invoices', - - includeBasic: ['create', 'retrieve', 'update', 'list', 'del'], - - finalizeInvoice: stripeMethod({ - method: 'POST', - path: '/{invoice}/finalize', - }), - - markUncollectible: stripeMethod({ - method: 'POST', - path: '/{invoice}/mark_uncollectible', - }), - - pay: stripeMethod({ - method: 'POST', - path: '/{invoice}/pay', - }), - - retrieveUpcoming: stripeMethod({ - method: 'GET', - path: '/upcoming', - }), - - sendInvoice: stripeMethod({ - method: 'POST', - path: '/{invoice}/send', - }), - - voidInvoice: stripeMethod({ - method: 'POST', - path: '/{invoice}/void', - }), - - listLineItems: stripeMethod({ - method: 'GET', - path: '/{invoice}/lines', - methodType: 'list', - }), - - listUpcomingLineItems: stripeMethod({ - method: 'GET', - path: '/upcoming/lines', - methodType: 'list', - }), -}); diff --git a/node_modules/stripe/lib/resources/IssuerFraudRecords.js b/node_modules/stripe/lib/resources/IssuerFraudRecords.js deleted file mode 100644 index b41669c5..00000000 --- a/node_modules/stripe/lib/resources/IssuerFraudRecords.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'issuer_fraud_records', - - includeBasic: ['retrieve', 'list'], -}); diff --git a/node_modules/stripe/lib/resources/Issuing/Authorizations.js b/node_modules/stripe/lib/resources/Issuing/Authorizations.js deleted file mode 100644 index d10043ec..00000000 --- a/node_modules/stripe/lib/resources/Issuing/Authorizations.js +++ /dev/null @@ -1,22 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../../StripeResource'); -const stripeMethod = StripeResource.method; - -module.exports = StripeResource.extend({ - path: 'issuing/authorizations', - - includeBasic: ['retrieve', 'update', 'list'], - - approve: stripeMethod({ - method: 'POST', - path: '/{authorization}/approve', - }), - - decline: stripeMethod({ - method: 'POST', - path: '/{authorization}/decline', - }), -}); diff --git a/node_modules/stripe/lib/resources/Issuing/Cardholders.js b/node_modules/stripe/lib/resources/Issuing/Cardholders.js deleted file mode 100644 index 0c4e9682..00000000 --- a/node_modules/stripe/lib/resources/Issuing/Cardholders.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'issuing/cardholders', - - includeBasic: ['create', 'retrieve', 'update', 'list'], -}); diff --git a/node_modules/stripe/lib/resources/Issuing/Cards.js b/node_modules/stripe/lib/resources/Issuing/Cards.js deleted file mode 100644 index 92594a2f..00000000 --- a/node_modules/stripe/lib/resources/Issuing/Cards.js +++ /dev/null @@ -1,17 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../../StripeResource'); -const stripeMethod = StripeResource.method; - -module.exports = StripeResource.extend({ - path: 'issuing/cards', - - includeBasic: ['create', 'retrieve', 'update', 'list'], - - retrieveDetails: stripeMethod({ - method: 'GET', - path: '/{card}/details', - }), -}); diff --git a/node_modules/stripe/lib/resources/Issuing/Disputes.js b/node_modules/stripe/lib/resources/Issuing/Disputes.js deleted file mode 100644 index a2f169ec..00000000 --- a/node_modules/stripe/lib/resources/Issuing/Disputes.js +++ /dev/null @@ -1,17 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../../StripeResource'); -const stripeMethod = StripeResource.method; - -module.exports = StripeResource.extend({ - path: 'issuing/disputes', - - includeBasic: ['create', 'retrieve', 'update', 'list'], - - submit: stripeMethod({ - method: 'POST', - path: '/{dispute}/submit', - }), -}); diff --git a/node_modules/stripe/lib/resources/Issuing/Transactions.js b/node_modules/stripe/lib/resources/Issuing/Transactions.js deleted file mode 100644 index f7c15b7b..00000000 --- a/node_modules/stripe/lib/resources/Issuing/Transactions.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'issuing/transactions', - - includeBasic: ['retrieve', 'update', 'list'], -}); diff --git a/node_modules/stripe/lib/resources/Mandates.js b/node_modules/stripe/lib/resources/Mandates.js deleted file mode 100644 index 103ebbac..00000000 --- a/node_modules/stripe/lib/resources/Mandates.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'mandates', - - includeBasic: ['retrieve'], -}); diff --git a/node_modules/stripe/lib/resources/OAuth.js b/node_modules/stripe/lib/resources/OAuth.js deleted file mode 100644 index 70ce4a23..00000000 --- a/node_modules/stripe/lib/resources/OAuth.js +++ /dev/null @@ -1,55 +0,0 @@ -'use strict'; - -const StripeResource = require('../StripeResource'); -const stripeMethod = StripeResource.method; -const utils = require('../utils'); - -const oAuthHost = 'connect.stripe.com'; - -module.exports = StripeResource.extend({ - basePath: '/', - - authorizeUrl(params, options) { - params = params || {}; - options = options || {}; - - let path = 'oauth/authorize'; - - // For Express accounts, the path changes - if (options.express) { - path = `express/${path}`; - } - - if (!params.response_type) { - params.response_type = 'code'; - } - - if (!params.client_id) { - params.client_id = this._stripe.getClientId(); - } - - if (!params.scope) { - params.scope = 'read_write'; - } - - return `https://${oAuthHost}/${path}?${utils.stringifyRequestData(params)}`; - }, - - token: stripeMethod({ - method: 'POST', - path: 'oauth/token', - host: oAuthHost, - }), - - deauthorize(spec) { - if (!spec.client_id) { - spec.client_id = this._stripe.getClientId(); - } - - return stripeMethod({ - method: 'POST', - path: 'oauth/deauthorize', - host: oAuthHost, - }).apply(this, arguments); - }, -}); diff --git a/node_modules/stripe/lib/resources/OrderReturns.js b/node_modules/stripe/lib/resources/OrderReturns.js deleted file mode 100644 index b4297f82..00000000 --- a/node_modules/stripe/lib/resources/OrderReturns.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'order_returns', - - includeBasic: ['retrieve', 'list'], -}); diff --git a/node_modules/stripe/lib/resources/Orders.js b/node_modules/stripe/lib/resources/Orders.js deleted file mode 100644 index 9033abad..00000000 --- a/node_modules/stripe/lib/resources/Orders.js +++ /dev/null @@ -1,22 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); -const stripeMethod = StripeResource.method; - -module.exports = StripeResource.extend({ - path: 'orders', - - includeBasic: ['create', 'retrieve', 'update', 'list'], - - pay: stripeMethod({ - method: 'POST', - path: '/{id}/pay', - }), - - returnOrder: stripeMethod({ - method: 'POST', - path: '/{id}/returns', - }), -}); diff --git a/node_modules/stripe/lib/resources/PaymentIntents.js b/node_modules/stripe/lib/resources/PaymentIntents.js deleted file mode 100644 index d99b43b1..00000000 --- a/node_modules/stripe/lib/resources/PaymentIntents.js +++ /dev/null @@ -1,27 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); -const stripeMethod = StripeResource.method; - -module.exports = StripeResource.extend({ - path: 'payment_intents', - - includeBasic: ['create', 'retrieve', 'update', 'list'], - - cancel: stripeMethod({ - method: 'POST', - path: '/{intent}/cancel', - }), - - capture: stripeMethod({ - method: 'POST', - path: '/{intent}/capture', - }), - - confirm: stripeMethod({ - method: 'POST', - path: '/{intent}/confirm', - }), -}); diff --git a/node_modules/stripe/lib/resources/PaymentMethods.js b/node_modules/stripe/lib/resources/PaymentMethods.js deleted file mode 100644 index f08d8427..00000000 --- a/node_modules/stripe/lib/resources/PaymentMethods.js +++ /dev/null @@ -1,22 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); -const stripeMethod = StripeResource.method; - -module.exports = StripeResource.extend({ - path: 'payment_methods', - - includeBasic: ['create', 'retrieve', 'update', 'list'], - - attach: stripeMethod({ - method: 'POST', - path: '/{paymentMethod}/attach', - }), - - detach: stripeMethod({ - method: 'POST', - path: '/{paymentMethod}/detach', - }), -}); diff --git a/node_modules/stripe/lib/resources/Payouts.js b/node_modules/stripe/lib/resources/Payouts.js deleted file mode 100644 index df134c5a..00000000 --- a/node_modules/stripe/lib/resources/Payouts.js +++ /dev/null @@ -1,22 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); -const stripeMethod = StripeResource.method; - -module.exports = StripeResource.extend({ - path: 'payouts', - - includeBasic: ['create', 'retrieve', 'update', 'list'], - - cancel: stripeMethod({ - method: 'POST', - path: '/{payout}/cancel', - }), - - reverse: stripeMethod({ - method: 'POST', - path: '/{payout}/reverse', - }), -}); diff --git a/node_modules/stripe/lib/resources/Plans.js b/node_modules/stripe/lib/resources/Plans.js deleted file mode 100644 index 51900780..00000000 --- a/node_modules/stripe/lib/resources/Plans.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'plans', - - includeBasic: ['create', 'retrieve', 'update', 'list', 'del'], -}); diff --git a/node_modules/stripe/lib/resources/Prices.js b/node_modules/stripe/lib/resources/Prices.js deleted file mode 100644 index 59db3192..00000000 --- a/node_modules/stripe/lib/resources/Prices.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'prices', - - includeBasic: ['create', 'retrieve', 'update', 'list'], -}); diff --git a/node_modules/stripe/lib/resources/Products.js b/node_modules/stripe/lib/resources/Products.js deleted file mode 100644 index f4af5a20..00000000 --- a/node_modules/stripe/lib/resources/Products.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'products', - - includeBasic: ['create', 'retrieve', 'update', 'list', 'del'], -}); diff --git a/node_modules/stripe/lib/resources/PromotionCodes.js b/node_modules/stripe/lib/resources/PromotionCodes.js deleted file mode 100644 index 9fe56a11..00000000 --- a/node_modules/stripe/lib/resources/PromotionCodes.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'promotion_codes', - - includeBasic: ['create', 'retrieve', 'update', 'list'], -}); diff --git a/node_modules/stripe/lib/resources/Radar/EarlyFraudWarnings.js b/node_modules/stripe/lib/resources/Radar/EarlyFraudWarnings.js deleted file mode 100644 index 33bad28c..00000000 --- a/node_modules/stripe/lib/resources/Radar/EarlyFraudWarnings.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'radar/early_fraud_warnings', - - includeBasic: ['retrieve', 'list'], -}); diff --git a/node_modules/stripe/lib/resources/Radar/ValueListItems.js b/node_modules/stripe/lib/resources/Radar/ValueListItems.js deleted file mode 100644 index 908c760e..00000000 --- a/node_modules/stripe/lib/resources/Radar/ValueListItems.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'radar/value_list_items', - - includeBasic: ['create', 'retrieve', 'list', 'del'], -}); diff --git a/node_modules/stripe/lib/resources/Radar/ValueLists.js b/node_modules/stripe/lib/resources/Radar/ValueLists.js deleted file mode 100644 index 38192f8b..00000000 --- a/node_modules/stripe/lib/resources/Radar/ValueLists.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'radar/value_lists', - - includeBasic: ['create', 'retrieve', 'update', 'list', 'del'], -}); diff --git a/node_modules/stripe/lib/resources/Refunds.js b/node_modules/stripe/lib/resources/Refunds.js deleted file mode 100644 index 2ec7b90a..00000000 --- a/node_modules/stripe/lib/resources/Refunds.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'refunds', - - includeBasic: ['create', 'retrieve', 'update', 'list'], -}); diff --git a/node_modules/stripe/lib/resources/Reporting/ReportRuns.js b/node_modules/stripe/lib/resources/Reporting/ReportRuns.js deleted file mode 100644 index 895a5fda..00000000 --- a/node_modules/stripe/lib/resources/Reporting/ReportRuns.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'reporting/report_runs', - - includeBasic: ['create', 'retrieve', 'list'], -}); diff --git a/node_modules/stripe/lib/resources/Reporting/ReportTypes.js b/node_modules/stripe/lib/resources/Reporting/ReportTypes.js deleted file mode 100644 index bd51d34a..00000000 --- a/node_modules/stripe/lib/resources/Reporting/ReportTypes.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'reporting/report_types', - - includeBasic: ['retrieve', 'list'], -}); diff --git a/node_modules/stripe/lib/resources/Reviews.js b/node_modules/stripe/lib/resources/Reviews.js deleted file mode 100644 index 003368ba..00000000 --- a/node_modules/stripe/lib/resources/Reviews.js +++ /dev/null @@ -1,17 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); -const stripeMethod = StripeResource.method; - -module.exports = StripeResource.extend({ - path: 'reviews', - - includeBasic: ['retrieve', 'list'], - - approve: stripeMethod({ - method: 'POST', - path: '/{review}/approve', - }), -}); diff --git a/node_modules/stripe/lib/resources/SKUs.js b/node_modules/stripe/lib/resources/SKUs.js deleted file mode 100644 index 83dd16ac..00000000 --- a/node_modules/stripe/lib/resources/SKUs.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'skus', - - includeBasic: ['create', 'retrieve', 'update', 'list', 'del'], -}); diff --git a/node_modules/stripe/lib/resources/SetupAttempts.js b/node_modules/stripe/lib/resources/SetupAttempts.js deleted file mode 100644 index 3d24d9f3..00000000 --- a/node_modules/stripe/lib/resources/SetupAttempts.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'setup_attempts', - - includeBasic: ['list'], -}); diff --git a/node_modules/stripe/lib/resources/SetupIntents.js b/node_modules/stripe/lib/resources/SetupIntents.js deleted file mode 100644 index ff22fe5b..00000000 --- a/node_modules/stripe/lib/resources/SetupIntents.js +++ /dev/null @@ -1,22 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); -const stripeMethod = StripeResource.method; - -module.exports = StripeResource.extend({ - path: 'setup_intents', - - includeBasic: ['create', 'retrieve', 'update', 'list'], - - cancel: stripeMethod({ - method: 'POST', - path: '/{intent}/cancel', - }), - - confirm: stripeMethod({ - method: 'POST', - path: '/{intent}/confirm', - }), -}); diff --git a/node_modules/stripe/lib/resources/Sigma/ScheduledQueryRuns.js b/node_modules/stripe/lib/resources/Sigma/ScheduledQueryRuns.js deleted file mode 100644 index 4c8a0999..00000000 --- a/node_modules/stripe/lib/resources/Sigma/ScheduledQueryRuns.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'sigma/scheduled_query_runs', - - includeBasic: ['retrieve', 'list'], -}); diff --git a/node_modules/stripe/lib/resources/Sources.js b/node_modules/stripe/lib/resources/Sources.js deleted file mode 100644 index f1fd8538..00000000 --- a/node_modules/stripe/lib/resources/Sources.js +++ /dev/null @@ -1,23 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); -const stripeMethod = StripeResource.method; - -module.exports = StripeResource.extend({ - path: 'sources', - - includeBasic: ['create', 'retrieve', 'update'], - - listSourceTransactions: stripeMethod({ - method: 'GET', - path: '/{source}/source_transactions', - methodType: 'list', - }), - - verify: stripeMethod({ - method: 'POST', - path: '/{source}/verify', - }), -}); diff --git a/node_modules/stripe/lib/resources/SubscriptionItems.js b/node_modules/stripe/lib/resources/SubscriptionItems.js deleted file mode 100644 index 74a90858..00000000 --- a/node_modules/stripe/lib/resources/SubscriptionItems.js +++ /dev/null @@ -1,23 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); -const stripeMethod = StripeResource.method; - -module.exports = StripeResource.extend({ - path: 'subscription_items', - - includeBasic: ['create', 'retrieve', 'update', 'list', 'del'], - - createUsageRecord: stripeMethod({ - method: 'POST', - path: '/{subscriptionItem}/usage_records', - }), - - listUsageRecordSummaries: stripeMethod({ - method: 'GET', - path: '/{subscriptionItem}/usage_record_summaries', - methodType: 'list', - }), -}); diff --git a/node_modules/stripe/lib/resources/SubscriptionSchedules.js b/node_modules/stripe/lib/resources/SubscriptionSchedules.js deleted file mode 100644 index 9eabb142..00000000 --- a/node_modules/stripe/lib/resources/SubscriptionSchedules.js +++ /dev/null @@ -1,22 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); -const stripeMethod = StripeResource.method; - -module.exports = StripeResource.extend({ - path: 'subscription_schedules', - - includeBasic: ['create', 'retrieve', 'update', 'list'], - - cancel: stripeMethod({ - method: 'POST', - path: '/{schedule}/cancel', - }), - - release: stripeMethod({ - method: 'POST', - path: '/{schedule}/release', - }), -}); diff --git a/node_modules/stripe/lib/resources/Subscriptions.js b/node_modules/stripe/lib/resources/Subscriptions.js deleted file mode 100644 index b701e45a..00000000 --- a/node_modules/stripe/lib/resources/Subscriptions.js +++ /dev/null @@ -1,17 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); -const stripeMethod = StripeResource.method; - -module.exports = StripeResource.extend({ - path: 'subscriptions', - - includeBasic: ['create', 'retrieve', 'update', 'list', 'del'], - - deleteDiscount: stripeMethod({ - method: 'DELETE', - path: '/{subscriptionExposedId}/discount', - }), -}); diff --git a/node_modules/stripe/lib/resources/TaxRates.js b/node_modules/stripe/lib/resources/TaxRates.js deleted file mode 100644 index 041ac456..00000000 --- a/node_modules/stripe/lib/resources/TaxRates.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'tax_rates', - - includeBasic: ['create', 'retrieve', 'update', 'list'], -}); diff --git a/node_modules/stripe/lib/resources/Terminal/ConnectionTokens.js b/node_modules/stripe/lib/resources/Terminal/ConnectionTokens.js deleted file mode 100644 index eee06765..00000000 --- a/node_modules/stripe/lib/resources/Terminal/ConnectionTokens.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'terminal/connection_tokens', - - includeBasic: ['create'], -}); diff --git a/node_modules/stripe/lib/resources/Terminal/Locations.js b/node_modules/stripe/lib/resources/Terminal/Locations.js deleted file mode 100644 index cb216923..00000000 --- a/node_modules/stripe/lib/resources/Terminal/Locations.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'terminal/locations', - - includeBasic: ['create', 'retrieve', 'update', 'list', 'del'], -}); diff --git a/node_modules/stripe/lib/resources/Terminal/Readers.js b/node_modules/stripe/lib/resources/Terminal/Readers.js deleted file mode 100644 index be5f1348..00000000 --- a/node_modules/stripe/lib/resources/Terminal/Readers.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'terminal/readers', - - includeBasic: ['create', 'retrieve', 'update', 'list', 'del'], -}); diff --git a/node_modules/stripe/lib/resources/Tokens.js b/node_modules/stripe/lib/resources/Tokens.js deleted file mode 100644 index 35344090..00000000 --- a/node_modules/stripe/lib/resources/Tokens.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'tokens', - - includeBasic: ['create', 'retrieve'], -}); diff --git a/node_modules/stripe/lib/resources/Topups.js b/node_modules/stripe/lib/resources/Topups.js deleted file mode 100644 index f80dc773..00000000 --- a/node_modules/stripe/lib/resources/Topups.js +++ /dev/null @@ -1,17 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); -const stripeMethod = StripeResource.method; - -module.exports = StripeResource.extend({ - path: 'topups', - - includeBasic: ['create', 'retrieve', 'update', 'list'], - - cancel: stripeMethod({ - method: 'POST', - path: '/{topup}/cancel', - }), -}); diff --git a/node_modules/stripe/lib/resources/Transfers.js b/node_modules/stripe/lib/resources/Transfers.js deleted file mode 100644 index 84e77d96..00000000 --- a/node_modules/stripe/lib/resources/Transfers.js +++ /dev/null @@ -1,33 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); -const stripeMethod = StripeResource.method; - -module.exports = StripeResource.extend({ - path: 'transfers', - - includeBasic: ['create', 'retrieve', 'update', 'list'], - - createReversal: stripeMethod({ - method: 'POST', - path: '/{id}/reversals', - }), - - listReversals: stripeMethod({ - method: 'GET', - path: '/{id}/reversals', - methodType: 'list', - }), - - retrieveReversal: stripeMethod({ - method: 'GET', - path: '/{transfer}/reversals/{id}', - }), - - updateReversal: stripeMethod({ - method: 'POST', - path: '/{transfer}/reversals/{id}', - }), -}); diff --git a/node_modules/stripe/lib/resources/WebhookEndpoints.js b/node_modules/stripe/lib/resources/WebhookEndpoints.js deleted file mode 100644 index e026cf13..00000000 --- a/node_modules/stripe/lib/resources/WebhookEndpoints.js +++ /dev/null @@ -1,11 +0,0 @@ -// File generated from our OpenAPI spec - -'use strict'; - -const StripeResource = require('../StripeResource'); - -module.exports = StripeResource.extend({ - path: 'webhook_endpoints', - - includeBasic: ['create', 'retrieve', 'update', 'list', 'del'], -}); diff --git a/node_modules/stripe/lib/stripe.js b/node_modules/stripe/lib/stripe.js deleted file mode 100644 index b330b844..00000000 --- a/node_modules/stripe/lib/stripe.js +++ /dev/null @@ -1,548 +0,0 @@ -'use strict'; - -const resources = require('./resources'); - -const DEFAULT_HOST = 'api.stripe.com'; -const DEFAULT_PORT = '443'; -const DEFAULT_BASE_PATH = '/v1/'; -const DEFAULT_API_VERSION = null; - -const DEFAULT_TIMEOUT = 80000; - -Stripe.PACKAGE_VERSION = require('../package.json').version; - -Stripe.USER_AGENT = { - bindings_version: Stripe.PACKAGE_VERSION, - lang: 'node', - lang_version: process.version, - platform: process.platform, - publisher: 'stripe', - uname: null, - typescript: false, -}; - -Stripe.USER_AGENT_SERIALIZED = null; - -const MAX_NETWORK_RETRY_DELAY_SEC = 2; -const INITIAL_NETWORK_RETRY_DELAY_SEC = 0.5; - -const APP_INFO_PROPERTIES = ['name', 'version', 'url', 'partner_id']; -const ALLOWED_CONFIG_PROPERTIES = [ - 'apiVersion', - 'typescript', - 'maxNetworkRetries', - 'httpAgent', - 'timeout', - 'host', - 'port', - 'protocol', - 'telemetry', - 'appInfo', -]; - -const EventEmitter = require('events').EventEmitter; -const utils = require('./utils'); -const {emitWarning} = utils; - -Stripe.StripeResource = require('./StripeResource'); -Stripe.resources = resources; - -function Stripe(key, config = {}) { - if (!(this instanceof Stripe)) { - return new Stripe(key, config); - } - - const props = this._getPropsFromConfig(config); - - Object.defineProperty(this, '_emitter', { - value: new EventEmitter(), - enumerable: false, - configurable: false, - writable: false, - }); - - this.VERSION = Stripe.PACKAGE_VERSION; - - this.on = this._emitter.on.bind(this._emitter); - this.once = this._emitter.once.bind(this._emitter); - this.off = this._emitter.removeListener.bind(this._emitter); - - if ( - props.protocol && - props.protocol !== 'https' && - (!props.host || /\.stripe\.com$/.test(props.host)) - ) { - throw new Error( - 'The `https` protocol must be used when sending requests to `*.stripe.com`' - ); - } - - this._api = { - auth: null, - host: props.host || DEFAULT_HOST, - port: props.port || DEFAULT_PORT, - protocol: props.protocol || 'https', - basePath: DEFAULT_BASE_PATH, - version: props.apiVersion || DEFAULT_API_VERSION, - timeout: utils.validateInteger('timeout', props.timeout, DEFAULT_TIMEOUT), - maxNetworkRetries: utils.validateInteger( - 'maxNetworkRetries', - props.maxNetworkRetries, - 0 - ), - agent: props.httpAgent || null, - dev: false, - }; - - const typescript = props.typescript || false; - if (typescript !== Stripe.USER_AGENT.typescript) { - // The mutation here is uncomfortable, but likely fastest; - // serializing the user agent involves shelling out to the system, - // and given some users may instantiate the library many times without switching between TS and non-TS, - // we only want to incur the performance hit when that actually happens. - Stripe.USER_AGENT_SERIALIZED = null; - Stripe.USER_AGENT.typescript = typescript; - } - - if (props.appInfo) { - this._setAppInfo(props.appInfo); - } - - this._prepResources(); - this._setApiKey(key); - - this.errors = require('./Error'); - this.webhooks = require('./Webhooks'); - - this._prevRequestMetrics = []; - this._enableTelemetry = props.telemetry !== false; - - // Expose StripeResource on the instance too - this.StripeResource = Stripe.StripeResource; -} - -Stripe.errors = require('./Error'); -Stripe.webhooks = require('./Webhooks'); - -Stripe.prototype = { - /** - * @deprecated will be removed in a future major version. Use the config object instead: - * - * const stripe = new Stripe(API_KEY, { - * host: 'example.com', - * port: '8080', - * protocol: 'http', - * }); - * - */ - setHost(host, port, protocol) { - emitWarning( - '`setHost` is deprecated. Use the `host` config option instead.' - ); - this._setApiField('host', host); - if (port) { - this.setPort(port); - } - if (protocol) { - this.setProtocol(protocol); - } - }, - - /** - * @deprecated will be removed in a future major version. Use the config object instead: - * - * const stripe = new Stripe(API_KEY, { - * protocol: 'http', - * }); - * - */ - setProtocol(protocol) { - emitWarning( - '`setProtocol` is deprecated. Use the `protocol` config option instead.' - ); - this._setApiField('protocol', protocol.toLowerCase()); - }, - - /** - * @deprecated will be removed in a future major version. Use the config object instead: - * - * const stripe = new Stripe(API_KEY, { - * port: 3000, - * }); - * - */ - setPort(port) { - emitWarning( - '`setPort` is deprecated. Use the `port` config option instead.' - ); - this._setApiField('port', port); - }, - - /** - * @deprecated will be removed in a future major version. Use the config object instead: - * - * const stripe = new Stripe(API_KEY, { - * apiVersion: API_VERSION, - * }); - * - */ - setApiVersion(version) { - emitWarning( - '`setApiVersion` is deprecated. Use the `apiVersion` config or request option instead.' - ); - if (version) { - this._setApiField('version', version); - } - }, - - /** - * @deprecated will be removed in a future major version. Use the config object instead: - * - * const stripe = new Stripe(API_KEY); - * - * Or, for Stripe Connect, use `stripeAccount` instead: - * - * const stripe = new Stripe(API_KEY, { - * stripeAccount: 'acct_...', - * }); - * - * Or, to use a different apiKey on a given request: - * - * stripe.customers.create(params, {apiKey: 'sk_test_...'}); - */ - setApiKey(key) { - emitWarning( - '`setApiKey` is deprecated. Use the `apiKey` request option instead.' - ); - this._setApiKey(key); - }, - - /** - * @private - */ - _setApiKey(key) { - if (key) { - this._setApiField('auth', `Bearer ${key}`); - } - }, - - /** - * @deprecated will be removed in a future major version. Use the config object instead: - * - * const stripe = new Stripe(API_KEY, { - * timeout: TIMEOUT_MS, - * }); - */ - setTimeout(timeout) { - emitWarning( - '`setTimeout` is deprecated. Use the `timeout` config or request option instead.' - ); - this._setApiField('timeout', timeout == null ? DEFAULT_TIMEOUT : timeout); - }, - - /** - * @deprecated will be removed in a future major version. Use the config object instead: - * - * const stripe = new Stripe(API_KEY, { - * appInfo: { - * name: 'MyPlugin', - * version: '1.4.2', - * url: 'https://myplugin.com', - * partner_id: '1234', - * }, - * }); - */ - setAppInfo(info) { - emitWarning( - '`setAppInfo` is deprecated. Use the `appInfo` config option instead.' - ); - this._setAppInfo(info); - }, - - /** - * @private - * This may be removed in the future. - */ - _setAppInfo(info) { - if (info && typeof info !== 'object') { - throw new Error('AppInfo must be an object.'); - } - - if (info && !info.name) { - throw new Error('AppInfo.name is required'); - } - - info = info || {}; - - const appInfo = APP_INFO_PROPERTIES.reduce((accum, prop) => { - if (typeof info[prop] == 'string') { - accum = accum || {}; - - accum[prop] = info[prop]; - } - - return accum; - }, undefined); - - // Kill the cached UA string because it may no longer be valid - Stripe.USER_AGENT_SERIALIZED = undefined; - - this._appInfo = appInfo; - }, - - /** - * @deprecated will be removed in a future major version. Use the config object instead: - * - * const ProxyAgent = require('https-proxy-agent'); - * const stripe = new Stripe(API_KEY, { - * httpAgent: new ProxyAgent(process.env.http_proxy), - * }); - * - */ - setHttpAgent(agent) { - emitWarning( - '`setHttpAgent` is deprecated. Use the `httpAgent` config option instead.' - ); - this._setApiField('agent', agent); - }, - - /** - * @private - * This may be removed in the future. - */ - _setApiField(key, value) { - this._api[key] = value; - }, - - /** - * @private - * Please open or upvote an issue at github.com/stripe/stripe-node - * if you use this, detailing your use-case. - * - * It may be deprecated and removed in the future. - */ - getApiField(key) { - return this._api[key]; - }, - - setClientId(clientId) { - this._clientId = clientId; - }, - - getClientId() { - return this._clientId; - }, - - /** - * @private - * Please open or upvote an issue at github.com/stripe/stripe-node - * if you use this, detailing your use-case. - * - * It may be deprecated and removed in the future. - */ - getConstant: (c) => { - switch (c) { - case 'DEFAULT_HOST': - return DEFAULT_HOST; - case 'DEFAULT_PORT': - return DEFAULT_PORT; - case 'DEFAULT_BASE_PATH': - return DEFAULT_BASE_PATH; - case 'DEFAULT_API_VERSION': - return DEFAULT_API_VERSION; - case 'DEFAULT_TIMEOUT': - return DEFAULT_TIMEOUT; - case 'MAX_NETWORK_RETRY_DELAY_SEC': - return MAX_NETWORK_RETRY_DELAY_SEC; - case 'INITIAL_NETWORK_RETRY_DELAY_SEC': - return INITIAL_NETWORK_RETRY_DELAY_SEC; - } - return Stripe[c]; - }, - - getMaxNetworkRetries() { - return this.getApiField('maxNetworkRetries'); - }, - - /** - * @deprecated will be removed in a future major version. Use the config object instead: - * - * const stripe = new Stripe(API_KEY, { - * maxNetworkRetries: 2, - * }); - * - */ - setMaxNetworkRetries(maxNetworkRetries) { - this._setApiNumberField('maxNetworkRetries', maxNetworkRetries); - }, - - /** - * @private - * This may be removed in the future. - */ - _setApiNumberField(prop, n, defaultVal) { - const val = utils.validateInteger(prop, n, defaultVal); - - this._setApiField(prop, val); - }, - - getMaxNetworkRetryDelay() { - return MAX_NETWORK_RETRY_DELAY_SEC; - }, - - getInitialNetworkRetryDelay() { - return INITIAL_NETWORK_RETRY_DELAY_SEC; - }, - - /** - * @private - * Please open or upvote an issue at github.com/stripe/stripe-node - * if you use this, detailing your use-case. - * - * It may be deprecated and removed in the future. - * - * Gets a JSON version of a User-Agent and uses a cached version for a slight - * speed advantage. - */ - getClientUserAgent(cb) { - if (Stripe.USER_AGENT_SERIALIZED) { - return cb(Stripe.USER_AGENT_SERIALIZED); - } - this.getClientUserAgentSeeded(Stripe.USER_AGENT, (cua) => { - Stripe.USER_AGENT_SERIALIZED = cua; - cb(Stripe.USER_AGENT_SERIALIZED); - }); - }, - - /** - * @private - * Please open or upvote an issue at github.com/stripe/stripe-node - * if you use this, detailing your use-case. - * - * It may be deprecated and removed in the future. - * - * Gets a JSON version of a User-Agent by encoding a seeded object and - * fetching a uname from the system. - */ - getClientUserAgentSeeded(seed, cb) { - utils.safeExec('uname -a', (err, uname) => { - const userAgent = {}; - for (const field in seed) { - userAgent[field] = encodeURIComponent(seed[field]); - } - - // URI-encode in case there are unusual characters in the system's uname. - userAgent.uname = encodeURIComponent(uname || 'UNKNOWN'); - - if (this._appInfo) { - userAgent.application = this._appInfo; - } - - cb(JSON.stringify(userAgent)); - }); - }, - - /** - * @private - * Please open or upvote an issue at github.com/stripe/stripe-node - * if you use this, detailing your use-case. - * - * It may be deprecated and removed in the future. - */ - getAppInfoAsString() { - if (!this._appInfo) { - return ''; - } - - let formatted = this._appInfo.name; - - if (this._appInfo.version) { - formatted += `/${this._appInfo.version}`; - } - - if (this._appInfo.url) { - formatted += ` (${this._appInfo.url})`; - } - - return formatted; - }, - - /** - * @deprecated will be removed in a future major version. Use the config object instead: - * - * const stripe = new Stripe(API_KEY, { - * telemetry: false, - * }); - * - */ - setTelemetryEnabled(enableTelemetry) { - emitWarning( - '`setTelemetryEnabled` is deprecated. Use the `telemetry` config option instead.' - ); - this._enableTelemetry = enableTelemetry; - }, - - getTelemetryEnabled() { - return this._enableTelemetry; - }, - - /** - * @private - * This may be removed in the future. - */ - _prepResources() { - for (const name in resources) { - this[utils.pascalToCamelCase(name)] = new resources[name](this); - } - }, - - /** - * @private - * This may be removed in the future. - */ - _getPropsFromConfig(config) { - // If config is null or undefined, just bail early with no props - if (!config) { - return {}; - } - - // config can be an object or a string - const isString = typeof config === 'string'; - const isObject = config === Object(config) && !Array.isArray(config); - - if (!isObject && !isString) { - throw new Error('Config must either be an object or a string'); - } - - // If config is a string, we assume the old behavior of passing in a string representation of the api version - if (isString) { - return { - apiVersion: config, - }; - } - - // If config is an object, we assume the new behavior and make sure it doesn't contain any unexpected values - const values = Object.keys(config).filter( - (value) => !ALLOWED_CONFIG_PROPERTIES.includes(value) - ); - - if (values.length > 0) { - throw new Error( - `Config object may only contain the following: ${ALLOWED_CONFIG_PROPERTIES.join( - ', ' - )}` - ); - } - - return config; - }, -}; - -module.exports = Stripe; - -// expose constructor as a named property to enable mocking with Sinon.JS -module.exports.Stripe = Stripe; - -// Allow use with the TypeScript compiler without `esModuleInterop`. -// We may also want to add `Object.defineProperty(exports, "__esModule", {value: true});` in the future, so that Babel users will use the `default` version. -module.exports.default = Stripe; diff --git a/node_modules/stripe/lib/utils.js b/node_modules/stripe/lib/utils.js deleted file mode 100644 index 5bca895a..00000000 --- a/node_modules/stripe/lib/utils.js +++ /dev/null @@ -1,438 +0,0 @@ -'use strict'; - -const EventEmitter = require('events').EventEmitter; -const qs = require('qs'); -const crypto = require('crypto'); - -const hasOwn = (obj, prop) => Object.prototype.hasOwnProperty.call(obj, prop); - -// Certain sandboxed environments (our known example right now are CloudFlare -// Workers) may make `child_process` unavailable. Because `exec` isn't critical -// to the operation of stripe-node, we handle this unavailability gracefully. -let exec = null; -try { - exec = require('child_process').exec; -} catch (e) { - if (e.code !== 'MODULE_NOT_FOUND') { - throw e; - } -} - -const OPTIONS_KEYS = [ - 'apiKey', - 'idempotencyKey', - 'stripeAccount', - 'apiVersion', - 'maxNetworkRetries', - 'timeout', -]; - -const DEPRECATED_OPTIONS = { - api_key: 'apiKey', - idempotency_key: 'idempotencyKey', - stripe_account: 'stripeAccount', - stripe_version: 'apiVersion', - stripeVersion: 'apiVersion', -}; -const DEPRECATED_OPTIONS_KEYS = Object.keys(DEPRECATED_OPTIONS); - -const utils = (module.exports = { - isOptionsHash(o) { - return ( - o && - typeof o === 'object' && - (OPTIONS_KEYS.some((prop) => hasOwn(o, prop)) || - DEPRECATED_OPTIONS_KEYS.some((prop) => hasOwn(o, prop))) - ); - }, - - /** - * Stringifies an Object, accommodating nested objects - * (forming the conventional key 'parent[child]=value') - */ - stringifyRequestData: (data) => { - return ( - qs - .stringify(data, { - serializeDate: (d) => Math.floor(d.getTime() / 1000), - }) - // Don't use strict form encoding by changing the square bracket control - // characters back to their literals. This is fine by the server, and - // makes these parameter strings easier to read. - .replace(/%5B/g, '[') - .replace(/%5D/g, ']') - ); - }, - - /** - * Outputs a new function with interpolated object property values. - * Use like so: - * const fn = makeURLInterpolator('some/url/{param1}/{param2}'); - * fn({ param1: 123, param2: 456 }); // => 'some/url/123/456' - */ - makeURLInterpolator: (() => { - const rc = { - '\n': '\\n', - '"': '\\"', - '\u2028': '\\u2028', - '\u2029': '\\u2029', - }; - return (str) => { - const cleanString = str.replace(/["\n\r\u2028\u2029]/g, ($0) => rc[$0]); - return (outputs) => { - return cleanString.replace(/\{([\s\S]+?)\}/g, ($0, $1) => - encodeURIComponent(outputs[$1] || '') - ); - }; - }; - })(), - - extractUrlParams: (path) => { - const params = path.match(/\{\w+\}/g); - if (!params) { - return []; - } - - return params.map((param) => param.replace(/[{}]/g, '')); - }, - - /** - * Return the data argument from a list of arguments - * - * @param {object[]} args - * @returns {object} - */ - getDataFromArgs(args) { - if (!Array.isArray(args) || !args[0] || typeof args[0] !== 'object') { - return {}; - } - - if (!utils.isOptionsHash(args[0])) { - return args.shift(); - } - - const argKeys = Object.keys(args[0]); - - const optionKeysInArgs = argKeys.filter((key) => - OPTIONS_KEYS.includes(key) - ); - - // In some cases options may be the provided as the first argument. - // Here we're detecting a case where there are two distinct arguments - // (the first being args and the second options) and with known - // option keys in the first so that we can warn the user about it. - if ( - optionKeysInArgs.length > 0 && - optionKeysInArgs.length !== argKeys.length - ) { - emitWarning( - `Options found in arguments (${optionKeysInArgs.join( - ', ' - )}). Did you mean to pass an options object? See https://github.com/stripe/stripe-node/wiki/Passing-Options.` - ); - } - - return {}; - }, - - /** - * Return the options hash from a list of arguments - */ - getOptionsFromArgs: (args) => { - const opts = { - auth: null, - headers: {}, - settings: {}, - }; - if (args.length > 0) { - const arg = args[args.length - 1]; - if (typeof arg === 'string') { - opts.auth = args.pop(); - } else if (utils.isOptionsHash(arg)) { - const params = {...args.pop()}; - - const extraKeys = Object.keys(params).filter( - (key) => !OPTIONS_KEYS.includes(key) - ); - - if (extraKeys.length) { - const nonDeprecated = extraKeys.filter((key) => { - if (!DEPRECATED_OPTIONS[key]) { - return true; - } - const newParam = DEPRECATED_OPTIONS[key]; - if (params[newParam]) { - throw Error( - `Both '${newParam}' and '${key}' were provided; please remove '${key}', which is deprecated.` - ); - } - /** - * TODO turn this into a hard error in a future major version (once we have fixed our docs). - */ - emitWarning(`'${key}' is deprecated; use '${newParam}' instead.`); - params[newParam] = params[key]; - }); - if (nonDeprecated.length) { - emitWarning( - `Invalid options found (${extraKeys.join(', ')}); ignoring.` - ); - } - } - - if (params.apiKey) { - opts.auth = params.apiKey; - } - if (params.idempotencyKey) { - opts.headers['Idempotency-Key'] = params.idempotencyKey; - } - if (params.stripeAccount) { - opts.headers['Stripe-Account'] = params.stripeAccount; - } - if (params.apiVersion) { - opts.headers['Stripe-Version'] = params.apiVersion; - } - if (Number.isInteger(params.maxNetworkRetries)) { - opts.settings.maxNetworkRetries = params.maxNetworkRetries; - } - if (Number.isInteger(params.timeout)) { - opts.settings.timeout = params.timeout; - } - } - } - return opts; - }, - - /** - * Provide simple "Class" extension mechanism - */ - protoExtend(sub) { - const Super = this; - const Constructor = hasOwn(sub, 'constructor') - ? sub.constructor - : function(...args) { - Super.apply(this, args); - }; - - // This initialization logic is somewhat sensitive to be compatible with - // divergent JS implementations like the one found in Qt. See here for more - // context: - // - // https://github.com/stripe/stripe-node/pull/334 - Object.assign(Constructor, Super); - Constructor.prototype = Object.create(Super.prototype); - Object.assign(Constructor.prototype, sub); - - return Constructor; - }, - - /** - * Secure compare, from https://github.com/freewil/scmp - */ - secureCompare: (a, b) => { - a = Buffer.from(a); - b = Buffer.from(b); - - // return early here if buffer lengths are not equal since timingSafeEqual - // will throw if buffer lengths are not equal - if (a.length !== b.length) { - return false; - } - - // use crypto.timingSafeEqual if available (since Node.js v6.6.0), - // otherwise use our own scmp-internal function. - if (crypto.timingSafeEqual) { - return crypto.timingSafeEqual(a, b); - } - - const len = a.length; - let result = 0; - - for (let i = 0; i < len; ++i) { - result |= a[i] ^ b[i]; - } - return result === 0; - }, - - /** - * Remove empty values from an object - */ - removeNullish: (obj) => { - if (typeof obj !== 'object') { - throw new Error('Argument must be an object'); - } - - return Object.keys(obj).reduce((result, key) => { - if (obj[key] != null) { - result[key] = obj[key]; - } - return result; - }, {}); - }, - - /** - * Normalize standard HTTP Headers: - * {'foo-bar': 'hi'} - * becomes - * {'Foo-Bar': 'hi'} - */ - normalizeHeaders: (obj) => { - if (!(obj && typeof obj === 'object')) { - return obj; - } - - return Object.keys(obj).reduce((result, header) => { - result[utils.normalizeHeader(header)] = obj[header]; - return result; - }, {}); - }, - - /** - * Stolen from https://github.com/marten-de-vries/header-case-normalizer/blob/master/index.js#L36-L41 - * without the exceptions which are irrelevant to us. - */ - normalizeHeader: (header) => { - return header - .split('-') - .map( - (text) => text.charAt(0).toUpperCase() + text.substr(1).toLowerCase() - ) - .join('-'); - }, - - /** - * Determine if file data is a derivative of EventEmitter class. - * https://nodejs.org/api/events.html#events_events - */ - checkForStream: (obj) => { - if (obj.file && obj.file.data) { - return obj.file.data instanceof EventEmitter; - } - return false; - }, - - callbackifyPromiseWithTimeout: (promise, callback) => { - if (callback) { - // Ensure callback is called outside of promise stack. - return promise.then( - (res) => { - setTimeout(() => { - callback(null, res); - }, 0); - }, - (err) => { - setTimeout(() => { - callback(err, null); - }, 0); - } - ); - } - - return promise; - }, - - /** - * Allow for special capitalization cases (such as OAuth) - */ - pascalToCamelCase: (name) => { - if (name === 'OAuth') { - return 'oauth'; - } else { - return name[0].toLowerCase() + name.substring(1); - } - }, - - emitWarning, - - /** - * Node's built in `exec` function sometimes throws outright, - * and sometimes has a callback with an error, - * depending on the type of error. - * - * This unifies that interface. - */ - safeExec: (cmd, cb) => { - // Occurs if we couldn't load the `child_process` module, which might - // happen in certain sandboxed environments like a CloudFlare Worker. - if (utils._exec === null) { - cb(new Error('exec not available'), null); - return; - } - - try { - utils._exec(cmd, cb); - } catch (e) { - cb(e, null); - } - }, - - // For mocking in tests. - _exec: exec, - - isObject: (obj) => { - const type = typeof obj; - return (type === 'function' || type === 'object') && !!obj; - }, - - // For use in multipart requests - flattenAndStringify: (data) => { - const result = {}; - - const step = (obj, prevKey) => { - Object.keys(obj).forEach((key) => { - const value = obj[key]; - - const newKey = prevKey ? `${prevKey}[${key}]` : key; - - if (utils.isObject(value)) { - if (!Buffer.isBuffer(value) && !value.hasOwnProperty('data')) { - // Non-buffer non-file Objects are recursively flattened - return step(value, newKey); - } else { - // Buffers and file objects are stored without modification - result[newKey] = value; - } - } else { - // Primitives are converted to strings - result[newKey] = String(value); - } - }); - }; - - step(data); - - return result; - }, - - /** - * https://stackoverflow.com/a/2117523 - */ - uuid4: () => { - return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) => { - const r = (Math.random() * 16) | 0; - const v = c === 'x' ? r : (r & 0x3) | 0x8; - return v.toString(16); - }); - }, - - validateInteger: (name, n, defaultVal) => { - if (!Number.isInteger(n)) { - if (defaultVal !== undefined) { - return defaultVal; - } else { - throw new Error(`${name} must be an integer`); - } - } - - return n; - }, -}); - -function emitWarning(warning) { - if (typeof process.emitWarning !== 'function') { - return console.warn( - `Stripe: ${warning}` - ); /* eslint-disable-line no-console */ - } - - return process.emitWarning(warning, 'Stripe'); -} diff --git a/node_modules/stripe/package.json b/node_modules/stripe/package.json deleted file mode 100644 index 3f492e21..00000000 --- a/node_modules/stripe/package.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "_from": "stripe", - "_id": "stripe@8.126.0", - "_inBundle": false, - "_integrity": "sha512-AQai9rEi6JYE3BY/favh5mkxedmpsYp+M7y90Fj6CGKYGkTKmtOkgNqs0MQTMGgrJlzMlpJjOYkQxpxb4t84KQ==", - "_location": "/stripe", - "_phantomChildren": {}, - "_requested": { - "type": "tag", - "registry": true, - "raw": "stripe", - "name": "stripe", - "escapedName": "stripe", - "rawSpec": "", - "saveSpec": null, - "fetchSpec": "latest" - }, - "_requiredBy": [ - "#USER", - "/" - ], - "_resolved": "https://registry.npmjs.org/stripe/-/stripe-8.126.0.tgz", - "_shasum": "d5eb9f9ad2393843fb48d4e2939e71cdffd7e9f2", - "_spec": "stripe", - "_where": "/home/mitch/levitytech.github.io", - "author": { - "name": "Stripe", - "email": "support@stripe.com", - "url": "https://stripe.com/" - }, - "bugs": { - "url": "https://github.com/stripe/stripe-node/issues" - }, - "bugs:": "https://github.com/stripe/stripe-node/issues", - "bundleDependencies": false, - "contributors": [ - { - "name": "Ask Bjørn Hansen", - "email": "ask@develooper.com", - "url": "http://www.askask.com/" - }, - { - "name": "Michelle Bu", - "email": "michelle@stripe.com" - }, - { - "name": "Alex Sexton", - "email": "alex@stripe.com" - }, - { - "name": "James Padolsey" - } - ], - "dependencies": { - "@types/node": ">=8.1.0", - "qs": "^6.6.0" - }, - "deprecated": false, - "description": "Stripe API wrapper", - "devDependencies": { - "@typescript-eslint/eslint-plugin": "^2.13.0", - "@typescript-eslint/parser": "^2.13.0", - "chai": "~4.2.0", - "chai-as-promised": "~7.1.1", - "coveralls": "^3.0.0", - "eslint": "^6.8.0", - "eslint-config-prettier": "^4.1.0", - "eslint-plugin-chai-friendly": "^0.4.0", - "eslint-plugin-prettier": "^3.0.1", - "mocha": "~6.1.4", - "mocha-junit-reporter": "^1.23.1", - "nock": "^10.0.6", - "nyc": "^14.1.0", - "prettier": "^1.16.4", - "typescript": "^3.7.2" - }, - "engines": { - "node": "^8.1 || >=10.*" - }, - "homepage": "https://github.com/stripe/stripe-node", - "keywords": [ - "stripe", - "payment processing", - "credit cards", - "api" - ], - "license": "MIT", - "main": "lib/stripe.js", - "name": "stripe", - "repository": { - "type": "git", - "url": "git://github.com/stripe/stripe-node.git" - }, - "scripts": { - "clean": "rm -rf ./.nyc_output ./node_modules/.cache ./coverage", - "coveralls": "cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js", - "fix": "yarn lint --fix && ./scripts/updateAPIVersion.js", - "lint": "eslint --ext .js,.jsx,.ts .", - "mocha": "nyc mocha", - "mocha-only": "mocha", - "report": "nyc -r text -r lcov report", - "test": "yarn lint && yarn test-typescript && yarn mocha", - "test-typescript": "tsc --build types/test" - }, - "types": "types/2020-08-27/index.d.ts", - "version": "8.126.0" -} diff --git a/node_modules/stripe/types/.eslintrc.js b/node_modules/stripe/types/.eslintrc.js deleted file mode 100644 index 788ac022..00000000 --- a/node_modules/stripe/types/.eslintrc.js +++ /dev/null @@ -1,18 +0,0 @@ -module.exports = { - root: true, - parser: '@typescript-eslint/parser', - plugins: ['@typescript-eslint', 'prettier'], - extends: [ - 'eslint:recommended', - 'plugin:@typescript-eslint/eslint-recommended', - 'plugin:@typescript-eslint/recommended', - 'plugin:prettier/recommended', - ], - rules: { - '@typescript-eslint/no-use-before-define': 0, - '@typescript-eslint/no-empty-interface': 0, - '@typescript-eslint/no-unused-vars': 0, - '@typescript-eslint/triple-slash-reference': 0, - '@typescript-eslint/ban-ts-ignore': 0, - }, -}; diff --git a/node_modules/stripe/types/2020-08-27/AccountLinks.d.ts b/node_modules/stripe/types/2020-08-27/AccountLinks.d.ts deleted file mode 100644 index db5ae58c..00000000 --- a/node_modules/stripe/types/2020-08-27/AccountLinks.d.ts +++ /dev/null @@ -1,81 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The AccountLink object. - */ - interface AccountLink { - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'account_link'; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * The timestamp at which this account link will expire. - */ - expires_at: number; - - /** - * The URL for the account link. - */ - url: string; - } - - interface AccountLinkCreateParams { - /** - * The identifier of the account to create an account link for. - */ - account: string; - - /** - * The type of account link the user is requesting. Possible values are `account_onboarding` or `account_update`. - */ - type: AccountLinkCreateParams.Type; - - /** - * Which information the platform needs to collect from the user. One of `currently_due` or `eventually_due`. Default is `currently_due`. - */ - collect?: AccountLinkCreateParams.Collect; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * The URL that the user will be redirected to if the account link is no longer valid. Your `refresh_url` should trigger a method on your server to create a new account link using this API, with the same parameters, and redirect the user to the new account link. - */ - refresh_url?: string; - - /** - * The URL that the user will be redirected to upon leaving or completing the linked flow. - */ - return_url?: string; - } - - namespace AccountLinkCreateParams { - type Collect = 'currently_due' | 'eventually_due'; - - type Type = - | 'account_onboarding' - | 'account_update' - | 'custom_account_update' - | 'custom_account_verification'; - } - - class AccountLinksResource { - /** - * Creates an AccountLink object that includes a single-use Stripe URL that the platform can redirect their user to in order to take them through the Connect Onboarding flow. - */ - create( - params: AccountLinkCreateParams, - options?: RequestOptions - ): Promise>; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Accounts.d.ts b/node_modules/stripe/types/2020-08-27/Accounts.d.ts deleted file mode 100644 index befe455e..00000000 --- a/node_modules/stripe/types/2020-08-27/Accounts.d.ts +++ /dev/null @@ -1,2910 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Account object. - */ - interface Account { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'account'; - - /** - * Business information about the account. - */ - business_profile: Account.BusinessProfile | null; - - /** - * The business type. - */ - business_type: Account.BusinessType | null; - - capabilities?: Account.Capabilities; - - /** - * Whether the account can create live charges. - */ - charges_enabled: boolean; - - company?: Account.Company; - - /** - * The account's country. - */ - country: string; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created?: number; - - /** - * Three-letter ISO currency code representing the default currency for the account. This must be a currency that [Stripe supports in the account's country](https://stripe.com/docs/payouts). - */ - default_currency: string; - - deleted?: void; - - /** - * Whether account details have been submitted. Standard accounts cannot receive payouts before this is true. - */ - details_submitted: boolean; - - /** - * The primary user's email address. - */ - email: string | null; - - /** - * External accounts (bank accounts and debit cards) currently attached to this account - */ - external_accounts?: ApiList; - - /** - * This is an object representing a person associated with a Stripe account. - * - * Related guide: [Handling Identity Verification with the API](https://stripe.com/docs/connect/identity-verification-api#person-information). - */ - individual?: Stripe.Person; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata?: Stripe.Metadata; - - /** - * Whether Stripe can send payouts to this account. - */ - payouts_enabled: boolean; - - requirements?: Account.Requirements; - - /** - * Options for customizing how the account functions within Stripe. - */ - settings: Account.Settings | null; - - tos_acceptance?: Account.TosAcceptance; - - /** - * The Stripe account type. Can be `standard`, `express`, or `custom`. - */ - type: Account.Type; - } - - namespace Account { - interface BusinessProfile { - /** - * [The merchant category code for the account](https://stripe.com/docs/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide. - */ - mcc: string | null; - - /** - * The customer-facing business name. - */ - name: string | null; - - /** - * Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes. - */ - product_description?: string | null; - - /** - * A publicly available mailing address for sending support issues to. - */ - support_address: Stripe.Address | null; - - /** - * A publicly available email address for sending support issues to. - */ - support_email: string | null; - - /** - * A publicly available phone number to call with support issues. - */ - support_phone: string | null; - - /** - * A publicly available website for handling support issues. - */ - support_url: string | null; - - /** - * The business's publicly available website. - */ - url: string | null; - } - - type BusinessType = - | 'company' - | 'government_entity' - | 'individual' - | 'non_profit'; - - interface Capabilities { - /** - * The status of the BECS Direct Debit (AU) payments capability of the account, or whether the account can directly process BECS Direct Debit (AU) charges. - */ - au_becs_debit_payments?: Capabilities.AuBecsDebitPayments; - - /** - * The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges. - */ - bacs_debit_payments?: Capabilities.BacsDebitPayments; - - /** - * The status of the Bancontact payments capability of the account, or whether the account can directly process Bancontact charges. - */ - bancontact_payments?: Capabilities.BancontactPayments; - - /** - * The status of the card issuing capability of the account, or whether you can use Issuing to distribute funds on cards - */ - card_issuing?: Capabilities.CardIssuing; - - /** - * The status of the card payments capability of the account, or whether the account can directly process credit and debit card charges. - */ - card_payments?: Capabilities.CardPayments; - - /** - * The status of the Cartes Bancaires payments capability of the account, or whether the account can directly process Cartes Bancaires card charges in EUR currency. - */ - cartes_bancaires_payments?: Capabilities.CartesBancairesPayments; - - /** - * The status of the EPS payments capability of the account, or whether the account can directly process EPS charges. - */ - eps_payments?: Capabilities.EpsPayments; - - /** - * The status of the FPX payments capability of the account, or whether the account can directly process FPX charges. - */ - fpx_payments?: Capabilities.FpxPayments; - - /** - * The status of the giropay payments capability of the account, or whether the account can directly process giropay charges. - */ - giropay_payments?: Capabilities.GiropayPayments; - - /** - * The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges. - */ - grabpay_payments?: Capabilities.GrabpayPayments; - - /** - * The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges. - */ - ideal_payments?: Capabilities.IdealPayments; - - /** - * The status of the JCB payments capability of the account, or whether the account (Japan only) can directly process JCB credit card charges in JPY currency. - */ - jcb_payments?: Capabilities.JcbPayments; - - /** - * The status of the legacy payments capability of the account. - */ - legacy_payments?: Capabilities.LegacyPayments; - - /** - * The status of the OXXO payments capability of the account, or whether the account can directly process OXXO charges. - */ - oxxo_payments?: Capabilities.OxxoPayments; - - /** - * The status of the P24 payments capability of the account, or whether the account can directly process P24 charges. - */ - p24_payments?: Capabilities.P24Payments; - - /** - * The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges. - */ - sepa_debit_payments?: Capabilities.SepaDebitPayments; - - /** - * The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges. - */ - sofort_payments?: Capabilities.SofortPayments; - - /** - * The status of the tax reporting 1099-K (US) capability of the account. - */ - tax_reporting_us_1099_k?: Capabilities.TaxReportingUs1099K; - - /** - * The status of the tax reporting 1099-MISC (US) capability of the account. - */ - tax_reporting_us_1099_misc?: Capabilities.TaxReportingUs1099Misc; - - /** - * The status of the transfers capability of the account, or whether your platform can transfer funds to the account. - */ - transfers?: Capabilities.Transfers; - } - - namespace Capabilities { - type AuBecsDebitPayments = 'active' | 'inactive' | 'pending'; - - type BacsDebitPayments = 'active' | 'inactive' | 'pending'; - - type BancontactPayments = 'active' | 'inactive' | 'pending'; - - type CardIssuing = 'active' | 'inactive' | 'pending'; - - type CardPayments = 'active' | 'inactive' | 'pending'; - - type CartesBancairesPayments = 'active' | 'inactive' | 'pending'; - - type EpsPayments = 'active' | 'inactive' | 'pending'; - - type FpxPayments = 'active' | 'inactive' | 'pending'; - - type GiropayPayments = 'active' | 'inactive' | 'pending'; - - type GrabpayPayments = 'active' | 'inactive' | 'pending'; - - type IdealPayments = 'active' | 'inactive' | 'pending'; - - type JcbPayments = 'active' | 'inactive' | 'pending'; - - type LegacyPayments = 'active' | 'inactive' | 'pending'; - - type OxxoPayments = 'active' | 'inactive' | 'pending'; - - type P24Payments = 'active' | 'inactive' | 'pending'; - - type SepaDebitPayments = 'active' | 'inactive' | 'pending'; - - type SofortPayments = 'active' | 'inactive' | 'pending'; - - type TaxReportingUs1099K = 'active' | 'inactive' | 'pending'; - - type TaxReportingUs1099Misc = 'active' | 'inactive' | 'pending'; - - type Transfers = 'active' | 'inactive' | 'pending'; - } - - interface Company { - address?: Stripe.Address; - - /** - * The Kana variation of the company's primary address (Japan only). - */ - address_kana?: Company.AddressKana | null; - - /** - * The Kanji variation of the company's primary address (Japan only). - */ - address_kanji?: Company.AddressKanji | null; - - /** - * Whether the company's directors have been provided. This Boolean will be `true` if you've manually indicated that all directors are provided via [the `directors_provided` parameter](https://stripe.com/docs/api/accounts/update#update_account-company-directors_provided). - */ - directors_provided?: boolean; - - /** - * Whether the company's executives have been provided. This Boolean will be `true` if you've manually indicated that all executives are provided via [the `executives_provided` parameter](https://stripe.com/docs/api/accounts/update#update_account-company-executives_provided), or if Stripe determined that sufficient executives were provided. - */ - executives_provided?: boolean; - - /** - * The company's legal name. - */ - name: string | null; - - /** - * The Kana variation of the company's legal name (Japan only). - */ - name_kana?: string | null; - - /** - * The Kanji variation of the company's legal name (Japan only). - */ - name_kanji?: string | null; - - /** - * Whether the company's owners have been provided. This Boolean will be `true` if you've manually indicated that all owners are provided via [the `owners_provided` parameter](https://stripe.com/docs/api/accounts/update#update_account-company-owners_provided), or if Stripe determined that sufficient owners were provided. Stripe determines ownership requirements using both the number of owners provided and their total percent ownership (calculated by adding the `percent_ownership` of each owner together). - */ - owners_provided?: boolean; - - /** - * The company's phone number (used for verification). - */ - phone?: string | null; - - /** - * The category identifying the legal structure of the company or legal entity. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details. - */ - structure?: Company.Structure; - - /** - * Whether the company's business ID number was provided. - */ - tax_id_provided?: boolean; - - /** - * The jurisdiction in which the `tax_id` is registered (Germany-based companies only). - */ - tax_id_registrar?: string; - - /** - * Whether the company's business VAT number was provided. - */ - vat_id_provided?: boolean; - - /** - * Information on the verification state of the company. - */ - verification?: Company.Verification | null; - } - - namespace Company { - interface AddressKana { - /** - * City/Ward. - */ - city: string | null; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country: string | null; - - /** - * Block/Building number. - */ - line1: string | null; - - /** - * Building details. - */ - line2: string | null; - - /** - * ZIP or postal code. - */ - postal_code: string | null; - - /** - * Prefecture. - */ - state: string | null; - - /** - * Town/cho-me. - */ - town: string | null; - } - - interface AddressKanji { - /** - * City/Ward. - */ - city: string | null; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country: string | null; - - /** - * Block/Building number. - */ - line1: string | null; - - /** - * Building details. - */ - line2: string | null; - - /** - * ZIP or postal code. - */ - postal_code: string | null; - - /** - * Prefecture. - */ - state: string | null; - - /** - * Town/cho-me. - */ - town: string | null; - } - - type Structure = - | 'government_instrumentality' - | 'governmental_unit' - | 'incorporated_non_profit' - | 'limited_liability_partnership' - | 'multi_member_llc' - | 'private_company' - | 'private_corporation' - | 'private_partnership' - | 'public_company' - | 'public_corporation' - | 'public_partnership' - | 'sole_proprietorship' - | 'tax_exempt_government_instrumentality' - | 'unincorporated_association' - | 'unincorporated_non_profit'; - - interface Verification { - document: Verification.Document; - } - - namespace Verification { - interface Document { - /** - * The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. - */ - back: string | Stripe.File | null; - - /** - * A user-displayable string describing the verification state of this document. - */ - details: string | null; - - /** - * One of `document_corrupt`, `document_expired`, `document_failed_copy`, `document_failed_greyscale`, `document_failed_other`, `document_failed_test_mode`, `document_fraudulent`, `document_incomplete`, `document_invalid`, `document_manipulated`, `document_not_readable`, `document_not_uploaded`, `document_type_not_supported`, or `document_too_large`. A machine-readable code specifying the verification state for this document. - */ - details_code: string | null; - - /** - * The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. - */ - front: string | Stripe.File | null; - } - } - } - - interface Requirements { - /** - * The date the fields in `currently_due` must be collected by to keep payouts enabled for the account. These fields might block payouts sooner if the next threshold is reached before these fields are collected. - */ - current_deadline: number | null; - - /** - * The fields that need to be collected to keep the account enabled. If not collected by the `current_deadline`, these fields appear in `past_due` as well, and the account is disabled. - */ - currently_due: Array | null; - - /** - * If the account is disabled, this string describes why the account can't create charges or receive payouts. Can be `requirements.past_due`, `requirements.pending_verification`, `rejected.fraud`, `rejected.terms_of_service`, `rejected.listed`, `rejected.other`, `listed`, `under_review`, or `other`. - */ - disabled_reason: string | null; - - /** - * The fields that are `currently_due` and need to be collected again because validation or verification failed for some reason. - */ - errors: Array | null; - - /** - * The fields that need to be collected assuming all volume thresholds are reached. As they become required, these fields appear in `currently_due` as well, and the `current_deadline` is set. - */ - eventually_due: Array | null; - - /** - * The fields that weren't collected by the `current_deadline`. These fields need to be collected to re-enable the account. - */ - past_due: Array | null; - - /** - * Fields that may become required depending on the results of verification or review. An empty array unless an asynchronous verification is pending. If verification fails, the fields in this array become required and move to `currently_due` or `past_due`. - */ - pending_verification: Array | null; - } - - namespace Requirements { - interface Error { - /** - * The code for the type of error. - */ - code: Error.Code; - - /** - * An informative message that indicates the error type and provides additional details about the error. - */ - reason: string; - - /** - * The specific user onboarding requirement field (in the requirements hash) that needs to be resolved. - */ - requirement: string; - } - - namespace Error { - type Code = - | 'invalid_address_city_state_postal_code' - | 'invalid_street_address' - | 'invalid_value_other' - | 'verification_document_address_mismatch' - | 'verification_document_address_missing' - | 'verification_document_corrupt' - | 'verification_document_country_not_supported' - | 'verification_document_dob_mismatch' - | 'verification_document_duplicate_type' - | 'verification_document_expired' - | 'verification_document_failed_copy' - | 'verification_document_failed_greyscale' - | 'verification_document_failed_other' - | 'verification_document_failed_test_mode' - | 'verification_document_fraudulent' - | 'verification_document_id_number_mismatch' - | 'verification_document_id_number_missing' - | 'verification_document_incomplete' - | 'verification_document_invalid' - | 'verification_document_issue_or_expiry_date_missing' - | 'verification_document_manipulated' - | 'verification_document_missing_back' - | 'verification_document_missing_front' - | 'verification_document_name_mismatch' - | 'verification_document_name_missing' - | 'verification_document_nationality_mismatch' - | 'verification_document_not_readable' - | 'verification_document_not_signed' - | 'verification_document_not_uploaded' - | 'verification_document_photo_mismatch' - | 'verification_document_too_large' - | 'verification_document_type_not_supported' - | 'verification_failed_address_match' - | 'verification_failed_business_iec_number' - | 'verification_failed_document_match' - | 'verification_failed_id_number_match' - | 'verification_failed_keyed_identity' - | 'verification_failed_keyed_match' - | 'verification_failed_name_match' - | 'verification_failed_other' - | 'verification_failed_tax_id_match' - | 'verification_failed_tax_id_not_issued'; - } - } - - interface Settings { - bacs_debit_payments?: Settings.BacsDebitPayments; - - branding: Settings.Branding; - - card_payments: Settings.CardPayments; - - dashboard: Settings.Dashboard; - - payments: Settings.Payments; - - payouts?: Settings.Payouts; - - sepa_debit_payments?: Settings.SepaDebitPayments; - } - - namespace Settings { - interface BacsDebitPayments { - /** - * The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this will appear on the mandate, and as the statement descriptor. - */ - display_name?: string; - } - - interface Branding { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px. - */ - icon: string | Stripe.File | null; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A logo for the account that will be used in Checkout instead of the icon and without the account's name next to it if provided. Must be at least 128px x 128px. - */ - logo: string | Stripe.File | null; - - /** - * A CSS hex color value representing the primary branding color for this account - */ - primary_color: string | null; - - /** - * A CSS hex color value representing the secondary branding color for this account - */ - secondary_color: string | null; - } - - interface CardPayments { - decline_on?: CardPayments.DeclineOn; - - /** - * The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge. `statement_descriptor_prefix` is useful for maximizing descriptor space for the dynamic portion. - */ - statement_descriptor_prefix: string | null; - } - - namespace CardPayments { - interface DeclineOn { - /** - * Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. - */ - avs_failure: boolean; - - /** - * Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification. - */ - cvc_failure: boolean; - } - } - - interface Dashboard { - /** - * The display name for this account. This is used on the Stripe Dashboard to differentiate between accounts. - */ - display_name: string | null; - - /** - * The timezone used in the Stripe Dashboard for this account. A list of possible time zone values is maintained at the [IANA Time Zone Database](http://www.iana.org/time-zones). - */ - timezone: string | null; - } - - interface Payments { - /** - * The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge. - */ - statement_descriptor: string | null; - - /** - * The Kana variation of the default text that appears on credit card statements when a charge is made (Japan only) - */ - statement_descriptor_kana: string | null; - - /** - * The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only) - */ - statement_descriptor_kanji: string | null; - } - - interface Payouts { - /** - * A Boolean indicating if Stripe should try to reclaim negative balances from an attached bank account. See our [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances) documentation for details. Default value is `true` for Express accounts and `false` for Custom accounts. - */ - debit_negative_balances: boolean; - - schedule: Payouts.Schedule; - - /** - * The text that appears on the bank account statement for payouts. If not set, this defaults to the platform's bank descriptor as set in the Dashboard. - */ - statement_descriptor: string | null; - } - - namespace Payouts { - interface Schedule { - /** - * The number of days charges for the account will be held before being paid out. - */ - delay_days: number; - - /** - * How frequently funds will be paid out. One of `manual` (payouts only created via API call), `daily`, `weekly`, or `monthly`. - */ - interval: string; - - /** - * The day of the month funds will be paid out. Only shown if `interval` is monthly. Payouts scheduled between the 29th and 31st of the month are sent on the last day of shorter months. - */ - monthly_anchor?: number; - - /** - * The day of the week funds will be paid out, of the style 'monday', 'tuesday', etc. Only shown if `interval` is weekly. - */ - weekly_anchor?: string; - } - } - - interface SepaDebitPayments { - /** - * SEPA creditor identifier that identifies the company making the payment. - */ - creditor_id?: string; - } - } - - interface TosAcceptance { - /** - * The Unix timestamp marking when the account representative accepted their service agreement - */ - date?: number | null; - - /** - * The IP address from which the account representative accepted their service agreement - */ - ip?: string | null; - - /** - * The user's service agreement type - */ - service_agreement?: string; - - /** - * The user agent of the browser from which the account representative accepted their service agreement - */ - user_agent?: string | null; - } - - type Type = 'custom' | 'express' | 'standard'; - } - - /** - * The DeletedAccount object. - */ - interface DeletedAccount { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'account'; - - /** - * Always true for a deleted object - */ - deleted: true; - } - - interface AccountCreateParams { - /** - * An [account token](https://stripe.com/docs/api#create_account_token), used to securely provide details to the account. - */ - account_token?: string; - - /** - * Business information about the account. - */ - business_profile?: AccountCreateParams.BusinessProfile; - - /** - * The business type. - */ - business_type?: AccountCreateParams.BusinessType; - - /** - * Each key of the dictionary represents a capability, and each capability maps to its settings (e.g. whether it has been requested or not). Each capability will be inactive until you have provided its specific requirements and Stripe has verified them. An account may have some of its requested capabilities be active and some be inactive. - */ - capabilities?: AccountCreateParams.Capabilities; - - /** - * Information about the company or business. This field is available for any `business_type`. - */ - company?: AccountCreateParams.Company; - - /** - * The country in which the account holder resides, or in which the business is legally established. This should be an ISO 3166-1 alpha-2 country code. For example, if you are in the United States and the business for which you're creating an account is legally represented in Canada, you would use `CA` as the country for the account being created. - */ - country?: string; - - /** - * Three-letter ISO currency code representing the default currency for the account. This must be a currency that [Stripe supports in the account's country](https://stripe.com/docs/payouts). - */ - default_currency?: string; - - /** - * The email address of the account holder. This is only to make the account easier to identify to you. Stripe will never directly email Custom accounts. - */ - email?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * A card or bank account to attach to the account for receiving [payouts](https://stripe.com/docs/connect/bank-debit-card-payouts) (you won't be able to use it for top-ups). You can provide either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary, as documented in the `external_account` parameter for [bank account](https://stripe.com/docs/api#account_create_bank_account) creation. - * - * By default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the bank account or card creation API. - */ - external_account?: string; - - /** - * Information about the person represented by the account. This field is null unless `business_type` is set to `individual`. - */ - individual?: AccountCreateParams.Individual; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * Options for customizing how the account functions within Stripe. - */ - settings?: AccountCreateParams.Settings; - - /** - * Details on the account's acceptance of the [Stripe Services Agreement](https://stripe.com/docs/connect/updating-accounts#tos-acceptance). - */ - tos_acceptance?: AccountCreateParams.TosAcceptance; - - /** - * The type of Stripe account to create. May be one of `custom`, `express` or `standard`. - */ - type?: AccountCreateParams.Type; - } - - namespace AccountCreateParams { - interface BusinessProfile { - /** - * [The merchant category code for the account](https://stripe.com/docs/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide. - */ - mcc?: string; - - /** - * The customer-facing business name. - */ - name?: string; - - /** - * Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes. - */ - product_description?: string; - - /** - * A publicly available mailing address for sending support issues to. - */ - support_address?: BusinessProfile.SupportAddress; - - /** - * A publicly available email address for sending support issues to. - */ - support_email?: string; - - /** - * A publicly available phone number to call with support issues. - */ - support_phone?: string; - - /** - * A publicly available website for handling support issues. - */ - support_url?: string; - - /** - * The business's publicly available website. - */ - url?: string; - } - - namespace BusinessProfile { - interface SupportAddress { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - } - } - - type BusinessType = - | 'company' - | 'government_entity' - | 'individual' - | 'non_profit'; - - interface Capabilities { - /** - * The au_becs_debit_payments capability. - */ - au_becs_debit_payments?: Capabilities.AuBecsDebitPayments; - - /** - * The bacs_debit_payments capability. - */ - bacs_debit_payments?: Capabilities.BacsDebitPayments; - - /** - * The bancontact_payments capability. - */ - bancontact_payments?: Capabilities.BancontactPayments; - - /** - * The card_issuing capability. - */ - card_issuing?: Capabilities.CardIssuing; - - /** - * The card_payments capability. - */ - card_payments?: Capabilities.CardPayments; - - /** - * The cartes_bancaires_payments capability. - */ - cartes_bancaires_payments?: Capabilities.CartesBancairesPayments; - - /** - * The eps_payments capability. - */ - eps_payments?: Capabilities.EpsPayments; - - /** - * The fpx_payments capability. - */ - fpx_payments?: Capabilities.FpxPayments; - - /** - * The giropay_payments capability. - */ - giropay_payments?: Capabilities.GiropayPayments; - - /** - * The grabpay_payments capability. - */ - grabpay_payments?: Capabilities.GrabpayPayments; - - /** - * The ideal_payments capability. - */ - ideal_payments?: Capabilities.IdealPayments; - - /** - * The jcb_payments capability. - */ - jcb_payments?: Capabilities.JcbPayments; - - /** - * The legacy_payments capability. - */ - legacy_payments?: Capabilities.LegacyPayments; - - /** - * The oxxo_payments capability. - */ - oxxo_payments?: Capabilities.OxxoPayments; - - /** - * The p24_payments capability. - */ - p24_payments?: Capabilities.P24Payments; - - /** - * The sepa_debit_payments capability. - */ - sepa_debit_payments?: Capabilities.SepaDebitPayments; - - /** - * The sofort_payments capability. - */ - sofort_payments?: Capabilities.SofortPayments; - - /** - * The tax_reporting_us_1099_k capability. - */ - tax_reporting_us_1099_k?: Capabilities.TaxReportingUs1099K; - - /** - * The tax_reporting_us_1099_misc capability. - */ - tax_reporting_us_1099_misc?: Capabilities.TaxReportingUs1099Misc; - - /** - * The transfers capability. - */ - transfers?: Capabilities.Transfers; - } - - namespace Capabilities { - interface AuBecsDebitPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface BacsDebitPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface BancontactPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface CardIssuing { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface CardPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface CartesBancairesPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface EpsPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface FpxPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface GiropayPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface GrabpayPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface IdealPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface JcbPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface LegacyPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface OxxoPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface P24Payments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface SepaDebitPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface SofortPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface TaxReportingUs1099K { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface TaxReportingUs1099Misc { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface Transfers { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - } - - interface Company { - /** - * The company's primary address. - */ - address?: Company.Address; - - /** - * The Kana variation of the company's primary address (Japan only). - */ - address_kana?: Stripe.JapanAddressParam; - - /** - * The Kanji variation of the company's primary address (Japan only). - */ - address_kanji?: Stripe.JapanAddressParam; - - /** - * Whether the company's directors have been provided. Set this Boolean to `true` after creating all the company's directors with [the Persons API](https://stripe.com/docs/api/persons) for accounts with a `relationship.director` requirement. This value is not automatically set to `true` after creating directors, so it needs to be updated to indicate all directors have been provided. - */ - directors_provided?: boolean; - - /** - * Whether the company's executives have been provided. Set this Boolean to `true` after creating all the company's executives with [the Persons API](https://stripe.com/docs/api/persons) for accounts with a `relationship.executive` requirement. - */ - executives_provided?: boolean; - - /** - * The company's legal name. - */ - name?: string; - - /** - * The Kana variation of the company's legal name (Japan only). - */ - name_kana?: string; - - /** - * The Kanji variation of the company's legal name (Japan only). - */ - name_kanji?: string; - - /** - * Whether the company's owners have been provided. Set this Boolean to `true` after creating all the company's owners with [the Persons API](https://stripe.com/docs/api/persons) for accounts with a `relationship.owner` requirement. - */ - owners_provided?: boolean; - - /** - * The company's phone number (used for verification). - */ - phone?: string; - - /** - * The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong). - */ - registration_number?: string; - - /** - * The category identifying the legal structure of the company or legal entity. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details. - */ - structure?: Stripe.Emptyable; - - /** - * The business ID number of the company, as appropriate for the company's country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.) - */ - tax_id?: string; - - /** - * The jurisdiction in which the `tax_id` is registered (Germany-based companies only). - */ - tax_id_registrar?: string; - - /** - * The VAT number of the company. - */ - vat_id?: string; - - /** - * Information on the verification state of the company. - */ - verification?: Company.Verification; - } - - namespace Company { - interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - } - - type Structure = - | 'government_instrumentality' - | 'governmental_unit' - | 'incorporated_non_profit' - | 'limited_liability_partnership' - | 'multi_member_llc' - | 'private_company' - | 'private_corporation' - | 'private_partnership' - | 'public_company' - | 'public_corporation' - | 'public_partnership' - | 'sole_proprietorship' - | 'tax_exempt_government_instrumentality' - | 'unincorporated_association' - | 'unincorporated_non_profit'; - - interface Verification { - /** - * A document verifying the business. - */ - document?: Verification.Document; - } - - namespace Verification { - interface Document { - /** - * The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; - - /** - * The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front?: string; - } - } - } - - interface Individual { - /** - * The individual's primary address. - */ - address?: Individual.Address; - - /** - * The Kana variation of the the individual's primary address (Japan only). - */ - address_kana?: Stripe.JapanAddressParam; - - /** - * The Kanji variation of the the individual's primary address (Japan only). - */ - address_kanji?: Stripe.JapanAddressParam; - - /** - * The individual's date of birth. - */ - dob?: Stripe.Emptyable; - - /** - * The individual's email address. - */ - email?: string; - - /** - * The individual's first name. - */ - first_name?: string; - - /** - * The Kana variation of the the individual's first name (Japan only). - */ - first_name_kana?: string; - - /** - * The Kanji variation of the individual's first name (Japan only). - */ - first_name_kanji?: string; - - /** - * The individual's gender (International regulations require either "male" or "female"). - */ - gender?: string; - - /** - * The government-issued ID number of the individual, as appropriate for the representative's country. (Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada). Instead of the number itself, you can also provide a [PII token created with Stripe.js](https://stripe.com/docs/stripe.js#collecting-pii-data). - */ - id_number?: string; - - /** - * The individual's last name. - */ - last_name?: string; - - /** - * The Kana varation of the individual's last name (Japan only). - */ - last_name_kana?: string; - - /** - * The Kanji varation of the individual's last name (Japan only). - */ - last_name_kanji?: string; - - /** - * The individual's maiden name. - */ - maiden_name?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * The individual's phone number. - */ - phone?: string; - - /** - * Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction. - */ - political_exposure?: Individual.PoliticalExposure; - - /** - * The last four digits of the individual's Social Security Number (U.S. only). - */ - ssn_last_4?: string; - - /** - * The individual's verification document information. - */ - verification?: Individual.Verification; - } - - namespace Individual { - interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - } - - interface Dob { - /** - * The day of birth, between 1 and 31. - */ - day: number; - - /** - * The month of birth, between 1 and 12. - */ - month: number; - - /** - * The four-digit year of birth. - */ - year: number; - } - - type PoliticalExposure = 'existing' | 'none'; - - interface Verification { - /** - * A document showing address, either a passport, local ID card, or utility bill from a well-known utility company. - */ - additional_document?: Verification.AdditionalDocument; - - /** - * An identifying document, either a passport or local ID card. - */ - document?: Verification.Document; - } - - namespace Verification { - interface AdditionalDocument { - /** - * The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; - - /** - * The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front?: string; - } - - interface Document { - /** - * The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; - - /** - * The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front?: string; - } - } - } - - interface Settings { - /** - * Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products. - */ - branding?: Settings.Branding; - - /** - * Settings specific to card charging on the account. - */ - card_payments?: Settings.CardPayments; - - /** - * Settings that apply across payment methods for charging on the account. - */ - payments?: Settings.Payments; - - /** - * Settings specific to the account's payouts. - */ - payouts?: Settings.Payouts; - } - - namespace Settings { - interface Branding { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px. - */ - icon?: string; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A logo for the account that will be used in Checkout instead of the icon and without the account's name next to it if provided. Must be at least 128px x 128px. - */ - logo?: string; - - /** - * A CSS hex color value representing the primary branding color for this account. - */ - primary_color?: string; - - /** - * A CSS hex color value representing the secondary branding color for this account. - */ - secondary_color?: string; - } - - interface CardPayments { - /** - * Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge. - */ - decline_on?: CardPayments.DeclineOn; - - /** - * The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge. `statement_descriptor_prefix` is useful for maximizing descriptor space for the dynamic portion. - */ - statement_descriptor_prefix?: string; - } - - namespace CardPayments { - interface DeclineOn { - /** - * Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. - */ - avs_failure?: boolean; - - /** - * Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification. - */ - cvc_failure?: boolean; - } - } - - interface Payments { - /** - * The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge. - */ - statement_descriptor?: string; - - /** - * The Kana variation of the default text that appears on credit card statements when a charge is made (Japan only). - */ - statement_descriptor_kana?: string; - - /** - * The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only). - */ - statement_descriptor_kanji?: string; - } - - interface Payouts { - /** - * A Boolean indicating whether Stripe should try to reclaim negative balances from an attached bank account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances). - */ - debit_negative_balances?: boolean; - - /** - * Details on when funds from charges are available, and when they are paid out to an external account. For details, see our [Setting Bank and Debit Card Payouts](https://stripe.com/docs/connect/bank-transfers#payout-information) documentation. - */ - schedule?: Payouts.Schedule; - - /** - * The text that appears on the bank account statement for payouts. If not set, this defaults to the platform's bank descriptor as set in the Dashboard. - */ - statement_descriptor?: string; - } - - namespace Payouts { - interface Schedule { - /** - * The number of days charge funds are held before being paid out. May also be set to `minimum`, representing the lowest available value for the account country. Default is `minimum`. The `delay_days` parameter does not apply when the `interval` is `manual`. - */ - delay_days?: 'minimum' | number; - - /** - * How frequently available funds are paid out. One of: `daily`, `manual`, `weekly`, or `monthly`. Default is `daily`. - */ - interval?: Schedule.Interval; - - /** - * The day of the month when available funds are paid out, specified as a number between 1--31. Payouts nominally scheduled between the 29th and 31st of the month are instead sent on the last day of a shorter month. Required and applicable only if `interval` is `monthly`. - */ - monthly_anchor?: number; - - /** - * The day of the week when available funds are paid out, specified as `monday`, `tuesday`, etc. (required and applicable only if `interval` is `weekly`.) - */ - weekly_anchor?: Schedule.WeeklyAnchor; - } - - namespace Schedule { - type Interval = 'daily' | 'manual' | 'monthly' | 'weekly'; - - type WeeklyAnchor = - | 'friday' - | 'monday' - | 'saturday' - | 'sunday' - | 'thursday' - | 'tuesday' - | 'wednesday'; - } - } - } - - interface TosAcceptance { - /** - * The Unix timestamp marking when the account representative accepted their service agreement. - */ - date?: number; - - /** - * The IP address from which the account representative accepted their service agreement. - */ - ip?: string; - - /** - * The user's service agreement type. - */ - service_agreement?: string; - - /** - * The user agent of the browser from which the account representative accepted their service agreement. - */ - user_agent?: string; - } - - type Type = 'custom' | 'express' | 'standard'; - } - - interface AccountRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface AccountRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface AccountUpdateParams { - /** - * An [account token](https://stripe.com/docs/api#create_account_token), used to securely provide details to the account. - */ - account_token?: string; - - /** - * Business information about the account. - */ - business_profile?: AccountUpdateParams.BusinessProfile; - - /** - * The business type. - */ - business_type?: AccountUpdateParams.BusinessType; - - /** - * Each key of the dictionary represents a capability, and each capability maps to its settings (e.g. whether it has been requested or not). Each capability will be inactive until you have provided its specific requirements and Stripe has verified them. An account may have some of its requested capabilities be active and some be inactive. - */ - capabilities?: AccountUpdateParams.Capabilities; - - /** - * Information about the company or business. This field is available for any `business_type`. - */ - company?: AccountUpdateParams.Company; - - /** - * Three-letter ISO currency code representing the default currency for the account. This must be a currency that [Stripe supports in the account's country](https://stripe.com/docs/payouts). - */ - default_currency?: string; - - /** - * The email address of the account holder. This is only to make the account easier to identify to you. Stripe will never directly email Custom accounts. - */ - email?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * A card or bank account to attach to the account for receiving [payouts](https://stripe.com/docs/connect/bank-debit-card-payouts) (you won't be able to use it for top-ups). You can provide either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary, as documented in the `external_account` parameter for [bank account](https://stripe.com/docs/api#account_create_bank_account) creation. - * - * By default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the bank account or card creation API. - */ - external_account?: string; - - /** - * Information about the person represented by the account. This field is null unless `business_type` is set to `individual`. - */ - individual?: AccountUpdateParams.Individual; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * Options for customizing how the account functions within Stripe. - */ - settings?: AccountUpdateParams.Settings; - - /** - * Details on the account's acceptance of the [Stripe Services Agreement](https://stripe.com/docs/connect/updating-accounts#tos-acceptance). - */ - tos_acceptance?: AccountUpdateParams.TosAcceptance; - } - - namespace AccountUpdateParams { - interface BusinessProfile { - /** - * [The merchant category code for the account](https://stripe.com/docs/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide. - */ - mcc?: string; - - /** - * The customer-facing business name. - */ - name?: string; - - /** - * Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes. - */ - product_description?: string; - - /** - * A publicly available mailing address for sending support issues to. - */ - support_address?: BusinessProfile.SupportAddress; - - /** - * A publicly available email address for sending support issues to. - */ - support_email?: string; - - /** - * A publicly available phone number to call with support issues. - */ - support_phone?: string; - - /** - * A publicly available website for handling support issues. - */ - support_url?: string; - - /** - * The business's publicly available website. - */ - url?: string; - } - - namespace BusinessProfile { - interface SupportAddress { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - } - } - - type BusinessType = - | 'company' - | 'government_entity' - | 'individual' - | 'non_profit'; - - interface Capabilities { - /** - * The au_becs_debit_payments capability. - */ - au_becs_debit_payments?: Capabilities.AuBecsDebitPayments; - - /** - * The bacs_debit_payments capability. - */ - bacs_debit_payments?: Capabilities.BacsDebitPayments; - - /** - * The bancontact_payments capability. - */ - bancontact_payments?: Capabilities.BancontactPayments; - - /** - * The card_issuing capability. - */ - card_issuing?: Capabilities.CardIssuing; - - /** - * The card_payments capability. - */ - card_payments?: Capabilities.CardPayments; - - /** - * The cartes_bancaires_payments capability. - */ - cartes_bancaires_payments?: Capabilities.CartesBancairesPayments; - - /** - * The eps_payments capability. - */ - eps_payments?: Capabilities.EpsPayments; - - /** - * The fpx_payments capability. - */ - fpx_payments?: Capabilities.FpxPayments; - - /** - * The giropay_payments capability. - */ - giropay_payments?: Capabilities.GiropayPayments; - - /** - * The grabpay_payments capability. - */ - grabpay_payments?: Capabilities.GrabpayPayments; - - /** - * The ideal_payments capability. - */ - ideal_payments?: Capabilities.IdealPayments; - - /** - * The jcb_payments capability. - */ - jcb_payments?: Capabilities.JcbPayments; - - /** - * The legacy_payments capability. - */ - legacy_payments?: Capabilities.LegacyPayments; - - /** - * The oxxo_payments capability. - */ - oxxo_payments?: Capabilities.OxxoPayments; - - /** - * The p24_payments capability. - */ - p24_payments?: Capabilities.P24Payments; - - /** - * The sepa_debit_payments capability. - */ - sepa_debit_payments?: Capabilities.SepaDebitPayments; - - /** - * The sofort_payments capability. - */ - sofort_payments?: Capabilities.SofortPayments; - - /** - * The tax_reporting_us_1099_k capability. - */ - tax_reporting_us_1099_k?: Capabilities.TaxReportingUs1099K; - - /** - * The tax_reporting_us_1099_misc capability. - */ - tax_reporting_us_1099_misc?: Capabilities.TaxReportingUs1099Misc; - - /** - * The transfers capability. - */ - transfers?: Capabilities.Transfers; - } - - namespace Capabilities { - interface AuBecsDebitPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface BacsDebitPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface BancontactPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface CardIssuing { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface CardPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface CartesBancairesPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface EpsPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface FpxPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface GiropayPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface GrabpayPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface IdealPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface JcbPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface LegacyPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface OxxoPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface P24Payments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface SepaDebitPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface SofortPayments { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface TaxReportingUs1099K { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface TaxReportingUs1099Misc { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface Transfers { - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - } - - interface Company { - /** - * The company's primary address. - */ - address?: Company.Address; - - /** - * The Kana variation of the company's primary address (Japan only). - */ - address_kana?: Stripe.JapanAddressParam; - - /** - * The Kanji variation of the company's primary address (Japan only). - */ - address_kanji?: Stripe.JapanAddressParam; - - /** - * Whether the company's directors have been provided. Set this Boolean to `true` after creating all the company's directors with [the Persons API](https://stripe.com/docs/api/persons) for accounts with a `relationship.director` requirement. This value is not automatically set to `true` after creating directors, so it needs to be updated to indicate all directors have been provided. - */ - directors_provided?: boolean; - - /** - * Whether the company's executives have been provided. Set this Boolean to `true` after creating all the company's executives with [the Persons API](https://stripe.com/docs/api/persons) for accounts with a `relationship.executive` requirement. - */ - executives_provided?: boolean; - - /** - * The company's legal name. - */ - name?: string; - - /** - * The Kana variation of the company's legal name (Japan only). - */ - name_kana?: string; - - /** - * The Kanji variation of the company's legal name (Japan only). - */ - name_kanji?: string; - - /** - * Whether the company's owners have been provided. Set this Boolean to `true` after creating all the company's owners with [the Persons API](https://stripe.com/docs/api/persons) for accounts with a `relationship.owner` requirement. - */ - owners_provided?: boolean; - - /** - * The company's phone number (used for verification). - */ - phone?: string; - - /** - * The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong). - */ - registration_number?: string; - - /** - * The category identifying the legal structure of the company or legal entity. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details. - */ - structure?: Stripe.Emptyable; - - /** - * The business ID number of the company, as appropriate for the company's country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.) - */ - tax_id?: string; - - /** - * The jurisdiction in which the `tax_id` is registered (Germany-based companies only). - */ - tax_id_registrar?: string; - - /** - * The VAT number of the company. - */ - vat_id?: string; - - /** - * Information on the verification state of the company. - */ - verification?: Company.Verification; - } - - namespace Company { - interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - } - - type Structure = - | 'government_instrumentality' - | 'governmental_unit' - | 'incorporated_non_profit' - | 'limited_liability_partnership' - | 'multi_member_llc' - | 'private_company' - | 'private_corporation' - | 'private_partnership' - | 'public_company' - | 'public_corporation' - | 'public_partnership' - | 'sole_proprietorship' - | 'tax_exempt_government_instrumentality' - | 'unincorporated_association' - | 'unincorporated_non_profit'; - - interface Verification { - /** - * A document verifying the business. - */ - document?: Verification.Document; - } - - namespace Verification { - interface Document { - /** - * The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; - - /** - * The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front?: string; - } - } - } - - interface Individual { - /** - * The individual's primary address. - */ - address?: Individual.Address; - - /** - * The Kana variation of the the individual's primary address (Japan only). - */ - address_kana?: Stripe.JapanAddressParam; - - /** - * The Kanji variation of the the individual's primary address (Japan only). - */ - address_kanji?: Stripe.JapanAddressParam; - - /** - * The individual's date of birth. - */ - dob?: Stripe.Emptyable; - - /** - * The individual's email address. - */ - email?: string; - - /** - * The individual's first name. - */ - first_name?: string; - - /** - * The Kana variation of the the individual's first name (Japan only). - */ - first_name_kana?: string; - - /** - * The Kanji variation of the individual's first name (Japan only). - */ - first_name_kanji?: string; - - /** - * The individual's gender (International regulations require either "male" or "female"). - */ - gender?: string; - - /** - * The government-issued ID number of the individual, as appropriate for the representative's country. (Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada). Instead of the number itself, you can also provide a [PII token created with Stripe.js](https://stripe.com/docs/stripe.js#collecting-pii-data). - */ - id_number?: string; - - /** - * The individual's last name. - */ - last_name?: string; - - /** - * The Kana varation of the individual's last name (Japan only). - */ - last_name_kana?: string; - - /** - * The Kanji varation of the individual's last name (Japan only). - */ - last_name_kanji?: string; - - /** - * The individual's maiden name. - */ - maiden_name?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * The individual's phone number. - */ - phone?: string; - - /** - * Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction. - */ - political_exposure?: Individual.PoliticalExposure; - - /** - * The last four digits of the individual's Social Security Number (U.S. only). - */ - ssn_last_4?: string; - - /** - * The individual's verification document information. - */ - verification?: Individual.Verification; - } - - namespace Individual { - interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - } - - interface Dob { - /** - * The day of birth, between 1 and 31. - */ - day: number; - - /** - * The month of birth, between 1 and 12. - */ - month: number; - - /** - * The four-digit year of birth. - */ - year: number; - } - - type PoliticalExposure = 'existing' | 'none'; - - interface Verification { - /** - * A document showing address, either a passport, local ID card, or utility bill from a well-known utility company. - */ - additional_document?: Verification.AdditionalDocument; - - /** - * An identifying document, either a passport or local ID card. - */ - document?: Verification.Document; - } - - namespace Verification { - interface AdditionalDocument { - /** - * The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; - - /** - * The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front?: string; - } - - interface Document { - /** - * The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; - - /** - * The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front?: string; - } - } - } - - interface Settings { - /** - * Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products. - */ - branding?: Settings.Branding; - - /** - * Settings specific to card charging on the account. - */ - card_payments?: Settings.CardPayments; - - /** - * Settings that apply across payment methods for charging on the account. - */ - payments?: Settings.Payments; - - /** - * Settings specific to the account's payouts. - */ - payouts?: Settings.Payouts; - } - - namespace Settings { - interface Branding { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px. - */ - icon?: string; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A logo for the account that will be used in Checkout instead of the icon and without the account's name next to it if provided. Must be at least 128px x 128px. - */ - logo?: string; - - /** - * A CSS hex color value representing the primary branding color for this account. - */ - primary_color?: string; - - /** - * A CSS hex color value representing the secondary branding color for this account. - */ - secondary_color?: string; - } - - interface CardPayments { - /** - * Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge. - */ - decline_on?: CardPayments.DeclineOn; - - /** - * The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge. `statement_descriptor_prefix` is useful for maximizing descriptor space for the dynamic portion. - */ - statement_descriptor_prefix?: string; - } - - namespace CardPayments { - interface DeclineOn { - /** - * Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification. - */ - avs_failure?: boolean; - - /** - * Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification. - */ - cvc_failure?: boolean; - } - } - - interface Payments { - /** - * The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge. - */ - statement_descriptor?: string; - - /** - * The Kana variation of the default text that appears on credit card statements when a charge is made (Japan only). - */ - statement_descriptor_kana?: string; - - /** - * The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only). - */ - statement_descriptor_kanji?: string; - } - - interface Payouts { - /** - * A Boolean indicating whether Stripe should try to reclaim negative balances from an attached bank account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances). - */ - debit_negative_balances?: boolean; - - /** - * Details on when funds from charges are available, and when they are paid out to an external account. For details, see our [Setting Bank and Debit Card Payouts](https://stripe.com/docs/connect/bank-transfers#payout-information) documentation. - */ - schedule?: Payouts.Schedule; - - /** - * The text that appears on the bank account statement for payouts. If not set, this defaults to the platform's bank descriptor as set in the Dashboard. - */ - statement_descriptor?: string; - } - - namespace Payouts { - interface Schedule { - /** - * The number of days charge funds are held before being paid out. May also be set to `minimum`, representing the lowest available value for the account country. Default is `minimum`. The `delay_days` parameter does not apply when the `interval` is `manual`. - */ - delay_days?: 'minimum' | number; - - /** - * How frequently available funds are paid out. One of: `daily`, `manual`, `weekly`, or `monthly`. Default is `daily`. - */ - interval?: Schedule.Interval; - - /** - * The day of the month when available funds are paid out, specified as a number between 1--31. Payouts nominally scheduled between the 29th and 31st of the month are instead sent on the last day of a shorter month. Required and applicable only if `interval` is `monthly`. - */ - monthly_anchor?: number; - - /** - * The day of the week when available funds are paid out, specified as `monday`, `tuesday`, etc. (required and applicable only if `interval` is `weekly`.) - */ - weekly_anchor?: Schedule.WeeklyAnchor; - } - - namespace Schedule { - type Interval = 'daily' | 'manual' | 'monthly' | 'weekly'; - - type WeeklyAnchor = - | 'friday' - | 'monday' - | 'saturday' - | 'sunday' - | 'thursday' - | 'tuesday' - | 'wednesday'; - } - } - } - - interface TosAcceptance { - /** - * The Unix timestamp marking when the account representative accepted their service agreement. - */ - date?: number; - - /** - * The IP address from which the account representative accepted their service agreement. - */ - ip?: string; - - /** - * The user's service agreement type. - */ - service_agreement?: string; - - /** - * The user agent of the browser from which the account representative accepted their service agreement. - */ - user_agent?: string; - } - } - - interface AccountListParams extends PaginationParams { - created?: Stripe.RangeQueryParam | number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface AccountDeleteParams {} - - interface AccountRejectParams { - /** - * The reason for rejecting the account. Can be `fraud`, `terms_of_service`, or `other`. - */ - reason: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - class AccountsResource { - /** - * With [Connect](https://stripe.com/docs/connect), you can create Stripe accounts for your users. - * To do this, you'll first need to [register your platform](https://dashboard.stripe.com/account/applications/settings). - */ - create( - params?: AccountCreateParams, - options?: RequestOptions - ): Promise>; - create( - options?: RequestOptions - ): Promise>; - - /** - * Retrieves the details of an account. - */ - retrieve( - params?: AccountRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - options?: RequestOptions - ): Promise>; - - /** - * Retrieves the details of an account. - */ - retrieve( - id: string, - params?: AccountRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates a connected [Express or Custom account](https://stripe.com/docs/connect/accounts) by setting the values of the parameters passed. Any parameters not provided are left unchanged. Most parameters can be changed only for Custom accounts. (These are marked Custom Only below.) Parameters marked Custom and Express are supported by both account types. - * - * To update your own account, use the [Dashboard](https://dashboard.stripe.com/account). Refer to our [Connect](https://stripe.com/docs/connect/updating-accounts) documentation to learn more about updating accounts. - */ - update( - id: string, - params?: AccountUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of accounts connected to your platform via [Connect](https://stripe.com/docs/connect). If you're not a platform, the list is empty. - */ - list( - params?: AccountListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - - /** - * With [Connect](https://stripe.com/docs/connect), you can delete Custom or Express accounts you manage. - * - * Accounts created using test-mode keys can be deleted at any time. Accounts created using live-mode keys can only be deleted once all balances are zero. - * - * If you want to delete your own account, use the [account information tab in your account settings](https://dashboard.stripe.com/account) instead. - */ - del( - id: string, - params?: AccountDeleteParams, - options?: RequestOptions - ): Promise>; - del( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * With [Connect](https://stripe.com/docs/connect), you may flag accounts as suspicious. - * - * Test-mode Custom and Express accounts can be rejected at any time. Accounts created using live-mode keys may only be rejected once all balances are zero. - */ - reject( - id: string, - params: AccountRejectParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves information about the specified Account Capability. - */ - retrieveCapability( - accountId: string, - id: string, - params?: CapabilityRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieveCapability( - accountId: string, - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates an existing Account Capability. - */ - updateCapability( - accountId: string, - id: string, - params?: CapabilityUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of capabilities associated with the account. The capabilities are returned sorted by creation date, with the most recent capability appearing first. - */ - listCapabilities( - id: string, - params?: CapabilityListParams, - options?: RequestOptions - ): ApiListPromise; - listCapabilities( - id: string, - options?: RequestOptions - ): ApiListPromise; - - /** - * Create an external account for a given account. - */ - createExternalAccount( - id: string, - params: ExternalAccountCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieve a specified external account for a given account. - */ - retrieveExternalAccount( - accountId: string, - id: string, - params?: ExternalAccountRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieveExternalAccount( - accountId: string, - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates the metadata, account holder name, and account holder type of a bank account belonging to a [Custom account](https://stripe.com/docs/connect/custom-accounts), and optionally sets it as the default for its currency. Other bank account details are not editable by design. - * - * You can re-enable a disabled bank account by performing an update call without providing any arguments or changes. - */ - updateExternalAccount( - accountId: string, - id: string, - params?: ExternalAccountUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * List external accounts for an account. - */ - listExternalAccounts( - id: string, - params?: ExternalAccountListParams, - options?: RequestOptions - ): ApiListPromise; - listExternalAccounts( - id: string, - options?: RequestOptions - ): ApiListPromise; - - /** - * Delete a specified external account for a given account. - */ - deleteExternalAccount( - accountId: string, - id: string, - params?: ExternalAccountDeleteParams, - options?: RequestOptions - ): Promise< - Stripe.Response - >; - deleteExternalAccount( - accountId: string, - id: string, - options?: RequestOptions - ): Promise< - Stripe.Response - >; - - /** - * Creates a single-use login link for an Express account to access their Stripe dashboard. - * - * You may only create login links for [Express accounts](https://stripe.com/docs/connect/express-accounts) connected to your platform. - */ - createLoginLink( - id: string, - params?: LoginLinkCreateParams, - options?: RequestOptions - ): Promise>; - createLoginLink( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Creates a new person. - */ - createPerson( - id: string, - params?: PersonCreateParams, - options?: RequestOptions - ): Promise>; - createPerson( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves an existing person. - */ - retrievePerson( - accountId: string, - id: string, - params?: PersonRetrieveParams, - options?: RequestOptions - ): Promise>; - retrievePerson( - accountId: string, - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates an existing person. - */ - updatePerson( - accountId: string, - id: string, - params?: PersonUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of people associated with the account's legal entity. The people are returned sorted by creation date, with the most recent people appearing first. - */ - listPersons( - id: string, - params?: PersonListParams, - options?: RequestOptions - ): ApiListPromise; - listPersons( - id: string, - options?: RequestOptions - ): ApiListPromise; - - /** - * Deletes an existing person's relationship to the account's legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is the account_opener. If your integration is using the executive parameter, you cannot delete the only verified executive on file. - */ - deletePerson( - accountId: string, - id: string, - params?: PersonDeleteParams, - options?: RequestOptions - ): Promise>; - deletePerson( - accountId: string, - id: string, - options?: RequestOptions - ): Promise>; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/AlipayAccounts.d.ts b/node_modules/stripe/types/2020-08-27/AlipayAccounts.d.ts deleted file mode 100644 index f52e5ea1..00000000 --- a/node_modules/stripe/types/2020-08-27/AlipayAccounts.d.ts +++ /dev/null @@ -1,91 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The AlipayAccount object. - */ - interface AlipayAccount { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'alipay_account'; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * The ID of the customer associated with this Alipay Account. - */ - customer?: string | Stripe.Customer | DeletedCustomer | null; - - deleted?: void; - - /** - * Uniquely identifies the account and will be the same across all Alipay account objects that are linked to the same Alipay account. - */ - fingerprint: string; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata?: Stripe.Metadata; - - /** - * If the Alipay account object is not reusable, the exact amount that you can create a charge for. - */ - payment_amount: number | null; - - /** - * If the Alipay account object is not reusable, the exact currency that you can create a charge for. - */ - payment_currency: string | null; - - /** - * True if you can create multiple payments using this account. If the account is reusable, then you can freely choose the amount of each payment. - */ - reusable: boolean; - - /** - * Whether this Alipay account object has ever been used for a payment. - */ - used: boolean; - - /** - * The username for the Alipay account. - */ - username: string; - } - - /** - * The DeletedAlipayAccount object. - */ - interface DeletedAlipayAccount { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'alipay_account'; - - /** - * Always true for a deleted object - */ - deleted: true; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/ApplePayDomains.d.ts b/node_modules/stripe/types/2020-08-27/ApplePayDomains.d.ts deleted file mode 100644 index db7caa4e..00000000 --- a/node_modules/stripe/types/2020-08-27/ApplePayDomains.d.ts +++ /dev/null @@ -1,125 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The ApplePayDomain object. - */ - interface ApplePayDomain { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'apple_pay_domain'; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - deleted?: void; - - domain_name: string; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - } - - /** - * The DeletedApplePayDomain object. - */ - interface DeletedApplePayDomain { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'apple_pay_domain'; - - /** - * Always true for a deleted object - */ - deleted: true; - } - - interface ApplePayDomainCreateParams { - domain_name: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface ApplePayDomainRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface ApplePayDomainListParams extends PaginationParams { - domain_name?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface ApplePayDomainDeleteParams {} - - class ApplePayDomainsResource { - /** - * Create an apple pay domain. - */ - create( - params: ApplePayDomainCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieve an apple pay domain. - */ - retrieve( - id: string, - params?: ApplePayDomainRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * List apple pay domains. - */ - list( - params?: ApplePayDomainListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - - /** - * Delete an apple pay domain. - */ - del( - id: string, - params?: ApplePayDomainDeleteParams, - options?: RequestOptions - ): Promise>; - del( - id: string, - options?: RequestOptions - ): Promise>; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/ApplicationFees.d.ts b/node_modules/stripe/types/2020-08-27/ApplicationFees.d.ts deleted file mode 100644 index 5d02e1a3..00000000 --- a/node_modules/stripe/types/2020-08-27/ApplicationFees.d.ts +++ /dev/null @@ -1,185 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The ApplicationFee object. - */ - interface ApplicationFee { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'application_fee'; - - /** - * ID of the Stripe account this fee was taken from. - */ - account: string | Stripe.Account; - - /** - * Amount earned, in %s. - */ - amount: number; - - /** - * Amount in %s refunded (can be less than the amount attribute on the fee if a partial refund was issued) - */ - amount_refunded: number; - - /** - * ID of the Connect application that earned the fee. - */ - application: string | Stripe.Application; - - /** - * Balance transaction that describes the impact of this collected application fee on your account balance (not including refunds). - */ - balance_transaction: string | Stripe.BalanceTransaction | null; - - /** - * ID of the charge that the application fee was taken from. - */ - charge: string | Stripe.Charge; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * ID of the corresponding charge on the platform account, if this fee was the result of a charge using the `destination` parameter. - */ - originating_transaction: string | Stripe.Charge | null; - - /** - * Whether the fee has been fully refunded. If the fee is only partially refunded, this attribute will still be false. - */ - refunded: boolean; - - /** - * A list of refunds that have been applied to the fee. - */ - refunds: ApiList; - } - - interface ApplicationFeeRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface ApplicationFeeListParams extends PaginationParams { - /** - * Only return application fees for the charge specified by this charge ID. - */ - charge?: string; - - created?: Stripe.RangeQueryParam | number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - class ApplicationFeesResource { - /** - * Retrieves the details of an application fee that your account has collected. The same information is returned when refunding the application fee. - */ - retrieve( - id: string, - params?: ApplicationFeeRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of application fees you've previously collected. The application fees are returned in sorted order, with the most recent fees appearing first. - */ - list( - params?: ApplicationFeeListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - - /** - * Refunds an application fee that has previously been collected but not yet refunded. - * Funds will be refunded to the Stripe account from which the fee was originally collected. - * - * You can optionally refund only part of an application fee. - * You can do so multiple times, until the entire fee has been refunded. - * - * Once entirely refunded, an application fee can't be refunded again. - * This method will raise an error when called on an already-refunded application fee, - * or when trying to refund more money than is left on an application fee. - */ - createRefund( - id: string, - params?: FeeRefundCreateParams, - options?: RequestOptions - ): Promise>; - createRefund( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * By default, you can see the 10 most recent refunds stored directly on the application fee object, but you can also retrieve details about a specific refund stored on the application fee. - */ - retrieveRefund( - feeId: string, - id: string, - params?: FeeRefundRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieveRefund( - feeId: string, - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates the specified application fee refund by setting the values of the parameters passed. Any parameters not provided will be left unchanged. - * - * This request only accepts metadata as an argument. - */ - updateRefund( - feeId: string, - id: string, - params?: FeeRefundUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * You can see a list of the refunds belonging to a specific application fee. Note that the 10 most recent refunds are always available by default on the application fee object. If you need more than those 10, you can use this API method and the limit and starting_after parameters to page through additional refunds. - */ - listRefunds( - id: string, - params?: FeeRefundListParams, - options?: RequestOptions - ): ApiListPromise; - listRefunds( - id: string, - options?: RequestOptions - ): ApiListPromise; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Applications.d.ts b/node_modules/stripe/types/2020-08-27/Applications.d.ts deleted file mode 100644 index 0d8f2310..00000000 --- a/node_modules/stripe/types/2020-08-27/Applications.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Application object. - */ - interface Application { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'application'; - - /** - * The name of the application. - */ - name: string | null; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Balance.d.ts b/node_modules/stripe/types/2020-08-27/Balance.d.ts deleted file mode 100644 index 556887b7..00000000 --- a/node_modules/stripe/types/2020-08-27/Balance.d.ts +++ /dev/null @@ -1,238 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Balance object. - */ - interface Balance { - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'balance'; - - /** - * Funds that are available to be transferred or paid out, whether automatically by Stripe or explicitly via the [Transfers API](https://stripe.com/docs/api#transfers) or [Payouts API](https://stripe.com/docs/api#payouts). The available balance for each currency and payment type can be found in the `source_types` property. - */ - available: Array; - - /** - * Funds held due to negative balances on connected Custom accounts. The connect reserve balance for each currency and payment type can be found in the `source_types` property. - */ - connect_reserved?: Array; - - /** - * Funds that can be paid out using Instant Payouts. - */ - instant_available?: Array; - - issuing?: Balance.Issuing; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Funds that are not yet available in the balance, due to the 7-day rolling pay cycle. The pending balance for each currency, and for each payment type, can be found in the `source_types` property. - */ - pending: Array; - } - - namespace Balance { - interface Available { - /** - * Balance amount. - */ - amount: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - source_types?: Available.SourceTypes; - } - - namespace Available { - interface SourceTypes { - /** - * Amount for bank account. - */ - bank_account?: number; - - /** - * Amount for card. - */ - card?: number; - - /** - * Amount for FPX. - */ - fpx?: number; - } - } - - interface ConnectReserved { - /** - * Balance amount. - */ - amount: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - source_types?: ConnectReserved.SourceTypes; - } - - namespace ConnectReserved { - interface SourceTypes { - /** - * Amount for bank account. - */ - bank_account?: number; - - /** - * Amount for card. - */ - card?: number; - - /** - * Amount for FPX. - */ - fpx?: number; - } - } - - interface InstantAvailable { - /** - * Balance amount. - */ - amount: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - source_types?: InstantAvailable.SourceTypes; - } - - namespace InstantAvailable { - interface SourceTypes { - /** - * Amount for bank account. - */ - bank_account?: number; - - /** - * Amount for card. - */ - card?: number; - - /** - * Amount for FPX. - */ - fpx?: number; - } - } - - interface Issuing { - /** - * Funds that are available for use. - */ - available: Array; - } - - namespace Issuing { - interface Available { - /** - * Balance amount. - */ - amount: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - source_types?: Available.SourceTypes; - } - - namespace Available { - interface SourceTypes { - /** - * Amount for bank account. - */ - bank_account?: number; - - /** - * Amount for card. - */ - card?: number; - - /** - * Amount for FPX. - */ - fpx?: number; - } - } - } - - interface Pending { - /** - * Balance amount. - */ - amount: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - source_types?: Pending.SourceTypes; - } - - namespace Pending { - interface SourceTypes { - /** - * Amount for bank account. - */ - bank_account?: number; - - /** - * Amount for card. - */ - card?: number; - - /** - * Amount for FPX. - */ - fpx?: number; - } - } - } - - interface BalanceRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - class BalanceResource { - /** - * Retrieves the current account balance, based on the authentication that was used to make the request. - * For a sample request, see [Accounting for negative balances](https://stripe.com/docs/connect/account-balances#accounting-for-negative-balances). - */ - retrieve( - params?: BalanceRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - options?: RequestOptions - ): Promise>; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/BalanceTransactions.d.ts b/node_modules/stripe/types/2020-08-27/BalanceTransactions.d.ts deleted file mode 100644 index 463054fa..00000000 --- a/node_modules/stripe/types/2020-08-27/BalanceTransactions.d.ts +++ /dev/null @@ -1,231 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The BalanceTransaction object. - */ - interface BalanceTransaction { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'balance_transaction'; - - /** - * Gross amount of the transaction, in %s. - */ - amount: number; - - /** - * The date the transaction's net funds will become available in the Stripe balance. - */ - available_on: number; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description: string | null; - - /** - * The exchange rate used, if applicable, for this transaction. Specifically, if money was converted from currency A to currency B, then the `amount` in currency A, times `exchange_rate`, would be the `amount` in currency B. For example, suppose you charged a customer 10.00 EUR. Then the PaymentIntent's `amount` would be `1000` and `currency` would be `eur`. Suppose this was converted into 12.34 USD in your Stripe account. Then the BalanceTransaction's `amount` would be `1234`, `currency` would be `usd`, and `exchange_rate` would be `1.234`. - */ - exchange_rate: number | null; - - /** - * Fees (in %s) paid for this transaction. - */ - fee: number; - - /** - * Detailed breakdown of fees (in %s) paid for this transaction. - */ - fee_details: Array; - - /** - * Net amount of the transaction, in %s. - */ - net: number; - - /** - * [Learn more](https://stripe.com/docs/reports/reporting-categories) about how reporting categories can help you understand balance transactions from an accounting perspective. - */ - reporting_category: string; - - /** - * The Stripe object to which this transaction is related. - */ - source: - | string - | Stripe.ApplicationFee - | Stripe.Charge - | Stripe.ConnectCollectionTransfer - | Stripe.Dispute - | Stripe.FeeRefund - | Stripe.Issuing.Authorization - | Stripe.Issuing.Dispute - | Stripe.Issuing.Transaction - | Stripe.Payout - | Stripe.PlatformTaxFee - | Stripe.Refund - | Stripe.ReserveTransaction - | Stripe.TaxDeductedAtSource - | Stripe.Topup - | Stripe.Transfer - | Stripe.TransferReversal - | null; - - /** - * If the transaction's net funds are available in the Stripe balance yet. Either `available` or `pending`. - */ - status: string; - - /** - * Transaction type: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `connect_collection_transfer`, `contribution`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `payment`, `payment_failure_refund`, `payment_refund`, `payout`, `payout_cancel`, `payout_failure`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `stripe_fee`, `stripe_fx_fee`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, or `transfer_refund`. [Learn more](https://stripe.com/docs/reports/balance-transaction-types) about balance transaction types and what they represent. If you are looking to classify transactions for accounting purposes, you might want to consider `reporting_category` instead. - */ - type: BalanceTransaction.Type; - } - - namespace BalanceTransaction { - interface FeeDetail { - /** - * Amount of the fee, in cents. - */ - amount: number; - - /** - * ID of the Connect application that earned the fee. - */ - application: string | null; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description: string | null; - - /** - * Type of the fee, one of: `application_fee`, `stripe_fee` or `tax`. - */ - type: string; - } - - type Type = - | 'adjustment' - | 'advance' - | 'advance_funding' - | 'anticipation_repayment' - | 'application_fee' - | 'application_fee_refund' - | 'charge' - | 'connect_collection_transfer' - | 'contribution' - | 'issuing_authorization_hold' - | 'issuing_authorization_release' - | 'issuing_dispute' - | 'issuing_transaction' - | 'payment' - | 'payment_failure_refund' - | 'payment_refund' - | 'payout' - | 'payout_cancel' - | 'payout_failure' - | 'refund' - | 'refund_failure' - | 'reserve_transaction' - | 'reserved_funds' - | 'stripe_fee' - | 'stripe_fx_fee' - | 'tax_fee' - | 'topup' - | 'topup_reversal' - | 'transfer' - | 'transfer_cancel' - | 'transfer_failure' - | 'transfer_refund'; - } - - interface BalanceTransactionRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface BalanceTransactionListParams extends PaginationParams { - available_on?: Stripe.RangeQueryParam | number; - - created?: Stripe.RangeQueryParam | number; - - /** - * Only return transactions in a certain currency. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * For automatic Stripe payouts only, only returns transactions that were paid out on the specified payout ID. - */ - payout?: string; - - /** - * Only returns the original transaction. - */ - source?: string; - - /** - * Only returns transactions of the given type. One of: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `connect_collection_transfer`, `contribution`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `payment`, `payment_failure_refund`, `payment_refund`, `payout`, `payout_cancel`, `payout_failure`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `stripe_fee`, `stripe_fx_fee`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, or `transfer_refund`. - */ - type?: string; - } - - class BalanceTransactionsResource { - /** - * Retrieves the balance transaction with the given ID. - * - * Note that this endpoint previously used the path /v1/balance/history/:id. - */ - retrieve( - id: string, - params?: BalanceTransactionRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of transactions that have contributed to the Stripe account balance (e.g., charges, transfers, and so forth). The transactions are returned in sorted order, with the most recent transactions appearing first. - * - * Note that this endpoint was previously called “Balance history” and used the path /v1/balance/history. - */ - list( - params?: BalanceTransactionListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/BankAccounts.d.ts b/node_modules/stripe/types/2020-08-27/BankAccounts.d.ts deleted file mode 100644 index 22a60fe2..00000000 --- a/node_modules/stripe/types/2020-08-27/BankAccounts.d.ts +++ /dev/null @@ -1,124 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The BankAccount object. - */ - interface BankAccount { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'bank_account'; - - /** - * The ID of the account that the bank account is associated with. - */ - account?: string | Stripe.Account | null; - - /** - * The name of the person or business that owns the bank account. - */ - account_holder_name: string | null; - - /** - * The type of entity that holds the account. This can be either `individual` or `company`. - */ - account_holder_type: string | null; - - /** - * A set of available payout methods for this bank account. Only values from this set should be passed as the `method` when creating a payout. - */ - available_payout_methods?: Array< - BankAccount.AvailablePayoutMethod - > | null; - - /** - * Name of the bank associated with the routing number (e.g., `WELLS FARGO`). - */ - bank_name: string | null; - - /** - * Two-letter ISO code representing the country the bank account is located in. - */ - country: string; - - /** - * Three-letter [ISO code for the currency](https://stripe.com/docs/payouts) paid out to the bank account. - */ - currency: string; - - /** - * The ID of the customer that the bank account is associated with. - */ - customer?: string | Stripe.Customer | DeletedCustomer | null; - - /** - * Whether this bank account is the default external account for its currency. - */ - default_for_currency?: boolean | null; - - deleted?: void; - - /** - * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. - */ - fingerprint: string | null; - - /** - * The last four digits of the bank account number. - */ - last4: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata?: Stripe.Metadata | null; - - /** - * The routing transit number for the bank account. - */ - routing_number: string | null; - - /** - * For bank accounts, possible values are `new`, `validated`, `verified`, `verification_failed`, or `errored`. A bank account that hasn't had any activity or validation performed is `new`. If Stripe can determine that the bank account exists, its status will be `validated`. Note that there often isn't enough information to know (e.g., for smaller credit unions), and the validation is not always run. If customer bank account verification has succeeded, the bank account status will be `verified`. If the verification failed for any reason, such as microdeposit failure, the status will be `verification_failed`. If a transfer sent to this bank account fails, we'll set the status to `errored` and will not continue to send transfers until the bank details are updated. - * - * For external accounts, possible values are `new` and `errored`. Validations aren't run against external accounts because they're only used for payouts. This means the other statuses don't apply. If a transfer fails, the status is set to `errored` and transfers are stopped until account details are updated. - */ - status: string; - } - - namespace BankAccount { - type AvailablePayoutMethod = 'instant' | 'standard'; - } - - /** - * The DeletedBankAccount object. - */ - interface DeletedBankAccount { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'bank_account'; - - /** - * Three-letter [ISO code for the currency](https://stripe.com/docs/payouts) paid out to the bank account. - */ - currency: string | null; - - /** - * Always true for a deleted object - */ - deleted: true; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/BillingPortal/Sessions.d.ts b/node_modules/stripe/types/2020-08-27/BillingPortal/Sessions.d.ts deleted file mode 100644 index de581d22..00000000 --- a/node_modules/stripe/types/2020-08-27/BillingPortal/Sessions.d.ts +++ /dev/null @@ -1,73 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - namespace BillingPortal { - /** - * The Session object. - */ - interface Session { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'billing_portal.session'; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * The ID of the customer for this session. - */ - customer: string; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * The URL to which Stripe should send customers when they click on the link to return to your website. - */ - return_url: string; - - /** - * The short-lived URL of the session giving customers access to the customer portal. - */ - url: string; - } - - interface SessionCreateParams { - /** - * The ID of an existing customer. - */ - customer: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * The URL to which Stripe should send customers when they click on the link to return to your website. This field is required if a default return URL has not been configured for the portal. - */ - return_url?: string; - } - - class SessionsResource { - /** - * Creates a session of the customer portal. - */ - create( - params: SessionCreateParams, - options?: RequestOptions - ): Promise>; - } - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/BitcoinReceivers.d.ts b/node_modules/stripe/types/2020-08-27/BitcoinReceivers.d.ts deleted file mode 100644 index 5b682ce7..00000000 --- a/node_modules/stripe/types/2020-08-27/BitcoinReceivers.d.ts +++ /dev/null @@ -1,141 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The BitcoinReceiver object. - */ - interface BitcoinReceiver { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'bitcoin_receiver'; - - /** - * True when this bitcoin receiver has received a non-zero amount of bitcoin. - */ - active: boolean; - - /** - * The amount of `currency` that you are collecting as payment. - */ - amount: number; - - /** - * The amount of `currency` to which `bitcoin_amount_received` has been converted. - */ - amount_received: number; - - /** - * The amount of bitcoin that the customer should send to fill the receiver. The `bitcoin_amount` is denominated in Satoshi: there are 10^8 Satoshi in one bitcoin. - */ - bitcoin_amount: number; - - /** - * The amount of bitcoin that has been sent by the customer to this receiver. - */ - bitcoin_amount_received: number; - - /** - * This URI can be displayed to the customer as a clickable link (to activate their bitcoin client) or as a QR code (for mobile wallets). - */ - bitcoin_uri: string; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) to which the bitcoin will be converted. - */ - currency: string; - - /** - * The customer ID of the bitcoin receiver. - */ - customer?: string | null; - - deleted?: void; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description: string | null; - - /** - * The customer's email address, set by the API call that creates the receiver. - */ - email: string | null; - - /** - * This flag is initially false and updates to true when the customer sends the `bitcoin_amount` to this receiver. - */ - filled: boolean; - - /** - * A bitcoin address that is specific to this receiver. The customer can send bitcoin to this address to fill the receiver. - */ - inbound_address: string; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata | null; - - /** - * The ID of the payment created from the receiver, if any. Hidden when viewing the receiver with a publishable key. - */ - payment?: string | null; - - /** - * The refund address of this bitcoin receiver. - */ - refund_address: string | null; - - /** - * A list with one entry for each time that the customer sent bitcoin to the receiver. Hidden when viewing the receiver with a publishable key. - */ - transactions?: ApiList; - - /** - * This receiver contains uncaptured funds that can be used for a payment or refunded. - */ - uncaptured_funds: boolean; - - /** - * Indicate if this source is used for payment. - */ - used_for_payment: boolean | null; - } - - /** - * The DeletedBitcoinReceiver object. - */ - interface DeletedBitcoinReceiver { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'bitcoin_receiver'; - - /** - * Always true for a deleted object - */ - deleted: true; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/BitcoinTransactions.d.ts b/node_modules/stripe/types/2020-08-27/BitcoinTransactions.d.ts deleted file mode 100644 index d9eb339d..00000000 --- a/node_modules/stripe/types/2020-08-27/BitcoinTransactions.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The BitcoinTransaction object. - */ - interface BitcoinTransaction { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'bitcoin_transaction'; - - /** - * The amount of `currency` that the transaction was converted to in real-time. - */ - amount: number; - - /** - * The amount of bitcoin contained in the transaction. - */ - bitcoin_amount: number; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) to which this transaction was converted. - */ - currency: string; - - /** - * The receiver to which this transaction was sent. - */ - receiver: string; - } - - interface BitcoinTransactionListParams extends PaginationParams { - /** - * Only return transactions for the customer specified by this customer ID. - */ - customer?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Capabilities.d.ts b/node_modules/stripe/types/2020-08-27/Capabilities.d.ts deleted file mode 100644 index 33e641df..00000000 --- a/node_modules/stripe/types/2020-08-27/Capabilities.d.ts +++ /dev/null @@ -1,178 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Capability object. - */ - interface Capability { - /** - * The identifier for the capability. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'capability'; - - /** - * The account for which the capability enables functionality. - */ - account: string | Stripe.Account; - - /** - * Whether the capability has been requested. - */ - requested: boolean; - - /** - * Time at which the capability was requested. Measured in seconds since the Unix epoch. - */ - requested_at: number | null; - - requirements?: Capability.Requirements; - - /** - * The status of the capability. Can be `active`, `inactive`, `pending`, or `unrequested`. - */ - status: Capability.Status; - } - - namespace Capability { - interface Requirements { - /** - * The date the fields in `currently_due` must be collected by to keep the capability enabled for the account. - */ - current_deadline: number | null; - - /** - * The fields that need to be collected to keep the capability enabled. If not collected by the `current_deadline`, these fields appear in `past_due` as well, and the capability is disabled. - */ - currently_due: Array; - - /** - * If the capability is disabled, this string describes why. Possible values are `requirement.fields_needed`, `pending.onboarding`, `pending.review`, `rejected_fraud`, or `rejected.other`. - */ - disabled_reason: string | null; - - /** - * The fields that are `currently_due` and need to be collected again because validation or verification failed for some reason. - */ - errors: Array; - - /** - * The fields that need to be collected assuming all volume thresholds are reached. As they become required, these fields appear in `currently_due` as well, and the `current_deadline` is set. - */ - eventually_due: Array; - - /** - * The fields that weren't collected by the `current_deadline`. These fields need to be collected to enable the capability for the account. - */ - past_due: Array; - - /** - * Fields that may become required depending on the results of verification or review. An empty array unless an asynchronous verification is pending. If verification fails, the fields in this array become required and move to `currently_due` or `past_due`. - */ - pending_verification: Array; - } - - namespace Requirements { - interface Error { - /** - * The code for the type of error. - */ - code: Error.Code; - - /** - * An informative message that indicates the error type and provides additional details about the error. - */ - reason: string; - - /** - * The specific user onboarding requirement field (in the requirements hash) that needs to be resolved. - */ - requirement: string; - } - - namespace Error { - type Code = - | 'invalid_address_city_state_postal_code' - | 'invalid_street_address' - | 'invalid_value_other' - | 'verification_document_address_mismatch' - | 'verification_document_address_missing' - | 'verification_document_corrupt' - | 'verification_document_country_not_supported' - | 'verification_document_dob_mismatch' - | 'verification_document_duplicate_type' - | 'verification_document_expired' - | 'verification_document_failed_copy' - | 'verification_document_failed_greyscale' - | 'verification_document_failed_other' - | 'verification_document_failed_test_mode' - | 'verification_document_fraudulent' - | 'verification_document_id_number_mismatch' - | 'verification_document_id_number_missing' - | 'verification_document_incomplete' - | 'verification_document_invalid' - | 'verification_document_issue_or_expiry_date_missing' - | 'verification_document_manipulated' - | 'verification_document_missing_back' - | 'verification_document_missing_front' - | 'verification_document_name_mismatch' - | 'verification_document_name_missing' - | 'verification_document_nationality_mismatch' - | 'verification_document_not_readable' - | 'verification_document_not_signed' - | 'verification_document_not_uploaded' - | 'verification_document_photo_mismatch' - | 'verification_document_too_large' - | 'verification_document_type_not_supported' - | 'verification_failed_address_match' - | 'verification_failed_business_iec_number' - | 'verification_failed_document_match' - | 'verification_failed_id_number_match' - | 'verification_failed_keyed_identity' - | 'verification_failed_keyed_match' - | 'verification_failed_name_match' - | 'verification_failed_other' - | 'verification_failed_tax_id_match' - | 'verification_failed_tax_id_not_issued'; - } - } - - type Status = - | 'active' - | 'disabled' - | 'inactive' - | 'pending' - | 'unrequested'; - } - - interface CapabilityRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface CapabilityUpdateParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays. - */ - requested?: boolean; - } - - interface CapabilityListParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Cards.d.ts b/node_modules/stripe/types/2020-08-27/Cards.d.ts deleted file mode 100644 index f97a47c4..00000000 --- a/node_modules/stripe/types/2020-08-27/Cards.d.ts +++ /dev/null @@ -1,195 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Card object. - */ - interface Card { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'card'; - - /** - * The account this card belongs to. This attribute will not be in the card object if the card belongs to a customer or recipient instead. - */ - account?: string | Stripe.Account | null; - - /** - * City/District/Suburb/Town/Village. - */ - address_city: string | null; - - /** - * Billing address country, if provided when creating card. - */ - address_country: string | null; - - /** - * Address line 1 (Street address/PO Box/Company name). - */ - address_line1: string | null; - - /** - * If `address_line1` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`. - */ - address_line1_check: string | null; - - /** - * Address line 2 (Apartment/Suite/Unit/Building). - */ - address_line2: string | null; - - /** - * State/County/Province/Region. - */ - address_state: string | null; - - /** - * ZIP or postal code. - */ - address_zip: string | null; - - /** - * If `address_zip` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`. - */ - address_zip_check: string | null; - - /** - * A set of available payout methods for this card. Only values from this set should be passed as the `method` when creating a payout. - */ - available_payout_methods?: Array | null; - - /** - * Card brand. Can be `American Express`, `Diners Club`, `Discover`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`. - */ - brand: string; - - /** - * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected. - */ - country: string | null; - - /** - * Three-letter [ISO code for currency](https://stripe.com/docs/payouts). Only applicable on accounts (not customers or recipients). The card can be used as a transfer destination for funds in this currency. - */ - currency?: string | null; - - /** - * The customer that this card belongs to. This attribute will not be in the card object if the card belongs to an account or recipient instead. - */ - customer?: string | Stripe.Customer | DeletedCustomer | null; - - /** - * If a CVC was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates that CVC was provided but hasn't been checked yet. Checks are typically performed when attaching a card to a Customer object, or when creating a charge. For more details, see [Check if a card is valid without a charge](https://support.stripe.com/questions/check-if-a-card-is-valid-without-a-charge). - */ - cvc_check: string | null; - - /** - * Whether this card is the default external account for its currency. - */ - default_for_currency?: boolean | null; - - deleted?: void; - - /** - * A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.) - */ - description?: string; - - /** - * (For tokenized numbers only.) The last four digits of the device account number. - */ - dynamic_last4: string | null; - - /** - * Two-digit number representing the card's expiration month. - */ - exp_month: number; - - /** - * Four-digit number representing the card's expiration year. - */ - exp_year: number; - - /** - * Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. - */ - fingerprint?: string | null; - - /** - * Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`. - */ - funding: string; - - /** - * Issuer identification number of the card. (For internal use only and not typically available in standard API requests.) - */ - iin?: string; - - /** - * The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.) - */ - issuer?: string; - - /** - * The last four digits of the card. - */ - last4: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata | null; - - /** - * Cardholder name. - */ - name: string | null; - - /** - * The recipient that this card belongs to. This attribute will not be in the card object if the card belongs to a customer or account instead. - */ - recipient?: string | Stripe.Recipient | null; - - /** - * If the card number is tokenized, this is the method that was used. Can be `android_pay` (includes Google Pay), `apple_pay`, `masterpass`, `visa_checkout`, or null. - */ - tokenization_method: string | null; - } - - namespace Card { - type AvailablePayoutMethod = 'instant' | 'standard'; - } - - /** - * The DeletedCard object. - */ - interface DeletedCard { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'card'; - - /** - * Three-letter [ISO code for the currency](https://stripe.com/docs/payouts) paid out to the bank account. - */ - currency: string | null; - - /** - * Always true for a deleted object - */ - deleted: true; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Charges.d.ts b/node_modules/stripe/types/2020-08-27/Charges.d.ts deleted file mode 100644 index d36bf507..00000000 --- a/node_modules/stripe/types/2020-08-27/Charges.d.ts +++ /dev/null @@ -1,1883 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Charge object. - */ - interface Charge { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'charge'; - - alternate_statement_descriptors?: Charge.AlternateStatementDescriptors; - - /** - * Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). - */ - amount: number; - - /** - * Amount in %s captured (can be less than the amount attribute on the charge if a partial capture was made). - */ - amount_captured: number; - - /** - * Amount in %s refunded (can be less than the amount attribute on the charge if a partial refund was issued). - */ - amount_refunded: number; - - /** - * ID of the Connect application that created the charge. - */ - application: string | Stripe.Application | null; - - /** - * The application fee (if any) for the charge. [See the Connect documentation](https://stripe.com/docs/connect/direct-charges#collecting-fees) for details. - */ - application_fee: string | Stripe.ApplicationFee | null; - - /** - * The amount of the application fee (if any) requested for the charge. [See the Connect documentation](https://stripe.com/docs/connect/direct-charges#collecting-fees) for details. - */ - application_fee_amount: number | null; - - /** - * Authorization code on the charge. - */ - authorization_code?: string; - - /** - * ID of the balance transaction that describes the impact of this charge on your account balance (not including refunds or disputes). - */ - balance_transaction: string | Stripe.BalanceTransaction | null; - - billing_details: Charge.BillingDetails; - - /** - * The full statement descriptor that is passed to card networks, and that is displayed on your customers' credit card and bank statements. Allows you to see what the statement descriptor looks like after the static and dynamic portions are combined. - */ - calculated_statement_descriptor: string | null; - - /** - * If the charge was created without capturing, this Boolean represents whether it is still uncaptured or has since been captured. - */ - captured: boolean; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * ID of the customer this charge is for if one exists. - */ - customer: string | Stripe.Customer | DeletedCustomer | null; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description: string | null; - - /** - * ID of an existing, connected Stripe account to transfer funds to if `transfer_data` was specified in the charge request. - */ - destination: string | Stripe.Account | null; - - /** - * Details about the dispute if the charge has been disputed. - */ - dispute: string | Stripe.Dispute | null; - - /** - * Whether the charge has been disputed. - */ - disputed: boolean; - - /** - * Error code explaining reason for charge failure if available (see [the errors section](https://stripe.com/docs/api#errors) for a list of codes). - */ - failure_code: string | null; - - /** - * Message to user further explaining reason for charge failure if available. - */ - failure_message: string | null; - - /** - * Information on fraud assessments for the charge. - */ - fraud_details: Charge.FraudDetails | null; - - /** - * ID of the invoice this charge is for if one exists. - */ - invoice: string | Stripe.Invoice | null; - - level3?: Charge.Level3; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata; - - /** - * The account (if any) the charge was made on behalf of without triggering an automatic transfer. See the [Connect documentation](https://stripe.com/docs/connect/charges-transfers) for details. - */ - on_behalf_of: string | Stripe.Account | null; - - /** - * ID of the order this charge is for if one exists. - */ - order: string | Stripe.Order | null; - - /** - * Details about whether the payment was accepted, and why. See [understanding declines](https://stripe.com/docs/declines) for details. - */ - outcome: Charge.Outcome | null; - - /** - * `true` if the charge succeeded, or was successfully authorized for later capture. - */ - paid: boolean; - - /** - * ID of the PaymentIntent associated with this charge, if one exists. - */ - payment_intent: string | Stripe.PaymentIntent | null; - - /** - * ID of the payment method used in this charge. - */ - payment_method: string | null; - - /** - * Details about the payment method at the time of the transaction. - */ - payment_method_details: Charge.PaymentMethodDetails | null; - - /** - * This is the email address that the receipt for this charge was sent to. - */ - receipt_email: string | null; - - /** - * This is the transaction number that appears on email receipts sent for this charge. This attribute will be `null` until a receipt has been sent. - */ - receipt_number: string | null; - - /** - * This is the URL to view the receipt for this charge. The receipt is kept up-to-date to the latest state of the charge, including any refunds. If the charge is for an Invoice, the receipt will be stylized as an Invoice receipt. - */ - receipt_url: string | null; - - /** - * Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false. - */ - refunded: boolean; - - /** - * A list of refunds that have been applied to the charge. - */ - refunds: ApiList; - - /** - * ID of the review associated with this charge if one exists. - */ - review: string | Stripe.Review | null; - - /** - * Shipping information for the charge. - */ - shipping: Charge.Shipping | null; - - /** - * This is a legacy field that will be removed in the future. It contains the Source, Card, or BankAccount object used for the charge. For details about the payment method used for this charge, refer to `payment_method` or `payment_method_details` instead. - */ - source: Stripe.CustomerSource | null; - - /** - * The transfer ID which created this charge. Only present if the charge came from another Stripe account. [See the Connect documentation](https://stripe.com/docs/connect/destination-charges) for details. - */ - source_transfer: string | Stripe.Transfer | null; - - /** - * For card charges, use `statement_descriptor_suffix` instead. Otherwise, you can use this value as the complete description of a charge on your customers' statements. Must contain at least one letter, maximum 22 characters. - */ - statement_descriptor: string | null; - - /** - * Provides information about the charge that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that's set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor. - */ - statement_descriptor_suffix: string | null; - - /** - * The status of the payment is either `succeeded`, `pending`, or `failed`. - */ - status: string; - - /** - * ID of the transfer to the `destination` account (only applicable if the charge was created using the `destination` parameter). - */ - transfer?: string | Stripe.Transfer; - - /** - * An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://stripe.com/docs/connect/destination-charges) for details. - */ - transfer_data: Charge.TransferData | null; - - /** - * A string that identifies this transaction as part of a group. See the [Connect documentation](https://stripe.com/docs/connect/charges-transfers#transfer-options) for details. - */ - transfer_group: string | null; - } - - namespace Charge { - interface AlternateStatementDescriptors { - /** - * The Kana variation of the descriptor. - */ - kana?: string; - - /** - * The Kanji variation of the descriptor. - */ - kanji?: string; - } - - interface BillingDetails { - /** - * Billing address. - */ - address: Stripe.Address | null; - - /** - * Email address. - */ - email: string | null; - - /** - * Full name. - */ - name: string | null; - - /** - * Billing phone number (including extension). - */ - phone: string | null; - } - - interface FraudDetails { - /** - * Assessments from Stripe. If set, the value is `fraudulent`. - */ - stripe_report?: string; - - /** - * Assessments reported by you. If set, possible values of are `safe` and `fraudulent`. - */ - user_report?: string; - } - - interface Level3 { - customer_reference?: string; - - line_items: Array; - - merchant_reference: string; - - shipping_address_zip?: string; - - shipping_amount?: number; - - shipping_from_zip?: string; - } - - namespace Level3 { - interface LineItem { - discount_amount: number | null; - - product_code: string; - - product_description: string; - - quantity: number | null; - - tax_amount: number | null; - - unit_cost: number | null; - } - } - - interface Outcome { - /** - * Possible values are `approved_by_network`, `declined_by_network`, `not_sent_to_network`, and `reversed_after_approval`. The value `reversed_after_approval` indicates the payment was [blocked by Stripe](https://stripe.com/docs/declines#blocked-payments) after bank authorization, and may temporarily appear as "pending" on a cardholder's statement. - */ - network_status: string | null; - - /** - * An enumerated value providing a more detailed explanation of the outcome's `type`. Charges blocked by Radar's default block rule have the value `highest_risk_level`. Charges placed in review by Radar's default review rule have the value `elevated_risk_level`. Charges authorized, blocked, or placed in review by custom rules have the value `rule`. See [understanding declines](https://stripe.com/docs/declines) for more details. - */ - reason: string | null; - - /** - * Stripe Radar's evaluation of the riskiness of the payment. Possible values for evaluated payments are `normal`, `elevated`, `highest`. For non-card payments, and card-based payments predating the public assignment of risk levels, this field will have the value `not_assessed`. In the event of an error in the evaluation, this field will have the value `unknown`. This field is only available with Radar. - */ - risk_level?: string; - - /** - * Stripe Radar's evaluation of the riskiness of the payment. Possible values for evaluated payments are between 0 and 100. For non-card payments, card-based payments predating the public assignment of risk scores, or in the event of an error during evaluation, this field will not be present. This field is only available with Radar for Fraud Teams. - */ - risk_score?: number; - - /** - * The ID of the Radar rule that matched the payment, if applicable. - */ - rule?: string | Outcome.Rule; - - /** - * A human-readable description of the outcome type and reason, designed for you (the recipient of the payment), not your customer. - */ - seller_message: string | null; - - /** - * Possible values are `authorized`, `manual_review`, `issuer_declined`, `blocked`, and `invalid`. See [understanding declines](https://stripe.com/docs/declines) and [Radar reviews](https://stripe.com/docs/radar/reviews) for details. - */ - type: string; - } - - namespace Outcome { - interface Rule { - /** - * The action taken on the payment. - */ - action: string; - - /** - * Unique identifier for the object. - */ - id: string; - - /** - * The predicate to evaluate the payment against. - */ - predicate: string; - } - } - - interface PaymentMethodDetails { - ach_credit_transfer?: PaymentMethodDetails.AchCreditTransfer; - - ach_debit?: PaymentMethodDetails.AchDebit; - - acss_debit?: PaymentMethodDetails.AcssDebit; - - alipay?: PaymentMethodDetails.Alipay; - - au_becs_debit?: PaymentMethodDetails.AuBecsDebit; - - bacs_debit?: PaymentMethodDetails.BacsDebit; - - bancontact?: PaymentMethodDetails.Bancontact; - - card?: PaymentMethodDetails.Card; - - card_present?: PaymentMethodDetails.CardPresent; - - eps?: PaymentMethodDetails.Eps; - - fpx?: PaymentMethodDetails.Fpx; - - giropay?: PaymentMethodDetails.Giropay; - - grabpay?: PaymentMethodDetails.Grabpay; - - ideal?: PaymentMethodDetails.Ideal; - - interac_present?: PaymentMethodDetails.InteracPresent; - - klarna?: PaymentMethodDetails.Klarna; - - multibanco?: PaymentMethodDetails.Multibanco; - - oxxo?: PaymentMethodDetails.Oxxo; - - p24?: PaymentMethodDetails.P24; - - sepa_credit_transfer?: PaymentMethodDetails.SepaCreditTransfer; - - sepa_debit?: PaymentMethodDetails.SepaDebit; - - sofort?: PaymentMethodDetails.Sofort; - - stripe_account?: PaymentMethodDetails.StripeAccount; - - /** - * The type of transaction-specific details of the payment method used in the payment, one of `ach_credit_transfer`, `ach_debit`, `alipay`, `au_becs_debit`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `klarna`, `multibanco`, `p24`, `sepa_debit`, `sofort`, `stripe_account`, or `wechat`. - * An additional hash is included on `payment_method_details` with a name matching this value. - * It contains information specific to the payment method. - */ - type: string; - - wechat?: PaymentMethodDetails.Wechat; - } - - namespace PaymentMethodDetails { - interface AchCreditTransfer { - /** - * Account number to transfer funds to. - */ - account_number: string | null; - - /** - * Name of the bank associated with the routing number. - */ - bank_name: string | null; - - /** - * Routing transit number for the bank account to transfer funds to. - */ - routing_number: string | null; - - /** - * SWIFT code of the bank associated with the routing number. - */ - swift_code: string | null; - } - - interface AchDebit { - /** - * Type of entity that holds the account. This can be either `individual` or `company`. - */ - account_holder_type: AchDebit.AccountHolderType | null; - - /** - * Name of the bank associated with the bank account. - */ - bank_name: string | null; - - /** - * Two-letter ISO code representing the country the bank account is located in. - */ - country: string | null; - - /** - * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. - */ - fingerprint: string | null; - - /** - * Last four digits of the bank account number. - */ - last4: string | null; - - /** - * Routing transit number of the bank account. - */ - routing_number: string | null; - } - - namespace AchDebit { - type AccountHolderType = 'company' | 'individual'; - } - - interface AcssDebit { - /** - * Name of the bank associated with the bank account. - */ - bank_name: string | null; - - /** - * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. - */ - fingerprint: string | null; - - /** - * Institution number of the bank account - */ - institution_number: string | null; - - /** - * Last four digits of the bank account number. - */ - last4: string | null; - - /** - * ID of the mandate used to make this payment. - */ - mandate?: string; - - /** - * Transit number of the bank account. - */ - transit_number: string | null; - } - - interface Alipay { - /** - * Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same. - */ - fingerprint: string | null; - - /** - * Transaction ID of this particular Alipay transaction. - */ - transaction_id: string | null; - } - - interface AuBecsDebit { - /** - * Bank-State-Branch number of the bank account. - */ - bsb_number: string | null; - - /** - * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. - */ - fingerprint: string | null; - - /** - * Last four digits of the bank account number. - */ - last4: string | null; - - /** - * ID of the mandate used to make this payment. - */ - mandate?: string; - } - - interface BacsDebit { - /** - * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. - */ - fingerprint: string | null; - - /** - * Last four digits of the bank account number. - */ - last4: string | null; - - /** - * ID of the mandate used to make this payment. - */ - mandate: string | null; - - /** - * Sort code of the bank account. (e.g., `10-20-30`) - */ - sort_code: string | null; - } - - interface Bancontact { - /** - * Bank code of bank associated with the bank account. - */ - bank_code: string | null; - - /** - * Name of the bank associated with the bank account. - */ - bank_name: string | null; - - /** - * Bank Identifier Code of the bank associated with the bank account. - */ - bic: string | null; - - /** - * The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge. - */ - generated_sepa_debit: string | Stripe.PaymentMethod | null; - - /** - * The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge. - */ - generated_sepa_debit_mandate: string | Stripe.Mandate | null; - - /** - * Last four characters of the IBAN. - */ - iban_last4: string | null; - - /** - * Preferred language of the Bancontact authorization page that the customer is redirected to. - * Can be one of `en`, `de`, `fr`, or `nl` - */ - preferred_language: Bancontact.PreferredLanguage | null; - - /** - * Owner's verified full name. Values are verified or provided by Bancontact directly - * (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - verified_name: string | null; - } - - namespace Bancontact { - type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl'; - } - - interface Card { - /** - * Card brand. Can be `amex`, `diners`, `discover`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`. - */ - brand: string | null; - - /** - * Check results by Card networks on Card address and CVC at time of payment. - */ - checks: Card.Checks | null; - - /** - * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected. - */ - country: string | null; - - /** - * A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.) - */ - description?: string | null; - - /** - * Two-digit number representing the card's expiration month. - */ - exp_month: number; - - /** - * Four-digit number representing the card's expiration year. - */ - exp_year: number; - - /** - * Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. - */ - fingerprint?: string | null; - - /** - * Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`. - */ - funding: string | null; - - /** - * Issuer identification number of the card. (For internal use only and not typically available in standard API requests.) - */ - iin?: string | null; - - /** - * Installment details for this payment (Mexico only). - * - * For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments). - */ - installments: Card.Installments | null; - - /** - * The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.) - */ - issuer?: string | null; - - /** - * The last four digits of the card. - */ - last4: string | null; - - /** - * True if this payment was marked as MOTO and out of scope for SCA. - */ - moto?: boolean | null; - - /** - * Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `interac`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`. - */ - network: string | null; - - /** - * Populated if this transaction used 3D Secure authentication. - */ - three_d_secure: Card.ThreeDSecure | null; - - /** - * If this Card is part of a card wallet, this contains the details of the card wallet. - */ - wallet: Card.Wallet | null; - } - - namespace Card { - interface Checks { - /** - * If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. - */ - address_line1_check: string | null; - - /** - * If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. - */ - address_postal_code_check: string | null; - - /** - * If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. - */ - cvc_check: string | null; - } - - interface Installments { - /** - * Installment plan selected for the payment. - */ - plan: Installments.Plan | null; - } - - namespace Installments { - interface Plan { - /** - * For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card. - */ - count: number | null; - - /** - * For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card. - * One of `month`. - */ - interval: 'month' | null; - - /** - * Type of installment plan, one of `fixed_count`. - */ - type: 'fixed_count'; - } - } - - interface ThreeDSecure { - /** - * For authenticated transactions: how the customer was authenticated by - * the issuing bank. - */ - authentication_flow: ThreeDSecure.AuthenticationFlow | null; - - /** - * Indicates the outcome of 3D Secure authentication. - */ - result: ThreeDSecure.Result; - - /** - * Additional information about why 3D Secure succeeded or failed based - * on the `result`. - */ - result_reason: ThreeDSecure.ResultReason | null; - - /** - * The version of 3D Secure that was used. - */ - version: ThreeDSecure.Version; - } - - namespace ThreeDSecure { - type AuthenticationFlow = 'challenge' | 'frictionless'; - - type Result = - | 'attempt_acknowledged' - | 'authenticated' - | 'failed' - | 'not_supported' - | 'processing_error'; - - type ResultReason = - | 'abandoned' - | 'bypassed' - | 'canceled' - | 'card_not_enrolled' - | 'network_not_supported' - | 'protocol_error' - | 'rejected'; - - type Version = '1.0.2' | '2.1.0' | '2.2.0'; - } - - interface Wallet { - amex_express_checkout?: Wallet.AmexExpressCheckout; - - apple_pay?: Wallet.ApplePay; - - /** - * (For tokenized numbers only.) The last four digits of the device account number. - */ - dynamic_last4: string | null; - - google_pay?: Wallet.GooglePay; - - masterpass?: Wallet.Masterpass; - - samsung_pay?: Wallet.SamsungPay; - - /** - * The type of the card wallet, one of `amex_express_checkout`, `apple_pay`, `google_pay`, `masterpass`, `samsung_pay`, or `visa_checkout`. An additional hash is included on the Wallet subhash with a name matching this value. It contains additional information specific to the card wallet type. - */ - type: Wallet.Type; - - visa_checkout?: Wallet.VisaCheckout; - } - - namespace Wallet { - interface AmexExpressCheckout {} - - interface ApplePay {} - - interface GooglePay {} - - interface Masterpass { - /** - * Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - billing_address: Stripe.Address | null; - - /** - * Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - email: string | null; - - /** - * Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - name: string | null; - - /** - * Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - shipping_address: Stripe.Address | null; - } - - interface SamsungPay {} - - type Type = - | 'amex_express_checkout' - | 'apple_pay' - | 'google_pay' - | 'masterpass' - | 'samsung_pay' - | 'visa_checkout'; - - interface VisaCheckout { - /** - * Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - billing_address: Stripe.Address | null; - - /** - * Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - email: string | null; - - /** - * Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - name: string | null; - - /** - * Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - shipping_address: Stripe.Address | null; - } - } - } - - interface CardPresent { - /** - * Card brand. Can be `amex`, `diners`, `discover`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`. - */ - brand: string | null; - - /** - * The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). - */ - cardholder_name: string | null; - - /** - * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected. - */ - country: string | null; - - /** - * A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.) - */ - description?: string | null; - - /** - * Authorization response cryptogram. - */ - emv_auth_data: string | null; - - /** - * Two-digit number representing the card's expiration month. - */ - exp_month: number; - - /** - * Four-digit number representing the card's expiration year. - */ - exp_year: number; - - /** - * Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. - */ - fingerprint: string | null; - - /** - * Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`. - */ - funding: string | null; - - /** - * ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod. - */ - generated_card: string | null; - - /** - * Issuer identification number of the card. (For internal use only and not typically available in standard API requests.) - */ - iin?: string | null; - - /** - * The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.) - */ - issuer?: string | null; - - /** - * The last four digits of the card. - */ - last4: string | null; - - /** - * Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `interac`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`. - */ - network: string | null; - - /** - * How card details were read in this transaction. - */ - read_method: CardPresent.ReadMethod | null; - - /** - * A collection of fields required to be displayed on receipts. Only required for EMV transactions. - */ - receipt: CardPresent.Receipt | null; - } - - namespace CardPresent { - type ReadMethod = - | 'contact_emv' - | 'contactless_emv' - | 'contactless_magstripe_mode' - | 'magnetic_stripe_fallback' - | 'magnetic_stripe_track2'; - - interface Receipt { - /** - * The type of account being debited or credited - */ - account_type?: Receipt.AccountType; - - /** - * EMV tag 9F26, cryptogram generated by the integrated circuit chip. - */ - application_cryptogram: string | null; - - /** - * Mnenomic of the Application Identifier. - */ - application_preferred_name: string | null; - - /** - * Identifier for this transaction. - */ - authorization_code: string | null; - - /** - * EMV tag 8A. A code returned by the card issuer. - */ - authorization_response_code: string | null; - - /** - * How the cardholder verified ownership of the card. - */ - cardholder_verification_method: string | null; - - /** - * EMV tag 84. Similar to the application identifier stored on the integrated circuit chip. - */ - dedicated_file_name: string | null; - - /** - * The outcome of a series of EMV functions performed by the card reader. - */ - terminal_verification_results: string | null; - - /** - * An indication of various EMV functions performed during the transaction. - */ - transaction_status_information: string | null; - } - - namespace Receipt { - type AccountType = 'checking' | 'credit' | 'prepaid' | 'unknown'; - } - } - - interface Eps { - /** - * Owner's verified full name. Values are verified or provided by EPS directly - * (if supported) at the time of authorization or settlement. They cannot be set or mutated. - * EPS rarely provides this information so the attribute is usually empty. - */ - verified_name: string | null; - } - - interface Fpx { - /** - * Account holder type, if provided. Can be one of `individual` or `company`. - */ - account_holder_type: Fpx.AccountHolderType | null; - - /** - * The customer's bank. Can be one of `affin_bank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, or `pb_enterprise`. - */ - bank: Fpx.Bank; - - /** - * Unique transaction id generated by FPX for every request from the merchant - */ - transaction_id: string | null; - } - - namespace Fpx { - type AccountHolderType = 'company' | 'individual'; - - type Bank = - | 'affin_bank' - | 'alliance_bank' - | 'ambank' - | 'bank_islam' - | 'bank_muamalat' - | 'bank_rakyat' - | 'bsn' - | 'cimb' - | 'deutsche_bank' - | 'hong_leong_bank' - | 'hsbc' - | 'kfh' - | 'maybank2e' - | 'maybank2u' - | 'ocbc' - | 'pb_enterprise' - | 'public_bank' - | 'rhb' - | 'standard_chartered' - | 'uob'; - } - - interface Giropay { - /** - * Bank code of bank associated with the bank account. - */ - bank_code: string | null; - - /** - * Name of the bank associated with the bank account. - */ - bank_name: string | null; - - /** - * Bank Identifier Code of the bank associated with the bank account. - */ - bic: string | null; - - /** - * Owner's verified full name. Values are verified or provided by Giropay directly - * (if supported) at the time of authorization or settlement. They cannot be set or mutated. - * Giropay rarely provides this information so the attribute is usually empty. - */ - verified_name: string | null; - } - - interface Grabpay { - /** - * Unique transaction id generated by GrabPay - */ - transaction_id: string | null; - } - - interface Ideal { - /** - * The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `rabobank`, `regiobank`, `sns_bank`, `triodos_bank`, or `van_lanschot`. - */ - bank: Ideal.Bank | null; - - /** - * The Bank Identifier Code of the customer's bank. - */ - bic: Ideal.Bic | null; - - /** - * The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge. - */ - generated_sepa_debit: string | Stripe.PaymentMethod | null; - - /** - * The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge. - */ - generated_sepa_debit_mandate: string | Stripe.Mandate | null; - - /** - * Last four characters of the IBAN. - */ - iban_last4: string | null; - - /** - * Owner's verified full name. Values are verified or provided by iDEAL directly - * (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - verified_name: string | null; - } - - namespace Ideal { - type Bank = - | 'abn_amro' - | 'asn_bank' - | 'bunq' - | 'handelsbanken' - | 'ing' - | 'knab' - | 'moneyou' - | 'rabobank' - | 'regiobank' - | 'sns_bank' - | 'triodos_bank' - | 'van_lanschot'; - - type Bic = - | 'ABNANL2A' - | 'ASNBNL21' - | 'BUNQNL2A' - | 'FVLBNL22' - | 'HANDNL2A' - | 'INGBNL2A' - | 'KNABNL2H' - | 'MOYONL21' - | 'RABONL2U' - | 'RBRBNL21' - | 'SNSBNL2A' - | 'TRIONL2U'; - } - - interface InteracPresent { - /** - * Card brand. Can be `interac`, `mastercard` or `visa`. - */ - brand: string | null; - - /** - * The cardholder name as read from the card, in [ISO 7813](https://en.wikipedia.org/wiki/ISO/IEC_7813) format. May include alphanumeric characters, special characters and first/last name separator (`/`). - */ - cardholder_name: string | null; - - /** - * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected. - */ - country: string | null; - - /** - * A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.) - */ - description?: string | null; - - /** - * Authorization response cryptogram. - */ - emv_auth_data: string | null; - - /** - * Two-digit number representing the card's expiration month. - */ - exp_month: number; - - /** - * Four-digit number representing the card's expiration year. - */ - exp_year: number; - - /** - * Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. - */ - fingerprint: string | null; - - /** - * Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`. - */ - funding: string | null; - - /** - * ID of a card PaymentMethod generated from the card_present PaymentMethod that may be attached to a Customer for future transactions. Only present if it was possible to generate a card PaymentMethod. - */ - generated_card: string | null; - - /** - * Issuer identification number of the card. (For internal use only and not typically available in standard API requests.) - */ - iin?: string | null; - - /** - * The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.) - */ - issuer?: string | null; - - /** - * The last four digits of the card. - */ - last4: string | null; - - /** - * Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `interac`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`. - */ - network: string | null; - - /** - * EMV tag 5F2D. Preferred languages specified by the integrated circuit chip. - */ - preferred_locales: Array | null; - - /** - * How card details were read in this transaction. - */ - read_method: InteracPresent.ReadMethod | null; - - /** - * A collection of fields required to be displayed on receipts. Only required for EMV transactions. - */ - receipt: InteracPresent.Receipt | null; - } - - namespace InteracPresent { - type ReadMethod = - | 'contact_emv' - | 'contactless_emv' - | 'contactless_magstripe_mode' - | 'magnetic_stripe_fallback' - | 'magnetic_stripe_track2'; - - interface Receipt { - /** - * The type of account being debited or credited - */ - account_type?: Receipt.AccountType; - - /** - * EMV tag 9F26, cryptogram generated by the integrated circuit chip. - */ - application_cryptogram: string | null; - - /** - * Mnenomic of the Application Identifier. - */ - application_preferred_name: string | null; - - /** - * Identifier for this transaction. - */ - authorization_code: string | null; - - /** - * EMV tag 8A. A code returned by the card issuer. - */ - authorization_response_code: string | null; - - /** - * How the cardholder verified ownership of the card. - */ - cardholder_verification_method: string | null; - - /** - * EMV tag 84. Similar to the application identifier stored on the integrated circuit chip. - */ - dedicated_file_name: string | null; - - /** - * The outcome of a series of EMV functions performed by the card reader. - */ - terminal_verification_results: string | null; - - /** - * An indication of various EMV functions performed during the transaction. - */ - transaction_status_information: string | null; - } - - namespace Receipt { - type AccountType = 'checking' | 'savings' | 'unknown'; - } - } - - interface Klarna {} - - interface Multibanco { - /** - * Entity number associated with this Multibanco payment. - */ - entity: string | null; - - /** - * Reference number associated with this Multibanco payment. - */ - reference: string | null; - } - - interface Oxxo { - /** - * OXXO reference number - */ - number: string | null; - } - - interface P24 { - /** - * Unique reference for this Przelewy24 payment. - */ - reference: string | null; - - /** - * Owner's verified full name. Values are verified or provided by Przelewy24 directly - * (if supported) at the time of authorization or settlement. They cannot be set or mutated. - * Przelewy24 rarely provides this information so the attribute is usually empty. - */ - verified_name: string | null; - } - - interface SepaCreditTransfer { - /** - * Name of the bank associated with the bank account. - */ - bank_name: string | null; - - /** - * Bank Identifier Code of the bank associated with the bank account. - */ - bic: string | null; - - /** - * IBAN of the bank account to transfer funds to. - */ - iban: string | null; - } - - interface SepaDebit { - /** - * Bank code of bank associated with the bank account. - */ - bank_code: string | null; - - /** - * Branch code of bank associated with the bank account. - */ - branch_code: string | null; - - /** - * Two-letter ISO code representing the country the bank account is located in. - */ - country: string | null; - - /** - * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. - */ - fingerprint: string | null; - - /** - * Last four characters of the IBAN. - */ - last4: string | null; - - /** - * ID of the mandate used to make this payment. - */ - mandate: string | null; - } - - interface Sofort { - /** - * Bank code of bank associated with the bank account. - */ - bank_code: string | null; - - /** - * Name of the bank associated with the bank account. - */ - bank_name: string | null; - - /** - * Bank Identifier Code of the bank associated with the bank account. - */ - bic: string | null; - - /** - * Two-letter ISO code representing the country the bank account is located in. - */ - country: string | null; - - /** - * The ID of the SEPA Direct Debit PaymentMethod which was generated by this Charge. - */ - generated_sepa_debit: string | Stripe.PaymentMethod | null; - - /** - * The mandate for the SEPA Direct Debit PaymentMethod which was generated by this Charge. - */ - generated_sepa_debit_mandate: string | Stripe.Mandate | null; - - /** - * Last four characters of the IBAN. - */ - iban_last4: string | null; - - /** - * Preferred language of the SOFORT authorization page that the customer is redirected to. - * Can be one of `de`, `en`, `es`, `fr`, `it`, `nl`, or `pl` - */ - preferred_language: Sofort.PreferredLanguage | null; - - /** - * Owner's verified full name. Values are verified or provided by SOFORT directly - * (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - verified_name: string | null; - } - - namespace Sofort { - type PreferredLanguage = - | 'de' - | 'en' - | 'es' - | 'fr' - | 'it' - | 'nl' - | 'pl'; - } - - interface StripeAccount {} - - interface Wechat {} - } - - interface Shipping { - address?: Stripe.Address; - - /** - * The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. - */ - carrier?: string | null; - - /** - * Recipient name. - */ - name?: string | null; - - /** - * Recipient phone (including extension). - */ - phone?: string | null; - - /** - * The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. - */ - tracking_number?: string | null; - } - - interface TransferData { - /** - * The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account. - */ - amount: number | null; - - /** - * ID of an existing, connected Stripe account to transfer funds to if `transfer_data` was specified in the charge request. - */ - destination: string | Stripe.Account; - } - } - - interface ChargeCreateParams { - /** - * Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). - */ - amount?: number; - - application_fee?: number; - - /** - * A fee in %s that will be applied to the charge and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the `Stripe-Account` header in order to take an application fee. For more information, see the application fees [documentation](https://stripe.com/docs/connect/direct-charges#collecting-fees). - */ - application_fee_amount?: number; - - /** - * Whether to immediately capture the charge. Defaults to `true`. When `false`, the charge issues an authorization (or pre-authorization), and will need to be [captured](https://stripe.com/docs/api#capture_charge) later. Uncaptured charges expire in _seven days_. For more information, see the [authorizing charges and settling later](https://stripe.com/docs/charges/placing-a-hold) documentation. - */ - capture?: boolean; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency?: string; - - /** - * The ID of an existing customer that will be charged in this request. - */ - customer?: string; - - /** - * An arbitrary string which you can attach to a `Charge` object. It is displayed when in the web interface alongside the charge. Note that if you use Stripe to send automatic email receipts to your customers, your receipt emails will include the `description` of the charge(s) that they are describing. - */ - description?: string; - - destination?: ChargeCreateParams.Destination; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * The Stripe account ID for which these funds are intended. Automatically set if you use the `destination` parameter. For details, see [Creating Separate Charges and Transfers](https://stripe.com/docs/connect/charges-transfers#on-behalf-of). - */ - on_behalf_of?: string; - - /** - * The email address to which this charge's [receipt](https://stripe.com/docs/dashboard/receipts) will be sent. The receipt will not be sent until the charge is paid, and no receipts will be sent for test mode charges. If this charge is for a [Customer](https://stripe.com/docs/api/customers/object), the email address specified here will override the customer's email address. If `receipt_email` is specified for a charge in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails). - */ - receipt_email?: string; - - /** - * Shipping information for the charge. Helps prevent fraud on charges for physical goods. - */ - shipping?: ChargeCreateParams.Shipping; - - /** - * A payment source to be charged. This can be the ID of a [card](https://stripe.com/docs/api#cards) (i.e., credit or debit card), a [bank account](https://stripe.com/docs/api#bank_accounts), a [source](https://stripe.com/docs/api#sources), a [token](https://stripe.com/docs/api#tokens), or a [connected account](https://stripe.com/docs/connect/account-debits#charging-a-connected-account). For certain sources---namely, [cards](https://stripe.com/docs/api#cards), [bank accounts](https://stripe.com/docs/api#bank_accounts), and attached [sources](https://stripe.com/docs/api#sources)---you must also pass the ID of the associated customer. - */ - source?: string; - - /** - * For card charges, use `statement_descriptor_suffix` instead. Otherwise, you can use this value as the complete description of a charge on your customers' statements. Must contain at least one letter, maximum 22 characters. - */ - statement_descriptor?: string; - - /** - * Provides information about the charge that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that's set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor. - */ - statement_descriptor_suffix?: string; - - /** - * An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://stripe.com/docs/connect/destination-charges) for details. - */ - transfer_data?: ChargeCreateParams.TransferData; - - /** - * A string that identifies this transaction as part of a group. For details, see [Grouping transactions](https://stripe.com/docs/connect/charges-transfers#transfer-options). - */ - transfer_group?: string; - } - - namespace ChargeCreateParams { - interface Destination { - /** - * ID of an existing, connected Stripe account. - */ - account: string; - - /** - * The amount to transfer to the destination account without creating an `Application Fee` object. Cannot be combined with the `application_fee` parameter. Must be less than or equal to the charge amount. - */ - amount?: number; - } - - interface Shipping { - /** - * Shipping address. - */ - address: Stripe.AddressParam; - - /** - * The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. - */ - carrier?: string; - - /** - * Recipient name. - */ - name: string; - - /** - * Recipient phone (including extension). - */ - phone?: string; - - /** - * The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. - */ - tracking_number?: string; - } - - interface TransferData { - /** - * The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account. - */ - amount?: number; - - /** - * ID of an existing, connected Stripe account. - */ - destination: string; - } - } - - interface ChargeRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface ChargeUpdateParams { - /** - * The ID of an existing customer that will be associated with this request. This field may only be updated if there is no existing associated customer with this charge. - */ - customer?: string; - - /** - * An arbitrary string which you can attach to a charge object. It is displayed when in the web interface alongside the charge. Note that if you use Stripe to send automatic email receipts to your customers, your receipt emails will include the `description` of the charge(s) that they are describing. - */ - description?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * A set of key-value pairs you can attach to a charge giving information about its riskiness. If you believe a charge is fraudulent, include a `user_report` key with a value of `fraudulent`. If you believe a charge is safe, include a `user_report` key with a value of `safe`. Stripe will use the information you send to improve our fraud detection algorithms. - */ - fraud_details?: ChargeUpdateParams.FraudDetails; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * This is the email address that the receipt for this charge will be sent to. If this field is updated, then a new email receipt will be sent to the updated address. - */ - receipt_email?: string; - - /** - * Shipping information for the charge. Helps prevent fraud on charges for physical goods. - */ - shipping?: ChargeUpdateParams.Shipping; - - /** - * A string that identifies this transaction as part of a group. `transfer_group` may only be provided if it has not been set. See the [Connect documentation](https://stripe.com/docs/connect/charges-transfers#transfer-options) for details. - */ - transfer_group?: string; - } - - namespace ChargeUpdateParams { - interface FraudDetails { - /** - * Either `safe` or `fraudulent`. - */ - user_report: Stripe.Emptyable; - } - - namespace FraudDetails { - type UserReport = 'fraudulent' | 'safe'; - } - - interface Shipping { - /** - * Shipping address. - */ - address: Stripe.AddressParam; - - /** - * The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. - */ - carrier?: string; - - /** - * Recipient name. - */ - name: string; - - /** - * Recipient phone (including extension). - */ - phone?: string; - - /** - * The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. - */ - tracking_number?: string; - } - } - - interface ChargeListParams extends PaginationParams { - created?: Stripe.RangeQueryParam | number; - - /** - * Only return charges for the customer specified by this customer ID. - */ - customer?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Only return charges that were created by the PaymentIntent specified by this PaymentIntent ID. - */ - payment_intent?: string; - - /** - * Only return charges for this transfer group. - */ - transfer_group?: string; - } - - interface ChargeCaptureParams { - /** - * The amount to capture, which must be less than or equal to the original amount. Any additional amount will be automatically refunded. - */ - amount?: number; - - /** - * An application fee to add on to this charge. - */ - application_fee?: number; - - /** - * An application fee amount to add on to this charge, which must be less than or equal to the original amount. - */ - application_fee_amount?: number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * The email address to send this charge's receipt to. This will override the previously-specified email address for this charge, if one was set. Receipts will not be sent in test mode. - */ - receipt_email?: string; - - /** - * For card charges, use `statement_descriptor_suffix` instead. Otherwise, you can use this value as the complete description of a charge on your customers' statements. Must contain at least one letter, maximum 22 characters. - */ - statement_descriptor?: string; - - /** - * Provides information about the charge that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that's set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor. - */ - statement_descriptor_suffix?: string; - - /** - * An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://stripe.com/docs/connect/destination-charges) for details. - */ - transfer_data?: ChargeCaptureParams.TransferData; - - /** - * A string that identifies this transaction as part of a group. `transfer_group` may only be provided if it has not been set. See the [Connect documentation](https://stripe.com/docs/connect/charges-transfers#transfer-options) for details. - */ - transfer_group?: string; - } - - namespace ChargeCaptureParams { - interface TransferData { - /** - * The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account. - */ - amount?: number; - } - } - - class ChargesResource { - /** - * To charge a credit card or other payment source, you create a Charge object. If your API key is in test mode, the supplied payment source (e.g., card) won't actually be charged, although everything else will occur as if in live mode. (Stripe assumes that the charge would have completed successfully). - */ - create( - params?: ChargeCreateParams, - options?: RequestOptions - ): Promise>; - create(options?: RequestOptions): Promise>; - - /** - * Retrieves the details of a charge that has previously been created. Supply the unique charge ID that was returned from your previous request, and Stripe will return the corresponding charge information. The same information is returned when creating or refunding the charge. - */ - retrieve( - id: string, - params?: ChargeRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates the specified charge by setting the values of the parameters passed. Any parameters not provided will be left unchanged. - */ - update( - id: string, - params?: ChargeUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of charges you've previously created. The charges are returned in sorted order, with the most recent charges appearing first. - */ - list( - params?: ChargeListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - - /** - * Capture the payment of an existing, uncaptured, charge. This is the second half of the two-step payment flow, where first you [created a charge](https://stripe.com/docs/api#create_charge) with the capture option set to false. - * - * Uncaptured payments expire exactly seven days after they are created. If they are not captured by that point in time, they will be marked as refunded and will no longer be capturable. - */ - capture( - id: string, - params?: ChargeCaptureParams, - options?: RequestOptions - ): Promise>; - capture( - id: string, - options?: RequestOptions - ): Promise>; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Checkout/Sessions.d.ts b/node_modules/stripe/types/2020-08-27/Checkout/Sessions.d.ts deleted file mode 100644 index 17814b15..00000000 --- a/node_modules/stripe/types/2020-08-27/Checkout/Sessions.d.ts +++ /dev/null @@ -1,1391 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - namespace Checkout { - /** - * The Session object. - */ - interface Session { - /** - * Unique identifier for the object. Used to pass to `redirectToCheckout` - * in Stripe.js. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'checkout.session'; - - /** - * Enables user redeemable promotion codes. - */ - allow_promotion_codes: boolean | null; - - /** - * Total of all items before discounts or taxes are applied. - */ - amount_subtotal: number | null; - - /** - * Total of all items after discounts and taxes are applied. - */ - amount_total: number | null; - - /** - * Describes whether Checkout should collect the customer's billing address. - */ - billing_address_collection: Session.BillingAddressCollection | null; - - /** - * The URL the customer will be directed to if they decide to cancel payment and return to your website. - */ - cancel_url: string; - - /** - * A unique string to reference the Checkout Session. This can be a - * customer ID, a cart ID, or similar, and can be used to reconcile the - * session with your internal systems. - */ - client_reference_id: string | null; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string | null; - - /** - * The ID of the customer for this session. - * For Checkout Sessions in `payment` or `subscription` mode, Checkout - * will create a new customer object based on information provided - * during the session unless an existing customer was provided when - * the session was created. - */ - customer: string | Stripe.Customer | DeletedCustomer | null; - - /** - * If provided, this value will be used when the Customer object is created. - * If not provided, customers will be asked to enter their email address. - * Use this parameter to prefill customer data if you already have an email - * on file. To access information about the customer once a session is - * complete, use the `customer` attribute. - */ - customer_email: string | null; - - /** - * The line items purchased by the customer. - */ - line_items?: ApiList; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * The IETF language tag of the locale Checkout is displayed in. If blank or `auto`, the browser's locale is used. - */ - locale: Session.Locale | null; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata | null; - - /** - * The mode of the Checkout Session. - */ - mode: Session.Mode; - - /** - * The ID of the PaymentIntent for Checkout Sessions in `payment` mode. - */ - payment_intent: string | Stripe.PaymentIntent | null; - - /** - * A list of the types of payment methods (e.g. card) this Checkout - * Session is allowed to accept. - */ - payment_method_types: Array; - - /** - * The payment status of the Checkout Session, one of `paid`, `unpaid`, or `no_payment_required`. - * You can use this value to decide when to fulfill your customer's order. - */ - payment_status: Session.PaymentStatus; - - /** - * The ID of the SetupIntent for Checkout Sessions in `setup` mode. - */ - setup_intent: string | Stripe.SetupIntent | null; - - /** - * Shipping information for this Checkout Session. - */ - shipping: Session.Shipping | null; - - /** - * When set, provides configuration for Checkout to collect a shipping address from a customer. - */ - shipping_address_collection: Session.ShippingAddressCollection | null; - - /** - * Describes the type of transaction being performed by Checkout in order to customize - * relevant text on the page, such as the submit button. `submit_type` can only be - * specified on Checkout Sessions in `payment` mode, but not Checkout Sessions - * in `subscription` or `setup` mode. - */ - submit_type: Session.SubmitType | null; - - /** - * The ID of the subscription for Checkout Sessions in `subscription` mode. - */ - subscription: string | Stripe.Subscription | null; - - /** - * The URL the customer will be directed to after the payment or - * subscription creation is successful. - */ - success_url: string; - - /** - * Tax and discount details for the computed total amount. - */ - total_details: Session.TotalDetails | null; - } - - namespace Session { - type BillingAddressCollection = 'auto' | 'required'; - - type Locale = - | 'auto' - | 'bg' - | 'cs' - | 'da' - | 'de' - | 'el' - | 'en' - | 'en-GB' - | 'es' - | 'es-419' - | 'et' - | 'fi' - | 'fr' - | 'fr-CA' - | 'hu' - | 'id' - | 'it' - | 'ja' - | 'lt' - | 'lv' - | 'ms' - | 'mt' - | 'nb' - | 'nl' - | 'pl' - | 'pt' - | 'pt-BR' - | 'ro' - | 'ru' - | 'sk' - | 'sl' - | 'sv' - | 'tr' - | 'zh' - | 'zh-HK' - | 'zh-TW'; - - type Mode = 'payment' | 'setup' | 'subscription'; - - type PaymentStatus = 'no_payment_required' | 'paid' | 'unpaid'; - - interface Shipping { - address?: Stripe.Address; - - /** - * The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. - */ - carrier?: string | null; - - /** - * Recipient name. - */ - name?: string | null; - - /** - * Recipient phone (including extension). - */ - phone?: string | null; - - /** - * The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. - */ - tracking_number?: string | null; - } - - interface ShippingAddressCollection { - /** - * An array of two-letter ISO country codes representing which countries Checkout should provide as options for - * shipping locations. Unsupported country codes: `AS, CX, CC, CU, HM, IR, KP, MH, FM, NF, MP, PW, SD, SY, UM, VI`. - */ - allowed_countries: Array; - } - - namespace ShippingAddressCollection { - type AllowedCountry = - | 'AC' - | 'AD' - | 'AE' - | 'AF' - | 'AG' - | 'AI' - | 'AL' - | 'AM' - | 'AO' - | 'AQ' - | 'AR' - | 'AT' - | 'AU' - | 'AW' - | 'AX' - | 'AZ' - | 'BA' - | 'BB' - | 'BD' - | 'BE' - | 'BF' - | 'BG' - | 'BH' - | 'BI' - | 'BJ' - | 'BL' - | 'BM' - | 'BN' - | 'BO' - | 'BQ' - | 'BR' - | 'BS' - | 'BT' - | 'BV' - | 'BW' - | 'BY' - | 'BZ' - | 'CA' - | 'CD' - | 'CF' - | 'CG' - | 'CH' - | 'CI' - | 'CK' - | 'CL' - | 'CM' - | 'CN' - | 'CO' - | 'CR' - | 'CV' - | 'CW' - | 'CY' - | 'CZ' - | 'DE' - | 'DJ' - | 'DK' - | 'DM' - | 'DO' - | 'DZ' - | 'EC' - | 'EE' - | 'EG' - | 'EH' - | 'ER' - | 'ES' - | 'ET' - | 'FI' - | 'FJ' - | 'FK' - | 'FO' - | 'FR' - | 'GA' - | 'GB' - | 'GD' - | 'GE' - | 'GF' - | 'GG' - | 'GH' - | 'GI' - | 'GL' - | 'GM' - | 'GN' - | 'GP' - | 'GQ' - | 'GR' - | 'GS' - | 'GT' - | 'GU' - | 'GW' - | 'GY' - | 'HK' - | 'HN' - | 'HR' - | 'HT' - | 'HU' - | 'ID' - | 'IE' - | 'IL' - | 'IM' - | 'IN' - | 'IO' - | 'IQ' - | 'IS' - | 'IT' - | 'JE' - | 'JM' - | 'JO' - | 'JP' - | 'KE' - | 'KG' - | 'KH' - | 'KI' - | 'KM' - | 'KN' - | 'KR' - | 'KW' - | 'KY' - | 'KZ' - | 'LA' - | 'LB' - | 'LC' - | 'LI' - | 'LK' - | 'LR' - | 'LS' - | 'LT' - | 'LU' - | 'LV' - | 'LY' - | 'MA' - | 'MC' - | 'MD' - | 'ME' - | 'MF' - | 'MG' - | 'MK' - | 'ML' - | 'MM' - | 'MN' - | 'MO' - | 'MQ' - | 'MR' - | 'MS' - | 'MT' - | 'MU' - | 'MV' - | 'MW' - | 'MX' - | 'MY' - | 'MZ' - | 'NA' - | 'NC' - | 'NE' - | 'NG' - | 'NI' - | 'NL' - | 'NO' - | 'NP' - | 'NR' - | 'NU' - | 'NZ' - | 'OM' - | 'PA' - | 'PE' - | 'PF' - | 'PG' - | 'PH' - | 'PK' - | 'PL' - | 'PM' - | 'PN' - | 'PR' - | 'PS' - | 'PT' - | 'PY' - | 'QA' - | 'RE' - | 'RO' - | 'RS' - | 'RU' - | 'RW' - | 'SA' - | 'SB' - | 'SC' - | 'SE' - | 'SG' - | 'SH' - | 'SI' - | 'SJ' - | 'SK' - | 'SL' - | 'SM' - | 'SN' - | 'SO' - | 'SR' - | 'SS' - | 'ST' - | 'SV' - | 'SX' - | 'SZ' - | 'TA' - | 'TC' - | 'TD' - | 'TF' - | 'TG' - | 'TH' - | 'TJ' - | 'TK' - | 'TL' - | 'TM' - | 'TN' - | 'TO' - | 'TR' - | 'TT' - | 'TV' - | 'TW' - | 'TZ' - | 'UA' - | 'UG' - | 'US' - | 'UY' - | 'UZ' - | 'VA' - | 'VC' - | 'VE' - | 'VG' - | 'VN' - | 'VU' - | 'WF' - | 'WS' - | 'XK' - | 'YE' - | 'YT' - | 'ZA' - | 'ZM' - | 'ZW' - | 'ZZ'; - } - - type SubmitType = 'auto' | 'book' | 'donate' | 'pay'; - - interface TotalDetails { - /** - * This is the sum of all the line item discounts. - */ - amount_discount: number; - - /** - * This is the sum of all the line item tax amounts. - */ - amount_tax: number; - - breakdown?: TotalDetails.Breakdown; - } - - namespace TotalDetails { - interface Breakdown { - /** - * The aggregated line item discounts. - */ - discounts: Array; - - /** - * The aggregated line item tax amounts by rate. - */ - taxes: Array; - } - - namespace Breakdown { - interface Discount { - /** - * The amount discounted. - */ - amount: number; - - /** - * A discount represents the actual application of a coupon to a particular - * customer. It contains information about when the discount began and when it - * will end. - * - * Related guide: [Applying Discounts to Subscriptions](https://stripe.com/docs/billing/subscriptions/discounts). - */ - discount: Stripe.Discount; - } - - interface Tax { - /** - * Amount of tax applied for this rate. - */ - amount: number; - - /** - * Tax rates can be applied to [invoices](https://stripe.com/docs/billing/invoices/tax-rates), [subscriptions](https://stripe.com/docs/billing/subscriptions/taxes) and [Checkout Sessions](https://stripe.com/docs/payments/checkout/set-up-a-subscription#tax-rates) to collect tax. - * - * Related guide: [Tax Rates](https://stripe.com/docs/billing/taxes/tax-rates). - */ - rate: Stripe.TaxRate; - } - } - } - } - - interface SessionCreateParams { - /** - * The URL the customer will be directed to if they decide to cancel payment and return to your website. - */ - cancel_url: string; - - /** - * A list of the types of payment methods (e.g., `card`) this Checkout session can accept. - * - * Read more about the supported payment methods and their requirements in our [payment - * method details guide](https://stripe.com/docs/payments/checkout/payment-methods). - * - * If multiple payment methods are passed, Checkout will dynamically reorder them to - * prioritize the most relevant payment methods based on the customer's location and - * other characteristics. - */ - payment_method_types: Array; - - /** - * The URL to which Stripe should send customers when payment or setup - * is complete. - * If you'd like access to the Checkout Session for the successful - * payment, read more about it in the guide on [fulfilling orders](https://stripe.com/docs/payments/checkout/fulfill-orders). - */ - success_url: string; - - /** - * Enables user redeemable promotion codes. - */ - allow_promotion_codes?: boolean; - - /** - * Specify whether Checkout should collect the customer's billing address. - */ - billing_address_collection?: SessionCreateParams.BillingAddressCollection; - - /** - * A unique string to reference the Checkout Session. This can be a - * customer ID, a cart ID, or similar, and can be used to reconcile the - * session with your internal systems. - */ - client_reference_id?: string; - - /** - * ID of an existing customer, if one exists. The email stored on the - * customer will be used to prefill the email field on the Checkout page. - * If the customer changes their email on the Checkout page, the Customer - * object will be updated with the new email. - * If blank for Checkout Sessions in `payment` or `subscription` mode, - * Checkout will create a new customer object based on information - * provided during the session. - */ - customer?: string; - - /** - * If provided, this value will be used when the Customer object is created. - * If not provided, customers will be asked to enter their email address. - * Use this parameter to prefill customer data if you already have an email - * on file. To access information about the customer once a session is - * complete, use the `customer` field. - */ - customer_email?: string; - - /** - * The coupon or promotion code to apply to this session. Currently, only up to one may be specified. - */ - discounts?: Array; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * A list of items the customer is purchasing. Use this parameter to pass one-time or recurring [Prices](https://stripe.com/docs/api/prices). - * One-time Prices in `subscription` mode will be on the initial invoice only. - * - * There is a maximum of 100 line items, however it is recommended to - * consolidate line items if there are more than a few dozen. - */ - line_items?: Array; - - /** - * The IETF language tag of the locale Checkout is displayed in. If blank or `auto`, the browser's locale is used. - */ - locale?: SessionCreateParams.Locale; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * The mode of the Checkout Session. Required when using prices or `setup` mode. Pass `subscription` if Checkout session includes at least one recurring item. - */ - mode?: SessionCreateParams.Mode; - - /** - * A subset of parameters to be passed to PaymentIntent creation for Checkout Sessions in `payment` mode. - */ - payment_intent_data?: SessionCreateParams.PaymentIntentData; - - /** - * A subset of parameters to be passed to SetupIntent creation for Checkout Sessions in `setup` mode. - */ - setup_intent_data?: SessionCreateParams.SetupIntentData; - - /** - * When set, provides configuration for Checkout to collect a shipping address from a customer. - */ - shipping_address_collection?: SessionCreateParams.ShippingAddressCollection; - - /** - * Describes the type of transaction being performed by Checkout in order to customize - * relevant text on the page, such as the submit button. `submit_type` can only be - * specified on Checkout Sessions in `payment` mode, but not Checkout Sessions - * in `subscription` or `setup` mode. - */ - submit_type?: SessionCreateParams.SubmitType; - - /** - * A subset of parameters to be passed to subscription creation for Checkout Sessions in `subscription` mode. - */ - subscription_data?: SessionCreateParams.SubscriptionData; - } - - namespace SessionCreateParams { - type BillingAddressCollection = 'auto' | 'required'; - - interface Discount { - /** - * The ID of the coupon to apply to this session. - */ - coupon?: string; - - /** - * The ID of a promotion code to apply to this session. - */ - promotion_code?: string; - } - - interface LineItem { - /** - * The amount to be collected per unit of the line item. If specified, must also pass `currency` and `name`. - */ - amount?: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). Required if `amount` is passed. - */ - currency?: string; - - /** - * The description for the line item, to be displayed on the Checkout page. - * - * If using `price` or `price_data`, will default to the name of the associated product. - */ - description?: string; - - /** - * A list of image URLs representing this line item. Each image can be up to 5 MB in size. If passing `price` or `price_data`, specify images on the associated product instead. - */ - images?: Array; - - /** - * The name for the item to be displayed on the Checkout page. Required if `amount` is passed. - */ - name?: string; - - /** - * The ID of the [Price](https://stripe.com/docs/api/prices) or [Plan](https://stripe.com/docs/api/plans) object. One of `price`, `price_data` or `amount` is required. - */ - price?: string; - - /** - * Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. One of `price`, `price_data` or `amount` is required. - */ - price_data?: LineItem.PriceData; - - /** - * The quantity of the line item being purchased. - */ - quantity: number; - - /** - * The [tax rates](https://stripe.com/docs/api/tax_rates) which apply to this line item. This is only allowed in subscription mode. - */ - tax_rates?: Array; - } - - namespace LineItem { - interface PriceData { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * The ID of the product that this price will belong to. One of `product` or `product_data` is required. - */ - product?: string; - - /** - * Data used to generate a new product object inline. One of `product` or `product_data` is required. - */ - product_data?: PriceData.ProductData; - - /** - * The recurring components of a price such as `interval` and `usage_type`. - */ - recurring?: PriceData.Recurring; - - /** - * A non-negative integer in %s representing how much to charge. One of `unit_amount` or `unit_amount_decimal` is required. - */ - unit_amount?: number; - - /** - * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. - */ - unit_amount_decimal?: string; - } - - namespace PriceData { - interface ProductData { - /** - * The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. - */ - description?: string; - - /** - * A list of up to 8 URLs of images for this product, meant to be displayable to the customer. - */ - images?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * The product's name, meant to be displayable to the customer. Whenever this product is sold via a subscription, name will show up on associated invoice line item descriptions. - */ - name: string; - } - - interface Recurring { - /** - * Specifies billing frequency. Either `day`, `week`, `month` or `year`. - */ - interval: Recurring.Interval; - - /** - * The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). - */ - interval_count?: number; - } - - namespace Recurring { - type Interval = 'day' | 'month' | 'week' | 'year'; - } - } - } - - type Locale = - | 'auto' - | 'bg' - | 'cs' - | 'da' - | 'de' - | 'el' - | 'en' - | 'en-GB' - | 'es' - | 'es-419' - | 'et' - | 'fi' - | 'fr' - | 'fr-CA' - | 'hu' - | 'id' - | 'it' - | 'ja' - | 'lt' - | 'lv' - | 'ms' - | 'mt' - | 'nb' - | 'nl' - | 'pl' - | 'pt' - | 'pt-BR' - | 'ro' - | 'ru' - | 'sk' - | 'sl' - | 'sv' - | 'tr' - | 'zh' - | 'zh-HK' - | 'zh-TW'; - - type Mode = 'payment' | 'setup' | 'subscription'; - - interface PaymentIntentData { - /** - * The amount of the application fee (if any) that will be requested to be applied to the payment and - * transferred to the application owner's Stripe account. The amount of the application fee collected - * will be capped at the total payment amount. To use an application fee, the request must be made on - * behalf of another account, using the `Stripe-Account` header or an OAuth key. For more information, - * see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts). - */ - application_fee_amount?: number; - - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: PaymentIntentData.CaptureMethod; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * The Stripe account ID for which these funds are intended. For details, - * see the PaymentIntents [use case for connected - * accounts](https://stripe.com/docs/payments/connected-accounts). - */ - on_behalf_of?: string; - - /** - * Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails). - */ - receipt_email?: string; - - /** - * Indicates that you intend to make future payments with the payment - * method collected by this Checkout Session. - * - * When setting this to `off_session`, Checkout will show a notice to the - * customer that their payment details will be saved and used for future - * payments. - * - * When processing card payments, Checkout also uses `setup_future_usage` - * to dynamically optimize your payment flow and comply with regional - * legislation and network rules, such as SCA. - */ - setup_future_usage?: PaymentIntentData.SetupFutureUsage; - - /** - * Shipping information for this payment. - */ - shipping?: PaymentIntentData.Shipping; - - /** - * Extra information about the payment. This will appear on your - * customer's statement when this payment succeeds in creating a charge. - */ - statement_descriptor?: string; - - /** - * Provides information about the charge that customers see on their statements. Concatenated with the - * prefix (shortened descriptor) or statement descriptor that's set on the account to form the complete - * statement descriptor. Maximum 22 characters for the concatenated descriptor. - */ - statement_descriptor_suffix?: string; - - /** - * The parameters used to automatically create a Transfer when the payment succeeds. - * For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts). - */ - transfer_data?: PaymentIntentData.TransferData; - - /** - * A string that identifies the resulting payment as part of a group. See the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts) for details. - */ - transfer_group?: string; - } - - namespace PaymentIntentData { - type CaptureMethod = 'automatic' | 'manual'; - - type SetupFutureUsage = 'off_session' | 'on_session'; - - interface Shipping { - /** - * Shipping address. - */ - address: Stripe.AddressParam; - - /** - * The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. - */ - carrier?: string; - - /** - * Recipient name. - */ - name: string; - - /** - * Recipient phone (including extension). - */ - phone?: string; - - /** - * The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. - */ - tracking_number?: string; - } - - interface TransferData { - /** - * The amount that will be transferred automatically when a charge succeeds. - */ - amount?: number; - - /** - * If specified, successful charges will be attributed to the destination - * account for tax reporting, and the funds from charges will be transferred - * to the destination account. The ID of the resulting transfer will be - * returned on the successful charge's `transfer` field. - */ - destination: string; - } - } - - type PaymentMethodType = - | 'alipay' - | 'bacs_debit' - | 'bancontact' - | 'card' - | 'eps' - | 'fpx' - | 'giropay' - | 'grabpay' - | 'ideal' - | 'p24' - | 'sepa_debit' - | 'sofort'; - - interface SetupIntentData { - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * The Stripe account for which the setup is intended. - */ - on_behalf_of?: string; - } - - interface ShippingAddressCollection { - /** - * An array of two-letter ISO country codes representing which countries Checkout should provide as options for - * shipping locations. Unsupported country codes: `AS, CX, CC, CU, HM, IR, KP, MH, FM, NF, MP, PW, SD, SY, UM, VI`. - */ - allowed_countries: Array; - } - - namespace ShippingAddressCollection { - type AllowedCountry = - | 'AC' - | 'AD' - | 'AE' - | 'AF' - | 'AG' - | 'AI' - | 'AL' - | 'AM' - | 'AO' - | 'AQ' - | 'AR' - | 'AT' - | 'AU' - | 'AW' - | 'AX' - | 'AZ' - | 'BA' - | 'BB' - | 'BD' - | 'BE' - | 'BF' - | 'BG' - | 'BH' - | 'BI' - | 'BJ' - | 'BL' - | 'BM' - | 'BN' - | 'BO' - | 'BQ' - | 'BR' - | 'BS' - | 'BT' - | 'BV' - | 'BW' - | 'BY' - | 'BZ' - | 'CA' - | 'CD' - | 'CF' - | 'CG' - | 'CH' - | 'CI' - | 'CK' - | 'CL' - | 'CM' - | 'CN' - | 'CO' - | 'CR' - | 'CV' - | 'CW' - | 'CY' - | 'CZ' - | 'DE' - | 'DJ' - | 'DK' - | 'DM' - | 'DO' - | 'DZ' - | 'EC' - | 'EE' - | 'EG' - | 'EH' - | 'ER' - | 'ES' - | 'ET' - | 'FI' - | 'FJ' - | 'FK' - | 'FO' - | 'FR' - | 'GA' - | 'GB' - | 'GD' - | 'GE' - | 'GF' - | 'GG' - | 'GH' - | 'GI' - | 'GL' - | 'GM' - | 'GN' - | 'GP' - | 'GQ' - | 'GR' - | 'GS' - | 'GT' - | 'GU' - | 'GW' - | 'GY' - | 'HK' - | 'HN' - | 'HR' - | 'HT' - | 'HU' - | 'ID' - | 'IE' - | 'IL' - | 'IM' - | 'IN' - | 'IO' - | 'IQ' - | 'IS' - | 'IT' - | 'JE' - | 'JM' - | 'JO' - | 'JP' - | 'KE' - | 'KG' - | 'KH' - | 'KI' - | 'KM' - | 'KN' - | 'KR' - | 'KW' - | 'KY' - | 'KZ' - | 'LA' - | 'LB' - | 'LC' - | 'LI' - | 'LK' - | 'LR' - | 'LS' - | 'LT' - | 'LU' - | 'LV' - | 'LY' - | 'MA' - | 'MC' - | 'MD' - | 'ME' - | 'MF' - | 'MG' - | 'MK' - | 'ML' - | 'MM' - | 'MN' - | 'MO' - | 'MQ' - | 'MR' - | 'MS' - | 'MT' - | 'MU' - | 'MV' - | 'MW' - | 'MX' - | 'MY' - | 'MZ' - | 'NA' - | 'NC' - | 'NE' - | 'NG' - | 'NI' - | 'NL' - | 'NO' - | 'NP' - | 'NR' - | 'NU' - | 'NZ' - | 'OM' - | 'PA' - | 'PE' - | 'PF' - | 'PG' - | 'PH' - | 'PK' - | 'PL' - | 'PM' - | 'PN' - | 'PR' - | 'PS' - | 'PT' - | 'PY' - | 'QA' - | 'RE' - | 'RO' - | 'RS' - | 'RU' - | 'RW' - | 'SA' - | 'SB' - | 'SC' - | 'SE' - | 'SG' - | 'SH' - | 'SI' - | 'SJ' - | 'SK' - | 'SL' - | 'SM' - | 'SN' - | 'SO' - | 'SR' - | 'SS' - | 'ST' - | 'SV' - | 'SX' - | 'SZ' - | 'TA' - | 'TC' - | 'TD' - | 'TF' - | 'TG' - | 'TH' - | 'TJ' - | 'TK' - | 'TL' - | 'TM' - | 'TN' - | 'TO' - | 'TR' - | 'TT' - | 'TV' - | 'TW' - | 'TZ' - | 'UA' - | 'UG' - | 'US' - | 'UY' - | 'UZ' - | 'VA' - | 'VC' - | 'VE' - | 'VG' - | 'VN' - | 'VU' - | 'WF' - | 'WS' - | 'XK' - | 'YE' - | 'YT' - | 'ZA' - | 'ZM' - | 'ZW' - | 'ZZ'; - } - - type SubmitType = 'auto' | 'book' | 'donate' | 'pay'; - - interface SubscriptionData { - /** - * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account. To use an application fee percent, the request must be made on behalf of another account, using the `Stripe-Account` header or an OAuth key. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions). - */ - application_fee_percent?: number; - - /** - * The ID of the coupon to apply to this subscription. A coupon applied to a subscription will only affect invoices created for that particular subscription. - */ - coupon?: string; - - /** - * The tax rates that will apply to any subscription item that does not have - * `tax_rates` set. Invoices created will have their `default_tax_rates` populated - * from the subscription. - */ - default_tax_rates?: Array; - - /** - * A list of items, each with an attached plan, that the customer is subscribing to. Prefer using `line_items`. - */ - items?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * Unix timestamp representing the end of the trial period the customer - * will get before being charged for the first time. Has to be at least - * 48 hours in the future. - */ - trial_end?: number; - - /** - * Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `trial_end` on `subscription_data` is preferred. Defaults to `false`. - */ - trial_from_plan?: boolean; - - /** - * Integer representing the number of trial period days before the - * customer is charged for the first time. Has to be at least 1. - */ - trial_period_days?: number; - } - - namespace SubscriptionData { - interface Item { - /** - * Plan ID for this item. - */ - plan: string; - - /** - * Quantity for this item. - */ - quantity?: number; - - /** - * The tax rates which apply to this item. When set, the `default_tax_rates` - * on `subscription_data` do not apply to this item. - */ - tax_rates?: Array; - } - } - } - - interface SessionRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface SessionListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Only return the Checkout Session for the PaymentIntent specified. - */ - payment_intent?: string; - - /** - * Only return the Checkout Session for the subscription specified. - */ - subscription?: string; - } - - class SessionsResource { - /** - * Creates a Session object. - */ - create( - params: SessionCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves a Session object. - */ - retrieve( - id: string, - params?: SessionRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of Checkout Sessions. - */ - list( - params?: SessionListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - - /** - * When retrieving a Checkout Session, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. - */ - listLineItems( - id: string, - params?: LineItemListParams, - options?: RequestOptions - ): ApiListPromise; - listLineItems( - id: string, - options?: RequestOptions - ): ApiListPromise; - } - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/ConnectCollectionTransfers.d.ts b/node_modules/stripe/types/2020-08-27/ConnectCollectionTransfers.d.ts deleted file mode 100644 index 110ee59d..00000000 --- a/node_modules/stripe/types/2020-08-27/ConnectCollectionTransfers.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The ConnectCollectionTransfer object. - */ - interface ConnectCollectionTransfer { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'connect_collection_transfer'; - - /** - * Amount transferred, in %s. - */ - amount: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * ID of the account that funds are being collected for. - */ - destination: string | Stripe.Account; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/CountrySpecs.d.ts b/node_modules/stripe/types/2020-08-27/CountrySpecs.d.ts deleted file mode 100644 index 3ee4f211..00000000 --- a/node_modules/stripe/types/2020-08-27/CountrySpecs.d.ts +++ /dev/null @@ -1,120 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The CountrySpec object. - */ - interface CountrySpec { - /** - * Unique identifier for the object. Represented as the ISO country code for this country. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'country_spec'; - - /** - * The default currency for this country. This applies to both payment methods and bank accounts. - */ - default_currency: string; - - /** - * Currencies that can be accepted in the specific country (for transfers). - */ - supported_bank_account_currencies: { - [key: string]: Array; - }; - - /** - * Currencies that can be accepted in the specified country (for payments). - */ - supported_payment_currencies: Array; - - /** - * Payment methods available in the specified country. You may need to enable some payment methods (e.g., [ACH](https://stripe.com/docs/ach)) on your account before they appear in this list. The `stripe` payment method refers to [charging through your platform](https://stripe.com/docs/connect/destination-charges). - */ - supported_payment_methods: Array; - - /** - * Countries that can accept transfers from the specified country. - */ - supported_transfer_countries: Array; - - verification_fields: CountrySpec.VerificationFields; - } - - namespace CountrySpec { - interface VerificationFields { - company: VerificationFields.Company; - - individual: VerificationFields.Individual; - } - - namespace VerificationFields { - interface Company { - /** - * Additional fields which are only required for some users. - */ - additional: Array; - - /** - * Fields which every account must eventually provide. - */ - minimum: Array; - } - - interface Individual { - /** - * Additional fields which are only required for some users. - */ - additional: Array; - - /** - * Fields which every account must eventually provide. - */ - minimum: Array; - } - } - } - - interface CountrySpecRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface CountrySpecListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - class CountrySpecsResource { - /** - * Returns a Country Spec for a given Country code. - */ - retrieve( - id: string, - params?: CountrySpecRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Lists all Country Spec objects available in the API. - */ - list( - params?: CountrySpecListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Coupons.d.ts b/node_modules/stripe/types/2020-08-27/Coupons.d.ts deleted file mode 100644 index b53f7b95..00000000 --- a/node_modules/stripe/types/2020-08-27/Coupons.d.ts +++ /dev/null @@ -1,286 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Coupon object. - */ - interface Coupon { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'coupon'; - - /** - * Amount (in the `currency` specified) that will be taken off the subtotal of any invoices for this customer. - */ - amount_off: number | null; - - applies_to?: Coupon.AppliesTo; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * If `amount_off` has been set, the three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the amount to take off. - */ - currency: string | null; - - deleted?: void; - - /** - * One of `forever`, `once`, and `repeating`. Describes how long a customer who applies this coupon will get the discount. - */ - duration: Coupon.Duration; - - /** - * If `duration` is `repeating`, the number of months the coupon applies. Null if coupon `duration` is `forever` or `once`. - */ - duration_in_months: number | null; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Maximum number of times this coupon can be redeemed, in total, across all customers, before it is no longer valid. - */ - max_redemptions: number | null; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata | null; - - /** - * Name of the coupon displayed to customers on for instance invoices or receipts. - */ - name: string | null; - - /** - * Percent that will be taken off the subtotal of any invoices for this customer for the duration of the coupon. For example, a coupon with percent_off of 50 will make a %s100 invoice %s50 instead. - */ - percent_off: number | null; - - /** - * Date after which the coupon can no longer be redeemed. - */ - redeem_by: number | null; - - /** - * Number of times this coupon has been applied to a customer. - */ - times_redeemed: number; - - /** - * Taking account of the above properties, whether this coupon can still be applied to a customer. - */ - valid: boolean; - } - - namespace Coupon { - interface AppliesTo { - /** - * A list of product IDs this coupon applies to - */ - products: Array; - } - - type Duration = 'forever' | 'once' | 'repeating'; - } - - /** - * The DeletedCoupon object. - */ - interface DeletedCoupon { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'coupon'; - - /** - * Always true for a deleted object - */ - deleted: true; - } - - interface CouponCreateParams { - /** - * Specifies how long the discount will be in effect. Can be `forever`, `once`, or `repeating`. - */ - duration: CouponCreateParams.Duration; - - /** - * A positive integer representing the amount to subtract from an invoice total (required if `percent_off` is not passed). - */ - amount_off?: number; - - /** - * A hash containing directions for what this Coupon will apply discounts to. - */ - applies_to?: CouponCreateParams.AppliesTo; - - /** - * Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) of the `amount_off` parameter (required if `amount_off` is passed). - */ - currency?: string; - - /** - * Required only if `duration` is `repeating`, in which case it must be a positive integer that specifies the number of months the discount will be in effect. - */ - duration_in_months?: number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Unique string of your choice that will be used to identify this coupon when applying it to a customer. If you don't want to specify a particular code, you can leave the ID blank and we'll generate a random code for you. - */ - id?: string; - - /** - * A positive integer specifying the number of times the coupon can be redeemed before it's no longer valid. For example, you might have a 50% off coupon that the first 20 readers of your blog can use. - */ - max_redemptions?: number; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set. - */ - name?: string; - - /** - * A positive float larger than 0, and smaller or equal to 100, that represents the discount the coupon will apply (required if `amount_off` is not passed). - */ - percent_off?: number; - - /** - * Unix timestamp specifying the last time at which the coupon can be redeemed. After the redeem_by date, the coupon can no longer be applied to new customers. - */ - redeem_by?: number; - } - - namespace CouponCreateParams { - interface AppliesTo { - /** - * An array of Product IDs that this Coupon will apply to. - */ - products: Array; - } - - type Duration = 'forever' | 'once' | 'repeating'; - } - - interface CouponRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface CouponUpdateParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * Name of the coupon displayed to customers on, for instance invoices, or receipts. By default the `id` is shown if `name` is not set. - */ - name?: string; - } - - interface CouponListParams extends PaginationParams { - /** - * A filter on the list, based on the object `created` field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with a number of different query options. - */ - created?: Stripe.RangeQueryParam | number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface CouponDeleteParams {} - - class CouponsResource { - /** - * You can create coupons easily via the [coupon management](https://dashboard.stripe.com/coupons) page of the Stripe dashboard. Coupon creation is also accessible via the API if you need to create coupons on the fly. - * - * A coupon has either a percent_off or an amount_off and currency. If you set an amount_off, that amount will be subtracted from any invoice's subtotal. For example, an invoice with a subtotal of 100 will have a final total of 0 if a coupon with an amount_off of 200 is applied to it and an invoice with a subtotal of 300 will have a final total of 100 if a coupon with an amount_off of 200 is applied to it. - */ - create( - params: CouponCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves the coupon with the given ID. - */ - retrieve( - id: string, - params?: CouponRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates the metadata of a coupon. Other coupon details (currency, duration, amount_off) are, by design, not editable. - */ - update( - id: string, - params?: CouponUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of your coupons. - */ - list( - params?: CouponListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - - /** - * You can delete coupons via the [coupon management](https://dashboard.stripe.com/coupons) page of the Stripe dashboard. However, deleting a coupon does not affect any customers who have already applied the coupon; it means that new customers can't redeem the coupon. You can also delete coupons via the API. - */ - del( - id: string, - params?: CouponDeleteParams, - options?: RequestOptions - ): Promise>; - del( - id: string, - options?: RequestOptions - ): Promise>; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/CreditNoteLineItems.d.ts b/node_modules/stripe/types/2020-08-27/CreditNoteLineItems.d.ts deleted file mode 100644 index 57a4da6a..00000000 --- a/node_modules/stripe/types/2020-08-27/CreditNoteLineItems.d.ts +++ /dev/null @@ -1,230 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The CreditNoteLineItem object. - */ - interface CreditNoteLineItem { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'credit_note_line_item'; - - /** - * The integer amount in %s representing the gross amount being credited for this line item, excluding (exclusive) tax and discounts. - */ - amount: number; - - /** - * Description of the item being credited. - */ - description: string | null; - - /** - * The integer amount in %s representing the discount being credited for this line item. - */ - discount_amount: number; - - /** - * The amount of discount calculated per discount for this line item - */ - discount_amounts: Array; - - /** - * ID of the invoice line item being credited - */ - invoice_line_item?: string; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * The number of units of product being credited. - */ - quantity: number | null; - - /** - * The amount of tax calculated per tax rate for this line item - */ - tax_amounts: Array; - - /** - * The tax rates which apply to the line item. - */ - tax_rates: Array; - - /** - * The type of the credit note line item, one of `invoice_line_item` or `custom_line_item`. When the type is `invoice_line_item` there is an additional `invoice_line_item` property on the resource the value of which is the id of the credited line item on the invoice. - */ - type: CreditNoteLineItem.Type; - - /** - * The cost of each unit of product being credited. - */ - unit_amount: number | null; - - /** - * Same as `unit_amount`, but contains a decimal value with at most 12 decimal places. - */ - unit_amount_decimal: string | null; - } - - namespace CreditNoteLineItem { - interface DiscountAmount { - /** - * The amount, in %s, of the discount. - */ - amount: number; - - /** - * The discount that was applied to get this discount amount. - */ - discount: string | Stripe.Discount | DeletedDiscount; - } - - interface TaxAmount { - /** - * The amount, in %s, of the tax. - */ - amount: number; - - /** - * Whether this tax amount is inclusive or exclusive. - */ - inclusive: boolean; - - /** - * The tax rate that was applied to get this tax amount. - */ - tax_rate: string | Stripe.TaxRate; - } - - type Type = 'custom_line_item' | 'invoice_line_item'; - } - - interface CreditNoteLineItemListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface CreditNoteLineItemListPreviewParams extends PaginationParams { - /** - * ID of the invoice. - */ - invoice: string; - - /** - * The integer amount in %s representing the total amount of the credit note. - */ - amount?: number; - - /** - * The integer amount in %s representing the amount to credit the customer's balance, which will be automatically applied to their next invoice. - */ - credit_amount?: number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Line items that make up the credit note. - */ - lines?: Array; - - /** - * The credit note's memo appears on the credit note PDF. - */ - memo?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * The integer amount in %s representing the amount that is credited outside of Stripe. - */ - out_of_band_amount?: number; - - /** - * Reason for issuing this credit note, one of `duplicate`, `fraudulent`, `order_change`, or `product_unsatisfactory` - */ - reason?: CreditNoteLineItemListPreviewParams.Reason; - - /** - * ID of an existing refund to link this credit note to. - */ - refund?: string; - - /** - * The integer amount in %s representing the amount to refund. If set, a refund will be created for the charge associated with the invoice. - */ - refund_amount?: number; - } - - namespace CreditNoteLineItemListPreviewParams { - interface Line { - /** - * The line item amount to credit. Only valid when `type` is `invoice_line_item` and the referenced invoice line item does not have a quantity, only an amount. - */ - amount?: number; - - /** - * The description of the credit note line item. Only valid when the `type` is `custom_line_item`. - */ - description?: string; - - /** - * The invoice line item to credit. Only valid when the `type` is `invoice_line_item`. - */ - invoice_line_item?: string; - - /** - * The line item quantity to credit. - */ - quantity?: number; - - /** - * The tax rates which apply to the credit note line item. Only valid when the `type` is `custom_line_item`. - */ - tax_rates?: Stripe.Emptyable>; - - /** - * Type of the credit note line item, one of `invoice_line_item` or `custom_line_item` - */ - type: Line.Type; - - /** - * The integer unit amount in %s of the credit note line item. This `unit_amount` will be multiplied by the quantity to get the full amount to credit for this line item. Only valid when `type` is `custom_line_item`. - */ - unit_amount?: number; - - /** - * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. - */ - unit_amount_decimal?: string; - } - - namespace Line { - type Type = 'custom_line_item' | 'invoice_line_item'; - } - - type Reason = - | 'duplicate' - | 'fraudulent' - | 'order_change' - | 'product_unsatisfactory'; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/CreditNotes.d.ts b/node_modules/stripe/types/2020-08-27/CreditNotes.d.ts deleted file mode 100644 index 9bfef484..00000000 --- a/node_modules/stripe/types/2020-08-27/CreditNotes.d.ts +++ /dev/null @@ -1,544 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The CreditNote object. - */ - interface CreditNote { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'credit_note'; - - /** - * The integer amount in %s representing the total amount of the credit note, including tax. - */ - amount: number; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * ID of the customer. - */ - customer: string | Stripe.Customer | DeletedCustomer; - - /** - * Customer balance transaction related to this credit note. - */ - customer_balance_transaction: - | string - | Stripe.CustomerBalanceTransaction - | null; - - /** - * The integer amount in %s representing the total amount of discount that was credited. - */ - discount_amount: number; - - /** - * The aggregate amounts calculated per discount for all line items. - */ - discount_amounts: Array; - - /** - * ID of the invoice. - */ - invoice: string | Stripe.Invoice; - - /** - * Line items that make up the credit note - */ - lines: ApiList; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Customer-facing text that appears on the credit note PDF. - */ - memo: string | null; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata | null; - - /** - * A unique number that identifies this particular credit note and appears on the PDF of the credit note and its associated invoice. - */ - number: string; - - /** - * Amount that was credited outside of Stripe. - */ - out_of_band_amount: number | null; - - /** - * The link to download the PDF of the credit note. - */ - pdf: string; - - /** - * Reason for issuing this credit note, one of `duplicate`, `fraudulent`, `order_change`, or `product_unsatisfactory` - */ - reason: CreditNote.Reason | null; - - /** - * Refund related to this credit note. - */ - refund: string | Stripe.Refund | null; - - /** - * Status of this credit note, one of `issued` or `void`. Learn more about [voiding credit notes](https://stripe.com/docs/billing/invoices/credit-notes#voiding). - */ - status: CreditNote.Status; - - /** - * The integer amount in %s representing the amount of the credit note, excluding tax and invoice level discounts. - */ - subtotal: number; - - /** - * The aggregate amounts calculated per tax rate for all line items. - */ - tax_amounts: Array; - - /** - * The integer amount in %s representing the total amount of the credit note, including tax and all discount. - */ - total: number; - - /** - * Type of this credit note, one of `pre_payment` or `post_payment`. A `pre_payment` credit note means it was issued when the invoice was open. A `post_payment` credit note means it was issued when the invoice was paid. - */ - type: CreditNote.Type; - - /** - * The time that the credit note was voided. - */ - voided_at: number | null; - } - - namespace CreditNote { - interface DiscountAmount { - /** - * The amount, in %s, of the discount. - */ - amount: number; - - /** - * The discount that was applied to get this discount amount. - */ - discount: string | Stripe.Discount | DeletedDiscount; - } - - type Reason = - | 'duplicate' - | 'fraudulent' - | 'order_change' - | 'product_unsatisfactory'; - - type Status = 'issued' | 'void'; - - interface TaxAmount { - /** - * The amount, in %s, of the tax. - */ - amount: number; - - /** - * Whether this tax amount is inclusive or exclusive. - */ - inclusive: boolean; - - /** - * The tax rate that was applied to get this tax amount. - */ - tax_rate: string | Stripe.TaxRate; - } - - type Type = 'post_payment' | 'pre_payment'; - } - - interface CreditNoteCreateParams { - /** - * ID of the invoice. - */ - invoice: string; - - /** - * The integer amount in %s representing the total amount of the credit note. - */ - amount?: number; - - /** - * The integer amount in %s representing the amount to credit the customer's balance, which will be automatically applied to their next invoice. - */ - credit_amount?: number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Line items that make up the credit note. - */ - lines?: Array; - - /** - * The credit note's memo appears on the credit note PDF. - */ - memo?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * The integer amount in %s representing the amount that is credited outside of Stripe. - */ - out_of_band_amount?: number; - - /** - * Reason for issuing this credit note, one of `duplicate`, `fraudulent`, `order_change`, or `product_unsatisfactory` - */ - reason?: CreditNoteCreateParams.Reason; - - /** - * ID of an existing refund to link this credit note to. - */ - refund?: string; - - /** - * The integer amount in %s representing the amount to refund. If set, a refund will be created for the charge associated with the invoice. - */ - refund_amount?: number; - } - - namespace CreditNoteCreateParams { - interface Line { - /** - * The line item amount to credit. Only valid when `type` is `invoice_line_item` and the referenced invoice line item does not have a quantity, only an amount. - */ - amount?: number; - - /** - * The description of the credit note line item. Only valid when the `type` is `custom_line_item`. - */ - description?: string; - - /** - * The invoice line item to credit. Only valid when the `type` is `invoice_line_item`. - */ - invoice_line_item?: string; - - /** - * The line item quantity to credit. - */ - quantity?: number; - - /** - * The tax rates which apply to the credit note line item. Only valid when the `type` is `custom_line_item`. - */ - tax_rates?: Stripe.Emptyable>; - - /** - * Type of the credit note line item, one of `invoice_line_item` or `custom_line_item` - */ - type: Line.Type; - - /** - * The integer unit amount in %s of the credit note line item. This `unit_amount` will be multiplied by the quantity to get the full amount to credit for this line item. Only valid when `type` is `custom_line_item`. - */ - unit_amount?: number; - - /** - * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. - */ - unit_amount_decimal?: string; - } - - namespace Line { - type Type = 'custom_line_item' | 'invoice_line_item'; - } - - type Reason = - | 'duplicate' - | 'fraudulent' - | 'order_change' - | 'product_unsatisfactory'; - } - - interface CreditNoteRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface CreditNoteUpdateParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Credit note memo. - */ - memo?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - } - - interface CreditNoteListParams extends PaginationParams { - /** - * Only return credit notes for the customer specified by this customer ID. - */ - customer?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Only return credit notes for the invoice specified by this invoice ID. - */ - invoice?: string; - } - - interface CreditNotePreviewParams { - /** - * ID of the invoice. - */ - invoice: string; - - /** - * The integer amount in %s representing the total amount of the credit note. - */ - amount?: number; - - /** - * The integer amount in %s representing the amount to credit the customer's balance, which will be automatically applied to their next invoice. - */ - credit_amount?: number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Line items that make up the credit note. - */ - lines?: Array; - - /** - * The credit note's memo appears on the credit note PDF. - */ - memo?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * The integer amount in %s representing the amount that is credited outside of Stripe. - */ - out_of_band_amount?: number; - - /** - * Reason for issuing this credit note, one of `duplicate`, `fraudulent`, `order_change`, or `product_unsatisfactory` - */ - reason?: CreditNotePreviewParams.Reason; - - /** - * ID of an existing refund to link this credit note to. - */ - refund?: string; - - /** - * The integer amount in %s representing the amount to refund. If set, a refund will be created for the charge associated with the invoice. - */ - refund_amount?: number; - } - - namespace CreditNotePreviewParams { - interface Line { - /** - * The line item amount to credit. Only valid when `type` is `invoice_line_item` and the referenced invoice line item does not have a quantity, only an amount. - */ - amount?: number; - - /** - * The description of the credit note line item. Only valid when the `type` is `custom_line_item`. - */ - description?: string; - - /** - * The invoice line item to credit. Only valid when the `type` is `invoice_line_item`. - */ - invoice_line_item?: string; - - /** - * The line item quantity to credit. - */ - quantity?: number; - - /** - * The tax rates which apply to the credit note line item. Only valid when the `type` is `custom_line_item`. - */ - tax_rates?: Stripe.Emptyable>; - - /** - * Type of the credit note line item, one of `invoice_line_item` or `custom_line_item` - */ - type: Line.Type; - - /** - * The integer unit amount in %s of the credit note line item. This `unit_amount` will be multiplied by the quantity to get the full amount to credit for this line item. Only valid when `type` is `custom_line_item`. - */ - unit_amount?: number; - - /** - * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. - */ - unit_amount_decimal?: string; - } - - namespace Line { - type Type = 'custom_line_item' | 'invoice_line_item'; - } - - type Reason = - | 'duplicate' - | 'fraudulent' - | 'order_change' - | 'product_unsatisfactory'; - } - - interface CreditNoteVoidCreditNoteParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - class CreditNotesResource { - /** - * Issue a credit note to adjust the amount of a finalized invoice. For a status=open invoice, a credit note reduces - * its amount_due. For a status=paid invoice, a credit note does not affect its amount_due. Instead, it can result - * in any combination of the following: - * - * - * Refund: create a new refund (using refund_amount) or link an existing refund (using refund). - * Customer balance credit: credit the customer's balance (using credit_amount) which will be automatically applied to their next invoice when it's finalized. - * Outside of Stripe credit: record the amount that is or will be credited outside of Stripe (using out_of_band_amount). - * - * - * For post-payment credit notes the sum of the refund, credit and outside of Stripe amounts must equal the credit note total. - * - * You may issue multiple credit notes for an invoice. Each credit note will increment the invoice's pre_payment_credit_notes_amount - * or post_payment_credit_notes_amount depending on its status at the time of credit note creation. - */ - create( - params: CreditNoteCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves the credit note object with the given identifier. - */ - retrieve( - id: string, - params?: CreditNoteRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates an existing credit note. - */ - update( - id: string, - params?: CreditNoteUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of credit notes. - */ - list( - params?: CreditNoteListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - - /** - * Get a preview of a credit note without creating it. - */ - preview( - params: CreditNotePreviewParams, - options?: RequestOptions - ): Promise>; - - /** - * Marks a credit note as void. Learn more about [voiding credit notes](https://stripe.com/docs/billing/invoices/credit-notes#voiding). - */ - voidCreditNote( - id: string, - params?: CreditNoteVoidCreditNoteParams, - options?: RequestOptions - ): Promise>; - voidCreditNote( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * When retrieving a credit note, you'll get a lines property containing the the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. - */ - listLineItems( - id: string, - params?: CreditNoteLineItemListParams, - options?: RequestOptions - ): ApiListPromise; - listLineItems( - id: string, - options?: RequestOptions - ): ApiListPromise; - - /** - * When retrieving a credit note preview, you'll get a lines property containing the first handful of those items. This URL you can retrieve the full (paginated) list of line items. - */ - listPreviewLineItems( - params: CreditNoteLineItemListPreviewParams, - options?: RequestOptions - ): ApiListPromise; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/CustomerBalanceTransactions.d.ts b/node_modules/stripe/types/2020-08-27/CustomerBalanceTransactions.d.ts deleted file mode 100644 index 3797fb31..00000000 --- a/node_modules/stripe/types/2020-08-27/CustomerBalanceTransactions.d.ts +++ /dev/null @@ -1,145 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The CustomerBalanceTransaction object. - */ - interface CustomerBalanceTransaction { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'customer_balance_transaction'; - - /** - * The amount of the transaction. A negative value is a credit for the customer's balance, and a positive value is a debit to the customer's `balance`. - */ - amount: number; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * The ID of the credit note (if any) related to the transaction. - */ - credit_note: string | Stripe.CreditNote | null; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * The ID of the customer the transaction belongs to. - */ - customer: string | Stripe.Customer; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description: string | null; - - /** - * The customer's `balance` after the transaction was applied. A negative value decreases the amount due on the customer's next invoice. A positive value increases the amount due on the customer's next invoice. - */ - ending_balance: number; - - /** - * The ID of the invoice (if any) related to the transaction. - */ - invoice: string | Stripe.Invoice | null; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata | null; - - /** - * Transaction type: `adjustment`, `applied_to_invoice`, `credit_note`, `initial`, `invoice_too_large`, `invoice_too_small`, `unspent_receiver_credit`, or `unapplied_from_invoice`. See the [Customer Balance page](https://stripe.com/docs/billing/customer/balance#types) to learn more about transaction types. - */ - type: CustomerBalanceTransaction.Type; - } - - namespace CustomerBalanceTransaction { - type Type = - | 'adjustment' - | 'applied_to_invoice' - | 'credit_note' - | 'initial' - | 'invoice_too_large' - | 'invoice_too_small' - | 'migration' - | 'unapplied_from_invoice' - | 'unspent_receiver_credit'; - } - - interface CustomerBalanceTransactionCreateParams { - /** - * The integer amount in **%s** to apply to the customer's credit balance. - */ - amount: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). If the customer's [`currency`](https://stripe.com/docs/api/customers/object#customer_object-currency) is set, this value must match it. If the customer's `currency` is not set, it will be updated to this value. - */ - currency: string; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - } - - interface CustomerBalanceTransactionRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface CustomerBalanceTransactionUpdateParams { - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - } - - interface CustomerBalanceTransactionListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/CustomerSources.d.ts b/node_modules/stripe/types/2020-08-27/CustomerSources.d.ts deleted file mode 100644 index 4dc84b60..00000000 --- a/node_modules/stripe/types/2020-08-27/CustomerSources.d.ts +++ /dev/null @@ -1,188 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - interface CustomerSourceCreateParams { - /** - * Please refer to full [documentation](https://stripe.com/docs/api) instead. - */ - source: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - } - - interface CustomerSourceRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface CustomerSourceUpdateParams { - /** - * The name of the person or business that owns the bank account. - */ - account_holder_name?: string; - - /** - * The type of entity that holds the account. This can be either `individual` or `company`. - */ - account_holder_type?: CustomerSourceUpdateParams.AccountHolderType; - - /** - * City/District/Suburb/Town/Village. - */ - address_city?: string; - - /** - * Billing address country, if provided when creating card. - */ - address_country?: string; - - /** - * Address line 1 (Street address/PO Box/Company name). - */ - address_line1?: string; - - /** - * Address line 2 (Apartment/Suite/Unit/Building). - */ - address_line2?: string; - - /** - * State/County/Province/Region. - */ - address_state?: string; - - /** - * ZIP or postal code. - */ - address_zip?: string; - - /** - * Two digit number representing the card's expiration month. - */ - exp_month?: string; - - /** - * Four digit number representing the card's expiration year. - */ - exp_year?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * Cardholder name. - */ - name?: string; - - owner?: CustomerSourceUpdateParams.Owner; - } - - namespace CustomerSourceUpdateParams { - type AccountHolderType = 'company' | 'individual'; - - interface Owner { - /** - * Owner's address. - */ - address?: Owner.Address; - - /** - * Owner's email address. - */ - email?: string; - - /** - * Owner's full name. - */ - name?: string; - - /** - * Owner's phone number. - */ - phone?: string; - } - - namespace Owner { - interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - } - } - } - - interface CustomerSourceListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Filter sources according to a particular object type. - */ - object?: string; - } - - interface CustomerSourceDeleteParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface CustomerSourceVerifyParams { - /** - * Two positive integers, in *cents*, equal to the values of the microdeposits sent to the bank account. - */ - amounts?: Array; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Customers.d.ts b/node_modules/stripe/types/2020-08-27/Customers.d.ts deleted file mode 100644 index 76596a18..00000000 --- a/node_modules/stripe/types/2020-08-27/Customers.d.ts +++ /dev/null @@ -1,848 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Customer object. - */ - interface Customer { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'customer'; - - /** - * The customer's address. - */ - address: Stripe.Address | null; - - /** - * Current balance, if any, being stored on the customer. If negative, the customer has credit to apply to their next invoice. If positive, the customer has an amount owed that will be added to their next invoice. The balance does not refer to any unpaid invoices; it solely takes into account amounts that have yet to be successfully applied to any invoice. This balance is only taken into account as invoices are finalized. - */ - balance: number; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) the customer can be charged in for recurring billing purposes. - */ - currency: string | null; - - /** - * ID of the default payment source for the customer. - * - * If you are using payment methods created via the PaymentMethods API, see the [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) field instead. - */ - default_source: string | Stripe.CustomerSource | null; - - deleted?: void; - - /** - * When the customer's latest invoice is billed by charging automatically, `delinquent` is `true` if the invoice's latest charge failed. When the customer's latest invoice is billed by sending an invoice, `delinquent` is `true` if the invoice isn't paid by its due date. - * - * If an invoice is marked uncollectible by [dunning](https://stripe.com/docs/billing/automatic-collection), `delinquent` doesn't get reset to `false`. - */ - delinquent: boolean | null; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description: string | null; - - /** - * Describes the current discount active on the customer, if there is one. - */ - discount: Stripe.Discount | null; - - /** - * The customer's email address. - */ - email: string | null; - - /** - * The prefix for the customer used to generate unique invoice numbers. - */ - invoice_prefix: string | null; - - invoice_settings: Customer.InvoiceSettings; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata; - - /** - * The customer's full name or business name. - */ - name: string | null; - - /** - * The suffix of the customer's next invoice number, e.g., 0001. - */ - next_invoice_sequence?: number; - - /** - * The customer's phone number. - */ - phone: string | null; - - /** - * The customer's preferred locales (languages), ordered by preference. - */ - preferred_locales: Array | null; - - /** - * Mailing and shipping address for the customer. Appears on invoices emailed to this customer. - */ - shipping: Customer.Shipping | null; - - /** - * The customer's payment sources, if any. - */ - sources?: ApiList; - - /** - * The customer's current subscriptions, if any. - */ - subscriptions?: ApiList; - - /** - * Describes the customer's tax exemption status. One of `none`, `exempt`, or `reverse`. When set to `reverse`, invoice and receipt PDFs include the text **"Reverse charge"**. - */ - tax_exempt?: Customer.TaxExempt | null; - - /** - * The customer's tax IDs. - */ - tax_ids: ApiList; - } - - namespace Customer { - interface InvoiceSettings { - /** - * Default custom fields to be displayed on invoices for this customer. - */ - custom_fields: Array | null; - - /** - * ID of a payment method that's attached to the customer, to be used as the customer's default payment method for subscriptions and invoices. - */ - default_payment_method: string | Stripe.PaymentMethod | null; - - /** - * Default footer to be displayed on invoices for this customer. - */ - footer: string | null; - } - - namespace InvoiceSettings { - interface CustomField { - /** - * The name of the custom field. - */ - name: string; - - /** - * The value of the custom field. - */ - value: string; - } - } - - interface Shipping { - address?: Stripe.Address; - - /** - * The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. - */ - carrier?: string | null; - - /** - * Recipient name. - */ - name?: string | null; - - /** - * Recipient phone (including extension). - */ - phone?: string | null; - - /** - * The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. - */ - tracking_number?: string | null; - } - - type TaxExempt = 'exempt' | 'none' | 'reverse'; - } - - /** - * The DeletedCustomer object. - */ - interface DeletedCustomer { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'customer'; - - /** - * Always true for a deleted object - */ - deleted: true; - } - - interface CustomerCreateParams { - /** - * The customer's address. - */ - address?: Stripe.Emptyable; - - /** - * An integer amount in %s that represents the customer's current balance, which affect the customer's future invoices. A negative amount represents a credit that decreases the amount due on an invoice; a positive amount increases the amount due on an invoice. - */ - balance?: number; - - coupon?: string; - - /** - * An arbitrary string that you can attach to a customer object. It is displayed alongside the customer in the dashboard. - */ - description?: string; - - /** - * Customer's email address. It's displayed alongside the customer in your dashboard and can be useful for searching and tracking. This may be up to *512 characters*. - */ - email?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers. - */ - invoice_prefix?: string; - - /** - * Default invoice settings for this customer. - */ - invoice_settings?: CustomerCreateParams.InvoiceSettings; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * The customer's full name or business name. - */ - name?: string; - - /** - * The sequence to be used on the customer's next invoice. Defaults to 1. - */ - next_invoice_sequence?: number; - - payment_method?: string; - - /** - * The customer's phone number. - */ - phone?: string; - - /** - * Customer's preferred languages, ordered by preference. - */ - preferred_locales?: Array; - - /** - * The API ID of a promotion code to apply to the customer. The customer will have a discount applied on all recurring payments. Charges you create through the API will not have the discount. - */ - promotion_code?: string; - - /** - * The customer's shipping information. Appears on invoices emailed to this customer. - */ - shipping?: Stripe.Emptyable; - - source?: string; - - /** - * The customer's tax exemption. One of `none`, `exempt`, or `reverse`. - */ - tax_exempt?: Stripe.Emptyable; - - /** - * The customer's tax IDs. - */ - tax_id_data?: Array; - } - - namespace CustomerCreateParams { - interface InvoiceSettings { - /** - * Default custom fields to be displayed on invoices for this customer. When updating, pass an empty string to remove previously-defined fields. - */ - custom_fields?: Stripe.Emptyable>; - - /** - * ID of a payment method that's attached to the customer, to be used as the customer's default payment method for subscriptions and invoices. - */ - default_payment_method?: string; - - /** - * Default footer to be displayed on invoices for this customer. - */ - footer?: string; - } - - namespace InvoiceSettings { - interface CustomField { - /** - * The name of the custom field. This may be up to 30 characters. - */ - name: string; - - /** - * The value of the custom field. This may be up to 30 characters. - */ - value: string; - } - } - - interface Shipping { - /** - * Customer shipping address. - */ - address: Stripe.AddressParam; - - /** - * Customer name. - */ - name: string; - - /** - * Customer phone (including extension). - */ - phone?: string; - } - - type TaxExempt = 'exempt' | 'none' | 'reverse'; - - interface TaxIdDatum { - /** - * Type of the tax ID, one of `ae_trn`, `au_abn`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_vat`, `hk_br`, `id_npwp`, `in_gst`, `jp_cn`, `jp_rn`, `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `th_vat`, `tw_vat`, `us_ein`, or `za_vat` - */ - type: TaxIdDatum.Type; - - /** - * Value of the tax ID. - */ - value: string; - } - - namespace TaxIdDatum { - type Type = - | 'ae_trn' - | 'au_abn' - | 'br_cnpj' - | 'br_cpf' - | 'ca_bn' - | 'ca_qst' - | 'ch_vat' - | 'cl_tin' - | 'es_cif' - | 'eu_vat' - | 'hk_br' - | 'id_npwp' - | 'in_gst' - | 'jp_cn' - | 'jp_rn' - | 'kr_brn' - | 'li_uid' - | 'mx_rfc' - | 'my_frp' - | 'my_itn' - | 'my_sst' - | 'no_vat' - | 'nz_gst' - | 'ru_inn' - | 'ru_kpp' - | 'sa_vat' - | 'sg_gst' - | 'sg_uen' - | 'th_vat' - | 'tw_vat' - | 'us_ein' - | 'za_vat'; - } - } - - interface CustomerRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface CustomerUpdateParams { - /** - * The customer's address. - */ - address?: Stripe.Emptyable; - - /** - * An integer amount in %s that represents the customer's current balance, which affect the customer's future invoices. A negative amount represents a credit that decreases the amount due on an invoice; a positive amount increases the amount due on an invoice. - */ - balance?: number; - - coupon?: string; - - /** - * If you are using payment methods created via the PaymentMethods API, see the [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method) parameter. - * - * Provide the ID of a payment source already attached to this customer to make it this customer's default payment source. - * - * If you want to add a new payment source and make it the default, see the [source](https://stripe.com/docs/api/customers/update#update_customer-source) property. - */ - default_source?: string; - - /** - * An arbitrary string that you can attach to a customer object. It is displayed alongside the customer in the dashboard. - */ - description?: string; - - /** - * Customer's email address. It's displayed alongside the customer in your dashboard and can be useful for searching and tracking. This may be up to *512 characters*. - */ - email?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers. - */ - invoice_prefix?: string; - - /** - * Default invoice settings for this customer. - */ - invoice_settings?: CustomerUpdateParams.InvoiceSettings; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * The customer's full name or business name. - */ - name?: string; - - /** - * The sequence to be used on the customer's next invoice. Defaults to 1. - */ - next_invoice_sequence?: number; - - /** - * The customer's phone number. - */ - phone?: string; - - /** - * Customer's preferred languages, ordered by preference. - */ - preferred_locales?: Array; - - /** - * The API ID of a promotion code to apply to the customer. The customer will have a discount applied on all recurring payments. Charges you create through the API will not have the discount. - */ - promotion_code?: string; - - /** - * The customer's shipping information. Appears on invoices emailed to this customer. - */ - shipping?: Stripe.Emptyable; - - source?: string; - - /** - * The customer's tax exemption. One of `none`, `exempt`, or `reverse`. - */ - tax_exempt?: Stripe.Emptyable; - - /** - * Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. This will always overwrite any trials that might apply via a subscribed plan. If set, trial_end will override the default trial period of the plan the customer is being subscribed to. The special value `now` can be provided to end the customer's trial immediately. Can be at most two years from `billing_cycle_anchor`. - */ - trial_end?: 'now' | number; - } - - namespace CustomerUpdateParams { - interface InvoiceSettings { - /** - * Default custom fields to be displayed on invoices for this customer. When updating, pass an empty string to remove previously-defined fields. - */ - custom_fields?: Stripe.Emptyable>; - - /** - * ID of a payment method that's attached to the customer, to be used as the customer's default payment method for subscriptions and invoices. - */ - default_payment_method?: string; - - /** - * Default footer to be displayed on invoices for this customer. - */ - footer?: string; - } - - namespace InvoiceSettings { - interface CustomField { - /** - * The name of the custom field. This may be up to 30 characters. - */ - name: string; - - /** - * The value of the custom field. This may be up to 30 characters. - */ - value: string; - } - } - - interface Shipping { - /** - * Customer shipping address. - */ - address: Stripe.AddressParam; - - /** - * Customer name. - */ - name: string; - - /** - * Customer phone (including extension). - */ - phone?: string; - } - - type TaxExempt = 'exempt' | 'none' | 'reverse'; - } - - interface CustomerListParams extends PaginationParams { - created?: Stripe.RangeQueryParam | number; - - /** - * A case-sensitive filter on the list based on the customer's `email` field. The value must be a string. - */ - email?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface CustomerDeleteParams {} - - interface CustomerDeleteDiscountParams {} - - class CustomersResource { - /** - * Creates a new customer object. - */ - create( - params?: CustomerCreateParams, - options?: RequestOptions - ): Promise>; - create( - options?: RequestOptions - ): Promise>; - - /** - * Retrieves the details of an existing customer. You need only supply the unique customer identifier that was returned upon customer creation. - */ - retrieve( - id: string, - params?: CustomerRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates the specified customer by setting the values of the parameters passed. Any parameters not provided will be left unchanged. For example, if you pass the source parameter, that becomes the customer's active source (e.g., a card) to be used for all charges in the future. When you update a customer to a new valid card source by passing the source parameter: for each of the customer's current subscriptions, if the subscription bills automatically and is in the past_due state, then the latest open invoice for the subscription with automatic collection enabled will be retried. This retry will not count as an automatic retry, and will not affect the next regularly scheduled payment for the invoice. Changing the default_source for a customer will not trigger this behavior. - * - * This request accepts mostly the same arguments as the customer creation call. - */ - update( - id: string, - params?: CustomerUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of your customers. The customers are returned sorted by creation date, with the most recent customers appearing first. - */ - list( - params?: CustomerListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - - /** - * Permanently deletes a customer. It cannot be undone. Also immediately cancels any active subscriptions on the customer. - */ - del( - id: string, - params?: CustomerDeleteParams, - options?: RequestOptions - ): Promise>; - del( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Removes the currently applied discount on a customer. - */ - deleteDiscount( - id: string, - params?: CustomerDeleteDiscountParams, - options?: RequestOptions - ): Promise>; - deleteDiscount( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Creates an immutable transaction that updates the customer's credit [balance](https://stripe.com/docs/billing/customer/balance). - */ - createBalanceTransaction( - id: string, - params: CustomerBalanceTransactionCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves a specific customer balance transaction that updated the customer's [balances](https://stripe.com/docs/billing/customer/balance). - */ - retrieveBalanceTransaction( - customerId: string, - id: string, - params?: CustomerBalanceTransactionRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieveBalanceTransaction( - customerId: string, - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Most credit balance transaction fields are immutable, but you may update its description and metadata. - */ - updateBalanceTransaction( - customerId: string, - id: string, - params?: CustomerBalanceTransactionUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of transactions that updated the customer's [balances](https://stripe.com/docs/billing/customer/balance). - */ - listBalanceTransactions( - id: string, - params?: CustomerBalanceTransactionListParams, - options?: RequestOptions - ): ApiListPromise; - listBalanceTransactions( - id: string, - options?: RequestOptions - ): ApiListPromise; - - /** - * When you create a new credit card, you must specify a customer or recipient on which to create it. - * - * If the card's owner has no default card, then the new card will become the default. - * However, if the owner already has a default, then it will not change. - * To change the default, you should [update the customer](https://stripe.com/docs/api#update_customer) to have a new default_source. - */ - createSource( - id: string, - params: CustomerSourceCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieve a specified source for a given customer. - */ - retrieveSource( - customerId: string, - id: string, - params?: CustomerSourceRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieveSource( - customerId: string, - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Update a specified source for a given customer. - */ - updateSource( - customerId: string, - id: string, - params?: CustomerSourceUpdateParams, - options?: RequestOptions - ): Promise< - Stripe.Response - >; - updateSource( - customerId: string, - id: string, - options?: RequestOptions - ): Promise< - Stripe.Response - >; - - /** - * List sources for a specified customer. - */ - listSources( - id: string, - params?: CustomerSourceListParams, - options?: RequestOptions - ): ApiListPromise; - listSources( - id: string, - options?: RequestOptions - ): ApiListPromise; - - /** - * Delete a specified source for a given customer. - */ - deleteSource( - customerId: string, - id: string, - params?: CustomerSourceDeleteParams, - options?: RequestOptions - ): Promise< - Stripe.Response< - | CustomerSource - | Stripe.DeletedAlipayAccount - | Stripe.DeletedBankAccount - | Stripe.DeletedBitcoinReceiver - | Stripe.DeletedCard - > - >; - deleteSource( - customerId: string, - id: string, - options?: RequestOptions - ): Promise< - Stripe.Response< - | CustomerSource - | Stripe.DeletedAlipayAccount - | Stripe.DeletedBankAccount - | Stripe.DeletedBitcoinReceiver - | Stripe.DeletedCard - > - >; - - /** - * Verify a specified bank account for a given customer. - */ - verifySource( - customerId: string, - id: string, - params?: CustomerSourceVerifyParams, - options?: RequestOptions - ): Promise>; - verifySource( - customerId: string, - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Creates a new TaxID object for a customer. - */ - createTaxId( - id: string, - params: TaxIdCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves the TaxID object with the given identifier. - */ - retrieveTaxId( - customerId: string, - id: string, - params?: TaxIdRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieveTaxId( - customerId: string, - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of tax IDs for a customer. - */ - listTaxIds( - id: string, - params?: TaxIdListParams, - options?: RequestOptions - ): ApiListPromise; - listTaxIds( - id: string, - options?: RequestOptions - ): ApiListPromise; - - /** - * Deletes an existing TaxID object. - */ - deleteTaxId( - customerId: string, - id: string, - params?: TaxIdDeleteParams, - options?: RequestOptions - ): Promise>; - deleteTaxId( - customerId: string, - id: string, - options?: RequestOptions - ): Promise>; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Discounts.d.ts b/node_modules/stripe/types/2020-08-27/Discounts.d.ts deleted file mode 100644 index 330e84ef..00000000 --- a/node_modules/stripe/types/2020-08-27/Discounts.d.ts +++ /dev/null @@ -1,130 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Discount object. - */ - interface Discount { - /** - * The ID of the discount object. Discounts cannot be fetched by ID. Use `expand[]=discounts` in API calls to expand discount IDs in an array. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'discount'; - - /** - * The Checkout session that this coupon is applied to, if it is applied to a particular session in payment mode. Will not be present for subscription mode. - */ - checkout_session: string | null; - - /** - * A coupon contains information about a percent-off or amount-off discount you - * might want to apply to a customer. Coupons may be applied to [invoices](https://stripe.com/docs/api#invoices) or - * [orders](https://stripe.com/docs/api#create_order-coupon). Coupons do not work with conventional one-off [charges](https://stripe.com/docs/api#create_charge). - */ - coupon: Stripe.Coupon; - - /** - * The ID of the customer associated with this discount. - */ - customer: string | Stripe.Customer | DeletedCustomer | null; - - deleted?: void; - - /** - * If the coupon has a duration of `repeating`, the date that this discount will end. If the coupon has a duration of `once` or `forever`, this attribute will be null. - */ - end: number | null; - - /** - * The invoice that the discount's coupon was applied to, if it was applied directly to a particular invoice. - */ - invoice: string | null; - - /** - * The invoice item `id` (or invoice line item `id` for invoice line items of type='subscription') that the discount's coupon was applied to, if it was applied directly to a particular invoice item or invoice line item. - */ - invoice_item: string | null; - - /** - * The promotion code applied to create this discount. - */ - promotion_code: string | Stripe.PromotionCode | null; - - /** - * Date that the coupon was applied. - */ - start: number; - - /** - * The subscription that this coupon is applied to, if it is applied to a particular subscription. - */ - subscription: string | null; - } - - /** - * The DeletedDiscount object. - */ - interface DeletedDiscount { - /** - * The ID of the discount object. Discounts cannot be fetched by ID. Use `expand[]=discounts` in API calls to expand discount IDs in an array. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'discount'; - - /** - * The Checkout session that this coupon is applied to, if it is applied to a particular session in payment mode. Will not be present for subscription mode. - */ - checkout_session: string | null; - - /** - * A coupon contains information about a percent-off or amount-off discount you - * might want to apply to a customer. Coupons may be applied to [invoices](https://stripe.com/docs/api#invoices) or - * [orders](https://stripe.com/docs/api#create_order-coupon). Coupons do not work with conventional one-off [charges](https://stripe.com/docs/api#create_charge). - */ - coupon: Stripe.Coupon; - - /** - * The ID of the customer associated with this discount. - */ - customer: string | Stripe.Customer | DeletedCustomer | null; - - /** - * Always true for a deleted object - */ - deleted: true; - - /** - * The invoice that the discount's coupon was applied to, if it was applied directly to a particular invoice. - */ - invoice: string | null; - - /** - * The invoice item `id` (or invoice line item `id` for invoice line items of type='subscription') that the discount's coupon was applied to, if it was applied directly to a particular invoice item or invoice line item. - */ - invoice_item: string | null; - - /** - * The promotion code applied to create this discount. - */ - promotion_code: string | Stripe.PromotionCode | null; - - /** - * Date that the coupon was applied. - */ - start: number; - - /** - * The subscription that this coupon is applied to, if it is applied to a particular subscription. - */ - subscription: string | null; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Disputes.d.ts b/node_modules/stripe/types/2020-08-27/Disputes.d.ts deleted file mode 100644 index 67f40fa1..00000000 --- a/node_modules/stripe/types/2020-08-27/Disputes.d.ts +++ /dev/null @@ -1,498 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Dispute object. - */ - interface Dispute { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'dispute'; - - /** - * Disputed amount. Usually the amount of the charge, but can differ (usually because of currency fluctuation or because only part of the order is disputed). - */ - amount: number; - - /** - * List of zero, one, or two balance transactions that show funds withdrawn and reinstated to your Stripe account as a result of this dispute. - */ - balance_transactions: Array; - - /** - * ID of the charge that was disputed. - */ - charge: string | Stripe.Charge; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - evidence: Dispute.Evidence; - - evidence_details: Dispute.EvidenceDetails; - - /** - * If true, it is still possible to refund the disputed payment. Once the payment has been fully refunded, no further funds will be withdrawn from your Stripe account as a result of this dispute. - */ - is_charge_refundable: boolean; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata; - - /** - * Network-dependent reason code for the dispute. - */ - network_reason_code?: string | null; - - /** - * ID of the PaymentIntent that was disputed. - */ - payment_intent: string | Stripe.PaymentIntent | null; - - /** - * Reason given by cardholder for dispute. Possible values are `bank_cannot_process`, `check_returned`, `credit_not_processed`, `customer_initiated`, `debit_not_authorized`, `duplicate`, `fraudulent`, `general`, `incorrect_account_details`, `insufficient_funds`, `product_not_received`, `product_unacceptable`, `subscription_canceled`, or `unrecognized`. Read more about [dispute reasons](https://stripe.com/docs/disputes/categories). - */ - reason: string; - - /** - * Current status of dispute. Possible values are `warning_needs_response`, `warning_under_review`, `warning_closed`, `needs_response`, `under_review`, `charge_refunded`, `won`, or `lost`. - */ - status: Dispute.Status; - } - - namespace Dispute { - interface Evidence { - /** - * Any server or activity logs showing proof that the customer accessed or downloaded the purchased digital product. This information should include IP addresses, corresponding timestamps, and any detailed recorded activity. - */ - access_activity_log: string | null; - - /** - * The billing address provided by the customer. - */ - billing_address: string | null; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Your subscription cancellation policy, as shown to the customer. - */ - cancellation_policy: string | Stripe.File | null; - - /** - * An explanation of how and when the customer was shown your refund policy prior to purchase. - */ - cancellation_policy_disclosure: string | null; - - /** - * A justification for why the customer's subscription was not canceled. - */ - cancellation_rebuttal: string | null; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Any communication with the customer that you feel is relevant to your case. Examples include emails proving that the customer received the product or service, or demonstrating their use of or satisfaction with the product or service. - */ - customer_communication: string | Stripe.File | null; - - /** - * The email address of the customer. - */ - customer_email_address: string | null; - - /** - * The name of the customer. - */ - customer_name: string | null; - - /** - * The IP address that the customer used when making the purchase. - */ - customer_purchase_ip: string | null; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A relevant document or contract showing the customer's signature. - */ - customer_signature: string | Stripe.File | null; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Documentation for the prior charge that can uniquely identify the charge, such as a receipt, shipping label, work order, etc. This document should be paired with a similar document from the disputed payment that proves the two payments are separate. - */ - duplicate_charge_documentation: string | Stripe.File | null; - - /** - * An explanation of the difference between the disputed charge versus the prior charge that appears to be a duplicate. - */ - duplicate_charge_explanation: string | null; - - /** - * The Stripe ID for the prior charge which appears to be a duplicate of the disputed charge. - */ - duplicate_charge_id: string | null; - - /** - * A description of the product or service that was sold. - */ - product_description: string | null; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Any receipt or message sent to the customer notifying them of the charge. - */ - receipt: string | Stripe.File | null; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Your refund policy, as shown to the customer. - */ - refund_policy: string | Stripe.File | null; - - /** - * Documentation demonstrating that the customer was shown your refund policy prior to purchase. - */ - refund_policy_disclosure: string | null; - - /** - * A justification for why the customer is not entitled to a refund. - */ - refund_refusal_explanation: string | null; - - /** - * The date on which the customer received or began receiving the purchased service, in a clear human-readable format. - */ - service_date: string | null; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Documentation showing proof that a service was provided to the customer. This could include a copy of a signed contract, work order, or other form of written agreement. - */ - service_documentation: string | Stripe.File | null; - - /** - * The address to which a physical product was shipped. You should try to include as complete address information as possible. - */ - shipping_address: string | null; - - /** - * The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. If multiple carriers were used for this purchase, please separate them with commas. - */ - shipping_carrier: string | null; - - /** - * The date on which a physical product began its route to the shipping address, in a clear human-readable format. - */ - shipping_date: string | null; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Documentation showing proof that a product was shipped to the customer at the same address the customer provided to you. This could include a copy of the shipment receipt, shipping label, etc. It should show the customer's full shipping address, if possible. - */ - shipping_documentation: string | Stripe.File | null; - - /** - * The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. - */ - shipping_tracking_number: string | null; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Any additional evidence or statements. - */ - uncategorized_file: string | Stripe.File | null; - - /** - * Any additional evidence or statements. - */ - uncategorized_text: string | null; - } - - interface EvidenceDetails { - /** - * Date by which evidence must be submitted in order to successfully challenge dispute. Will be null if the customer's bank or credit card company doesn't allow a response for this particular dispute. - */ - due_by: number | null; - - /** - * Whether evidence has been staged for this dispute. - */ - has_evidence: boolean; - - /** - * Whether the last evidence submission was submitted past the due date. Defaults to `false` if no evidence submissions have occurred. If `true`, then delivery of the latest evidence is *not* guaranteed. - */ - past_due: boolean; - - /** - * The number of times evidence has been submitted. Typically, you may only submit evidence once. - */ - submission_count: number; - } - - type Status = - | 'charge_refunded' - | 'lost' - | 'needs_response' - | 'under_review' - | 'warning_closed' - | 'warning_needs_response' - | 'warning_under_review' - | 'won'; - } - - interface DisputeRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface DisputeUpdateParams { - /** - * Evidence to upload, to respond to a dispute. Updating any field in the hash will submit all fields in the hash for review. The combined character count of all fields is limited to 150,000. - */ - evidence?: DisputeUpdateParams.Evidence; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * Whether to immediately submit evidence to the bank. If `false`, evidence is staged on the dispute. Staged evidence is visible in the API and Dashboard, and can be submitted to the bank by making another request with this attribute set to `true` (the default). - */ - submit?: boolean; - } - - namespace DisputeUpdateParams { - interface Evidence { - /** - * Any server or activity logs showing proof that the customer accessed or downloaded the purchased digital product. This information should include IP addresses, corresponding timestamps, and any detailed recorded activity. Has a maximum character count of 20,000. - */ - access_activity_log?: string; - - /** - * The billing address provided by the customer. - */ - billing_address?: string; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Your subscription cancellation policy, as shown to the customer. - */ - cancellation_policy?: string; - - /** - * An explanation of how and when the customer was shown your refund policy prior to purchase. Has a maximum character count of 20,000. - */ - cancellation_policy_disclosure?: string; - - /** - * A justification for why the customer's subscription was not canceled. Has a maximum character count of 20,000. - */ - cancellation_rebuttal?: string; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Any communication with the customer that you feel is relevant to your case. Examples include emails proving that the customer received the product or service, or demonstrating their use of or satisfaction with the product or service. - */ - customer_communication?: string; - - /** - * The email address of the customer. - */ - customer_email_address?: string; - - /** - * The name of the customer. - */ - customer_name?: string; - - /** - * The IP address that the customer used when making the purchase. - */ - customer_purchase_ip?: string; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) A relevant document or contract showing the customer's signature. - */ - customer_signature?: string; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Documentation for the prior charge that can uniquely identify the charge, such as a receipt, shipping label, work order, etc. This document should be paired with a similar document from the disputed payment that proves the two payments are separate. - */ - duplicate_charge_documentation?: string; - - /** - * An explanation of the difference between the disputed charge versus the prior charge that appears to be a duplicate. Has a maximum character count of 20,000. - */ - duplicate_charge_explanation?: string; - - /** - * The Stripe ID for the prior charge which appears to be a duplicate of the disputed charge. - */ - duplicate_charge_id?: string; - - /** - * A description of the product or service that was sold. Has a maximum character count of 20,000. - */ - product_description?: string; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Any receipt or message sent to the customer notifying them of the charge. - */ - receipt?: string; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Your refund policy, as shown to the customer. - */ - refund_policy?: string; - - /** - * Documentation demonstrating that the customer was shown your refund policy prior to purchase. Has a maximum character count of 20,000. - */ - refund_policy_disclosure?: string; - - /** - * A justification for why the customer is not entitled to a refund. Has a maximum character count of 20,000. - */ - refund_refusal_explanation?: string; - - /** - * The date on which the customer received or began receiving the purchased service, in a clear human-readable format. - */ - service_date?: string; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Documentation showing proof that a service was provided to the customer. This could include a copy of a signed contract, work order, or other form of written agreement. - */ - service_documentation?: string; - - /** - * The address to which a physical product was shipped. You should try to include as complete address information as possible. - */ - shipping_address?: string; - - /** - * The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. If multiple carriers were used for this purchase, please separate them with commas. - */ - shipping_carrier?: string; - - /** - * The date on which a physical product began its route to the shipping address, in a clear human-readable format. - */ - shipping_date?: string; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Documentation showing proof that a product was shipped to the customer at the same address the customer provided to you. This could include a copy of the shipment receipt, shipping label, etc. It should show the customer's full shipping address, if possible. - */ - shipping_documentation?: string; - - /** - * The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. - */ - shipping_tracking_number?: string; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Any additional evidence or statements. - */ - uncategorized_file?: string; - - /** - * Any additional evidence or statements. Has a maximum character count of 20,000. - */ - uncategorized_text?: string; - } - } - - interface DisputeListParams extends PaginationParams { - /** - * Only return disputes associated to the charge specified by this charge ID. - */ - charge?: string; - - created?: Stripe.RangeQueryParam | number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Only return disputes associated to the PaymentIntent specified by this PaymentIntent ID. - */ - payment_intent?: string; - } - - interface DisputeCloseParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - class DisputesResource { - /** - * Retrieves the dispute with the given ID. - */ - retrieve( - id: string, - params?: DisputeRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * When you get a dispute, contacting your customer is always the best first step. If that doesn't work, you can submit evidence to help us resolve the dispute in your favor. You can do this in your [dashboard](https://dashboard.stripe.com/disputes), but if you prefer, you can use the API to submit evidence programmatically. - * - * Depending on your dispute type, different evidence fields will give you a better chance of winning your dispute. To figure out which evidence fields to provide, see our [guide to dispute types](https://stripe.com/docs/disputes/categories). - */ - update( - id: string, - params?: DisputeUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of your disputes. - */ - list( - params?: DisputeListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - - /** - * Closing the dispute for a charge indicates that you do not have any evidence to submit and are essentially dismissing the dispute, acknowledging it as lost. - * - * The status of the dispute will change from needs_response to lost. Closing a dispute is irreversible. - */ - close( - id: string, - params?: DisputeCloseParams, - options?: RequestOptions - ): Promise>; - close( - id: string, - options?: RequestOptions - ): Promise>; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/EphemeralKeys.d.ts b/node_modules/stripe/types/2020-08-27/EphemeralKeys.d.ts deleted file mode 100644 index c188e59b..00000000 --- a/node_modules/stripe/types/2020-08-27/EphemeralKeys.d.ts +++ /dev/null @@ -1,89 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The EphemeralKey object. - */ - interface EphemeralKey { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'ephemeral_key'; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Time at which the key will expire. Measured in seconds since the Unix epoch. - */ - expires: number; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * The key's secret. You can use this value to make authorized requests to the Stripe API. - */ - secret?: string; - } - - interface EphemeralKeyCreateParams { - /** - * The ID of the Customer you'd like to modify using the resulting ephemeral key. - */ - customer?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * The ID of the Issuing Card you'd like to access using the resulting ephemeral key. - */ - issuing_card?: string; - } - - interface EphemeralKeyDeleteParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - class EphemeralKeysResource { - /** - * Creates a short-lived API key for a given resource. - */ - create( - params?: EphemeralKeyCreateParams, - options?: RequestOptions - ): Promise>; - create( - options?: RequestOptions - ): Promise>; - - /** - * Invalidates a short-lived API key for a given resource. - */ - del( - id: string, - params?: EphemeralKeyDeleteParams, - options?: RequestOptions - ): Promise>; - del( - id: string, - options?: RequestOptions - ): Promise>; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Events.d.ts b/node_modules/stripe/types/2020-08-27/Events.d.ts deleted file mode 100644 index 23b4e78a..00000000 --- a/node_modules/stripe/types/2020-08-27/Events.d.ts +++ /dev/null @@ -1,143 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Event object. - */ - interface Event { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'event'; - - /** - * The connected account that originated the event. - */ - account?: string; - - /** - * The Stripe API version used to render `data`. *Note: This property is populated only for events on or after October 31, 2014*. - */ - api_version: string | null; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - data: Event.Data; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Number of webhooks that have yet to be successfully delivered (i.e., to return a 20x response) to the URLs you've specified. - */ - pending_webhooks: number; - - /** - * Information on the API request that instigated the event. - */ - request: Event.Request | null; - - /** - * Description of the event (e.g., `invoice.created` or `charge.refunded`). - */ - type: string; - } - - namespace Event { - interface Data { - /** - * Object containing the API resource relevant to the event. For example, an `invoice.created` event will have a full [invoice object](https://stripe.com/docs/api#invoice_object) as the value of the object key. - */ - object: Data.Object; - - /** - * Object containing the names of the attributes that have changed, and their previous values (sent along only with *.updated events). - */ - previous_attributes?: Data.PreviousAttributes; - } - - namespace Data { - interface Object {} - - interface PreviousAttributes {} - } - - interface Request { - /** - * ID of the API request that caused the event. If null, the event was automatic (e.g., Stripe's automatic subscription handling). Request logs are available in the [dashboard](https://dashboard.stripe.com/logs), but currently not in the API. - */ - id: string | null; - - /** - * The idempotency key transmitted during the request, if any. *Note: This property is populated only for events on or after May 23, 2017*. - */ - idempotency_key: string | null; - } - } - - interface EventRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface EventListParams extends PaginationParams { - created?: Stripe.RangeQueryParam | number; - - /** - * Filter events by whether all webhooks were successfully delivered. If false, events which are still pending or have failed all delivery attempts to a webhook endpoint will be returned. - */ - delivery_success?: boolean; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * A string containing a specific event name, or group of events using * as a wildcard. The list will be filtered to include only events with a matching event property. - */ - type?: string; - - /** - * An array of up to 20 strings containing specific event names. The list will be filtered to include only events with a matching event property. You may pass either `type` or `types`, but not both. - */ - types?: Array; - } - - class EventsResource { - /** - * Retrieves the details of an event. Supply the unique identifier of the event, which you might have received in a webhook. - */ - retrieve( - id: string, - params?: EventRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * List events, going back up to 30 days. Each event data is rendered according to Stripe API version at its creation time, specified in [event object](https://stripe.com/docs/api/events/object) api_version attribute (not according to your current Stripe API version or Stripe-Version header). - */ - list( - params?: EventListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/ExchangeRates.d.ts b/node_modules/stripe/types/2020-08-27/ExchangeRates.d.ts deleted file mode 100644 index bd8f7445..00000000 --- a/node_modules/stripe/types/2020-08-27/ExchangeRates.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The ExchangeRate object. - */ - interface ExchangeRate { - /** - * Unique identifier for the object. Represented as the three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html) in lowercase. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'exchange_rate'; - - /** - * Hash where the keys are supported currencies and the values are the exchange rate at which the base id currency converts to the key currency. - */ - rates: { - [key: string]: number; - }; - } - - interface ExchangeRateRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface ExchangeRateListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - class ExchangeRatesResource { - /** - * Retrieves the exchange rates from the given currency to every supported currency. - */ - retrieve( - id: string, - params?: ExchangeRateRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of objects that contain the rates at which foreign currencies are converted to one another. Only shows the currencies for which Stripe supports. - */ - list( - params?: ExchangeRateListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/ExternalAccounts.d.ts b/node_modules/stripe/types/2020-08-27/ExternalAccounts.d.ts deleted file mode 100644 index 9b6ad6e8..00000000 --- a/node_modules/stripe/types/2020-08-27/ExternalAccounts.d.ts +++ /dev/null @@ -1,120 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - interface ExternalAccountCreateParams { - /** - * Please refer to full [documentation](https://stripe.com/docs/api) instead. - */ - external_account: string; - - /** - * When set to true, or if this is the first external account added in this currency, this account becomes the default external account for its currency. - */ - default_for_currency?: boolean; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - } - - interface ExternalAccountRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface ExternalAccountUpdateParams { - /** - * The name of the person or business that owns the bank account. - */ - account_holder_name?: string; - - /** - * The type of entity that holds the account. This can be either `individual` or `company`. - */ - account_holder_type?: Stripe.Emptyable< - ExternalAccountUpdateParams.AccountHolderType - >; - - /** - * City/District/Suburb/Town/Village. - */ - address_city?: string; - - /** - * Billing address country, if provided when creating card. - */ - address_country?: string; - - /** - * Address line 1 (Street address/PO Box/Company name). - */ - address_line1?: string; - - /** - * Address line 2 (Apartment/Suite/Unit/Building). - */ - address_line2?: string; - - /** - * State/County/Province/Region. - */ - address_state?: string; - - /** - * ZIP or postal code. - */ - address_zip?: string; - - /** - * When set to true, this becomes the default external account for its currency. - */ - default_for_currency?: boolean; - - /** - * Two digit number representing the card's expiration month. - */ - exp_month?: string; - - /** - * Four digit number representing the card's expiration year. - */ - exp_year?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * Cardholder name. - */ - name?: string; - } - - namespace ExternalAccountUpdateParams { - type AccountHolderType = 'company' | 'individual'; - } - - interface ExternalAccountListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface ExternalAccountDeleteParams {} - } -} diff --git a/node_modules/stripe/types/2020-08-27/FeeRefunds.d.ts b/node_modules/stripe/types/2020-08-27/FeeRefunds.d.ts deleted file mode 100644 index 754b9e87..00000000 --- a/node_modules/stripe/types/2020-08-27/FeeRefunds.d.ts +++ /dev/null @@ -1,92 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The FeeRefund object. - */ - interface FeeRefund { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'fee_refund'; - - /** - * Amount, in %s. - */ - amount: number; - - /** - * Balance transaction that describes the impact on your account balance. - */ - balance_transaction: string | Stripe.BalanceTransaction | null; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * ID of the application fee that was refunded. - */ - fee: string | Stripe.ApplicationFee; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata | null; - } - - interface FeeRefundCreateParams { - /** - * A positive integer, in _%s_, representing how much of this fee to refund. Can refund only up to the remaining unrefunded amount of the fee. - */ - amount?: number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - } - - interface FeeRefundRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface FeeRefundUpdateParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - } - - interface FeeRefundListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/FileLinks.d.ts b/node_modules/stripe/types/2020-08-27/FileLinks.d.ts deleted file mode 100644 index a18e3b65..00000000 --- a/node_modules/stripe/types/2020-08-27/FileLinks.d.ts +++ /dev/null @@ -1,160 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The FileLink object. - */ - interface FileLink { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'file_link'; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Whether this link is already expired. - */ - expired: boolean; - - /** - * Time at which the link expires. - */ - expires_at: number | null; - - /** - * The file object this link points to. - */ - file: string | Stripe.File; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata; - - /** - * The publicly accessible URL to download the file. - */ - url: string | null; - } - - interface FileLinkCreateParams { - /** - * The ID of the file. The file's `purpose` must be one of the following: `business_icon`, `business_logo`, `customer_signature`, `dispute_evidence`, `finance_report_run`, `pci_document`, `sigma_scheduled_query`, or `tax_document_user_upload`. - */ - file: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * A future timestamp after which the link will no longer be usable. - */ - expires_at?: number; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - } - - interface FileLinkRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface FileLinkUpdateParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * A future timestamp after which the link will no longer be usable, or `now` to expire the link immediately. - */ - expires_at?: Stripe.Emptyable<'now' | number>; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - } - - interface FileLinkListParams extends PaginationParams { - created?: Stripe.RangeQueryParam | number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Filter links by their expiration status. By default, all links are returned. - */ - expired?: boolean; - - /** - * Only return links for the given file. - */ - file?: string; - } - - class FileLinksResource { - /** - * Creates a new file link object. - */ - create( - params: FileLinkCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves the file link with the given ID. - */ - retrieve( - id: string, - params?: FileLinkRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates an existing file link object. Expired links can no longer be updated. - */ - update( - id: string, - params?: FileLinkUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of file links. - */ - list( - params?: FileLinkListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Files.d.ts b/node_modules/stripe/types/2020-08-27/Files.d.ts deleted file mode 100644 index 11793267..00000000 --- a/node_modules/stripe/types/2020-08-27/Files.d.ts +++ /dev/null @@ -1,149 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The File object. - */ - interface File { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'file'; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * The time at which the file expires and is no longer available in epoch seconds. - */ - expires_at: number | null; - - /** - * A filename for the file, suitable for saving to a filesystem. - */ - filename: string | null; - - /** - * A list of [file links](https://stripe.com/docs/api#file_links) that point at this file. - */ - links?: ApiList | null; - - /** - * The [purpose](https://stripe.com/docs/file-upload#uploading-a-file) of the uploaded file. - */ - purpose: File.Purpose; - - /** - * The size in bytes of the file object. - */ - size: number; - - /** - * A user friendly title for the document. - */ - title: string | null; - - /** - * The type of the file returned (e.g., `csv`, `pdf`, `jpg`, or `png`). - */ - type: string | null; - - /** - * The URL from which the file can be downloaded using your live secret API key. - */ - url: string | null; - } - - namespace File { - type Purpose = - | 'additional_verification' - | 'business_icon' - | 'business_logo' - | 'customer_signature' - | 'dispute_evidence' - | 'identity_document' - | 'pci_document' - | 'tax_document_user_upload'; - } - - interface FileCreateParams {} - - interface FileRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface FileListParams extends PaginationParams { - created?: Stripe.RangeQueryParam | number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * The file purpose to filter queries by. If none is provided, files will not be filtered by purpose. - */ - purpose?: FileListParams.Purpose; - } - - namespace FileListParams { - type Purpose = - | 'additional_verification' - | 'business_icon' - | 'business_logo' - | 'customer_signature' - | 'dispute_evidence' - | 'document_provider_identity_document' - | 'finance_report_run' - | 'identity_document' - | 'pci_document' - | 'sigma_scheduled_query' - | 'tax_document_user_upload'; - } - - class FilesResource { - /** - * To upload a file to Stripe, you'll need to send a request of type multipart/form-data. The request should contain the file you would like to upload, as well as the parameters for creating a file. - * - * All of Stripe's officially supported Client libraries should have support for sending multipart/form-data. - */ - create( - params?: FileCreateParams, - options?: RequestOptions - ): Promise>; - create(options?: RequestOptions): Promise>; - - /** - * Retrieves the details of an existing file object. Supply the unique file ID from a file, and Stripe will return the corresponding file object. To access file contents, see the [File Upload Guide](https://stripe.com/docs/file-upload#download-file-contents). - */ - retrieve( - id: string, - params?: FileRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of the files that your account has access to. The files are returned sorted by creation date, with the most recently created files appearing first. - */ - list( - params?: FileListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/InvoiceItems.d.ts b/node_modules/stripe/types/2020-08-27/InvoiceItems.d.ts deleted file mode 100644 index 88dc205b..00000000 --- a/node_modules/stripe/types/2020-08-27/InvoiceItems.d.ts +++ /dev/null @@ -1,489 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The InvoiceItem object. - */ - interface InvoiceItem { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'invoiceitem'; - - /** - * Amount (in the `currency` specified) of the invoice item. This should always be equal to `unit_amount * quantity`. - */ - amount: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * The ID of the customer who will be billed when this invoice item is billed. - */ - customer: string | Stripe.Customer | DeletedCustomer; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - date: number; - - deleted?: void; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description: string | null; - - /** - * If true, discounts will apply to this invoice item. Always false for prorations. - */ - discountable: boolean; - - /** - * The discounts which apply to the invoice item. Item discounts are applied before invoice discounts. Use `expand[]=discounts` to expand each discount. - */ - discounts: Array | null; - - /** - * The ID of the invoice this invoice item belongs to. - */ - invoice: string | Stripe.Invoice | null; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata | null; - - period: InvoiceItem.Period; - - /** - * If the invoice item is a proration, the plan of the subscription that the proration was computed for. - */ - plan: Stripe.Plan | null; - - /** - * The price of the invoice item. - */ - price: Stripe.Price | null; - - /** - * Whether the invoice item was created automatically as a proration adjustment when the customer switched plans. - */ - proration: boolean; - - /** - * Quantity of units for the invoice item. If the invoice item is a proration, the quantity of the subscription that the proration was computed for. - */ - quantity: number; - - /** - * The subscription that this invoice item has been created for, if any. - */ - subscription: string | Stripe.Subscription | null; - - /** - * The subscription item that this invoice item has been created for, if any. - */ - subscription_item?: string; - - /** - * The tax rates which apply to the invoice item. When set, the `default_tax_rates` on the invoice do not apply to this invoice item. - */ - tax_rates: Array | null; - - /** - * Unit amount (in the `currency` specified) of the invoice item. - */ - unit_amount: number | null; - - /** - * Same as `unit_amount`, but contains a decimal value with at most 12 decimal places. - */ - unit_amount_decimal: string | null; - } - - namespace InvoiceItem { - interface Period { - /** - * End of the line item's billing period - */ - end: number; - - /** - * Start of the line item's billing period - */ - start: number; - } - } - - /** - * The DeletedInvoiceItem object. - */ - interface DeletedInvoiceItem { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'invoiceitem'; - - /** - * Always true for a deleted object - */ - deleted: true; - } - - interface InvoiceItemCreateParams { - /** - * The ID of the customer who will be billed when this invoice item is billed. - */ - customer: string; - - /** - * The integer amount in %s of the charge to be applied to the upcoming invoice. Passing in a negative `amount` will reduce the `amount_due` on the invoice. - */ - amount?: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency?: string; - - /** - * An arbitrary string which you can attach to the invoice item. The description is displayed in the invoice for easy tracking. - */ - description?: string; - - /** - * Controls whether discounts apply to this invoice item. Defaults to false for prorations or negative invoice items, and true for all other invoice items. - */ - discountable?: boolean; - - /** - * The coupons to redeem into discounts for the invoice item or invoice line item. - */ - discounts?: Stripe.Emptyable>; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * The ID of an existing invoice to add this invoice item to. When left blank, the invoice item will be added to the next upcoming scheduled invoice. This is useful when adding invoice items in response to an invoice.created webhook. You can only add invoice items to draft invoices and there is a maximum of 250 items per invoice. - */ - invoice?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * The period associated with this invoice item. - */ - period?: InvoiceItemCreateParams.Period; - - /** - * The ID of the price object. - */ - price?: string; - - /** - * Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. - */ - price_data?: InvoiceItemCreateParams.PriceData; - - /** - * Non-negative integer. The quantity of units for the invoice item. - */ - quantity?: number; - - /** - * The ID of a subscription to add this invoice item to. When left blank, the invoice item will be be added to the next upcoming scheduled invoice. When set, scheduled invoices for subscriptions other than the specified subscription will ignore the invoice item. Use this when you want to express that an invoice item has been accrued within the context of a particular subscription. - */ - subscription?: string; - - /** - * The tax rates which apply to the invoice item. When set, the `default_tax_rates` on the invoice do not apply to this invoice item. - */ - tax_rates?: Array; - - /** - * The integer unit amount in %s of the charge to be applied to the upcoming invoice. This `unit_amount` will be multiplied by the quantity to get the full amount. Passing in a negative `unit_amount` will reduce the `amount_due` on the invoice. - */ - unit_amount?: number; - - /** - * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. - */ - unit_amount_decimal?: string; - } - - namespace InvoiceItemCreateParams { - interface Discount { - /** - * ID of the coupon to create a new discount for. - */ - coupon?: string; - - /** - * ID of an existing discount on the object (or one of its ancestors) to reuse. - */ - discount?: string; - } - - interface Period { - /** - * The end of the period, which must be greater than or equal to the start. - */ - end: number; - - /** - * The start of the period. - */ - start: number; - } - - interface PriceData { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * The ID of the product that this price will belong to. - */ - product: string; - - /** - * A positive integer in %s (or 0 for a free price) representing how much to charge. - */ - unit_amount?: number; - - /** - * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. - */ - unit_amount_decimal?: string; - } - } - - interface InvoiceItemRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface InvoiceItemUpdateParams { - /** - * The integer amount in %s of the charge to be applied to the upcoming invoice. If you want to apply a credit to the customer's account, pass a negative amount. - */ - amount?: number; - - /** - * An arbitrary string which you can attach to the invoice item. The description is displayed in the invoice for easy tracking. - */ - description?: string; - - /** - * Controls whether discounts apply to this invoice item. Defaults to false for prorations or negative invoice items, and true for all other invoice items. Cannot be set to true for prorations. - */ - discountable?: boolean; - - /** - * The coupons & existing discounts which apply to the invoice item or invoice line item. Item discounts are applied before invoice discounts. Pass an empty string to remove previously-defined discounts. - */ - discounts?: Stripe.Emptyable>; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * The period associated with this invoice item. - */ - period?: InvoiceItemUpdateParams.Period; - - /** - * The ID of the price object. - */ - price?: string; - - /** - * Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. - */ - price_data?: InvoiceItemUpdateParams.PriceData; - - /** - * Non-negative integer. The quantity of units for the invoice item. - */ - quantity?: number; - - /** - * The tax rates which apply to the invoice item. When set, the `default_tax_rates` on the invoice do not apply to this invoice item. Pass an empty string to remove previously-defined tax rates. - */ - tax_rates?: Stripe.Emptyable>; - - /** - * The integer unit amount in %s of the charge to be applied to the upcoming invoice. This unit_amount will be multiplied by the quantity to get the full amount. If you want to apply a credit to the customer's account, pass a negative unit_amount. - */ - unit_amount?: number; - - /** - * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. - */ - unit_amount_decimal?: string; - } - - namespace InvoiceItemUpdateParams { - interface Discount { - /** - * ID of the coupon to create a new discount for. - */ - coupon?: string; - - /** - * ID of an existing discount on the object (or one of its ancestors) to reuse. - */ - discount?: string; - } - - interface Period { - /** - * The end of the period, which must be greater than or equal to the start. - */ - end: number; - - /** - * The start of the period. - */ - start: number; - } - - interface PriceData { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * The ID of the product that this price will belong to. - */ - product: string; - - /** - * A positive integer in %s (or 0 for a free price) representing how much to charge. - */ - unit_amount?: number; - - /** - * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. - */ - unit_amount_decimal?: string; - } - } - - interface InvoiceItemListParams extends PaginationParams { - created?: Stripe.RangeQueryParam | number; - - /** - * The identifier of the customer whose invoice items to return. If none is provided, all invoice items will be returned. - */ - customer?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Only return invoice items belonging to this invoice. If none is provided, all invoice items will be returned. If specifying an invoice, no customer identifier is needed. - */ - invoice?: string; - - /** - * Set to `true` to only show pending invoice items, which are not yet attached to any invoices. Set to `false` to only show invoice items already attached to invoices. If unspecified, no filter is applied. - */ - pending?: boolean; - } - - interface InvoiceItemDeleteParams {} - - class InvoiceItemsResource { - /** - * Creates an item to be added to a draft invoice (up to 250 items per invoice). If no invoice is specified, the item will be on the next invoice created for the customer specified. - */ - create( - params: InvoiceItemCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves the invoice item with the given ID. - */ - retrieve( - id: string, - params?: InvoiceItemRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates the amount or description of an invoice item on an upcoming invoice. Updating an invoice item is only possible before the invoice it's attached to is closed. - */ - update( - id: string, - params?: InvoiceItemUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of your invoice items. Invoice items are returned sorted by creation date, with the most recently created invoice items appearing first. - */ - list( - params?: InvoiceItemListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - - /** - * Deletes an invoice item, removing it from an invoice. Deleting invoice items is only possible when they're not attached to invoices, or if it's attached to a draft invoice. - */ - del( - id: string, - params?: InvoiceItemDeleteParams, - options?: RequestOptions - ): Promise>; - del( - id: string, - options?: RequestOptions - ): Promise>; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/InvoiceLineItems.d.ts b/node_modules/stripe/types/2020-08-27/InvoiceLineItems.d.ts deleted file mode 100644 index 4c62ec4a..00000000 --- a/node_modules/stripe/types/2020-08-27/InvoiceLineItems.d.ts +++ /dev/null @@ -1,511 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The InvoiceLineItem object. - */ - interface InvoiceLineItem { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'line_item'; - - /** - * The amount, in %s. - */ - amount: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description: string | null; - - /** - * The amount of discount calculated per discount for this line item. - */ - discount_amounts: Array | null; - - /** - * If true, discounts will apply to this line item. Always false for prorations. - */ - discountable: boolean; - - /** - * The discounts applied to the invoice line item. Line item discounts are applied before invoice discounts. Use `expand[]=discounts` to expand each discount. - */ - discounts: Array | null; - - /** - * The ID of the [invoice item](https://stripe.com/docs/api/invoiceitems) associated with this line item if any. - */ - invoice_item?: string; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Note that for line items with `type=subscription` this will reflect the metadata of the subscription that caused the line item to be created. - */ - metadata: Stripe.Metadata; - - period: InvoiceLineItem.Period; - - /** - * The plan of the subscription, if the line item is a subscription or a proration. - */ - plan: Stripe.Plan | null; - - /** - * The price of the line item. - */ - price: Stripe.Price | null; - - /** - * Whether this is a proration. - */ - proration: boolean; - - /** - * The quantity of the subscription, if the line item is a subscription or a proration. - */ - quantity: number | null; - - /** - * The subscription that the invoice item pertains to, if any. - */ - subscription: string | null; - - /** - * The subscription item that generated this invoice item. Left empty if the line item is not an explicit result of a subscription. - */ - subscription_item?: string; - - /** - * The amount of tax calculated per tax rate for this line item - */ - tax_amounts?: Array; - - /** - * The tax rates which apply to the line item. - */ - tax_rates?: Array; - - /** - * A string identifying the type of the source of this line item, either an `invoiceitem` or a `subscription`. - */ - type: InvoiceLineItem.Type; - } - - namespace InvoiceLineItem { - interface DiscountAmount { - /** - * The amount, in %s, of the discount. - */ - amount: number; - - /** - * The discount that was applied to get this discount amount. - */ - discount: string | Stripe.Discount | DeletedDiscount; - } - - interface Period { - /** - * End of the line item's billing period - */ - end: number; - - /** - * Start of the line item's billing period - */ - start: number; - } - - interface TaxAmount { - /** - * The amount, in %s, of the tax. - */ - amount: number; - - /** - * Whether this tax amount is inclusive or exclusive. - */ - inclusive: boolean; - - /** - * The tax rate that was applied to get this tax amount. - */ - tax_rate: string | Stripe.TaxRate; - } - - type Type = 'invoiceitem' | 'subscription'; - } - - interface InvoiceLineItemListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface InvoiceLineItemListUpcomingParams extends PaginationParams { - /** - * The code of the coupon to apply. If `subscription` or `subscription_items` is provided, the invoice returned will preview updating or creating a subscription with that coupon. Otherwise, it will preview applying that coupon to the customer for the next upcoming invoice from among the customer's subscriptions. The invoice can be previewed without a coupon by passing this value as an empty string. - */ - coupon?: string; - - /** - * The identifier of the customer whose upcoming invoice you'd like to retrieve. - */ - customer?: string; - - /** - * The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the customer or subscription. Pass an empty string to avoid inheriting any discounts. - */ - discounts?: Stripe.Emptyable< - Array - >; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * List of invoice items to add or update in the upcoming invoice preview. - */ - invoice_items?: Array; - - /** - * The identifier of the unstarted schedule whose upcoming invoice you'd like to retrieve. Cannot be used with subscription or subscription fields. - */ - schedule?: string; - - /** - * The identifier of the subscription for which you'd like to retrieve the upcoming invoice. If not provided, but a `subscription_items` is provided, you will preview creating a subscription with those items. If neither `subscription` nor `subscription_items` is provided, you will retrieve the next upcoming invoice from among the customer's subscriptions. - */ - subscription?: string; - - /** - * For new subscriptions, a future timestamp to anchor the subscription's [billing cycle](https://stripe.com/docs/subscriptions/billing-cycle). This is used to determine the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. For existing subscriptions, the value can only be set to `now` or `unchanged`. - */ - subscription_billing_cycle_anchor?: - | InvoiceLineItemListUpcomingParams.SubscriptionBillingCycleAnchor - | number; - - /** - * Timestamp indicating when the subscription should be scheduled to cancel. Will prorate if within the current period and prorations have been enabled using `proration_behavior`. - */ - subscription_cancel_at?: Stripe.Emptyable; - - /** - * Boolean indicating whether this subscription should cancel at the end of the current period. - */ - subscription_cancel_at_period_end?: boolean; - - /** - * This simulates the subscription being canceled or expired immediately. - */ - subscription_cancel_now?: boolean; - - /** - * If provided, the invoice returned will preview updating or creating a subscription with these default tax rates. The default tax rates will apply to any line item that does not have `tax_rates` set. - */ - subscription_default_tax_rates?: Stripe.Emptyable>; - - /** - * A list of up to 20 subscription items, each with an attached price. - */ - subscription_items?: Array< - InvoiceLineItemListUpcomingParams.SubscriptionItem - >; - - /** - * Determines how to handle [prorations](https://stripe.com/docs/subscriptions/billing-cycle#prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. Valid values are `create_prorations`, `none`, or `always_invoice`. - * - * Passing `create_prorations` will cause proration invoice items to be created when applicable. These proration items will only be invoiced immediately under [certain conditions](https://stripe.com/docs/subscriptions/upgrading-downgrading#immediate-payment). In order to always invoice immediately for prorations, pass `always_invoice`. - * - * Prorations can be disabled by passing `none`. - */ - subscription_proration_behavior?: InvoiceLineItemListUpcomingParams.SubscriptionProrationBehavior; - - /** - * If previewing an update to a subscription, and doing proration, `subscription_proration_date` forces the proration to be calculated as though the update was done at the specified time. The time given must be within the current subscription period, and cannot be before the subscription was on its current plan. If set, `subscription`, and one of `subscription_items`, or `subscription_trial_end` are required. Also, `subscription_proration_behavior` cannot be set to 'none'. - */ - subscription_proration_date?: number; - - /** - * Date a subscription is intended to start (can be future or past) - */ - subscription_start_date?: number; - - /** - * If provided, the invoice returned will preview updating or creating a subscription with that trial end. If set, one of `subscription_items` or `subscription` is required. - */ - subscription_trial_end?: 'now' | number; - - /** - * Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `subscription_trial_end` per subscription is preferred, and this defaults to `false`. Setting this flag to `true` together with `subscription_trial_end` is not allowed. - */ - subscription_trial_from_plan?: boolean; - } - - namespace InvoiceLineItemListUpcomingParams { - interface Discount { - /** - * ID of the coupon to create a new discount for. - */ - coupon?: string; - - /** - * ID of an existing discount on the object (or one of its ancestors) to reuse. - */ - discount?: string; - } - - interface InvoiceItem { - /** - * The integer amount in %s of previewed invoice item. - */ - amount?: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). Only applicable to new invoice items. - */ - currency?: string; - - /** - * An arbitrary string which you can attach to the invoice item. The description is displayed in the invoice for easy tracking. - */ - description?: string; - - /** - * Explicitly controls whether discounts apply to this invoice item. Defaults to true, except for negative invoice items. - */ - discountable?: boolean; - - /** - * The coupons to redeem into discounts for the invoice item in the preview. - */ - discounts?: Stripe.Emptyable>; - - /** - * The ID of the invoice item to update in preview. If not specified, a new invoice item will be added to the preview of the upcoming invoice. - */ - invoiceitem?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * The period associated with this invoice item. - */ - period?: InvoiceItem.Period; - - /** - * The ID of the price object. - */ - price?: string; - - /** - * Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. - */ - price_data?: InvoiceItem.PriceData; - - /** - * Non-negative integer. The quantity of units for the invoice item. - */ - quantity?: number; - - tax_rates?: Stripe.Emptyable>; - - /** - * The integer unit amount in %s of the charge to be applied to the upcoming invoice. This unit_amount will be multiplied by the quantity to get the full amount. If you want to apply a credit to the customer's account, pass a negative unit_amount. - */ - unit_amount?: number; - - /** - * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. - */ - unit_amount_decimal?: string; - } - - namespace InvoiceItem { - interface Discount { - /** - * ID of the coupon to create a new discount for. - */ - coupon?: string; - - /** - * ID of an existing discount on the object (or one of its ancestors) to reuse. - */ - discount?: string; - } - - interface Period { - /** - * The end of the period, which must be greater than or equal to the start. - */ - end: number; - - /** - * The start of the period. - */ - start: number; - } - - interface PriceData { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * The ID of the product that this price will belong to. - */ - product: string; - - /** - * A positive integer in %s (or 0 for a free price) representing how much to charge. - */ - unit_amount?: number; - - /** - * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. - */ - unit_amount_decimal?: string; - } - } - - type SubscriptionBillingCycleAnchor = 'now' | 'unchanged'; - - interface SubscriptionItem { - /** - * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds. - */ - billing_thresholds?: Stripe.Emptyable< - SubscriptionItem.BillingThresholds - >; - - /** - * Delete all usage for a given subscription item. Allowed only when `deleted` is set to `true` and the current plan's `usage_type` is `metered`. - */ - clear_usage?: boolean; - - /** - * A flag that, if set to `true`, will delete the specified item. - */ - deleted?: boolean; - - /** - * Subscription item to update. - */ - id?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * Plan ID for this item, as a string. - */ - plan?: string; - - /** - * The ID of the price object. - */ - price?: string; - - /** - * Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. - */ - price_data?: SubscriptionItem.PriceData; - - /** - * Quantity for this item. - */ - quantity?: number; - - /** - * A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates. - */ - tax_rates?: Stripe.Emptyable>; - } - - namespace SubscriptionItem { - interface BillingThresholds { - /** - * Usage threshold that triggers the subscription to advance to a new billing period - */ - usage_gte: number; - } - - interface PriceData { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * The ID of the product that this price will belong to. - */ - product: string; - - /** - * The recurring components of a price such as `interval` and `usage_type`. - */ - recurring: PriceData.Recurring; - - /** - * A positive integer in %s (or 0 for a free price) representing how much to charge. - */ - unit_amount?: number; - - /** - * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. - */ - unit_amount_decimal?: string; - } - - namespace PriceData { - interface Recurring { - /** - * Specifies billing frequency. Either `day`, `week`, `month` or `year`. - */ - interval: Recurring.Interval; - - /** - * The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). - */ - interval_count?: number; - } - - namespace Recurring { - type Interval = 'day' | 'month' | 'week' | 'year'; - } - } - } - - type SubscriptionProrationBehavior = - | 'always_invoice' - | 'create_prorations' - | 'none'; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Invoices.d.ts b/node_modules/stripe/types/2020-08-27/Invoices.d.ts deleted file mode 100644 index b6cf3d2c..00000000 --- a/node_modules/stripe/types/2020-08-27/Invoices.d.ts +++ /dev/null @@ -1,1538 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Invoice object. - */ - interface Invoice { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'invoice'; - - /** - * The country of the business associated with this invoice, most often the business creating the invoice. - */ - account_country: string | null; - - /** - * The public name of the business associated with this invoice, most often the business creating the invoice. - */ - account_name: string | null; - - /** - * The account tax IDs associated with the invoice. Only editable when the invoice is a draft. - */ - account_tax_ids?: Array | null; - - /** - * Final amount due at this time for this invoice. If the invoice's total is smaller than the minimum charge amount, for example, or if there is account credit that can be applied to the invoice, the `amount_due` may be 0. If there is a positive `starting_balance` for the invoice (the customer owes money), the `amount_due` will also take that into account. The charge that gets generated for the invoice will be for the amount specified in `amount_due`. - */ - amount_due: number; - - /** - * The amount, in %s, that was paid. - */ - amount_paid: number; - - /** - * The amount remaining, in %s, that is due. - */ - amount_remaining: number; - - /** - * The fee in %s that will be applied to the invoice and transferred to the application owner's Stripe account when the invoice is paid. - */ - application_fee_amount: number | null; - - /** - * Number of payment attempts made for this invoice, from the perspective of the payment retry schedule. Any payment attempt counts as the first attempt, and subsequently only automatic retries increment the attempt count. In other words, manual payment attempts after the first attempt do not affect the retry schedule. - */ - attempt_count: number; - - /** - * Whether an attempt has been made to pay the invoice. An invoice is not attempted until 1 hour after the `invoice.created` webhook, for example, so you might not want to display that invoice as unpaid to your users. - */ - attempted: boolean; - - /** - * Controls whether Stripe will perform [automatic collection](https://stripe.com/docs/billing/invoices/workflow/#auto_advance) of the invoice. When `false`, the invoice's state will not automatically advance without an explicit action. - */ - auto_advance?: boolean; - - /** - * Indicates the reason why the invoice was created. `subscription_cycle` indicates an invoice created by a subscription advancing into a new period. `subscription_create` indicates an invoice created due to creating a subscription. `subscription_update` indicates an invoice created due to updating a subscription. `subscription` is set for all old invoices to indicate either a change to a subscription or a period advancement. `manual` is set for all invoices unrelated to a subscription (for example: created via the invoice editor). The `upcoming` value is reserved for simulated invoices per the upcoming invoice endpoint. `subscription_threshold` indicates an invoice created due to a billing threshold being reached. - */ - billing_reason: Invoice.BillingReason | null; - - /** - * ID of the latest charge generated for this invoice, if any. - */ - charge: string | Stripe.Charge | null; - - /** - * Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this invoice using the default source attached to the customer. When sending an invoice, Stripe will email this invoice to the customer with payment instructions. - */ - collection_method: Invoice.CollectionMethod | null; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * Custom fields displayed on the invoice. - */ - custom_fields: Array | null; - - /** - * The ID of the customer who will be billed. - */ - customer: string | Stripe.Customer | DeletedCustomer; - - /** - * The customer's address. Until the invoice is finalized, this field will equal `customer.address`. Once the invoice is finalized, this field will no longer be updated. - */ - customer_address: Stripe.Address | null; - - /** - * The customer's email. Until the invoice is finalized, this field will equal `customer.email`. Once the invoice is finalized, this field will no longer be updated. - */ - customer_email: string | null; - - /** - * The customer's name. Until the invoice is finalized, this field will equal `customer.name`. Once the invoice is finalized, this field will no longer be updated. - */ - customer_name: string | null; - - /** - * The customer's phone number. Until the invoice is finalized, this field will equal `customer.phone`. Once the invoice is finalized, this field will no longer be updated. - */ - customer_phone: string | null; - - /** - * The customer's shipping information. Until the invoice is finalized, this field will equal `customer.shipping`. Once the invoice is finalized, this field will no longer be updated. - */ - customer_shipping: Invoice.CustomerShipping | null; - - /** - * The customer's tax exempt status. Until the invoice is finalized, this field will equal `customer.tax_exempt`. Once the invoice is finalized, this field will no longer be updated. - */ - customer_tax_exempt: Invoice.CustomerTaxExempt | null; - - /** - * The customer's tax IDs. Until the invoice is finalized, this field will contain the same tax IDs as `customer.tax_ids`. Once the invoice is finalized, this field will no longer be updated. - */ - customer_tax_ids?: Array | null; - - /** - * ID of the default payment method for the invoice. It must belong to the customer associated with the invoice. If not set, defaults to the subscription's default payment method, if any, or to the default payment method in the customer's invoice settings. - */ - default_payment_method: string | Stripe.PaymentMethod | null; - - /** - * ID of the default payment source for the invoice. It must belong to the customer associated with the invoice and be in a chargeable state. If not set, defaults to the subscription's default source, if any, or to the customer's default source. - */ - default_source: string | Stripe.CustomerSource | null; - - /** - * The tax rates applied to this invoice, if any. - */ - default_tax_rates: Array; - - deleted?: void; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. Referenced as 'memo' in the Dashboard. - */ - description: string | null; - - /** - * Describes the current discount applied to this invoice, if there is one. Not populated if there are multiple discounts. - */ - discount: Stripe.Discount | null; - - /** - * The discounts applied to the invoice. Line item discounts are applied before invoice discounts. Use `expand[]=discounts` to expand each discount. - */ - discounts: Array | null; - - /** - * The date on which payment for this invoice is due. This value will be `null` for invoices where `collection_method=charge_automatically`. - */ - due_date: number | null; - - /** - * Ending customer balance after the invoice is finalized. Invoices are finalized approximately an hour after successful webhook delivery or when payment collection is attempted for the invoice. If the invoice has not been finalized yet, this will be null. - */ - ending_balance: number | null; - - /** - * Footer displayed on the invoice. - */ - footer: string | null; - - /** - * The URL for the hosted invoice page, which allows customers to view and pay an invoice. If the invoice has not been finalized yet, this will be null. - */ - hosted_invoice_url?: string | null; - - /** - * The link to download the PDF for the invoice. If the invoice has not been finalized yet, this will be null. - */ - invoice_pdf?: string | null; - - /** - * The error encountered during the previous attempt to finalize the invoice. This field is cleared when the invoice is successfully finalized. - */ - last_finalization_error?: Invoice.LastFinalizationError | null; - - /** - * The individual line items that make up the invoice. `lines` is sorted as follows: invoice items in reverse chronological order, followed by the subscription, if any. - */ - lines: ApiList; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata | null; - - /** - * The time at which payment will next be attempted. This value will be `null` for invoices where `collection_method=send_invoice`. - */ - next_payment_attempt: number | null; - - /** - * A unique, identifying string that appears on emails sent to the customer for this invoice. This starts with the customer's unique invoice_prefix if it is specified. - */ - number: string | null; - - /** - * Whether payment was successfully collected for this invoice. An invoice can be paid (most commonly) with a charge or with credit from the customer's account balance. - */ - paid: boolean; - - /** - * The PaymentIntent associated with this invoice. The PaymentIntent is generated when the invoice is finalized, and can then be used to pay the invoice. Note that voiding an invoice will cancel the PaymentIntent. - */ - payment_intent: string | Stripe.PaymentIntent | null; - - /** - * End of the usage period during which invoice items were added to this invoice. - */ - period_end: number; - - /** - * Start of the usage period during which invoice items were added to this invoice. - */ - period_start: number; - - /** - * Total amount of all post-payment credit notes issued for this invoice. - */ - post_payment_credit_notes_amount: number; - - /** - * Total amount of all pre-payment credit notes issued for this invoice. - */ - pre_payment_credit_notes_amount: number; - - /** - * This is the transaction number that appears on email receipts sent for this invoice. - */ - receipt_number: string | null; - - /** - * Starting customer balance before the invoice is finalized. If the invoice has not been finalized yet, this will be the current customer balance. - */ - starting_balance: number; - - /** - * Extra information about an invoice for the customer's credit card statement. - */ - statement_descriptor: string | null; - - /** - * The status of the invoice, one of `draft`, `open`, `paid`, `uncollectible`, or `void`. [Learn more](https://stripe.com/docs/billing/invoices/workflow#workflow-overview) - */ - status: Invoice.Status | null; - - status_transitions: Invoice.StatusTransitions; - - /** - * The subscription that this invoice was prepared for, if any. - */ - subscription: string | Stripe.Subscription | null; - - /** - * Only set for upcoming invoices that preview prorations. The time used to calculate prorations. - */ - subscription_proration_date?: number; - - /** - * Total of all subscriptions, invoice items, and prorations on the invoice before any invoice level discount or tax is applied. Item discounts are already incorporated - */ - subtotal: number; - - /** - * The amount of tax on this invoice. This is the sum of all the tax amounts on this invoice. - */ - tax: number | null; - - threshold_reason?: Invoice.ThresholdReason; - - /** - * Total after discounts and taxes. - */ - total: number; - - /** - * The aggregate amounts calculated per discount across all line items. - */ - total_discount_amounts: Array | null; - - /** - * The aggregate amounts calculated per tax rate for all line items. - */ - total_tax_amounts: Array; - - /** - * The account (if any) the payment will be attributed to for tax reporting, and where funds from the payment will be transferred to for the invoice. - */ - transfer_data: Invoice.TransferData | null; - - /** - * Invoices are automatically paid or sent 1 hour after webhooks are delivered, or until all webhook delivery attempts have [been exhausted](https://stripe.com/docs/billing/webhooks#understand). This field tracks the time when webhooks for this invoice were successfully delivered. If the invoice had no webhooks to deliver, this will be set while the invoice is being created. - */ - webhooks_delivered_at: number | null; - } - - namespace Invoice { - type BillingReason = - | 'automatic_pending_invoice_item_invoice' - | 'manual' - | 'subscription' - | 'subscription_create' - | 'subscription_cycle' - | 'subscription_threshold' - | 'subscription_update' - | 'upcoming'; - - type CollectionMethod = 'charge_automatically' | 'send_invoice'; - - interface CustomerShipping { - address?: Stripe.Address; - - /** - * The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. - */ - carrier?: string | null; - - /** - * Recipient name. - */ - name?: string | null; - - /** - * Recipient phone (including extension). - */ - phone?: string | null; - - /** - * The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. - */ - tracking_number?: string | null; - } - - type CustomerTaxExempt = 'exempt' | 'none' | 'reverse'; - - interface CustomerTaxId { - /** - * The type of the tax ID, one of `eu_vat`, `br_cnpj`, `br_cpf`, `nz_gst`, `au_abn`, `in_gst`, `no_vat`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `li_uid`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, or `unknown` - */ - type: CustomerTaxId.Type; - - /** - * The value of the tax ID. - */ - value: string | null; - } - - namespace CustomerTaxId { - type Type = - | 'ae_trn' - | 'au_abn' - | 'br_cnpj' - | 'br_cpf' - | 'ca_bn' - | 'ca_qst' - | 'ch_vat' - | 'cl_tin' - | 'es_cif' - | 'eu_vat' - | 'hk_br' - | 'id_npwp' - | 'in_gst' - | 'jp_cn' - | 'jp_rn' - | 'kr_brn' - | 'li_uid' - | 'mx_rfc' - | 'my_frp' - | 'my_itn' - | 'my_sst' - | 'no_vat' - | 'nz_gst' - | 'ru_inn' - | 'ru_kpp' - | 'sa_vat' - | 'sg_gst' - | 'sg_uen' - | 'th_vat' - | 'tw_vat' - | 'unknown' - | 'us_ein' - | 'za_vat'; - } - - interface CustomField { - /** - * The name of the custom field. - */ - name: string; - - /** - * The value of the custom field. - */ - value: string; - } - - interface LastFinalizationError { - /** - * For card errors, the ID of the failed charge. - */ - charge?: string; - - /** - * For some errors that could be handled programmatically, a short string indicating the [error code](https://stripe.com/docs/error-codes) reported. - */ - code?: string; - - /** - * For card errors resulting from a card issuer decline, a short string indicating the [card issuer's reason for the decline](https://stripe.com/docs/declines#issuer-declines) if they provide one. - */ - decline_code?: string; - - /** - * A URL to more information about the [error code](https://stripe.com/docs/error-codes) reported. - */ - doc_url?: string; - - /** - * A human-readable message providing more details about the error. For card errors, these messages can be shown to your users. - */ - message?: string; - - /** - * If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field. - */ - param?: string; - - /** - * A PaymentIntent guides you through the process of collecting a payment from your customer. - * We recommend that you create exactly one PaymentIntent for each order or - * customer session in your system. You can reference the PaymentIntent later to - * see the history of payment attempts for a particular session. - * - * A PaymentIntent transitions through - * [multiple statuses](https://stripe.com/docs/payments/intents#intent-statuses) - * throughout its lifetime as it interfaces with Stripe.js to perform - * authentication flows and ultimately creates at most one successful charge. - * - * Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents). - */ - payment_intent?: Stripe.PaymentIntent; - - /** - * PaymentMethod objects represent your customer's payment instruments. - * They can be used with [PaymentIntents](https://stripe.com/docs/payments/payment-intents) to collect payments or saved to - * Customer objects to store instrument details for future payments. - * - * Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios). - */ - payment_method?: Stripe.PaymentMethod; - - /** - * If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors. - */ - payment_method_type?: string; - - /** - * A SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments. - * For example, you could use a SetupIntent to set up and save your customer's card without immediately collecting a payment. - * Later, you can use [PaymentIntents](https://stripe.com/docs/api#payment_intents) to drive the payment flow. - * - * Create a SetupIntent as soon as you're ready to collect your customer's payment credentials. - * Do not maintain long-lived, unconfirmed SetupIntents as they may no longer be valid. - * The SetupIntent then transitions through multiple [statuses](https://stripe.com/docs/payments/intents#intent-statuses) as it guides - * you through the setup process. - * - * Successful SetupIntents result in payment credentials that are optimized for future payments. - * For example, cardholders in [certain regions](https://stripe.com/guides/strong-customer-authentication) may need to be run through - * [Strong Customer Authentication](https://stripe.com/docs/strong-customer-authentication) at the time of payment method collection - * in order to streamline later [off-session payments](https://stripe.com/docs/payments/setup-intents). - * If the SetupIntent is used with a [Customer](https://stripe.com/docs/api#setup_intent_object-customer), upon success, - * it will automatically attach the resulting payment method to that Customer. - * We recommend using SetupIntents or [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) on - * PaymentIntents to save payment methods in order to prevent saving invalid or unoptimized payment methods. - * - * By using SetupIntents, you ensure that your customers experience the minimum set of required friction, - * even as regulations change over time. - * - * Related guide: [Setup Intents API](https://stripe.com/docs/payments/setup-intents). - */ - setup_intent?: Stripe.SetupIntent; - - source?: Stripe.CustomerSource; - - /** - * The type of error returned. One of `api_connection_error`, `api_error`, `authentication_error`, `card_error`, `idempotency_error`, `invalid_request_error`, or `rate_limit_error` - */ - type: LastFinalizationError.Type; - } - - namespace LastFinalizationError { - type Type = - | 'api_connection_error' - | 'api_error' - | 'authentication_error' - | 'card_error' - | 'idempotency_error' - | 'invalid_request_error' - | 'rate_limit_error'; - } - - type Status = - | 'deleted' - | 'draft' - | 'open' - | 'paid' - | 'uncollectible' - | 'void'; - - interface StatusTransitions { - /** - * The time that the invoice draft was finalized. - */ - finalized_at: number | null; - - /** - * The time that the invoice was marked uncollectible. - */ - marked_uncollectible_at: number | null; - - /** - * The time that the invoice was paid. - */ - paid_at: number | null; - - /** - * The time that the invoice was voided. - */ - voided_at: number | null; - } - - interface ThresholdReason { - /** - * The total invoice amount threshold boundary if it triggered the threshold invoice. - */ - amount_gte: number | null; - - /** - * Indicates which line items triggered a threshold invoice. - */ - item_reasons: Array; - } - - namespace ThresholdReason { - interface ItemReason { - /** - * The IDs of the line items that triggered the threshold invoice. - */ - line_item_ids: Array; - - /** - * The quantity threshold boundary that applied to the given line item. - */ - usage_gte: number; - } - } - - interface TotalDiscountAmount { - /** - * The amount, in %s, of the discount. - */ - amount: number; - - /** - * The discount that was applied to get this discount amount. - */ - discount: string | Stripe.Discount | DeletedDiscount; - } - - interface TotalTaxAmount { - /** - * The amount, in %s, of the tax. - */ - amount: number; - - /** - * Whether this tax amount is inclusive or exclusive. - */ - inclusive: boolean; - - /** - * The tax rate that was applied to get this tax amount. - */ - tax_rate: string | Stripe.TaxRate; - } - - interface TransferData { - /** - * The amount in %s that will be transferred to the destination account when the invoice is paid. By default, the entire amount is transferred to the destination. - */ - amount: number | null; - - /** - * The account where funds from the payment will be transferred to upon payment success. - */ - destination: string | Stripe.Account; - } - } - - /** - * The DeletedInvoice object. - */ - interface DeletedInvoice { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'invoice'; - - /** - * Always true for a deleted object - */ - deleted: true; - } - - interface InvoiceCreateParams { - /** - * The ID of the customer who will be billed. - */ - customer: string; - - /** - * The account tax IDs associated with the invoice. Only editable when the invoice is a draft. - */ - account_tax_ids?: Stripe.Emptyable>; - - /** - * A fee in %s that will be applied to the invoice and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the Stripe-Account header in order to take an application fee. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#invoices). - */ - application_fee_amount?: number; - - /** - * Controls whether Stripe will perform [automatic collection](https://stripe.com/docs/billing/invoices/workflow/#auto_advance) of the invoice. When `false`, the invoice's state will not automatically advance without an explicit action. - */ - auto_advance?: boolean; - - /** - * Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this invoice using the default source attached to the customer. When sending an invoice, Stripe will email this invoice to the customer with payment instructions. Defaults to `charge_automatically`. - */ - collection_method?: InvoiceCreateParams.CollectionMethod; - - /** - * A list of up to 4 custom fields to be displayed on the invoice. - */ - custom_fields?: Stripe.Emptyable>; - - /** - * The number of days from when the invoice is created until it is due. Valid only for invoices where `collection_method=send_invoice`. - */ - days_until_due?: number; - - /** - * ID of the default payment method for the invoice. It must belong to the customer associated with the invoice. If not set, defaults to the subscription's default payment method, if any, or to the default payment method in the customer's invoice settings. - */ - default_payment_method?: string; - - /** - * ID of the default payment source for the invoice. It must belong to the customer associated with the invoice and be in a chargeable state. If not set, defaults to the subscription's default source, if any, or to the customer's default source. - */ - default_source?: string; - - /** - * The tax rates that will apply to any line item that does not have `tax_rates` set. - */ - default_tax_rates?: Array; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. Referenced as 'memo' in the Dashboard. - */ - description?: string; - - /** - * The coupons to redeem into discounts for the invoice. If not specified, inherits the discount from the invoice's customer. Pass an empty string to avoid inheriting any discounts. - */ - discounts?: Stripe.Emptyable>; - - /** - * The date on which payment for this invoice is due. Valid only for invoices where `collection_method=send_invoice`. - */ - due_date?: number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Footer to be displayed on the invoice. - */ - footer?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * Extra information about a charge for the customer's credit card statement. It must contain at least one letter. If not specified and this invoice is part of a subscription, the default `statement_descriptor` will be set to the first subscription item's product's `statement_descriptor`. - */ - statement_descriptor?: string; - - /** - * The ID of the subscription to invoice, if any. If not set, the created invoice will include all pending invoice items for the customer. If set, the created invoice will only include pending invoice items for that subscription and pending invoice items not associated with any subscription. The subscription's billing cycle and regular subscription events won't be affected. - */ - subscription?: string; - - /** - * If specified, the funds from the invoice will be transferred to the destination and the ID of the resulting transfer will be found on the invoice's charge. - */ - transfer_data?: InvoiceCreateParams.TransferData; - } - - namespace InvoiceCreateParams { - type CollectionMethod = 'charge_automatically' | 'send_invoice'; - - interface CustomField { - /** - * The name of the custom field. This may be up to 30 characters. - */ - name: string; - - /** - * The value of the custom field. This may be up to 30 characters. - */ - value: string; - } - - interface Discount { - /** - * ID of the coupon to create a new discount for. - */ - coupon?: string; - - /** - * ID of an existing discount on the object (or one of its ancestors) to reuse. - */ - discount?: string; - } - - interface TransferData { - /** - * The amount that will be transferred automatically when the invoice is paid. If no amount is set, the full amount is transferred. - */ - amount?: number; - - /** - * ID of an existing, connected Stripe account. - */ - destination: string; - } - } - - interface InvoiceRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface InvoiceUpdateParams { - /** - * The account tax IDs associated with the invoice. Only editable when the invoice is a draft. - */ - account_tax_ids?: Stripe.Emptyable>; - - /** - * A fee in %s that will be applied to the invoice and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the Stripe-Account header in order to take an application fee. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#invoices). - */ - application_fee_amount?: number; - - /** - * Controls whether Stripe will perform [automatic collection](https://stripe.com/docs/billing/invoices/workflow/#auto_advance) of the invoice. - */ - auto_advance?: boolean; - - /** - * Either `charge_automatically` or `send_invoice`. This field can be updated only on `draft` invoices. - */ - collection_method?: InvoiceUpdateParams.CollectionMethod; - - /** - * A list of up to 4 custom fields to be displayed on the invoice. If a value for `custom_fields` is specified, the list specified will replace the existing custom field list on this invoice. Pass an empty string to remove previously-defined fields. - */ - custom_fields?: Stripe.Emptyable>; - - /** - * The number of days from which the invoice is created until it is due. Only valid for invoices where `collection_method=send_invoice`. This field can only be updated on `draft` invoices. - */ - days_until_due?: number; - - /** - * ID of the default payment method for the invoice. It must belong to the customer associated with the invoice. If not set, defaults to the subscription's default payment method, if any, or to the default payment method in the customer's invoice settings. - */ - default_payment_method?: string; - - /** - * ID of the default payment source for the invoice. It must belong to the customer associated with the invoice and be in a chargeable state. If not set, defaults to the subscription's default source, if any, or to the customer's default source. - */ - default_source?: string; - - /** - * The tax rates that will apply to any line item that does not have `tax_rates` set. Pass an empty string to remove previously-defined tax rates. - */ - default_tax_rates?: Stripe.Emptyable>; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. Referenced as 'memo' in the Dashboard. - */ - description?: string; - - /** - * The discounts that will apply to the invoice. Pass an empty string to remove previously-defined discounts. - */ - discounts?: Stripe.Emptyable>; - - /** - * The date on which payment for this invoice is due. Only valid for invoices where `collection_method=send_invoice`. This field can only be updated on `draft` invoices. - */ - due_date?: number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Footer to be displayed on the invoice. - */ - footer?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * Extra information about a charge for the customer's credit card statement. It must contain at least one letter. If not specified and this invoice is part of a subscription, the default `statement_descriptor` will be set to the first subscription item's product's `statement_descriptor`. - */ - statement_descriptor?: string; - - /** - * If specified, the funds from the invoice will be transferred to the destination and the ID of the resulting transfer will be found on the invoice's charge. This will be unset if you POST an empty value. - */ - transfer_data?: Stripe.Emptyable; - } - - namespace InvoiceUpdateParams { - type CollectionMethod = 'charge_automatically' | 'send_invoice'; - - interface CustomField { - /** - * The name of the custom field. This may be up to 30 characters. - */ - name: string; - - /** - * The value of the custom field. This may be up to 30 characters. - */ - value: string; - } - - interface Discount { - /** - * ID of the coupon to create a new discount for. - */ - coupon?: string; - - /** - * ID of an existing discount on the object (or one of its ancestors) to reuse. - */ - discount?: string; - } - - interface TransferData { - /** - * The amount that will be transferred automatically when the invoice is paid. If no amount is set, the full amount is transferred. - */ - amount?: number; - - /** - * ID of an existing, connected Stripe account. - */ - destination: string; - } - } - - interface InvoiceListParams extends PaginationParams { - /** - * The collection method of the invoice to retrieve. Either `charge_automatically` or `send_invoice`. - */ - collection_method?: InvoiceListParams.CollectionMethod; - - created?: Stripe.RangeQueryParam | number; - - /** - * Only return invoices for the customer specified by this customer ID. - */ - customer?: string; - - due_date?: Stripe.RangeQueryParam | number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * The status of the invoice, one of `draft`, `open`, `paid`, `uncollectible`, or `void`. [Learn more](https://stripe.com/docs/billing/invoices/workflow#workflow-overview) - */ - status?: InvoiceListParams.Status; - - /** - * Only return invoices for the subscription specified by this subscription ID. - */ - subscription?: string; - } - - namespace InvoiceListParams { - type CollectionMethod = 'charge_automatically' | 'send_invoice'; - - type Status = 'draft' | 'open' | 'paid' | 'uncollectible' | 'void'; - } - - interface InvoiceDeleteParams {} - - interface InvoiceFinalizeInvoiceParams { - /** - * Controls whether Stripe will perform [automatic collection](https://stripe.com/docs/billing/invoices/workflow/#auto_advance) of the invoice. When `false`, the invoice's state will not automatically advance without an explicit action. - */ - auto_advance?: boolean; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface InvoiceMarkUncollectibleParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface InvoicePayParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * In cases where the source used to pay the invoice has insufficient funds, passing `forgive=true` controls whether a charge should be attempted for the full amount available on the source, up to the amount to fully pay the invoice. This effectively forgives the difference between the amount available on the source and the amount due. - * - * Passing `forgive=false` will fail the charge if the source hasn't been pre-funded with the right amount. An example for this case is with ACH Credit Transfers and wires: if the amount wired is less than the amount due by a small amount, you might want to forgive the difference. Defaults to `false`. - */ - forgive?: boolean; - - /** - * Indicates if a customer is on or off-session while an invoice payment is attempted. Defaults to `true` (off-session). - */ - off_session?: boolean; - - /** - * Boolean representing whether an invoice is paid outside of Stripe. This will result in no charge being made. Defaults to `false`. - */ - paid_out_of_band?: boolean; - - /** - * A PaymentMethod to be charged. The PaymentMethod must be the ID of a PaymentMethod belonging to the customer associated with the invoice being paid. - */ - payment_method?: string; - - /** - * A payment source to be charged. The source must be the ID of a source belonging to the customer associated with the invoice being paid. - */ - source?: string; - } - - interface InvoiceRetrieveUpcomingParams { - /** - * The code of the coupon to apply. If `subscription` or `subscription_items` is provided, the invoice returned will preview updating or creating a subscription with that coupon. Otherwise, it will preview applying that coupon to the customer for the next upcoming invoice from among the customer's subscriptions. The invoice can be previewed without a coupon by passing this value as an empty string. - */ - coupon?: string; - - /** - * The identifier of the customer whose upcoming invoice you'd like to retrieve. - */ - customer?: string; - - /** - * The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the customer or subscription. Pass an empty string to avoid inheriting any discounts. - */ - discounts?: Stripe.Emptyable< - Array - >; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * List of invoice items to add or update in the upcoming invoice preview. - */ - invoice_items?: Array; - - /** - * The identifier of the unstarted schedule whose upcoming invoice you'd like to retrieve. Cannot be used with subscription or subscription fields. - */ - schedule?: string; - - /** - * The identifier of the subscription for which you'd like to retrieve the upcoming invoice. If not provided, but a `subscription_items` is provided, you will preview creating a subscription with those items. If neither `subscription` nor `subscription_items` is provided, you will retrieve the next upcoming invoice from among the customer's subscriptions. - */ - subscription?: string; - - /** - * For new subscriptions, a future timestamp to anchor the subscription's [billing cycle](https://stripe.com/docs/subscriptions/billing-cycle). This is used to determine the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. For existing subscriptions, the value can only be set to `now` or `unchanged`. - */ - subscription_billing_cycle_anchor?: - | InvoiceRetrieveUpcomingParams.SubscriptionBillingCycleAnchor - | number; - - /** - * Timestamp indicating when the subscription should be scheduled to cancel. Will prorate if within the current period and prorations have been enabled using `proration_behavior`. - */ - subscription_cancel_at?: Stripe.Emptyable; - - /** - * Boolean indicating whether this subscription should cancel at the end of the current period. - */ - subscription_cancel_at_period_end?: boolean; - - /** - * This simulates the subscription being canceled or expired immediately. - */ - subscription_cancel_now?: boolean; - - /** - * If provided, the invoice returned will preview updating or creating a subscription with these default tax rates. The default tax rates will apply to any line item that does not have `tax_rates` set. - */ - subscription_default_tax_rates?: Stripe.Emptyable>; - - /** - * A list of up to 20 subscription items, each with an attached price. - */ - subscription_items?: Array< - InvoiceRetrieveUpcomingParams.SubscriptionItem - >; - - /** - * Determines how to handle [prorations](https://stripe.com/docs/subscriptions/billing-cycle#prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. Valid values are `create_prorations`, `none`, or `always_invoice`. - * - * Passing `create_prorations` will cause proration invoice items to be created when applicable. These proration items will only be invoiced immediately under [certain conditions](https://stripe.com/docs/subscriptions/upgrading-downgrading#immediate-payment). In order to always invoice immediately for prorations, pass `always_invoice`. - * - * Prorations can be disabled by passing `none`. - */ - subscription_proration_behavior?: InvoiceRetrieveUpcomingParams.SubscriptionProrationBehavior; - - /** - * If previewing an update to a subscription, and doing proration, `subscription_proration_date` forces the proration to be calculated as though the update was done at the specified time. The time given must be within the current subscription period, and cannot be before the subscription was on its current plan. If set, `subscription`, and one of `subscription_items`, or `subscription_trial_end` are required. Also, `subscription_proration_behavior` cannot be set to 'none'. - */ - subscription_proration_date?: number; - - /** - * Date a subscription is intended to start (can be future or past) - */ - subscription_start_date?: number; - - /** - * If provided, the invoice returned will preview updating or creating a subscription with that trial end. If set, one of `subscription_items` or `subscription` is required. - */ - subscription_trial_end?: 'now' | number; - - /** - * Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `subscription_trial_end` per subscription is preferred, and this defaults to `false`. Setting this flag to `true` together with `subscription_trial_end` is not allowed. - */ - subscription_trial_from_plan?: boolean; - } - - namespace InvoiceRetrieveUpcomingParams { - interface Discount { - /** - * ID of the coupon to create a new discount for. - */ - coupon?: string; - - /** - * ID of an existing discount on the object (or one of its ancestors) to reuse. - */ - discount?: string; - } - - interface InvoiceItem { - /** - * The integer amount in %s of previewed invoice item. - */ - amount?: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). Only applicable to new invoice items. - */ - currency?: string; - - /** - * An arbitrary string which you can attach to the invoice item. The description is displayed in the invoice for easy tracking. - */ - description?: string; - - /** - * Explicitly controls whether discounts apply to this invoice item. Defaults to true, except for negative invoice items. - */ - discountable?: boolean; - - /** - * The coupons to redeem into discounts for the invoice item in the preview. - */ - discounts?: Stripe.Emptyable>; - - /** - * The ID of the invoice item to update in preview. If not specified, a new invoice item will be added to the preview of the upcoming invoice. - */ - invoiceitem?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * The period associated with this invoice item. - */ - period?: InvoiceItem.Period; - - /** - * The ID of the price object. - */ - price?: string; - - /** - * Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. - */ - price_data?: InvoiceItem.PriceData; - - /** - * Non-negative integer. The quantity of units for the invoice item. - */ - quantity?: number; - - tax_rates?: Stripe.Emptyable>; - - /** - * The integer unit amount in %s of the charge to be applied to the upcoming invoice. This unit_amount will be multiplied by the quantity to get the full amount. If you want to apply a credit to the customer's account, pass a negative unit_amount. - */ - unit_amount?: number; - - /** - * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. - */ - unit_amount_decimal?: string; - } - - namespace InvoiceItem { - interface Discount { - /** - * ID of the coupon to create a new discount for. - */ - coupon?: string; - - /** - * ID of an existing discount on the object (or one of its ancestors) to reuse. - */ - discount?: string; - } - - interface Period { - /** - * The end of the period, which must be greater than or equal to the start. - */ - end: number; - - /** - * The start of the period. - */ - start: number; - } - - interface PriceData { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * The ID of the product that this price will belong to. - */ - product: string; - - /** - * A positive integer in %s (or 0 for a free price) representing how much to charge. - */ - unit_amount?: number; - - /** - * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. - */ - unit_amount_decimal?: string; - } - } - - type SubscriptionBillingCycleAnchor = 'now' | 'unchanged'; - - interface SubscriptionItem { - /** - * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds. - */ - billing_thresholds?: Stripe.Emptyable< - SubscriptionItem.BillingThresholds - >; - - /** - * Delete all usage for a given subscription item. Allowed only when `deleted` is set to `true` and the current plan's `usage_type` is `metered`. - */ - clear_usage?: boolean; - - /** - * A flag that, if set to `true`, will delete the specified item. - */ - deleted?: boolean; - - /** - * Subscription item to update. - */ - id?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * Plan ID for this item, as a string. - */ - plan?: string; - - /** - * The ID of the price object. - */ - price?: string; - - /** - * Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. - */ - price_data?: SubscriptionItem.PriceData; - - /** - * Quantity for this item. - */ - quantity?: number; - - /** - * A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates. - */ - tax_rates?: Stripe.Emptyable>; - } - - namespace SubscriptionItem { - interface BillingThresholds { - /** - * Usage threshold that triggers the subscription to advance to a new billing period - */ - usage_gte: number; - } - - interface PriceData { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * The ID of the product that this price will belong to. - */ - product: string; - - /** - * The recurring components of a price such as `interval` and `usage_type`. - */ - recurring: PriceData.Recurring; - - /** - * A positive integer in %s (or 0 for a free price) representing how much to charge. - */ - unit_amount?: number; - - /** - * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. - */ - unit_amount_decimal?: string; - } - - namespace PriceData { - interface Recurring { - /** - * Specifies billing frequency. Either `day`, `week`, `month` or `year`. - */ - interval: Recurring.Interval; - - /** - * The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). - */ - interval_count?: number; - } - - namespace Recurring { - type Interval = 'day' | 'month' | 'week' | 'year'; - } - } - } - - type SubscriptionProrationBehavior = - | 'always_invoice' - | 'create_prorations' - | 'none'; - } - - interface InvoiceSendInvoiceParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface InvoiceVoidInvoiceParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - class InvoicesResource { - /** - * This endpoint creates a draft invoice for a given customer. The draft invoice created pulls in all pending invoice items on that customer, including prorations. The invoice remains a draft until you [finalize the invoice, which allows you to [pay](#pay_invoice) or send](https://stripe.com/docs/api#finalize_invoice) the invoice to your customers. - */ - create( - params: InvoiceCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves the invoice with the given ID. - */ - retrieve( - id: string, - params?: InvoiceRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Draft invoices are fully editable. Once an invoice is [finalized](https://stripe.com/docs/billing/invoices/workflow#finalized), - * monetary values, as well as collection_method, become uneditable. - * - * If you would like to stop the Stripe Billing engine from automatically finalizing, reattempting payments on, - * sending reminders for, or [automatically reconciling](https://stripe.com/docs/billing/invoices/reconciliation) invoices, pass - * auto_advance=false. - */ - update( - id: string, - params?: InvoiceUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * You can list all invoices, or list the invoices for a specific customer. The invoices are returned sorted by creation date, with the most recently created invoices appearing first. - */ - list( - params?: InvoiceListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - - /** - * Permanently deletes a one-off invoice draft. This cannot be undone. Attempts to delete invoices that are no longer in a draft state will fail; once an invoice has been finalized or if an invoice is for a subscription, it must be [voided](https://stripe.com/docs/api#void_invoice). - */ - del( - id: string, - params?: InvoiceDeleteParams, - options?: RequestOptions - ): Promise>; - del( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Stripe automatically finalizes drafts before sending and attempting payment on invoices. However, if you'd like to finalize a draft invoice manually, you can do so using this method. - */ - finalizeInvoice( - id: string, - params?: InvoiceFinalizeInvoiceParams, - options?: RequestOptions - ): Promise>; - finalizeInvoice( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Marking an invoice as uncollectible is useful for keeping track of bad debts that can be written off for accounting purposes. - */ - markUncollectible( - id: string, - params?: InvoiceMarkUncollectibleParams, - options?: RequestOptions - ): Promise>; - markUncollectible( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Stripe automatically creates and then attempts to collect payment on invoices for customers on subscriptions according to your [subscriptions settings](https://dashboard.stripe.com/account/billing/automatic). However, if you'd like to attempt payment on an invoice out of the normal collection schedule or for some other reason, you can do so. - */ - pay( - id: string, - params?: InvoicePayParams, - options?: RequestOptions - ): Promise>; - pay( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * At any time, you can preview the upcoming invoice for a customer. This will show you all the charges that are pending, including subscription renewal charges, invoice item charges, etc. It will also show you any discounts that are applicable to the invoice. - * - * Note that when you are viewing an upcoming invoice, you are simply viewing a preview – the invoice has not yet been created. As such, the upcoming invoice will not show up in invoice listing calls, and you cannot use the API to pay or edit the invoice. If you want to change the amount that your customer will be billed, you can add, remove, or update pending invoice items, or update the customer's discount. - * - * You can preview the effects of updating a subscription, including a preview of what proration will take place. To ensure that the actual proration is calculated exactly the same as the previewed proration, you should pass a proration_date parameter when doing the actual subscription update. The value passed in should be the same as the subscription_proration_date returned on the upcoming invoice resource. The recommended way to get only the prorations being previewed is to consider only proration line items where period[start] is equal to the subscription_proration_date on the upcoming invoice resource. - */ - retrieveUpcoming( - params?: InvoiceRetrieveUpcomingParams, - options?: RequestOptions - ): Promise>; - retrieveUpcoming( - options?: RequestOptions - ): Promise>; - - /** - * Stripe will automatically send invoices to customers according to your [subscriptions settings](https://dashboard.stripe.com/account/billing/automatic). However, if you'd like to manually send an invoice to your customer out of the normal schedule, you can do so. When sending invoices that have already been paid, there will be no reference to the payment in the email. - * - * Requests made in test-mode result in no emails being sent, despite sending an invoice.sent event. - */ - sendInvoice( - id: string, - params?: InvoiceSendInvoiceParams, - options?: RequestOptions - ): Promise>; - sendInvoice( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Mark a finalized invoice as void. This cannot be undone. Voiding an invoice is similar to [deletion](https://stripe.com/docs/api#delete_invoice), however it only applies to finalized invoices and maintains a papertrail where the invoice can still be found. - */ - voidInvoice( - id: string, - params?: InvoiceVoidInvoiceParams, - options?: RequestOptions - ): Promise>; - voidInvoice( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * When retrieving an invoice, you'll get a lines property containing the total count of line items and the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. - */ - listLineItems( - id: string, - params?: InvoiceLineItemListParams, - options?: RequestOptions - ): ApiListPromise; - listLineItems( - id: string, - options?: RequestOptions - ): ApiListPromise; - - /** - * When retrieving an upcoming invoice, you'll get a lines property containing the total count of line items and the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items. - */ - listUpcomingLineItems( - params?: InvoiceLineItemListUpcomingParams, - options?: RequestOptions - ): ApiListPromise; - listUpcomingLineItems( - options?: RequestOptions - ): ApiListPromise; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/IssuerFraudRecords.d.ts b/node_modules/stripe/types/2020-08-27/IssuerFraudRecords.d.ts deleted file mode 100644 index 6cfb76c3..00000000 --- a/node_modules/stripe/types/2020-08-27/IssuerFraudRecords.d.ts +++ /dev/null @@ -1,99 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The IssuerFraudRecord object. - */ - interface IssuerFraudRecord { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'issuer_fraud_record'; - - /** - * An IFR is actionable if it has not received a dispute and has not been fully refunded. You may wish to proactively refund a charge that receives an IFR, in order to avoid receiving a dispute later. - */ - actionable: boolean; - - /** - * ID of the charge this issuer fraud record is for, optionally expanded. - */ - charge: string | Stripe.Charge; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * The type of fraud labelled by the issuer. One of `card_never_received`, `fraudulent_card_application`, `made_with_counterfeit_card`, `made_with_lost_card`, `made_with_stolen_card`, `misc`, `unauthorized_use_of_card`. - */ - fraud_type: string; - - /** - * If true, the associated charge is subject to [liability shift](https://stripe.com/docs/payments/3d-secure#disputed-payments). - */ - has_liability_shift: boolean; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * The timestamp at which the card issuer posted the issuer fraud record. - */ - post_date: number; - } - - interface IssuerFraudRecordRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface IssuerFraudRecordListParams extends PaginationParams { - /** - * Only return issuer fraud records for the charge specified by this charge ID. - */ - charge?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - class IssuerFraudRecordsResource { - /** - * Retrieves the details of an issuer fraud record that has previously been created. - * - * Please refer to the [issuer fraud record](https://stripe.com/docs/api#issuer_fraud_record_object) object reference for more details. - */ - retrieve( - id: string, - params?: IssuerFraudRecordRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of issuer fraud records. - */ - list( - params?: IssuerFraudRecordListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Issuing/Authorizations.d.ts b/node_modules/stripe/types/2020-08-27/Issuing/Authorizations.d.ts deleted file mode 100644 index f5aea83a..00000000 --- a/node_modules/stripe/types/2020-08-27/Issuing/Authorizations.d.ts +++ /dev/null @@ -1,449 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - namespace Issuing { - /** - * The Authorization object. - */ - interface Authorization { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'issuing.authorization'; - - /** - * The total amount that was authorized or rejected. This amount is in the card's currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). - */ - amount: number; - - /** - * Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). - */ - amount_details: Authorization.AmountDetails | null; - - /** - * Whether the authorization has been approved. - */ - approved: boolean; - - /** - * How the card details were provided. - */ - authorization_method: Authorization.AuthorizationMethod; - - /** - * List of balance transactions associated with this authorization. - */ - balance_transactions: Array; - - /** - * You can [create physical or virtual cards](https://stripe.com/docs/issuing/cards) that are issued to cardholders. - */ - card: Stripe.Issuing.Card; - - /** - * The cardholder to whom this authorization belongs. - */ - cardholder: string | Stripe.Issuing.Cardholder | null; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * The total amount that was authorized or rejected. This amount is in the `merchant_currency` and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). - */ - merchant_amount: number; - - /** - * The currency that was presented to the cardholder for the authorization. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - merchant_currency: string; - - merchant_data: Authorization.MerchantData; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata; - - /** - * The pending authorization request. This field will only be non-null during an `issuing_authorization.request` webhook. - */ - pending_request: Authorization.PendingRequest | null; - - /** - * History of every time the authorization was approved/denied (whether approved/denied by you directly or by Stripe based on your `spending_controls`). If the merchant changes the authorization by performing an [incremental authorization or partial capture](https://stripe.com/docs/issuing/purchases/authorizations), you can look at this field to see the previous states of the authorization. - */ - request_history: Array; - - /** - * The current status of the authorization in its lifecycle. - */ - status: Authorization.Status; - - /** - * List of [transactions](https://stripe.com/docs/api/issuing/transactions) associated with this authorization. - */ - transactions: Array; - - verification_data: Authorization.VerificationData; - - /** - * What, if any, digital wallet was used for this authorization. One of `apple_pay`, `google_pay`, or `samsung_pay`. - */ - wallet: string | null; - } - - namespace Authorization { - interface AmountDetails { - /** - * The fee charged by the ATM for the cash withdrawal. - */ - atm_fee: number | null; - } - - type AuthorizationMethod = - | 'chip' - | 'contactless' - | 'keyed_in' - | 'online' - | 'swipe'; - - interface MerchantData { - /** - * A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values. - */ - category: string; - - /** - * City where the seller is located - */ - city: string | null; - - /** - * Country where the seller is located - */ - country: string | null; - - /** - * Name of the seller - */ - name: string | null; - - /** - * Identifier assigned to the seller by the card brand - */ - network_id: string; - - /** - * Postal code where the seller is located - */ - postal_code: string | null; - - /** - * State where the seller is located - */ - state: string | null; - } - - interface PendingRequest { - /** - * The additional amount Stripe will hold if the authorization is approved, in the card's [currency](https://stripe.com/docs/api#issuing_authorization_object-pending-request-currency) and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). - */ - amount: number; - - /** - * Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). - */ - amount_details: PendingRequest.AmountDetails | null; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * If set `true`, you may provide [amount](https://stripe.com/docs/api/issuing/authorizations/approve#approve_issuing_authorization-amount) to control how much to hold for the authorization. - */ - is_amount_controllable: boolean; - - /** - * The amount the merchant is requesting to be authorized in the `merchant_currency`. The amount is in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). - */ - merchant_amount: number; - - /** - * The local currency the merchant is requesting to authorize. - */ - merchant_currency: string; - } - - namespace PendingRequest { - interface AmountDetails { - /** - * The fee charged by the ATM for the cash withdrawal. - */ - atm_fee: number | null; - } - } - - interface RequestHistory { - /** - * The authorization amount in your card's currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Stripe held this amount from your account to fund the authorization if the request was approved. - */ - amount: number; - - /** - * Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). - */ - amount_details: RequestHistory.AmountDetails | null; - - /** - * Whether this request was approved. - */ - approved: boolean; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * The amount that was authorized at the time of this request. This amount is in the `merchant_currency` and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). - */ - merchant_amount: number; - - /** - * The currency that was collected by the merchant and presented to the cardholder for the authorization. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - merchant_currency: string; - - /** - * The reason for the approval or decline. - */ - reason: RequestHistory.Reason; - } - - namespace RequestHistory { - interface AmountDetails { - /** - * The fee charged by the ATM for the cash withdrawal. - */ - atm_fee: number | null; - } - - type Reason = - | 'account_disabled' - | 'card_active' - | 'card_inactive' - | 'cardholder_inactive' - | 'cardholder_verification_required' - | 'insufficient_funds' - | 'not_allowed' - | 'spending_controls' - | 'suspected_fraud' - | 'verification_failed' - | 'webhook_approved' - | 'webhook_declined' - | 'webhook_timeout'; - } - - type Status = 'closed' | 'pending' | 'reversed'; - - interface VerificationData { - /** - * Whether the cardholder provided an address first line and if it matched the cardholder's `billing.address.line1`. - */ - address_line1_check: VerificationData.AddressLine1Check; - - /** - * Whether the cardholder provided a postal code and if it matched the cardholder's `billing.address.postal_code`. - */ - address_postal_code_check: VerificationData.AddressPostalCodeCheck; - - /** - * Whether the cardholder provided a CVC and if it matched Stripe's record. - */ - cvc_check: VerificationData.CvcCheck; - - /** - * Whether the cardholder provided an expiry date and if it matched Stripe's record. - */ - expiry_check: VerificationData.ExpiryCheck; - } - - namespace VerificationData { - type AddressLine1Check = 'match' | 'mismatch' | 'not_provided'; - - type AddressPostalCodeCheck = 'match' | 'mismatch' | 'not_provided'; - - type CvcCheck = 'match' | 'mismatch' | 'not_provided'; - - type ExpiryCheck = 'match' | 'mismatch' | 'not_provided'; - } - } - - interface AuthorizationRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface AuthorizationUpdateParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - } - - interface AuthorizationListParams extends PaginationParams { - /** - * Only return issuing transactions that belong to the given card. - */ - card?: string; - - /** - * Only return authorizations belonging to the given cardholder. - */ - cardholder?: string; - - /** - * Only return authorizations that were created during the given date interval. - */ - created?: Stripe.RangeQueryParam | number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Only return authorizations with the given status. One of `pending`, `closed`, or `reversed`. - */ - status?: AuthorizationListParams.Status; - } - - namespace AuthorizationListParams { - type Status = 'closed' | 'pending' | 'reversed'; - } - - interface AuthorizationApproveParams { - /** - * If the authorization's `pending_request.is_amount_controllable` property is `true`, you may provide this value to control how much to hold for the authorization. Must be positive (use [`decline`](https://stripe.com/docs/api/issuing/authorizations/decline) to decline an authorization request). - */ - amount?: number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - } - - interface AuthorizationDeclineParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - } - - class AuthorizationsResource { - /** - * Retrieves an Issuing Authorization object. - */ - retrieve( - id: string, - params?: AuthorizationRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates the specified Issuing Authorization object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. - */ - update( - id: string, - params?: AuthorizationUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of Issuing Authorization objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. - */ - list( - params?: AuthorizationListParams, - options?: RequestOptions - ): ApiListPromise; - list( - options?: RequestOptions - ): ApiListPromise; - - /** - * Approves a pending Issuing Authorization object. This request should be made within the timeout window of the [real-time authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations) flow. - */ - approve( - id: string, - params?: AuthorizationApproveParams, - options?: RequestOptions - ): Promise>; - approve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Declines a pending Issuing Authorization object. This request should be made within the timeout window of the [real time authorization](https://stripe.com/docs/issuing/controls/real-time-authorizations) flow. - */ - decline( - id: string, - params?: AuthorizationDeclineParams, - options?: RequestOptions - ): Promise>; - decline( - id: string, - options?: RequestOptions - ): Promise>; - } - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Issuing/CardDetails.d.ts b/node_modules/stripe/types/2020-08-27/Issuing/CardDetails.d.ts deleted file mode 100644 index 00247cd9..00000000 --- a/node_modules/stripe/types/2020-08-27/Issuing/CardDetails.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - namespace Issuing { - /** - * The CardDetails object. - */ - interface CardDetails { - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'issuing.card_details'; - - /** - * You can [create physical or virtual cards](https://stripe.com/docs/issuing/cards) that are issued to cardholders. - */ - card: Stripe.Issuing.Card; - - /** - * The CVC number for the card. - */ - cvc: string; - - /** - * The expiration month of the card. - */ - exp_month: number; - - /** - * The expiration year of the card. - */ - exp_year: number; - - /** - * The card number. - */ - number: string; - } - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Issuing/Cardholders.d.ts b/node_modules/stripe/types/2020-08-27/Issuing/Cardholders.d.ts deleted file mode 100644 index 05cf234e..00000000 --- a/node_modules/stripe/types/2020-08-27/Issuing/Cardholders.d.ts +++ /dev/null @@ -1,3369 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - namespace Issuing { - /** - * The Cardholder object. - */ - interface Cardholder { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'issuing.cardholder'; - - billing: Cardholder.Billing; - - /** - * Additional information about a `company` cardholder. - */ - company: Cardholder.Company | null; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * The cardholder's email address. - */ - email: string | null; - - /** - * Additional information about an `individual` cardholder. - */ - individual: Cardholder.Individual | null; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata; - - /** - * The cardholder's name. This will be printed on cards issued to them. - */ - name: string; - - /** - * The cardholder's phone number. - */ - phone_number: string | null; - - requirements: Cardholder.Requirements; - - /** - * Rules that control spending across this cardholder's cards. Refer to our [documentation](https://stripe.com/docs/issuing/controls/spending-controls) for more details. - */ - spending_controls: Cardholder.SpendingControls | null; - - /** - * Specifies whether to permit authorizations on this cardholder's cards. - */ - status: Cardholder.Status; - - /** - * One of `individual` or `company`. - */ - type: Cardholder.Type; - } - - namespace Cardholder { - interface Billing { - address: Stripe.Address; - } - - interface Company { - /** - * Whether the company's business ID number was provided. - */ - tax_id_provided: boolean; - } - - interface Individual { - /** - * The date of birth of this cardholder. - */ - dob: Individual.Dob | null; - - /** - * The first name of this cardholder. - */ - first_name: string; - - /** - * The last name of this cardholder. - */ - last_name: string; - - /** - * Government-issued ID document for this cardholder. - */ - verification: Individual.Verification | null; - } - - namespace Individual { - interface Dob { - /** - * The day of birth, between 1 and 31. - */ - day: number | null; - - /** - * The month of birth, between 1 and 12. - */ - month: number | null; - - /** - * The four-digit year of birth. - */ - year: number | null; - } - - interface Verification { - /** - * An identifying document, either a passport or local ID card. - */ - document: Verification.Document | null; - } - - namespace Verification { - interface Document { - /** - * The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. - */ - back: string | Stripe.File | null; - - /** - * The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. - */ - front: string | Stripe.File | null; - } - } - } - - interface Requirements { - /** - * If `disabled_reason` is present, all cards will decline authorizations with `cardholder_verification_required` reason. - */ - disabled_reason: Requirements.DisabledReason | null; - - /** - * Array of fields that need to be collected in order to verify and re-enable the cardholder. - */ - past_due: Array | null; - } - - namespace Requirements { - type DisabledReason = 'listed' | 'rejected.listed' | 'under_review'; - - type PastDue = - | 'company.tax_id' - | 'individual.dob.day' - | 'individual.dob.month' - | 'individual.dob.year' - | 'individual.first_name' - | 'individual.last_name' - | 'individual.verification.document'; - } - - interface SpendingControls { - /** - * Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`. - */ - allowed_categories: Array | null; - - /** - * Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`. - */ - blocked_categories: Array | null; - - /** - * Limit spending with amount-based rules that apply across this cardholder's cards. - */ - spending_limits: Array | null; - - /** - * Currency of the amounts within `spending_limits`. - */ - spending_limits_currency: string | null; - } - - namespace SpendingControls { - type AllowedCategory = - | 'ac_refrigeration_repair' - | 'accounting_bookkeeping_services' - | 'advertising_services' - | 'agricultural_cooperative' - | 'airlines_air_carriers' - | 'airports_flying_fields' - | 'ambulance_services' - | 'amusement_parks_carnivals' - | 'antique_reproductions' - | 'antique_shops' - | 'aquariums' - | 'architectural_surveying_services' - | 'art_dealers_and_galleries' - | 'artists_supply_and_craft_shops' - | 'auto_and_home_supply_stores' - | 'auto_body_repair_shops' - | 'auto_paint_shops' - | 'auto_service_shops' - | 'automated_cash_disburse' - | 'automated_fuel_dispensers' - | 'automobile_associations' - | 'automotive_parts_and_accessories_stores' - | 'automotive_tire_stores' - | 'bail_and_bond_payments' - | 'bakeries' - | 'bands_orchestras' - | 'barber_and_beauty_shops' - | 'betting_casino_gambling' - | 'bicycle_shops' - | 'billiard_pool_establishments' - | 'boat_dealers' - | 'boat_rentals_and_leases' - | 'book_stores' - | 'books_periodicals_and_newspapers' - | 'bowling_alleys' - | 'bus_lines' - | 'business_secretarial_schools' - | 'buying_shopping_services' - | 'cable_satellite_and_other_pay_television_and_radio' - | 'camera_and_photographic_supply_stores' - | 'candy_nut_and_confectionery_stores' - | 'car_and_truck_dealers_new_used' - | 'car_and_truck_dealers_used_only' - | 'car_rental_agencies' - | 'car_washes' - | 'carpentry_services' - | 'carpet_upholstery_cleaning' - | 'caterers' - | 'charitable_and_social_service_organizations_fundraising' - | 'chemicals_and_allied_products' - | 'child_care_services' - | 'childrens_and_infants_wear_stores' - | 'chiropodists_podiatrists' - | 'chiropractors' - | 'cigar_stores_and_stands' - | 'civic_social_fraternal_associations' - | 'cleaning_and_maintenance' - | 'clothing_rental' - | 'colleges_universities' - | 'commercial_equipment' - | 'commercial_footwear' - | 'commercial_photography_art_and_graphics' - | 'commuter_transport_and_ferries' - | 'computer_network_services' - | 'computer_programming' - | 'computer_repair' - | 'computer_software_stores' - | 'computers_peripherals_and_software' - | 'concrete_work_services' - | 'construction_materials' - | 'consulting_public_relations' - | 'correspondence_schools' - | 'cosmetic_stores' - | 'counseling_services' - | 'country_clubs' - | 'courier_services' - | 'court_costs' - | 'credit_reporting_agencies' - | 'cruise_lines' - | 'dairy_products_stores' - | 'dance_hall_studios_schools' - | 'dating_escort_services' - | 'dentists_orthodontists' - | 'department_stores' - | 'detective_agencies' - | 'digital_goods_applications' - | 'digital_goods_games' - | 'digital_goods_large_volume' - | 'digital_goods_media' - | 'direct_marketing_catalog_merchant' - | 'direct_marketing_combination_catalog_and_retail_merchant' - | 'direct_marketing_inbound_telemarketing' - | 'direct_marketing_insurance_services' - | 'direct_marketing_other' - | 'direct_marketing_outbound_telemarketing' - | 'direct_marketing_subscription' - | 'direct_marketing_travel' - | 'discount_stores' - | 'doctors' - | 'door_to_door_sales' - | 'drapery_window_covering_and_upholstery_stores' - | 'drinking_places' - | 'drug_stores_and_pharmacies' - | 'drugs_drug_proprietaries_and_druggist_sundries' - | 'dry_cleaners' - | 'durable_goods' - | 'duty_free_stores' - | 'eating_places_restaurants' - | 'educational_services' - | 'electric_razor_stores' - | 'electrical_parts_and_equipment' - | 'electrical_services' - | 'electronics_repair_shops' - | 'electronics_stores' - | 'elementary_secondary_schools' - | 'employment_temp_agencies' - | 'equipment_rental' - | 'exterminating_services' - | 'family_clothing_stores' - | 'fast_food_restaurants' - | 'financial_institutions' - | 'fines_government_administrative_entities' - | 'fireplace_fireplace_screens_and_accessories_stores' - | 'floor_covering_stores' - | 'florists' - | 'florists_supplies_nursery_stock_and_flowers' - | 'freezer_and_locker_meat_provisioners' - | 'fuel_dealers_non_automotive' - | 'funeral_services_crematories' - | 'furniture_home_furnishings_and_equipment_stores_except_appliances' - | 'furniture_repair_refinishing' - | 'furriers_and_fur_shops' - | 'general_services' - | 'gift_card_novelty_and_souvenir_shops' - | 'glass_paint_and_wallpaper_stores' - | 'glassware_crystal_stores' - | 'golf_courses_public' - | 'government_services' - | 'grocery_stores_supermarkets' - | 'hardware_equipment_and_supplies' - | 'hardware_stores' - | 'health_and_beauty_spas' - | 'hearing_aids_sales_and_supplies' - | 'heating_plumbing_a_c' - | 'hobby_toy_and_game_shops' - | 'home_supply_warehouse_stores' - | 'hospitals' - | 'hotels_motels_and_resorts' - | 'household_appliance_stores' - | 'industrial_supplies' - | 'information_retrieval_services' - | 'insurance_default' - | 'insurance_underwriting_premiums' - | 'intra_company_purchases' - | 'jewelry_stores_watches_clocks_and_silverware_stores' - | 'landscaping_services' - | 'laundries' - | 'laundry_cleaning_services' - | 'legal_services_attorneys' - | 'luggage_and_leather_goods_stores' - | 'lumber_building_materials_stores' - | 'manual_cash_disburse' - | 'marinas_service_and_supplies' - | 'masonry_stonework_and_plaster' - | 'massage_parlors' - | 'medical_and_dental_labs' - | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies' - | 'medical_services' - | 'membership_organizations' - | 'mens_and_boys_clothing_and_accessories_stores' - | 'mens_womens_clothing_stores' - | 'metal_service_centers' - | 'miscellaneous' - | 'miscellaneous_apparel_and_accessory_shops' - | 'miscellaneous_auto_dealers' - | 'miscellaneous_business_services' - | 'miscellaneous_food_stores' - | 'miscellaneous_general_merchandise' - | 'miscellaneous_general_services' - | 'miscellaneous_home_furnishing_specialty_stores' - | 'miscellaneous_publishing_and_printing' - | 'miscellaneous_recreation_services' - | 'miscellaneous_repair_shops' - | 'miscellaneous_specialty_retail' - | 'mobile_home_dealers' - | 'motion_picture_theaters' - | 'motor_freight_carriers_and_trucking' - | 'motor_homes_dealers' - | 'motor_vehicle_supplies_and_new_parts' - | 'motorcycle_shops_and_dealers' - | 'motorcycle_shops_dealers' - | 'music_stores_musical_instruments_pianos_and_sheet_music' - | 'news_dealers_and_newsstands' - | 'non_fi_money_orders' - | 'non_fi_stored_value_card_purchase_load' - | 'nondurable_goods' - | 'nurseries_lawn_and_garden_supply_stores' - | 'nursing_personal_care' - | 'office_and_commercial_furniture' - | 'opticians_eyeglasses' - | 'optometrists_ophthalmologist' - | 'orthopedic_goods_prosthetic_devices' - | 'osteopaths' - | 'package_stores_beer_wine_and_liquor' - | 'paints_varnishes_and_supplies' - | 'parking_lots_garages' - | 'passenger_railways' - | 'pawn_shops' - | 'pet_shops_pet_food_and_supplies' - | 'petroleum_and_petroleum_products' - | 'photo_developing' - | 'photographic_photocopy_microfilm_equipment_and_supplies' - | 'photographic_studios' - | 'picture_video_production' - | 'piece_goods_notions_and_other_dry_goods' - | 'plumbing_heating_equipment_and_supplies' - | 'political_organizations' - | 'postal_services_government_only' - | 'precious_stones_and_metals_watches_and_jewelry' - | 'professional_services' - | 'public_warehousing_and_storage' - | 'quick_copy_repro_and_blueprint' - | 'railroads' - | 'real_estate_agents_and_managers_rentals' - | 'record_stores' - | 'recreational_vehicle_rentals' - | 'religious_goods_stores' - | 'religious_organizations' - | 'roofing_siding_sheet_metal' - | 'secretarial_support_services' - | 'security_brokers_dealers' - | 'service_stations' - | 'sewing_needlework_fabric_and_piece_goods_stores' - | 'shoe_repair_hat_cleaning' - | 'shoe_stores' - | 'small_appliance_repair' - | 'snowmobile_dealers' - | 'special_trade_services' - | 'specialty_cleaning' - | 'sporting_goods_stores' - | 'sporting_recreation_camps' - | 'sports_and_riding_apparel_stores' - | 'sports_clubs_fields' - | 'stamp_and_coin_stores' - | 'stationary_office_supplies_printing_and_writing_paper' - | 'stationery_stores_office_and_school_supply_stores' - | 'swimming_pools_sales' - | 't_ui_travel_germany' - | 'tailors_alterations' - | 'tax_payments_government_agencies' - | 'tax_preparation_services' - | 'taxicabs_limousines' - | 'telecommunication_equipment_and_telephone_sales' - | 'telecommunication_services' - | 'telegraph_services' - | 'tent_and_awning_shops' - | 'testing_laboratories' - | 'theatrical_ticket_agencies' - | 'timeshares' - | 'tire_retreading_and_repair' - | 'tolls_bridge_fees' - | 'tourist_attractions_and_exhibits' - | 'towing_services' - | 'trailer_parks_campgrounds' - | 'transportation_services' - | 'travel_agencies_tour_operators' - | 'truck_stop_iteration' - | 'truck_utility_trailer_rentals' - | 'typesetting_plate_making_and_related_services' - | 'typewriter_stores' - | 'u_s_federal_government_agencies_or_departments' - | 'uniforms_commercial_clothing' - | 'used_merchandise_and_secondhand_stores' - | 'utilities' - | 'variety_stores' - | 'veterinary_services' - | 'video_amusement_game_supplies' - | 'video_game_arcades' - | 'video_tape_rental_stores' - | 'vocational_trade_schools' - | 'watch_jewelry_repair' - | 'welding_repair' - | 'wholesale_clubs' - | 'wig_and_toupee_stores' - | 'wires_money_orders' - | 'womens_accessory_and_specialty_shops' - | 'womens_ready_to_wear_stores' - | 'wrecking_and_salvage_yards'; - - type BlockedCategory = - | 'ac_refrigeration_repair' - | 'accounting_bookkeeping_services' - | 'advertising_services' - | 'agricultural_cooperative' - | 'airlines_air_carriers' - | 'airports_flying_fields' - | 'ambulance_services' - | 'amusement_parks_carnivals' - | 'antique_reproductions' - | 'antique_shops' - | 'aquariums' - | 'architectural_surveying_services' - | 'art_dealers_and_galleries' - | 'artists_supply_and_craft_shops' - | 'auto_and_home_supply_stores' - | 'auto_body_repair_shops' - | 'auto_paint_shops' - | 'auto_service_shops' - | 'automated_cash_disburse' - | 'automated_fuel_dispensers' - | 'automobile_associations' - | 'automotive_parts_and_accessories_stores' - | 'automotive_tire_stores' - | 'bail_and_bond_payments' - | 'bakeries' - | 'bands_orchestras' - | 'barber_and_beauty_shops' - | 'betting_casino_gambling' - | 'bicycle_shops' - | 'billiard_pool_establishments' - | 'boat_dealers' - | 'boat_rentals_and_leases' - | 'book_stores' - | 'books_periodicals_and_newspapers' - | 'bowling_alleys' - | 'bus_lines' - | 'business_secretarial_schools' - | 'buying_shopping_services' - | 'cable_satellite_and_other_pay_television_and_radio' - | 'camera_and_photographic_supply_stores' - | 'candy_nut_and_confectionery_stores' - | 'car_and_truck_dealers_new_used' - | 'car_and_truck_dealers_used_only' - | 'car_rental_agencies' - | 'car_washes' - | 'carpentry_services' - | 'carpet_upholstery_cleaning' - | 'caterers' - | 'charitable_and_social_service_organizations_fundraising' - | 'chemicals_and_allied_products' - | 'child_care_services' - | 'childrens_and_infants_wear_stores' - | 'chiropodists_podiatrists' - | 'chiropractors' - | 'cigar_stores_and_stands' - | 'civic_social_fraternal_associations' - | 'cleaning_and_maintenance' - | 'clothing_rental' - | 'colleges_universities' - | 'commercial_equipment' - | 'commercial_footwear' - | 'commercial_photography_art_and_graphics' - | 'commuter_transport_and_ferries' - | 'computer_network_services' - | 'computer_programming' - | 'computer_repair' - | 'computer_software_stores' - | 'computers_peripherals_and_software' - | 'concrete_work_services' - | 'construction_materials' - | 'consulting_public_relations' - | 'correspondence_schools' - | 'cosmetic_stores' - | 'counseling_services' - | 'country_clubs' - | 'courier_services' - | 'court_costs' - | 'credit_reporting_agencies' - | 'cruise_lines' - | 'dairy_products_stores' - | 'dance_hall_studios_schools' - | 'dating_escort_services' - | 'dentists_orthodontists' - | 'department_stores' - | 'detective_agencies' - | 'digital_goods_applications' - | 'digital_goods_games' - | 'digital_goods_large_volume' - | 'digital_goods_media' - | 'direct_marketing_catalog_merchant' - | 'direct_marketing_combination_catalog_and_retail_merchant' - | 'direct_marketing_inbound_telemarketing' - | 'direct_marketing_insurance_services' - | 'direct_marketing_other' - | 'direct_marketing_outbound_telemarketing' - | 'direct_marketing_subscription' - | 'direct_marketing_travel' - | 'discount_stores' - | 'doctors' - | 'door_to_door_sales' - | 'drapery_window_covering_and_upholstery_stores' - | 'drinking_places' - | 'drug_stores_and_pharmacies' - | 'drugs_drug_proprietaries_and_druggist_sundries' - | 'dry_cleaners' - | 'durable_goods' - | 'duty_free_stores' - | 'eating_places_restaurants' - | 'educational_services' - | 'electric_razor_stores' - | 'electrical_parts_and_equipment' - | 'electrical_services' - | 'electronics_repair_shops' - | 'electronics_stores' - | 'elementary_secondary_schools' - | 'employment_temp_agencies' - | 'equipment_rental' - | 'exterminating_services' - | 'family_clothing_stores' - | 'fast_food_restaurants' - | 'financial_institutions' - | 'fines_government_administrative_entities' - | 'fireplace_fireplace_screens_and_accessories_stores' - | 'floor_covering_stores' - | 'florists' - | 'florists_supplies_nursery_stock_and_flowers' - | 'freezer_and_locker_meat_provisioners' - | 'fuel_dealers_non_automotive' - | 'funeral_services_crematories' - | 'furniture_home_furnishings_and_equipment_stores_except_appliances' - | 'furniture_repair_refinishing' - | 'furriers_and_fur_shops' - | 'general_services' - | 'gift_card_novelty_and_souvenir_shops' - | 'glass_paint_and_wallpaper_stores' - | 'glassware_crystal_stores' - | 'golf_courses_public' - | 'government_services' - | 'grocery_stores_supermarkets' - | 'hardware_equipment_and_supplies' - | 'hardware_stores' - | 'health_and_beauty_spas' - | 'hearing_aids_sales_and_supplies' - | 'heating_plumbing_a_c' - | 'hobby_toy_and_game_shops' - | 'home_supply_warehouse_stores' - | 'hospitals' - | 'hotels_motels_and_resorts' - | 'household_appliance_stores' - | 'industrial_supplies' - | 'information_retrieval_services' - | 'insurance_default' - | 'insurance_underwriting_premiums' - | 'intra_company_purchases' - | 'jewelry_stores_watches_clocks_and_silverware_stores' - | 'landscaping_services' - | 'laundries' - | 'laundry_cleaning_services' - | 'legal_services_attorneys' - | 'luggage_and_leather_goods_stores' - | 'lumber_building_materials_stores' - | 'manual_cash_disburse' - | 'marinas_service_and_supplies' - | 'masonry_stonework_and_plaster' - | 'massage_parlors' - | 'medical_and_dental_labs' - | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies' - | 'medical_services' - | 'membership_organizations' - | 'mens_and_boys_clothing_and_accessories_stores' - | 'mens_womens_clothing_stores' - | 'metal_service_centers' - | 'miscellaneous' - | 'miscellaneous_apparel_and_accessory_shops' - | 'miscellaneous_auto_dealers' - | 'miscellaneous_business_services' - | 'miscellaneous_food_stores' - | 'miscellaneous_general_merchandise' - | 'miscellaneous_general_services' - | 'miscellaneous_home_furnishing_specialty_stores' - | 'miscellaneous_publishing_and_printing' - | 'miscellaneous_recreation_services' - | 'miscellaneous_repair_shops' - | 'miscellaneous_specialty_retail' - | 'mobile_home_dealers' - | 'motion_picture_theaters' - | 'motor_freight_carriers_and_trucking' - | 'motor_homes_dealers' - | 'motor_vehicle_supplies_and_new_parts' - | 'motorcycle_shops_and_dealers' - | 'motorcycle_shops_dealers' - | 'music_stores_musical_instruments_pianos_and_sheet_music' - | 'news_dealers_and_newsstands' - | 'non_fi_money_orders' - | 'non_fi_stored_value_card_purchase_load' - | 'nondurable_goods' - | 'nurseries_lawn_and_garden_supply_stores' - | 'nursing_personal_care' - | 'office_and_commercial_furniture' - | 'opticians_eyeglasses' - | 'optometrists_ophthalmologist' - | 'orthopedic_goods_prosthetic_devices' - | 'osteopaths' - | 'package_stores_beer_wine_and_liquor' - | 'paints_varnishes_and_supplies' - | 'parking_lots_garages' - | 'passenger_railways' - | 'pawn_shops' - | 'pet_shops_pet_food_and_supplies' - | 'petroleum_and_petroleum_products' - | 'photo_developing' - | 'photographic_photocopy_microfilm_equipment_and_supplies' - | 'photographic_studios' - | 'picture_video_production' - | 'piece_goods_notions_and_other_dry_goods' - | 'plumbing_heating_equipment_and_supplies' - | 'political_organizations' - | 'postal_services_government_only' - | 'precious_stones_and_metals_watches_and_jewelry' - | 'professional_services' - | 'public_warehousing_and_storage' - | 'quick_copy_repro_and_blueprint' - | 'railroads' - | 'real_estate_agents_and_managers_rentals' - | 'record_stores' - | 'recreational_vehicle_rentals' - | 'religious_goods_stores' - | 'religious_organizations' - | 'roofing_siding_sheet_metal' - | 'secretarial_support_services' - | 'security_brokers_dealers' - | 'service_stations' - | 'sewing_needlework_fabric_and_piece_goods_stores' - | 'shoe_repair_hat_cleaning' - | 'shoe_stores' - | 'small_appliance_repair' - | 'snowmobile_dealers' - | 'special_trade_services' - | 'specialty_cleaning' - | 'sporting_goods_stores' - | 'sporting_recreation_camps' - | 'sports_and_riding_apparel_stores' - | 'sports_clubs_fields' - | 'stamp_and_coin_stores' - | 'stationary_office_supplies_printing_and_writing_paper' - | 'stationery_stores_office_and_school_supply_stores' - | 'swimming_pools_sales' - | 't_ui_travel_germany' - | 'tailors_alterations' - | 'tax_payments_government_agencies' - | 'tax_preparation_services' - | 'taxicabs_limousines' - | 'telecommunication_equipment_and_telephone_sales' - | 'telecommunication_services' - | 'telegraph_services' - | 'tent_and_awning_shops' - | 'testing_laboratories' - | 'theatrical_ticket_agencies' - | 'timeshares' - | 'tire_retreading_and_repair' - | 'tolls_bridge_fees' - | 'tourist_attractions_and_exhibits' - | 'towing_services' - | 'trailer_parks_campgrounds' - | 'transportation_services' - | 'travel_agencies_tour_operators' - | 'truck_stop_iteration' - | 'truck_utility_trailer_rentals' - | 'typesetting_plate_making_and_related_services' - | 'typewriter_stores' - | 'u_s_federal_government_agencies_or_departments' - | 'uniforms_commercial_clothing' - | 'used_merchandise_and_secondhand_stores' - | 'utilities' - | 'variety_stores' - | 'veterinary_services' - | 'video_amusement_game_supplies' - | 'video_game_arcades' - | 'video_tape_rental_stores' - | 'vocational_trade_schools' - | 'watch_jewelry_repair' - | 'welding_repair' - | 'wholesale_clubs' - | 'wig_and_toupee_stores' - | 'wires_money_orders' - | 'womens_accessory_and_specialty_shops' - | 'womens_ready_to_wear_stores' - | 'wrecking_and_salvage_yards'; - - interface SpendingLimit { - /** - * Maximum amount allowed to spend per interval. - */ - amount: number; - - /** - * Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories. - */ - categories: Array | null; - - /** - * Interval (or event) to which the amount applies. - */ - interval: SpendingLimit.Interval; - } - - namespace SpendingLimit { - type Category = - | 'ac_refrigeration_repair' - | 'accounting_bookkeeping_services' - | 'advertising_services' - | 'agricultural_cooperative' - | 'airlines_air_carriers' - | 'airports_flying_fields' - | 'ambulance_services' - | 'amusement_parks_carnivals' - | 'antique_reproductions' - | 'antique_shops' - | 'aquariums' - | 'architectural_surveying_services' - | 'art_dealers_and_galleries' - | 'artists_supply_and_craft_shops' - | 'auto_and_home_supply_stores' - | 'auto_body_repair_shops' - | 'auto_paint_shops' - | 'auto_service_shops' - | 'automated_cash_disburse' - | 'automated_fuel_dispensers' - | 'automobile_associations' - | 'automotive_parts_and_accessories_stores' - | 'automotive_tire_stores' - | 'bail_and_bond_payments' - | 'bakeries' - | 'bands_orchestras' - | 'barber_and_beauty_shops' - | 'betting_casino_gambling' - | 'bicycle_shops' - | 'billiard_pool_establishments' - | 'boat_dealers' - | 'boat_rentals_and_leases' - | 'book_stores' - | 'books_periodicals_and_newspapers' - | 'bowling_alleys' - | 'bus_lines' - | 'business_secretarial_schools' - | 'buying_shopping_services' - | 'cable_satellite_and_other_pay_television_and_radio' - | 'camera_and_photographic_supply_stores' - | 'candy_nut_and_confectionery_stores' - | 'car_and_truck_dealers_new_used' - | 'car_and_truck_dealers_used_only' - | 'car_rental_agencies' - | 'car_washes' - | 'carpentry_services' - | 'carpet_upholstery_cleaning' - | 'caterers' - | 'charitable_and_social_service_organizations_fundraising' - | 'chemicals_and_allied_products' - | 'child_care_services' - | 'childrens_and_infants_wear_stores' - | 'chiropodists_podiatrists' - | 'chiropractors' - | 'cigar_stores_and_stands' - | 'civic_social_fraternal_associations' - | 'cleaning_and_maintenance' - | 'clothing_rental' - | 'colleges_universities' - | 'commercial_equipment' - | 'commercial_footwear' - | 'commercial_photography_art_and_graphics' - | 'commuter_transport_and_ferries' - | 'computer_network_services' - | 'computer_programming' - | 'computer_repair' - | 'computer_software_stores' - | 'computers_peripherals_and_software' - | 'concrete_work_services' - | 'construction_materials' - | 'consulting_public_relations' - | 'correspondence_schools' - | 'cosmetic_stores' - | 'counseling_services' - | 'country_clubs' - | 'courier_services' - | 'court_costs' - | 'credit_reporting_agencies' - | 'cruise_lines' - | 'dairy_products_stores' - | 'dance_hall_studios_schools' - | 'dating_escort_services' - | 'dentists_orthodontists' - | 'department_stores' - | 'detective_agencies' - | 'digital_goods_applications' - | 'digital_goods_games' - | 'digital_goods_large_volume' - | 'digital_goods_media' - | 'direct_marketing_catalog_merchant' - | 'direct_marketing_combination_catalog_and_retail_merchant' - | 'direct_marketing_inbound_telemarketing' - | 'direct_marketing_insurance_services' - | 'direct_marketing_other' - | 'direct_marketing_outbound_telemarketing' - | 'direct_marketing_subscription' - | 'direct_marketing_travel' - | 'discount_stores' - | 'doctors' - | 'door_to_door_sales' - | 'drapery_window_covering_and_upholstery_stores' - | 'drinking_places' - | 'drug_stores_and_pharmacies' - | 'drugs_drug_proprietaries_and_druggist_sundries' - | 'dry_cleaners' - | 'durable_goods' - | 'duty_free_stores' - | 'eating_places_restaurants' - | 'educational_services' - | 'electric_razor_stores' - | 'electrical_parts_and_equipment' - | 'electrical_services' - | 'electronics_repair_shops' - | 'electronics_stores' - | 'elementary_secondary_schools' - | 'employment_temp_agencies' - | 'equipment_rental' - | 'exterminating_services' - | 'family_clothing_stores' - | 'fast_food_restaurants' - | 'financial_institutions' - | 'fines_government_administrative_entities' - | 'fireplace_fireplace_screens_and_accessories_stores' - | 'floor_covering_stores' - | 'florists' - | 'florists_supplies_nursery_stock_and_flowers' - | 'freezer_and_locker_meat_provisioners' - | 'fuel_dealers_non_automotive' - | 'funeral_services_crematories' - | 'furniture_home_furnishings_and_equipment_stores_except_appliances' - | 'furniture_repair_refinishing' - | 'furriers_and_fur_shops' - | 'general_services' - | 'gift_card_novelty_and_souvenir_shops' - | 'glass_paint_and_wallpaper_stores' - | 'glassware_crystal_stores' - | 'golf_courses_public' - | 'government_services' - | 'grocery_stores_supermarkets' - | 'hardware_equipment_and_supplies' - | 'hardware_stores' - | 'health_and_beauty_spas' - | 'hearing_aids_sales_and_supplies' - | 'heating_plumbing_a_c' - | 'hobby_toy_and_game_shops' - | 'home_supply_warehouse_stores' - | 'hospitals' - | 'hotels_motels_and_resorts' - | 'household_appliance_stores' - | 'industrial_supplies' - | 'information_retrieval_services' - | 'insurance_default' - | 'insurance_underwriting_premiums' - | 'intra_company_purchases' - | 'jewelry_stores_watches_clocks_and_silverware_stores' - | 'landscaping_services' - | 'laundries' - | 'laundry_cleaning_services' - | 'legal_services_attorneys' - | 'luggage_and_leather_goods_stores' - | 'lumber_building_materials_stores' - | 'manual_cash_disburse' - | 'marinas_service_and_supplies' - | 'masonry_stonework_and_plaster' - | 'massage_parlors' - | 'medical_and_dental_labs' - | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies' - | 'medical_services' - | 'membership_organizations' - | 'mens_and_boys_clothing_and_accessories_stores' - | 'mens_womens_clothing_stores' - | 'metal_service_centers' - | 'miscellaneous' - | 'miscellaneous_apparel_and_accessory_shops' - | 'miscellaneous_auto_dealers' - | 'miscellaneous_business_services' - | 'miscellaneous_food_stores' - | 'miscellaneous_general_merchandise' - | 'miscellaneous_general_services' - | 'miscellaneous_home_furnishing_specialty_stores' - | 'miscellaneous_publishing_and_printing' - | 'miscellaneous_recreation_services' - | 'miscellaneous_repair_shops' - | 'miscellaneous_specialty_retail' - | 'mobile_home_dealers' - | 'motion_picture_theaters' - | 'motor_freight_carriers_and_trucking' - | 'motor_homes_dealers' - | 'motor_vehicle_supplies_and_new_parts' - | 'motorcycle_shops_and_dealers' - | 'motorcycle_shops_dealers' - | 'music_stores_musical_instruments_pianos_and_sheet_music' - | 'news_dealers_and_newsstands' - | 'non_fi_money_orders' - | 'non_fi_stored_value_card_purchase_load' - | 'nondurable_goods' - | 'nurseries_lawn_and_garden_supply_stores' - | 'nursing_personal_care' - | 'office_and_commercial_furniture' - | 'opticians_eyeglasses' - | 'optometrists_ophthalmologist' - | 'orthopedic_goods_prosthetic_devices' - | 'osteopaths' - | 'package_stores_beer_wine_and_liquor' - | 'paints_varnishes_and_supplies' - | 'parking_lots_garages' - | 'passenger_railways' - | 'pawn_shops' - | 'pet_shops_pet_food_and_supplies' - | 'petroleum_and_petroleum_products' - | 'photo_developing' - | 'photographic_photocopy_microfilm_equipment_and_supplies' - | 'photographic_studios' - | 'picture_video_production' - | 'piece_goods_notions_and_other_dry_goods' - | 'plumbing_heating_equipment_and_supplies' - | 'political_organizations' - | 'postal_services_government_only' - | 'precious_stones_and_metals_watches_and_jewelry' - | 'professional_services' - | 'public_warehousing_and_storage' - | 'quick_copy_repro_and_blueprint' - | 'railroads' - | 'real_estate_agents_and_managers_rentals' - | 'record_stores' - | 'recreational_vehicle_rentals' - | 'religious_goods_stores' - | 'religious_organizations' - | 'roofing_siding_sheet_metal' - | 'secretarial_support_services' - | 'security_brokers_dealers' - | 'service_stations' - | 'sewing_needlework_fabric_and_piece_goods_stores' - | 'shoe_repair_hat_cleaning' - | 'shoe_stores' - | 'small_appliance_repair' - | 'snowmobile_dealers' - | 'special_trade_services' - | 'specialty_cleaning' - | 'sporting_goods_stores' - | 'sporting_recreation_camps' - | 'sports_and_riding_apparel_stores' - | 'sports_clubs_fields' - | 'stamp_and_coin_stores' - | 'stationary_office_supplies_printing_and_writing_paper' - | 'stationery_stores_office_and_school_supply_stores' - | 'swimming_pools_sales' - | 't_ui_travel_germany' - | 'tailors_alterations' - | 'tax_payments_government_agencies' - | 'tax_preparation_services' - | 'taxicabs_limousines' - | 'telecommunication_equipment_and_telephone_sales' - | 'telecommunication_services' - | 'telegraph_services' - | 'tent_and_awning_shops' - | 'testing_laboratories' - | 'theatrical_ticket_agencies' - | 'timeshares' - | 'tire_retreading_and_repair' - | 'tolls_bridge_fees' - | 'tourist_attractions_and_exhibits' - | 'towing_services' - | 'trailer_parks_campgrounds' - | 'transportation_services' - | 'travel_agencies_tour_operators' - | 'truck_stop_iteration' - | 'truck_utility_trailer_rentals' - | 'typesetting_plate_making_and_related_services' - | 'typewriter_stores' - | 'u_s_federal_government_agencies_or_departments' - | 'uniforms_commercial_clothing' - | 'used_merchandise_and_secondhand_stores' - | 'utilities' - | 'variety_stores' - | 'veterinary_services' - | 'video_amusement_game_supplies' - | 'video_game_arcades' - | 'video_tape_rental_stores' - | 'vocational_trade_schools' - | 'watch_jewelry_repair' - | 'welding_repair' - | 'wholesale_clubs' - | 'wig_and_toupee_stores' - | 'wires_money_orders' - | 'womens_accessory_and_specialty_shops' - | 'womens_ready_to_wear_stores' - | 'wrecking_and_salvage_yards'; - - type Interval = - | 'all_time' - | 'daily' - | 'monthly' - | 'per_authorization' - | 'weekly' - | 'yearly'; - } - } - - type Status = 'active' | 'blocked' | 'inactive'; - - type Type = 'company' | 'individual'; - } - - interface CardholderCreateParams { - /** - * The cardholder's billing address. - */ - billing: CardholderCreateParams.Billing; - - /** - * The cardholder's name. This will be printed on cards issued to them. - */ - name: string; - - /** - * One of `individual` or `company`. - */ - type: CardholderCreateParams.Type; - - /** - * Additional information about a `company` cardholder. - */ - company?: CardholderCreateParams.Company; - - /** - * The cardholder's email address. - */ - email?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Additional information about an `individual` cardholder. - */ - individual?: CardholderCreateParams.Individual; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * The cardholder's phone number. This will be transformed to [E.164](https://en.wikipedia.org/wiki/E.164) if it is not provided in that format already. - */ - phone_number?: string; - - /** - * Rules that control spending across this cardholder's cards. Refer to our [documentation](https://stripe.com/docs/issuing/controls/spending-controls) for more details. - */ - spending_controls?: CardholderCreateParams.SpendingControls; - - /** - * Specifies whether to permit authorizations on this cardholder's cards. Defaults to `active`. - */ - status?: CardholderCreateParams.Status; - } - - namespace CardholderCreateParams { - interface Billing { - /** - * The cardholder's billing address. - */ - address: Billing.Address; - } - - namespace Billing { - interface Address { - /** - * City, district, suburb, town, or village. - */ - city: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code: string; - - /** - * State, county, province, or region. - */ - state?: string; - } - } - - interface Company { - /** - * The entity's business ID number. - */ - tax_id?: string; - } - - interface Individual { - /** - * The date of birth of this cardholder. - */ - dob?: Individual.Dob; - - /** - * The first name of this cardholder. - */ - first_name: string; - - /** - * The last name of this cardholder. - */ - last_name: string; - - /** - * Government-issued ID document for this cardholder. - */ - verification?: Individual.Verification; - } - - namespace Individual { - interface Dob { - /** - * The day of birth, between 1 and 31. - */ - day: number; - - /** - * The month of birth, between 1 and 12. - */ - month: number; - - /** - * The four-digit year of birth. - */ - year: number; - } - - interface Verification { - /** - * An identifying document, either a passport or local ID card. - */ - document?: Verification.Document; - } - - namespace Verification { - interface Document { - /** - * The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. - */ - back?: string; - - /** - * The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. - */ - front?: string; - } - } - } - - interface SpendingControls { - /** - * Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`. - */ - allowed_categories?: Array; - - /** - * Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`. - */ - blocked_categories?: Array; - - /** - * Limit spending with amount-based rules that apply across this cardholder's cards. - */ - spending_limits?: Array; - - /** - * Currency of amounts within `spending_limits`. Defaults to your merchant country's currency. - */ - spending_limits_currency?: string; - } - - namespace SpendingControls { - type AllowedCategory = - | 'ac_refrigeration_repair' - | 'accounting_bookkeeping_services' - | 'advertising_services' - | 'agricultural_cooperative' - | 'airlines_air_carriers' - | 'airports_flying_fields' - | 'ambulance_services' - | 'amusement_parks_carnivals' - | 'antique_reproductions' - | 'antique_shops' - | 'aquariums' - | 'architectural_surveying_services' - | 'art_dealers_and_galleries' - | 'artists_supply_and_craft_shops' - | 'auto_and_home_supply_stores' - | 'auto_body_repair_shops' - | 'auto_paint_shops' - | 'auto_service_shops' - | 'automated_cash_disburse' - | 'automated_fuel_dispensers' - | 'automobile_associations' - | 'automotive_parts_and_accessories_stores' - | 'automotive_tire_stores' - | 'bail_and_bond_payments' - | 'bakeries' - | 'bands_orchestras' - | 'barber_and_beauty_shops' - | 'betting_casino_gambling' - | 'bicycle_shops' - | 'billiard_pool_establishments' - | 'boat_dealers' - | 'boat_rentals_and_leases' - | 'book_stores' - | 'books_periodicals_and_newspapers' - | 'bowling_alleys' - | 'bus_lines' - | 'business_secretarial_schools' - | 'buying_shopping_services' - | 'cable_satellite_and_other_pay_television_and_radio' - | 'camera_and_photographic_supply_stores' - | 'candy_nut_and_confectionery_stores' - | 'car_and_truck_dealers_new_used' - | 'car_and_truck_dealers_used_only' - | 'car_rental_agencies' - | 'car_washes' - | 'carpentry_services' - | 'carpet_upholstery_cleaning' - | 'caterers' - | 'charitable_and_social_service_organizations_fundraising' - | 'chemicals_and_allied_products' - | 'child_care_services' - | 'childrens_and_infants_wear_stores' - | 'chiropodists_podiatrists' - | 'chiropractors' - | 'cigar_stores_and_stands' - | 'civic_social_fraternal_associations' - | 'cleaning_and_maintenance' - | 'clothing_rental' - | 'colleges_universities' - | 'commercial_equipment' - | 'commercial_footwear' - | 'commercial_photography_art_and_graphics' - | 'commuter_transport_and_ferries' - | 'computer_network_services' - | 'computer_programming' - | 'computer_repair' - | 'computer_software_stores' - | 'computers_peripherals_and_software' - | 'concrete_work_services' - | 'construction_materials' - | 'consulting_public_relations' - | 'correspondence_schools' - | 'cosmetic_stores' - | 'counseling_services' - | 'country_clubs' - | 'courier_services' - | 'court_costs' - | 'credit_reporting_agencies' - | 'cruise_lines' - | 'dairy_products_stores' - | 'dance_hall_studios_schools' - | 'dating_escort_services' - | 'dentists_orthodontists' - | 'department_stores' - | 'detective_agencies' - | 'digital_goods_applications' - | 'digital_goods_games' - | 'digital_goods_large_volume' - | 'digital_goods_media' - | 'direct_marketing_catalog_merchant' - | 'direct_marketing_combination_catalog_and_retail_merchant' - | 'direct_marketing_inbound_telemarketing' - | 'direct_marketing_insurance_services' - | 'direct_marketing_other' - | 'direct_marketing_outbound_telemarketing' - | 'direct_marketing_subscription' - | 'direct_marketing_travel' - | 'discount_stores' - | 'doctors' - | 'door_to_door_sales' - | 'drapery_window_covering_and_upholstery_stores' - | 'drinking_places' - | 'drug_stores_and_pharmacies' - | 'drugs_drug_proprietaries_and_druggist_sundries' - | 'dry_cleaners' - | 'durable_goods' - | 'duty_free_stores' - | 'eating_places_restaurants' - | 'educational_services' - | 'electric_razor_stores' - | 'electrical_parts_and_equipment' - | 'electrical_services' - | 'electronics_repair_shops' - | 'electronics_stores' - | 'elementary_secondary_schools' - | 'employment_temp_agencies' - | 'equipment_rental' - | 'exterminating_services' - | 'family_clothing_stores' - | 'fast_food_restaurants' - | 'financial_institutions' - | 'fines_government_administrative_entities' - | 'fireplace_fireplace_screens_and_accessories_stores' - | 'floor_covering_stores' - | 'florists' - | 'florists_supplies_nursery_stock_and_flowers' - | 'freezer_and_locker_meat_provisioners' - | 'fuel_dealers_non_automotive' - | 'funeral_services_crematories' - | 'furniture_home_furnishings_and_equipment_stores_except_appliances' - | 'furniture_repair_refinishing' - | 'furriers_and_fur_shops' - | 'general_services' - | 'gift_card_novelty_and_souvenir_shops' - | 'glass_paint_and_wallpaper_stores' - | 'glassware_crystal_stores' - | 'golf_courses_public' - | 'government_services' - | 'grocery_stores_supermarkets' - | 'hardware_equipment_and_supplies' - | 'hardware_stores' - | 'health_and_beauty_spas' - | 'hearing_aids_sales_and_supplies' - | 'heating_plumbing_a_c' - | 'hobby_toy_and_game_shops' - | 'home_supply_warehouse_stores' - | 'hospitals' - | 'hotels_motels_and_resorts' - | 'household_appliance_stores' - | 'industrial_supplies' - | 'information_retrieval_services' - | 'insurance_default' - | 'insurance_underwriting_premiums' - | 'intra_company_purchases' - | 'jewelry_stores_watches_clocks_and_silverware_stores' - | 'landscaping_services' - | 'laundries' - | 'laundry_cleaning_services' - | 'legal_services_attorneys' - | 'luggage_and_leather_goods_stores' - | 'lumber_building_materials_stores' - | 'manual_cash_disburse' - | 'marinas_service_and_supplies' - | 'masonry_stonework_and_plaster' - | 'massage_parlors' - | 'medical_and_dental_labs' - | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies' - | 'medical_services' - | 'membership_organizations' - | 'mens_and_boys_clothing_and_accessories_stores' - | 'mens_womens_clothing_stores' - | 'metal_service_centers' - | 'miscellaneous' - | 'miscellaneous_apparel_and_accessory_shops' - | 'miscellaneous_auto_dealers' - | 'miscellaneous_business_services' - | 'miscellaneous_food_stores' - | 'miscellaneous_general_merchandise' - | 'miscellaneous_general_services' - | 'miscellaneous_home_furnishing_specialty_stores' - | 'miscellaneous_publishing_and_printing' - | 'miscellaneous_recreation_services' - | 'miscellaneous_repair_shops' - | 'miscellaneous_specialty_retail' - | 'mobile_home_dealers' - | 'motion_picture_theaters' - | 'motor_freight_carriers_and_trucking' - | 'motor_homes_dealers' - | 'motor_vehicle_supplies_and_new_parts' - | 'motorcycle_shops_and_dealers' - | 'motorcycle_shops_dealers' - | 'music_stores_musical_instruments_pianos_and_sheet_music' - | 'news_dealers_and_newsstands' - | 'non_fi_money_orders' - | 'non_fi_stored_value_card_purchase_load' - | 'nondurable_goods' - | 'nurseries_lawn_and_garden_supply_stores' - | 'nursing_personal_care' - | 'office_and_commercial_furniture' - | 'opticians_eyeglasses' - | 'optometrists_ophthalmologist' - | 'orthopedic_goods_prosthetic_devices' - | 'osteopaths' - | 'package_stores_beer_wine_and_liquor' - | 'paints_varnishes_and_supplies' - | 'parking_lots_garages' - | 'passenger_railways' - | 'pawn_shops' - | 'pet_shops_pet_food_and_supplies' - | 'petroleum_and_petroleum_products' - | 'photo_developing' - | 'photographic_photocopy_microfilm_equipment_and_supplies' - | 'photographic_studios' - | 'picture_video_production' - | 'piece_goods_notions_and_other_dry_goods' - | 'plumbing_heating_equipment_and_supplies' - | 'political_organizations' - | 'postal_services_government_only' - | 'precious_stones_and_metals_watches_and_jewelry' - | 'professional_services' - | 'public_warehousing_and_storage' - | 'quick_copy_repro_and_blueprint' - | 'railroads' - | 'real_estate_agents_and_managers_rentals' - | 'record_stores' - | 'recreational_vehicle_rentals' - | 'religious_goods_stores' - | 'religious_organizations' - | 'roofing_siding_sheet_metal' - | 'secretarial_support_services' - | 'security_brokers_dealers' - | 'service_stations' - | 'sewing_needlework_fabric_and_piece_goods_stores' - | 'shoe_repair_hat_cleaning' - | 'shoe_stores' - | 'small_appliance_repair' - | 'snowmobile_dealers' - | 'special_trade_services' - | 'specialty_cleaning' - | 'sporting_goods_stores' - | 'sporting_recreation_camps' - | 'sports_and_riding_apparel_stores' - | 'sports_clubs_fields' - | 'stamp_and_coin_stores' - | 'stationary_office_supplies_printing_and_writing_paper' - | 'stationery_stores_office_and_school_supply_stores' - | 'swimming_pools_sales' - | 't_ui_travel_germany' - | 'tailors_alterations' - | 'tax_payments_government_agencies' - | 'tax_preparation_services' - | 'taxicabs_limousines' - | 'telecommunication_equipment_and_telephone_sales' - | 'telecommunication_services' - | 'telegraph_services' - | 'tent_and_awning_shops' - | 'testing_laboratories' - | 'theatrical_ticket_agencies' - | 'timeshares' - | 'tire_retreading_and_repair' - | 'tolls_bridge_fees' - | 'tourist_attractions_and_exhibits' - | 'towing_services' - | 'trailer_parks_campgrounds' - | 'transportation_services' - | 'travel_agencies_tour_operators' - | 'truck_stop_iteration' - | 'truck_utility_trailer_rentals' - | 'typesetting_plate_making_and_related_services' - | 'typewriter_stores' - | 'u_s_federal_government_agencies_or_departments' - | 'uniforms_commercial_clothing' - | 'used_merchandise_and_secondhand_stores' - | 'utilities' - | 'variety_stores' - | 'veterinary_services' - | 'video_amusement_game_supplies' - | 'video_game_arcades' - | 'video_tape_rental_stores' - | 'vocational_trade_schools' - | 'watch_jewelry_repair' - | 'welding_repair' - | 'wholesale_clubs' - | 'wig_and_toupee_stores' - | 'wires_money_orders' - | 'womens_accessory_and_specialty_shops' - | 'womens_ready_to_wear_stores' - | 'wrecking_and_salvage_yards'; - - type BlockedCategory = - | 'ac_refrigeration_repair' - | 'accounting_bookkeeping_services' - | 'advertising_services' - | 'agricultural_cooperative' - | 'airlines_air_carriers' - | 'airports_flying_fields' - | 'ambulance_services' - | 'amusement_parks_carnivals' - | 'antique_reproductions' - | 'antique_shops' - | 'aquariums' - | 'architectural_surveying_services' - | 'art_dealers_and_galleries' - | 'artists_supply_and_craft_shops' - | 'auto_and_home_supply_stores' - | 'auto_body_repair_shops' - | 'auto_paint_shops' - | 'auto_service_shops' - | 'automated_cash_disburse' - | 'automated_fuel_dispensers' - | 'automobile_associations' - | 'automotive_parts_and_accessories_stores' - | 'automotive_tire_stores' - | 'bail_and_bond_payments' - | 'bakeries' - | 'bands_orchestras' - | 'barber_and_beauty_shops' - | 'betting_casino_gambling' - | 'bicycle_shops' - | 'billiard_pool_establishments' - | 'boat_dealers' - | 'boat_rentals_and_leases' - | 'book_stores' - | 'books_periodicals_and_newspapers' - | 'bowling_alleys' - | 'bus_lines' - | 'business_secretarial_schools' - | 'buying_shopping_services' - | 'cable_satellite_and_other_pay_television_and_radio' - | 'camera_and_photographic_supply_stores' - | 'candy_nut_and_confectionery_stores' - | 'car_and_truck_dealers_new_used' - | 'car_and_truck_dealers_used_only' - | 'car_rental_agencies' - | 'car_washes' - | 'carpentry_services' - | 'carpet_upholstery_cleaning' - | 'caterers' - | 'charitable_and_social_service_organizations_fundraising' - | 'chemicals_and_allied_products' - | 'child_care_services' - | 'childrens_and_infants_wear_stores' - | 'chiropodists_podiatrists' - | 'chiropractors' - | 'cigar_stores_and_stands' - | 'civic_social_fraternal_associations' - | 'cleaning_and_maintenance' - | 'clothing_rental' - | 'colleges_universities' - | 'commercial_equipment' - | 'commercial_footwear' - | 'commercial_photography_art_and_graphics' - | 'commuter_transport_and_ferries' - | 'computer_network_services' - | 'computer_programming' - | 'computer_repair' - | 'computer_software_stores' - | 'computers_peripherals_and_software' - | 'concrete_work_services' - | 'construction_materials' - | 'consulting_public_relations' - | 'correspondence_schools' - | 'cosmetic_stores' - | 'counseling_services' - | 'country_clubs' - | 'courier_services' - | 'court_costs' - | 'credit_reporting_agencies' - | 'cruise_lines' - | 'dairy_products_stores' - | 'dance_hall_studios_schools' - | 'dating_escort_services' - | 'dentists_orthodontists' - | 'department_stores' - | 'detective_agencies' - | 'digital_goods_applications' - | 'digital_goods_games' - | 'digital_goods_large_volume' - | 'digital_goods_media' - | 'direct_marketing_catalog_merchant' - | 'direct_marketing_combination_catalog_and_retail_merchant' - | 'direct_marketing_inbound_telemarketing' - | 'direct_marketing_insurance_services' - | 'direct_marketing_other' - | 'direct_marketing_outbound_telemarketing' - | 'direct_marketing_subscription' - | 'direct_marketing_travel' - | 'discount_stores' - | 'doctors' - | 'door_to_door_sales' - | 'drapery_window_covering_and_upholstery_stores' - | 'drinking_places' - | 'drug_stores_and_pharmacies' - | 'drugs_drug_proprietaries_and_druggist_sundries' - | 'dry_cleaners' - | 'durable_goods' - | 'duty_free_stores' - | 'eating_places_restaurants' - | 'educational_services' - | 'electric_razor_stores' - | 'electrical_parts_and_equipment' - | 'electrical_services' - | 'electronics_repair_shops' - | 'electronics_stores' - | 'elementary_secondary_schools' - | 'employment_temp_agencies' - | 'equipment_rental' - | 'exterminating_services' - | 'family_clothing_stores' - | 'fast_food_restaurants' - | 'financial_institutions' - | 'fines_government_administrative_entities' - | 'fireplace_fireplace_screens_and_accessories_stores' - | 'floor_covering_stores' - | 'florists' - | 'florists_supplies_nursery_stock_and_flowers' - | 'freezer_and_locker_meat_provisioners' - | 'fuel_dealers_non_automotive' - | 'funeral_services_crematories' - | 'furniture_home_furnishings_and_equipment_stores_except_appliances' - | 'furniture_repair_refinishing' - | 'furriers_and_fur_shops' - | 'general_services' - | 'gift_card_novelty_and_souvenir_shops' - | 'glass_paint_and_wallpaper_stores' - | 'glassware_crystal_stores' - | 'golf_courses_public' - | 'government_services' - | 'grocery_stores_supermarkets' - | 'hardware_equipment_and_supplies' - | 'hardware_stores' - | 'health_and_beauty_spas' - | 'hearing_aids_sales_and_supplies' - | 'heating_plumbing_a_c' - | 'hobby_toy_and_game_shops' - | 'home_supply_warehouse_stores' - | 'hospitals' - | 'hotels_motels_and_resorts' - | 'household_appliance_stores' - | 'industrial_supplies' - | 'information_retrieval_services' - | 'insurance_default' - | 'insurance_underwriting_premiums' - | 'intra_company_purchases' - | 'jewelry_stores_watches_clocks_and_silverware_stores' - | 'landscaping_services' - | 'laundries' - | 'laundry_cleaning_services' - | 'legal_services_attorneys' - | 'luggage_and_leather_goods_stores' - | 'lumber_building_materials_stores' - | 'manual_cash_disburse' - | 'marinas_service_and_supplies' - | 'masonry_stonework_and_plaster' - | 'massage_parlors' - | 'medical_and_dental_labs' - | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies' - | 'medical_services' - | 'membership_organizations' - | 'mens_and_boys_clothing_and_accessories_stores' - | 'mens_womens_clothing_stores' - | 'metal_service_centers' - | 'miscellaneous' - | 'miscellaneous_apparel_and_accessory_shops' - | 'miscellaneous_auto_dealers' - | 'miscellaneous_business_services' - | 'miscellaneous_food_stores' - | 'miscellaneous_general_merchandise' - | 'miscellaneous_general_services' - | 'miscellaneous_home_furnishing_specialty_stores' - | 'miscellaneous_publishing_and_printing' - | 'miscellaneous_recreation_services' - | 'miscellaneous_repair_shops' - | 'miscellaneous_specialty_retail' - | 'mobile_home_dealers' - | 'motion_picture_theaters' - | 'motor_freight_carriers_and_trucking' - | 'motor_homes_dealers' - | 'motor_vehicle_supplies_and_new_parts' - | 'motorcycle_shops_and_dealers' - | 'motorcycle_shops_dealers' - | 'music_stores_musical_instruments_pianos_and_sheet_music' - | 'news_dealers_and_newsstands' - | 'non_fi_money_orders' - | 'non_fi_stored_value_card_purchase_load' - | 'nondurable_goods' - | 'nurseries_lawn_and_garden_supply_stores' - | 'nursing_personal_care' - | 'office_and_commercial_furniture' - | 'opticians_eyeglasses' - | 'optometrists_ophthalmologist' - | 'orthopedic_goods_prosthetic_devices' - | 'osteopaths' - | 'package_stores_beer_wine_and_liquor' - | 'paints_varnishes_and_supplies' - | 'parking_lots_garages' - | 'passenger_railways' - | 'pawn_shops' - | 'pet_shops_pet_food_and_supplies' - | 'petroleum_and_petroleum_products' - | 'photo_developing' - | 'photographic_photocopy_microfilm_equipment_and_supplies' - | 'photographic_studios' - | 'picture_video_production' - | 'piece_goods_notions_and_other_dry_goods' - | 'plumbing_heating_equipment_and_supplies' - | 'political_organizations' - | 'postal_services_government_only' - | 'precious_stones_and_metals_watches_and_jewelry' - | 'professional_services' - | 'public_warehousing_and_storage' - | 'quick_copy_repro_and_blueprint' - | 'railroads' - | 'real_estate_agents_and_managers_rentals' - | 'record_stores' - | 'recreational_vehicle_rentals' - | 'religious_goods_stores' - | 'religious_organizations' - | 'roofing_siding_sheet_metal' - | 'secretarial_support_services' - | 'security_brokers_dealers' - | 'service_stations' - | 'sewing_needlework_fabric_and_piece_goods_stores' - | 'shoe_repair_hat_cleaning' - | 'shoe_stores' - | 'small_appliance_repair' - | 'snowmobile_dealers' - | 'special_trade_services' - | 'specialty_cleaning' - | 'sporting_goods_stores' - | 'sporting_recreation_camps' - | 'sports_and_riding_apparel_stores' - | 'sports_clubs_fields' - | 'stamp_and_coin_stores' - | 'stationary_office_supplies_printing_and_writing_paper' - | 'stationery_stores_office_and_school_supply_stores' - | 'swimming_pools_sales' - | 't_ui_travel_germany' - | 'tailors_alterations' - | 'tax_payments_government_agencies' - | 'tax_preparation_services' - | 'taxicabs_limousines' - | 'telecommunication_equipment_and_telephone_sales' - | 'telecommunication_services' - | 'telegraph_services' - | 'tent_and_awning_shops' - | 'testing_laboratories' - | 'theatrical_ticket_agencies' - | 'timeshares' - | 'tire_retreading_and_repair' - | 'tolls_bridge_fees' - | 'tourist_attractions_and_exhibits' - | 'towing_services' - | 'trailer_parks_campgrounds' - | 'transportation_services' - | 'travel_agencies_tour_operators' - | 'truck_stop_iteration' - | 'truck_utility_trailer_rentals' - | 'typesetting_plate_making_and_related_services' - | 'typewriter_stores' - | 'u_s_federal_government_agencies_or_departments' - | 'uniforms_commercial_clothing' - | 'used_merchandise_and_secondhand_stores' - | 'utilities' - | 'variety_stores' - | 'veterinary_services' - | 'video_amusement_game_supplies' - | 'video_game_arcades' - | 'video_tape_rental_stores' - | 'vocational_trade_schools' - | 'watch_jewelry_repair' - | 'welding_repair' - | 'wholesale_clubs' - | 'wig_and_toupee_stores' - | 'wires_money_orders' - | 'womens_accessory_and_specialty_shops' - | 'womens_ready_to_wear_stores' - | 'wrecking_and_salvage_yards'; - - interface SpendingLimit { - /** - * Maximum amount allowed to spend per interval. - */ - amount: number; - - /** - * Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories. - */ - categories?: Array; - - /** - * Interval (or event) to which the amount applies. - */ - interval: SpendingLimit.Interval; - } - - namespace SpendingLimit { - type Category = - | 'ac_refrigeration_repair' - | 'accounting_bookkeeping_services' - | 'advertising_services' - | 'agricultural_cooperative' - | 'airlines_air_carriers' - | 'airports_flying_fields' - | 'ambulance_services' - | 'amusement_parks_carnivals' - | 'antique_reproductions' - | 'antique_shops' - | 'aquariums' - | 'architectural_surveying_services' - | 'art_dealers_and_galleries' - | 'artists_supply_and_craft_shops' - | 'auto_and_home_supply_stores' - | 'auto_body_repair_shops' - | 'auto_paint_shops' - | 'auto_service_shops' - | 'automated_cash_disburse' - | 'automated_fuel_dispensers' - | 'automobile_associations' - | 'automotive_parts_and_accessories_stores' - | 'automotive_tire_stores' - | 'bail_and_bond_payments' - | 'bakeries' - | 'bands_orchestras' - | 'barber_and_beauty_shops' - | 'betting_casino_gambling' - | 'bicycle_shops' - | 'billiard_pool_establishments' - | 'boat_dealers' - | 'boat_rentals_and_leases' - | 'book_stores' - | 'books_periodicals_and_newspapers' - | 'bowling_alleys' - | 'bus_lines' - | 'business_secretarial_schools' - | 'buying_shopping_services' - | 'cable_satellite_and_other_pay_television_and_radio' - | 'camera_and_photographic_supply_stores' - | 'candy_nut_and_confectionery_stores' - | 'car_and_truck_dealers_new_used' - | 'car_and_truck_dealers_used_only' - | 'car_rental_agencies' - | 'car_washes' - | 'carpentry_services' - | 'carpet_upholstery_cleaning' - | 'caterers' - | 'charitable_and_social_service_organizations_fundraising' - | 'chemicals_and_allied_products' - | 'child_care_services' - | 'childrens_and_infants_wear_stores' - | 'chiropodists_podiatrists' - | 'chiropractors' - | 'cigar_stores_and_stands' - | 'civic_social_fraternal_associations' - | 'cleaning_and_maintenance' - | 'clothing_rental' - | 'colleges_universities' - | 'commercial_equipment' - | 'commercial_footwear' - | 'commercial_photography_art_and_graphics' - | 'commuter_transport_and_ferries' - | 'computer_network_services' - | 'computer_programming' - | 'computer_repair' - | 'computer_software_stores' - | 'computers_peripherals_and_software' - | 'concrete_work_services' - | 'construction_materials' - | 'consulting_public_relations' - | 'correspondence_schools' - | 'cosmetic_stores' - | 'counseling_services' - | 'country_clubs' - | 'courier_services' - | 'court_costs' - | 'credit_reporting_agencies' - | 'cruise_lines' - | 'dairy_products_stores' - | 'dance_hall_studios_schools' - | 'dating_escort_services' - | 'dentists_orthodontists' - | 'department_stores' - | 'detective_agencies' - | 'digital_goods_applications' - | 'digital_goods_games' - | 'digital_goods_large_volume' - | 'digital_goods_media' - | 'direct_marketing_catalog_merchant' - | 'direct_marketing_combination_catalog_and_retail_merchant' - | 'direct_marketing_inbound_telemarketing' - | 'direct_marketing_insurance_services' - | 'direct_marketing_other' - | 'direct_marketing_outbound_telemarketing' - | 'direct_marketing_subscription' - | 'direct_marketing_travel' - | 'discount_stores' - | 'doctors' - | 'door_to_door_sales' - | 'drapery_window_covering_and_upholstery_stores' - | 'drinking_places' - | 'drug_stores_and_pharmacies' - | 'drugs_drug_proprietaries_and_druggist_sundries' - | 'dry_cleaners' - | 'durable_goods' - | 'duty_free_stores' - | 'eating_places_restaurants' - | 'educational_services' - | 'electric_razor_stores' - | 'electrical_parts_and_equipment' - | 'electrical_services' - | 'electronics_repair_shops' - | 'electronics_stores' - | 'elementary_secondary_schools' - | 'employment_temp_agencies' - | 'equipment_rental' - | 'exterminating_services' - | 'family_clothing_stores' - | 'fast_food_restaurants' - | 'financial_institutions' - | 'fines_government_administrative_entities' - | 'fireplace_fireplace_screens_and_accessories_stores' - | 'floor_covering_stores' - | 'florists' - | 'florists_supplies_nursery_stock_and_flowers' - | 'freezer_and_locker_meat_provisioners' - | 'fuel_dealers_non_automotive' - | 'funeral_services_crematories' - | 'furniture_home_furnishings_and_equipment_stores_except_appliances' - | 'furniture_repair_refinishing' - | 'furriers_and_fur_shops' - | 'general_services' - | 'gift_card_novelty_and_souvenir_shops' - | 'glass_paint_and_wallpaper_stores' - | 'glassware_crystal_stores' - | 'golf_courses_public' - | 'government_services' - | 'grocery_stores_supermarkets' - | 'hardware_equipment_and_supplies' - | 'hardware_stores' - | 'health_and_beauty_spas' - | 'hearing_aids_sales_and_supplies' - | 'heating_plumbing_a_c' - | 'hobby_toy_and_game_shops' - | 'home_supply_warehouse_stores' - | 'hospitals' - | 'hotels_motels_and_resorts' - | 'household_appliance_stores' - | 'industrial_supplies' - | 'information_retrieval_services' - | 'insurance_default' - | 'insurance_underwriting_premiums' - | 'intra_company_purchases' - | 'jewelry_stores_watches_clocks_and_silverware_stores' - | 'landscaping_services' - | 'laundries' - | 'laundry_cleaning_services' - | 'legal_services_attorneys' - | 'luggage_and_leather_goods_stores' - | 'lumber_building_materials_stores' - | 'manual_cash_disburse' - | 'marinas_service_and_supplies' - | 'masonry_stonework_and_plaster' - | 'massage_parlors' - | 'medical_and_dental_labs' - | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies' - | 'medical_services' - | 'membership_organizations' - | 'mens_and_boys_clothing_and_accessories_stores' - | 'mens_womens_clothing_stores' - | 'metal_service_centers' - | 'miscellaneous' - | 'miscellaneous_apparel_and_accessory_shops' - | 'miscellaneous_auto_dealers' - | 'miscellaneous_business_services' - | 'miscellaneous_food_stores' - | 'miscellaneous_general_merchandise' - | 'miscellaneous_general_services' - | 'miscellaneous_home_furnishing_specialty_stores' - | 'miscellaneous_publishing_and_printing' - | 'miscellaneous_recreation_services' - | 'miscellaneous_repair_shops' - | 'miscellaneous_specialty_retail' - | 'mobile_home_dealers' - | 'motion_picture_theaters' - | 'motor_freight_carriers_and_trucking' - | 'motor_homes_dealers' - | 'motor_vehicle_supplies_and_new_parts' - | 'motorcycle_shops_and_dealers' - | 'motorcycle_shops_dealers' - | 'music_stores_musical_instruments_pianos_and_sheet_music' - | 'news_dealers_and_newsstands' - | 'non_fi_money_orders' - | 'non_fi_stored_value_card_purchase_load' - | 'nondurable_goods' - | 'nurseries_lawn_and_garden_supply_stores' - | 'nursing_personal_care' - | 'office_and_commercial_furniture' - | 'opticians_eyeglasses' - | 'optometrists_ophthalmologist' - | 'orthopedic_goods_prosthetic_devices' - | 'osteopaths' - | 'package_stores_beer_wine_and_liquor' - | 'paints_varnishes_and_supplies' - | 'parking_lots_garages' - | 'passenger_railways' - | 'pawn_shops' - | 'pet_shops_pet_food_and_supplies' - | 'petroleum_and_petroleum_products' - | 'photo_developing' - | 'photographic_photocopy_microfilm_equipment_and_supplies' - | 'photographic_studios' - | 'picture_video_production' - | 'piece_goods_notions_and_other_dry_goods' - | 'plumbing_heating_equipment_and_supplies' - | 'political_organizations' - | 'postal_services_government_only' - | 'precious_stones_and_metals_watches_and_jewelry' - | 'professional_services' - | 'public_warehousing_and_storage' - | 'quick_copy_repro_and_blueprint' - | 'railroads' - | 'real_estate_agents_and_managers_rentals' - | 'record_stores' - | 'recreational_vehicle_rentals' - | 'religious_goods_stores' - | 'religious_organizations' - | 'roofing_siding_sheet_metal' - | 'secretarial_support_services' - | 'security_brokers_dealers' - | 'service_stations' - | 'sewing_needlework_fabric_and_piece_goods_stores' - | 'shoe_repair_hat_cleaning' - | 'shoe_stores' - | 'small_appliance_repair' - | 'snowmobile_dealers' - | 'special_trade_services' - | 'specialty_cleaning' - | 'sporting_goods_stores' - | 'sporting_recreation_camps' - | 'sports_and_riding_apparel_stores' - | 'sports_clubs_fields' - | 'stamp_and_coin_stores' - | 'stationary_office_supplies_printing_and_writing_paper' - | 'stationery_stores_office_and_school_supply_stores' - | 'swimming_pools_sales' - | 't_ui_travel_germany' - | 'tailors_alterations' - | 'tax_payments_government_agencies' - | 'tax_preparation_services' - | 'taxicabs_limousines' - | 'telecommunication_equipment_and_telephone_sales' - | 'telecommunication_services' - | 'telegraph_services' - | 'tent_and_awning_shops' - | 'testing_laboratories' - | 'theatrical_ticket_agencies' - | 'timeshares' - | 'tire_retreading_and_repair' - | 'tolls_bridge_fees' - | 'tourist_attractions_and_exhibits' - | 'towing_services' - | 'trailer_parks_campgrounds' - | 'transportation_services' - | 'travel_agencies_tour_operators' - | 'truck_stop_iteration' - | 'truck_utility_trailer_rentals' - | 'typesetting_plate_making_and_related_services' - | 'typewriter_stores' - | 'u_s_federal_government_agencies_or_departments' - | 'uniforms_commercial_clothing' - | 'used_merchandise_and_secondhand_stores' - | 'utilities' - | 'variety_stores' - | 'veterinary_services' - | 'video_amusement_game_supplies' - | 'video_game_arcades' - | 'video_tape_rental_stores' - | 'vocational_trade_schools' - | 'watch_jewelry_repair' - | 'welding_repair' - | 'wholesale_clubs' - | 'wig_and_toupee_stores' - | 'wires_money_orders' - | 'womens_accessory_and_specialty_shops' - | 'womens_ready_to_wear_stores' - | 'wrecking_and_salvage_yards'; - - type Interval = - | 'all_time' - | 'daily' - | 'monthly' - | 'per_authorization' - | 'weekly' - | 'yearly'; - } - } - - type Status = 'active' | 'inactive'; - - type Type = 'company' | 'individual'; - } - - interface CardholderRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface CardholderUpdateParams { - /** - * The cardholder's billing address. - */ - billing?: CardholderUpdateParams.Billing; - - /** - * Additional information about a `company` cardholder. - */ - company?: CardholderUpdateParams.Company; - - /** - * The cardholder's email address. - */ - email?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Additional information about an `individual` cardholder. - */ - individual?: CardholderUpdateParams.Individual; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * The cardholder's phone number. - */ - phone_number?: string; - - /** - * Rules that control spending across this cardholder's cards. Refer to our [documentation](https://stripe.com/docs/issuing/controls/spending-controls) for more details. - */ - spending_controls?: CardholderUpdateParams.SpendingControls; - - /** - * Specifies whether to permit authorizations on this cardholder's cards. - */ - status?: CardholderUpdateParams.Status; - } - - namespace CardholderUpdateParams { - interface Billing { - /** - * The cardholder's billing address. - */ - address: Billing.Address; - } - - namespace Billing { - interface Address { - /** - * City, district, suburb, town, or village. - */ - city: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code: string; - - /** - * State, county, province, or region. - */ - state?: string; - } - } - - interface Company { - /** - * The entity's business ID number. - */ - tax_id?: string; - } - - interface Individual { - /** - * The date of birth of this cardholder. - */ - dob?: Individual.Dob; - - /** - * The first name of this cardholder. - */ - first_name: string; - - /** - * The last name of this cardholder. - */ - last_name: string; - - /** - * Government-issued ID document for this cardholder. - */ - verification?: Individual.Verification; - } - - namespace Individual { - interface Dob { - /** - * The day of birth, between 1 and 31. - */ - day: number; - - /** - * The month of birth, between 1 and 12. - */ - month: number; - - /** - * The four-digit year of birth. - */ - year: number; - } - - interface Verification { - /** - * An identifying document, either a passport or local ID card. - */ - document?: Verification.Document; - } - - namespace Verification { - interface Document { - /** - * The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. - */ - back?: string; - - /** - * The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. - */ - front?: string; - } - } - } - - interface SpendingControls { - /** - * Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`. - */ - allowed_categories?: Array; - - /** - * Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`. - */ - blocked_categories?: Array; - - /** - * Limit spending with amount-based rules that apply across this cardholder's cards. - */ - spending_limits?: Array; - - /** - * Currency of amounts within `spending_limits`. Defaults to your merchant country's currency. - */ - spending_limits_currency?: string; - } - - namespace SpendingControls { - type AllowedCategory = - | 'ac_refrigeration_repair' - | 'accounting_bookkeeping_services' - | 'advertising_services' - | 'agricultural_cooperative' - | 'airlines_air_carriers' - | 'airports_flying_fields' - | 'ambulance_services' - | 'amusement_parks_carnivals' - | 'antique_reproductions' - | 'antique_shops' - | 'aquariums' - | 'architectural_surveying_services' - | 'art_dealers_and_galleries' - | 'artists_supply_and_craft_shops' - | 'auto_and_home_supply_stores' - | 'auto_body_repair_shops' - | 'auto_paint_shops' - | 'auto_service_shops' - | 'automated_cash_disburse' - | 'automated_fuel_dispensers' - | 'automobile_associations' - | 'automotive_parts_and_accessories_stores' - | 'automotive_tire_stores' - | 'bail_and_bond_payments' - | 'bakeries' - | 'bands_orchestras' - | 'barber_and_beauty_shops' - | 'betting_casino_gambling' - | 'bicycle_shops' - | 'billiard_pool_establishments' - | 'boat_dealers' - | 'boat_rentals_and_leases' - | 'book_stores' - | 'books_periodicals_and_newspapers' - | 'bowling_alleys' - | 'bus_lines' - | 'business_secretarial_schools' - | 'buying_shopping_services' - | 'cable_satellite_and_other_pay_television_and_radio' - | 'camera_and_photographic_supply_stores' - | 'candy_nut_and_confectionery_stores' - | 'car_and_truck_dealers_new_used' - | 'car_and_truck_dealers_used_only' - | 'car_rental_agencies' - | 'car_washes' - | 'carpentry_services' - | 'carpet_upholstery_cleaning' - | 'caterers' - | 'charitable_and_social_service_organizations_fundraising' - | 'chemicals_and_allied_products' - | 'child_care_services' - | 'childrens_and_infants_wear_stores' - | 'chiropodists_podiatrists' - | 'chiropractors' - | 'cigar_stores_and_stands' - | 'civic_social_fraternal_associations' - | 'cleaning_and_maintenance' - | 'clothing_rental' - | 'colleges_universities' - | 'commercial_equipment' - | 'commercial_footwear' - | 'commercial_photography_art_and_graphics' - | 'commuter_transport_and_ferries' - | 'computer_network_services' - | 'computer_programming' - | 'computer_repair' - | 'computer_software_stores' - | 'computers_peripherals_and_software' - | 'concrete_work_services' - | 'construction_materials' - | 'consulting_public_relations' - | 'correspondence_schools' - | 'cosmetic_stores' - | 'counseling_services' - | 'country_clubs' - | 'courier_services' - | 'court_costs' - | 'credit_reporting_agencies' - | 'cruise_lines' - | 'dairy_products_stores' - | 'dance_hall_studios_schools' - | 'dating_escort_services' - | 'dentists_orthodontists' - | 'department_stores' - | 'detective_agencies' - | 'digital_goods_applications' - | 'digital_goods_games' - | 'digital_goods_large_volume' - | 'digital_goods_media' - | 'direct_marketing_catalog_merchant' - | 'direct_marketing_combination_catalog_and_retail_merchant' - | 'direct_marketing_inbound_telemarketing' - | 'direct_marketing_insurance_services' - | 'direct_marketing_other' - | 'direct_marketing_outbound_telemarketing' - | 'direct_marketing_subscription' - | 'direct_marketing_travel' - | 'discount_stores' - | 'doctors' - | 'door_to_door_sales' - | 'drapery_window_covering_and_upholstery_stores' - | 'drinking_places' - | 'drug_stores_and_pharmacies' - | 'drugs_drug_proprietaries_and_druggist_sundries' - | 'dry_cleaners' - | 'durable_goods' - | 'duty_free_stores' - | 'eating_places_restaurants' - | 'educational_services' - | 'electric_razor_stores' - | 'electrical_parts_and_equipment' - | 'electrical_services' - | 'electronics_repair_shops' - | 'electronics_stores' - | 'elementary_secondary_schools' - | 'employment_temp_agencies' - | 'equipment_rental' - | 'exterminating_services' - | 'family_clothing_stores' - | 'fast_food_restaurants' - | 'financial_institutions' - | 'fines_government_administrative_entities' - | 'fireplace_fireplace_screens_and_accessories_stores' - | 'floor_covering_stores' - | 'florists' - | 'florists_supplies_nursery_stock_and_flowers' - | 'freezer_and_locker_meat_provisioners' - | 'fuel_dealers_non_automotive' - | 'funeral_services_crematories' - | 'furniture_home_furnishings_and_equipment_stores_except_appliances' - | 'furniture_repair_refinishing' - | 'furriers_and_fur_shops' - | 'general_services' - | 'gift_card_novelty_and_souvenir_shops' - | 'glass_paint_and_wallpaper_stores' - | 'glassware_crystal_stores' - | 'golf_courses_public' - | 'government_services' - | 'grocery_stores_supermarkets' - | 'hardware_equipment_and_supplies' - | 'hardware_stores' - | 'health_and_beauty_spas' - | 'hearing_aids_sales_and_supplies' - | 'heating_plumbing_a_c' - | 'hobby_toy_and_game_shops' - | 'home_supply_warehouse_stores' - | 'hospitals' - | 'hotels_motels_and_resorts' - | 'household_appliance_stores' - | 'industrial_supplies' - | 'information_retrieval_services' - | 'insurance_default' - | 'insurance_underwriting_premiums' - | 'intra_company_purchases' - | 'jewelry_stores_watches_clocks_and_silverware_stores' - | 'landscaping_services' - | 'laundries' - | 'laundry_cleaning_services' - | 'legal_services_attorneys' - | 'luggage_and_leather_goods_stores' - | 'lumber_building_materials_stores' - | 'manual_cash_disburse' - | 'marinas_service_and_supplies' - | 'masonry_stonework_and_plaster' - | 'massage_parlors' - | 'medical_and_dental_labs' - | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies' - | 'medical_services' - | 'membership_organizations' - | 'mens_and_boys_clothing_and_accessories_stores' - | 'mens_womens_clothing_stores' - | 'metal_service_centers' - | 'miscellaneous' - | 'miscellaneous_apparel_and_accessory_shops' - | 'miscellaneous_auto_dealers' - | 'miscellaneous_business_services' - | 'miscellaneous_food_stores' - | 'miscellaneous_general_merchandise' - | 'miscellaneous_general_services' - | 'miscellaneous_home_furnishing_specialty_stores' - | 'miscellaneous_publishing_and_printing' - | 'miscellaneous_recreation_services' - | 'miscellaneous_repair_shops' - | 'miscellaneous_specialty_retail' - | 'mobile_home_dealers' - | 'motion_picture_theaters' - | 'motor_freight_carriers_and_trucking' - | 'motor_homes_dealers' - | 'motor_vehicle_supplies_and_new_parts' - | 'motorcycle_shops_and_dealers' - | 'motorcycle_shops_dealers' - | 'music_stores_musical_instruments_pianos_and_sheet_music' - | 'news_dealers_and_newsstands' - | 'non_fi_money_orders' - | 'non_fi_stored_value_card_purchase_load' - | 'nondurable_goods' - | 'nurseries_lawn_and_garden_supply_stores' - | 'nursing_personal_care' - | 'office_and_commercial_furniture' - | 'opticians_eyeglasses' - | 'optometrists_ophthalmologist' - | 'orthopedic_goods_prosthetic_devices' - | 'osteopaths' - | 'package_stores_beer_wine_and_liquor' - | 'paints_varnishes_and_supplies' - | 'parking_lots_garages' - | 'passenger_railways' - | 'pawn_shops' - | 'pet_shops_pet_food_and_supplies' - | 'petroleum_and_petroleum_products' - | 'photo_developing' - | 'photographic_photocopy_microfilm_equipment_and_supplies' - | 'photographic_studios' - | 'picture_video_production' - | 'piece_goods_notions_and_other_dry_goods' - | 'plumbing_heating_equipment_and_supplies' - | 'political_organizations' - | 'postal_services_government_only' - | 'precious_stones_and_metals_watches_and_jewelry' - | 'professional_services' - | 'public_warehousing_and_storage' - | 'quick_copy_repro_and_blueprint' - | 'railroads' - | 'real_estate_agents_and_managers_rentals' - | 'record_stores' - | 'recreational_vehicle_rentals' - | 'religious_goods_stores' - | 'religious_organizations' - | 'roofing_siding_sheet_metal' - | 'secretarial_support_services' - | 'security_brokers_dealers' - | 'service_stations' - | 'sewing_needlework_fabric_and_piece_goods_stores' - | 'shoe_repair_hat_cleaning' - | 'shoe_stores' - | 'small_appliance_repair' - | 'snowmobile_dealers' - | 'special_trade_services' - | 'specialty_cleaning' - | 'sporting_goods_stores' - | 'sporting_recreation_camps' - | 'sports_and_riding_apparel_stores' - | 'sports_clubs_fields' - | 'stamp_and_coin_stores' - | 'stationary_office_supplies_printing_and_writing_paper' - | 'stationery_stores_office_and_school_supply_stores' - | 'swimming_pools_sales' - | 't_ui_travel_germany' - | 'tailors_alterations' - | 'tax_payments_government_agencies' - | 'tax_preparation_services' - | 'taxicabs_limousines' - | 'telecommunication_equipment_and_telephone_sales' - | 'telecommunication_services' - | 'telegraph_services' - | 'tent_and_awning_shops' - | 'testing_laboratories' - | 'theatrical_ticket_agencies' - | 'timeshares' - | 'tire_retreading_and_repair' - | 'tolls_bridge_fees' - | 'tourist_attractions_and_exhibits' - | 'towing_services' - | 'trailer_parks_campgrounds' - | 'transportation_services' - | 'travel_agencies_tour_operators' - | 'truck_stop_iteration' - | 'truck_utility_trailer_rentals' - | 'typesetting_plate_making_and_related_services' - | 'typewriter_stores' - | 'u_s_federal_government_agencies_or_departments' - | 'uniforms_commercial_clothing' - | 'used_merchandise_and_secondhand_stores' - | 'utilities' - | 'variety_stores' - | 'veterinary_services' - | 'video_amusement_game_supplies' - | 'video_game_arcades' - | 'video_tape_rental_stores' - | 'vocational_trade_schools' - | 'watch_jewelry_repair' - | 'welding_repair' - | 'wholesale_clubs' - | 'wig_and_toupee_stores' - | 'wires_money_orders' - | 'womens_accessory_and_specialty_shops' - | 'womens_ready_to_wear_stores' - | 'wrecking_and_salvage_yards'; - - type BlockedCategory = - | 'ac_refrigeration_repair' - | 'accounting_bookkeeping_services' - | 'advertising_services' - | 'agricultural_cooperative' - | 'airlines_air_carriers' - | 'airports_flying_fields' - | 'ambulance_services' - | 'amusement_parks_carnivals' - | 'antique_reproductions' - | 'antique_shops' - | 'aquariums' - | 'architectural_surveying_services' - | 'art_dealers_and_galleries' - | 'artists_supply_and_craft_shops' - | 'auto_and_home_supply_stores' - | 'auto_body_repair_shops' - | 'auto_paint_shops' - | 'auto_service_shops' - | 'automated_cash_disburse' - | 'automated_fuel_dispensers' - | 'automobile_associations' - | 'automotive_parts_and_accessories_stores' - | 'automotive_tire_stores' - | 'bail_and_bond_payments' - | 'bakeries' - | 'bands_orchestras' - | 'barber_and_beauty_shops' - | 'betting_casino_gambling' - | 'bicycle_shops' - | 'billiard_pool_establishments' - | 'boat_dealers' - | 'boat_rentals_and_leases' - | 'book_stores' - | 'books_periodicals_and_newspapers' - | 'bowling_alleys' - | 'bus_lines' - | 'business_secretarial_schools' - | 'buying_shopping_services' - | 'cable_satellite_and_other_pay_television_and_radio' - | 'camera_and_photographic_supply_stores' - | 'candy_nut_and_confectionery_stores' - | 'car_and_truck_dealers_new_used' - | 'car_and_truck_dealers_used_only' - | 'car_rental_agencies' - | 'car_washes' - | 'carpentry_services' - | 'carpet_upholstery_cleaning' - | 'caterers' - | 'charitable_and_social_service_organizations_fundraising' - | 'chemicals_and_allied_products' - | 'child_care_services' - | 'childrens_and_infants_wear_stores' - | 'chiropodists_podiatrists' - | 'chiropractors' - | 'cigar_stores_and_stands' - | 'civic_social_fraternal_associations' - | 'cleaning_and_maintenance' - | 'clothing_rental' - | 'colleges_universities' - | 'commercial_equipment' - | 'commercial_footwear' - | 'commercial_photography_art_and_graphics' - | 'commuter_transport_and_ferries' - | 'computer_network_services' - | 'computer_programming' - | 'computer_repair' - | 'computer_software_stores' - | 'computers_peripherals_and_software' - | 'concrete_work_services' - | 'construction_materials' - | 'consulting_public_relations' - | 'correspondence_schools' - | 'cosmetic_stores' - | 'counseling_services' - | 'country_clubs' - | 'courier_services' - | 'court_costs' - | 'credit_reporting_agencies' - | 'cruise_lines' - | 'dairy_products_stores' - | 'dance_hall_studios_schools' - | 'dating_escort_services' - | 'dentists_orthodontists' - | 'department_stores' - | 'detective_agencies' - | 'digital_goods_applications' - | 'digital_goods_games' - | 'digital_goods_large_volume' - | 'digital_goods_media' - | 'direct_marketing_catalog_merchant' - | 'direct_marketing_combination_catalog_and_retail_merchant' - | 'direct_marketing_inbound_telemarketing' - | 'direct_marketing_insurance_services' - | 'direct_marketing_other' - | 'direct_marketing_outbound_telemarketing' - | 'direct_marketing_subscription' - | 'direct_marketing_travel' - | 'discount_stores' - | 'doctors' - | 'door_to_door_sales' - | 'drapery_window_covering_and_upholstery_stores' - | 'drinking_places' - | 'drug_stores_and_pharmacies' - | 'drugs_drug_proprietaries_and_druggist_sundries' - | 'dry_cleaners' - | 'durable_goods' - | 'duty_free_stores' - | 'eating_places_restaurants' - | 'educational_services' - | 'electric_razor_stores' - | 'electrical_parts_and_equipment' - | 'electrical_services' - | 'electronics_repair_shops' - | 'electronics_stores' - | 'elementary_secondary_schools' - | 'employment_temp_agencies' - | 'equipment_rental' - | 'exterminating_services' - | 'family_clothing_stores' - | 'fast_food_restaurants' - | 'financial_institutions' - | 'fines_government_administrative_entities' - | 'fireplace_fireplace_screens_and_accessories_stores' - | 'floor_covering_stores' - | 'florists' - | 'florists_supplies_nursery_stock_and_flowers' - | 'freezer_and_locker_meat_provisioners' - | 'fuel_dealers_non_automotive' - | 'funeral_services_crematories' - | 'furniture_home_furnishings_and_equipment_stores_except_appliances' - | 'furniture_repair_refinishing' - | 'furriers_and_fur_shops' - | 'general_services' - | 'gift_card_novelty_and_souvenir_shops' - | 'glass_paint_and_wallpaper_stores' - | 'glassware_crystal_stores' - | 'golf_courses_public' - | 'government_services' - | 'grocery_stores_supermarkets' - | 'hardware_equipment_and_supplies' - | 'hardware_stores' - | 'health_and_beauty_spas' - | 'hearing_aids_sales_and_supplies' - | 'heating_plumbing_a_c' - | 'hobby_toy_and_game_shops' - | 'home_supply_warehouse_stores' - | 'hospitals' - | 'hotels_motels_and_resorts' - | 'household_appliance_stores' - | 'industrial_supplies' - | 'information_retrieval_services' - | 'insurance_default' - | 'insurance_underwriting_premiums' - | 'intra_company_purchases' - | 'jewelry_stores_watches_clocks_and_silverware_stores' - | 'landscaping_services' - | 'laundries' - | 'laundry_cleaning_services' - | 'legal_services_attorneys' - | 'luggage_and_leather_goods_stores' - | 'lumber_building_materials_stores' - | 'manual_cash_disburse' - | 'marinas_service_and_supplies' - | 'masonry_stonework_and_plaster' - | 'massage_parlors' - | 'medical_and_dental_labs' - | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies' - | 'medical_services' - | 'membership_organizations' - | 'mens_and_boys_clothing_and_accessories_stores' - | 'mens_womens_clothing_stores' - | 'metal_service_centers' - | 'miscellaneous' - | 'miscellaneous_apparel_and_accessory_shops' - | 'miscellaneous_auto_dealers' - | 'miscellaneous_business_services' - | 'miscellaneous_food_stores' - | 'miscellaneous_general_merchandise' - | 'miscellaneous_general_services' - | 'miscellaneous_home_furnishing_specialty_stores' - | 'miscellaneous_publishing_and_printing' - | 'miscellaneous_recreation_services' - | 'miscellaneous_repair_shops' - | 'miscellaneous_specialty_retail' - | 'mobile_home_dealers' - | 'motion_picture_theaters' - | 'motor_freight_carriers_and_trucking' - | 'motor_homes_dealers' - | 'motor_vehicle_supplies_and_new_parts' - | 'motorcycle_shops_and_dealers' - | 'motorcycle_shops_dealers' - | 'music_stores_musical_instruments_pianos_and_sheet_music' - | 'news_dealers_and_newsstands' - | 'non_fi_money_orders' - | 'non_fi_stored_value_card_purchase_load' - | 'nondurable_goods' - | 'nurseries_lawn_and_garden_supply_stores' - | 'nursing_personal_care' - | 'office_and_commercial_furniture' - | 'opticians_eyeglasses' - | 'optometrists_ophthalmologist' - | 'orthopedic_goods_prosthetic_devices' - | 'osteopaths' - | 'package_stores_beer_wine_and_liquor' - | 'paints_varnishes_and_supplies' - | 'parking_lots_garages' - | 'passenger_railways' - | 'pawn_shops' - | 'pet_shops_pet_food_and_supplies' - | 'petroleum_and_petroleum_products' - | 'photo_developing' - | 'photographic_photocopy_microfilm_equipment_and_supplies' - | 'photographic_studios' - | 'picture_video_production' - | 'piece_goods_notions_and_other_dry_goods' - | 'plumbing_heating_equipment_and_supplies' - | 'political_organizations' - | 'postal_services_government_only' - | 'precious_stones_and_metals_watches_and_jewelry' - | 'professional_services' - | 'public_warehousing_and_storage' - | 'quick_copy_repro_and_blueprint' - | 'railroads' - | 'real_estate_agents_and_managers_rentals' - | 'record_stores' - | 'recreational_vehicle_rentals' - | 'religious_goods_stores' - | 'religious_organizations' - | 'roofing_siding_sheet_metal' - | 'secretarial_support_services' - | 'security_brokers_dealers' - | 'service_stations' - | 'sewing_needlework_fabric_and_piece_goods_stores' - | 'shoe_repair_hat_cleaning' - | 'shoe_stores' - | 'small_appliance_repair' - | 'snowmobile_dealers' - | 'special_trade_services' - | 'specialty_cleaning' - | 'sporting_goods_stores' - | 'sporting_recreation_camps' - | 'sports_and_riding_apparel_stores' - | 'sports_clubs_fields' - | 'stamp_and_coin_stores' - | 'stationary_office_supplies_printing_and_writing_paper' - | 'stationery_stores_office_and_school_supply_stores' - | 'swimming_pools_sales' - | 't_ui_travel_germany' - | 'tailors_alterations' - | 'tax_payments_government_agencies' - | 'tax_preparation_services' - | 'taxicabs_limousines' - | 'telecommunication_equipment_and_telephone_sales' - | 'telecommunication_services' - | 'telegraph_services' - | 'tent_and_awning_shops' - | 'testing_laboratories' - | 'theatrical_ticket_agencies' - | 'timeshares' - | 'tire_retreading_and_repair' - | 'tolls_bridge_fees' - | 'tourist_attractions_and_exhibits' - | 'towing_services' - | 'trailer_parks_campgrounds' - | 'transportation_services' - | 'travel_agencies_tour_operators' - | 'truck_stop_iteration' - | 'truck_utility_trailer_rentals' - | 'typesetting_plate_making_and_related_services' - | 'typewriter_stores' - | 'u_s_federal_government_agencies_or_departments' - | 'uniforms_commercial_clothing' - | 'used_merchandise_and_secondhand_stores' - | 'utilities' - | 'variety_stores' - | 'veterinary_services' - | 'video_amusement_game_supplies' - | 'video_game_arcades' - | 'video_tape_rental_stores' - | 'vocational_trade_schools' - | 'watch_jewelry_repair' - | 'welding_repair' - | 'wholesale_clubs' - | 'wig_and_toupee_stores' - | 'wires_money_orders' - | 'womens_accessory_and_specialty_shops' - | 'womens_ready_to_wear_stores' - | 'wrecking_and_salvage_yards'; - - interface SpendingLimit { - /** - * Maximum amount allowed to spend per interval. - */ - amount: number; - - /** - * Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories. - */ - categories?: Array; - - /** - * Interval (or event) to which the amount applies. - */ - interval: SpendingLimit.Interval; - } - - namespace SpendingLimit { - type Category = - | 'ac_refrigeration_repair' - | 'accounting_bookkeeping_services' - | 'advertising_services' - | 'agricultural_cooperative' - | 'airlines_air_carriers' - | 'airports_flying_fields' - | 'ambulance_services' - | 'amusement_parks_carnivals' - | 'antique_reproductions' - | 'antique_shops' - | 'aquariums' - | 'architectural_surveying_services' - | 'art_dealers_and_galleries' - | 'artists_supply_and_craft_shops' - | 'auto_and_home_supply_stores' - | 'auto_body_repair_shops' - | 'auto_paint_shops' - | 'auto_service_shops' - | 'automated_cash_disburse' - | 'automated_fuel_dispensers' - | 'automobile_associations' - | 'automotive_parts_and_accessories_stores' - | 'automotive_tire_stores' - | 'bail_and_bond_payments' - | 'bakeries' - | 'bands_orchestras' - | 'barber_and_beauty_shops' - | 'betting_casino_gambling' - | 'bicycle_shops' - | 'billiard_pool_establishments' - | 'boat_dealers' - | 'boat_rentals_and_leases' - | 'book_stores' - | 'books_periodicals_and_newspapers' - | 'bowling_alleys' - | 'bus_lines' - | 'business_secretarial_schools' - | 'buying_shopping_services' - | 'cable_satellite_and_other_pay_television_and_radio' - | 'camera_and_photographic_supply_stores' - | 'candy_nut_and_confectionery_stores' - | 'car_and_truck_dealers_new_used' - | 'car_and_truck_dealers_used_only' - | 'car_rental_agencies' - | 'car_washes' - | 'carpentry_services' - | 'carpet_upholstery_cleaning' - | 'caterers' - | 'charitable_and_social_service_organizations_fundraising' - | 'chemicals_and_allied_products' - | 'child_care_services' - | 'childrens_and_infants_wear_stores' - | 'chiropodists_podiatrists' - | 'chiropractors' - | 'cigar_stores_and_stands' - | 'civic_social_fraternal_associations' - | 'cleaning_and_maintenance' - | 'clothing_rental' - | 'colleges_universities' - | 'commercial_equipment' - | 'commercial_footwear' - | 'commercial_photography_art_and_graphics' - | 'commuter_transport_and_ferries' - | 'computer_network_services' - | 'computer_programming' - | 'computer_repair' - | 'computer_software_stores' - | 'computers_peripherals_and_software' - | 'concrete_work_services' - | 'construction_materials' - | 'consulting_public_relations' - | 'correspondence_schools' - | 'cosmetic_stores' - | 'counseling_services' - | 'country_clubs' - | 'courier_services' - | 'court_costs' - | 'credit_reporting_agencies' - | 'cruise_lines' - | 'dairy_products_stores' - | 'dance_hall_studios_schools' - | 'dating_escort_services' - | 'dentists_orthodontists' - | 'department_stores' - | 'detective_agencies' - | 'digital_goods_applications' - | 'digital_goods_games' - | 'digital_goods_large_volume' - | 'digital_goods_media' - | 'direct_marketing_catalog_merchant' - | 'direct_marketing_combination_catalog_and_retail_merchant' - | 'direct_marketing_inbound_telemarketing' - | 'direct_marketing_insurance_services' - | 'direct_marketing_other' - | 'direct_marketing_outbound_telemarketing' - | 'direct_marketing_subscription' - | 'direct_marketing_travel' - | 'discount_stores' - | 'doctors' - | 'door_to_door_sales' - | 'drapery_window_covering_and_upholstery_stores' - | 'drinking_places' - | 'drug_stores_and_pharmacies' - | 'drugs_drug_proprietaries_and_druggist_sundries' - | 'dry_cleaners' - | 'durable_goods' - | 'duty_free_stores' - | 'eating_places_restaurants' - | 'educational_services' - | 'electric_razor_stores' - | 'electrical_parts_and_equipment' - | 'electrical_services' - | 'electronics_repair_shops' - | 'electronics_stores' - | 'elementary_secondary_schools' - | 'employment_temp_agencies' - | 'equipment_rental' - | 'exterminating_services' - | 'family_clothing_stores' - | 'fast_food_restaurants' - | 'financial_institutions' - | 'fines_government_administrative_entities' - | 'fireplace_fireplace_screens_and_accessories_stores' - | 'floor_covering_stores' - | 'florists' - | 'florists_supplies_nursery_stock_and_flowers' - | 'freezer_and_locker_meat_provisioners' - | 'fuel_dealers_non_automotive' - | 'funeral_services_crematories' - | 'furniture_home_furnishings_and_equipment_stores_except_appliances' - | 'furniture_repair_refinishing' - | 'furriers_and_fur_shops' - | 'general_services' - | 'gift_card_novelty_and_souvenir_shops' - | 'glass_paint_and_wallpaper_stores' - | 'glassware_crystal_stores' - | 'golf_courses_public' - | 'government_services' - | 'grocery_stores_supermarkets' - | 'hardware_equipment_and_supplies' - | 'hardware_stores' - | 'health_and_beauty_spas' - | 'hearing_aids_sales_and_supplies' - | 'heating_plumbing_a_c' - | 'hobby_toy_and_game_shops' - | 'home_supply_warehouse_stores' - | 'hospitals' - | 'hotels_motels_and_resorts' - | 'household_appliance_stores' - | 'industrial_supplies' - | 'information_retrieval_services' - | 'insurance_default' - | 'insurance_underwriting_premiums' - | 'intra_company_purchases' - | 'jewelry_stores_watches_clocks_and_silverware_stores' - | 'landscaping_services' - | 'laundries' - | 'laundry_cleaning_services' - | 'legal_services_attorneys' - | 'luggage_and_leather_goods_stores' - | 'lumber_building_materials_stores' - | 'manual_cash_disburse' - | 'marinas_service_and_supplies' - | 'masonry_stonework_and_plaster' - | 'massage_parlors' - | 'medical_and_dental_labs' - | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies' - | 'medical_services' - | 'membership_organizations' - | 'mens_and_boys_clothing_and_accessories_stores' - | 'mens_womens_clothing_stores' - | 'metal_service_centers' - | 'miscellaneous' - | 'miscellaneous_apparel_and_accessory_shops' - | 'miscellaneous_auto_dealers' - | 'miscellaneous_business_services' - | 'miscellaneous_food_stores' - | 'miscellaneous_general_merchandise' - | 'miscellaneous_general_services' - | 'miscellaneous_home_furnishing_specialty_stores' - | 'miscellaneous_publishing_and_printing' - | 'miscellaneous_recreation_services' - | 'miscellaneous_repair_shops' - | 'miscellaneous_specialty_retail' - | 'mobile_home_dealers' - | 'motion_picture_theaters' - | 'motor_freight_carriers_and_trucking' - | 'motor_homes_dealers' - | 'motor_vehicle_supplies_and_new_parts' - | 'motorcycle_shops_and_dealers' - | 'motorcycle_shops_dealers' - | 'music_stores_musical_instruments_pianos_and_sheet_music' - | 'news_dealers_and_newsstands' - | 'non_fi_money_orders' - | 'non_fi_stored_value_card_purchase_load' - | 'nondurable_goods' - | 'nurseries_lawn_and_garden_supply_stores' - | 'nursing_personal_care' - | 'office_and_commercial_furniture' - | 'opticians_eyeglasses' - | 'optometrists_ophthalmologist' - | 'orthopedic_goods_prosthetic_devices' - | 'osteopaths' - | 'package_stores_beer_wine_and_liquor' - | 'paints_varnishes_and_supplies' - | 'parking_lots_garages' - | 'passenger_railways' - | 'pawn_shops' - | 'pet_shops_pet_food_and_supplies' - | 'petroleum_and_petroleum_products' - | 'photo_developing' - | 'photographic_photocopy_microfilm_equipment_and_supplies' - | 'photographic_studios' - | 'picture_video_production' - | 'piece_goods_notions_and_other_dry_goods' - | 'plumbing_heating_equipment_and_supplies' - | 'political_organizations' - | 'postal_services_government_only' - | 'precious_stones_and_metals_watches_and_jewelry' - | 'professional_services' - | 'public_warehousing_and_storage' - | 'quick_copy_repro_and_blueprint' - | 'railroads' - | 'real_estate_agents_and_managers_rentals' - | 'record_stores' - | 'recreational_vehicle_rentals' - | 'religious_goods_stores' - | 'religious_organizations' - | 'roofing_siding_sheet_metal' - | 'secretarial_support_services' - | 'security_brokers_dealers' - | 'service_stations' - | 'sewing_needlework_fabric_and_piece_goods_stores' - | 'shoe_repair_hat_cleaning' - | 'shoe_stores' - | 'small_appliance_repair' - | 'snowmobile_dealers' - | 'special_trade_services' - | 'specialty_cleaning' - | 'sporting_goods_stores' - | 'sporting_recreation_camps' - | 'sports_and_riding_apparel_stores' - | 'sports_clubs_fields' - | 'stamp_and_coin_stores' - | 'stationary_office_supplies_printing_and_writing_paper' - | 'stationery_stores_office_and_school_supply_stores' - | 'swimming_pools_sales' - | 't_ui_travel_germany' - | 'tailors_alterations' - | 'tax_payments_government_agencies' - | 'tax_preparation_services' - | 'taxicabs_limousines' - | 'telecommunication_equipment_and_telephone_sales' - | 'telecommunication_services' - | 'telegraph_services' - | 'tent_and_awning_shops' - | 'testing_laboratories' - | 'theatrical_ticket_agencies' - | 'timeshares' - | 'tire_retreading_and_repair' - | 'tolls_bridge_fees' - | 'tourist_attractions_and_exhibits' - | 'towing_services' - | 'trailer_parks_campgrounds' - | 'transportation_services' - | 'travel_agencies_tour_operators' - | 'truck_stop_iteration' - | 'truck_utility_trailer_rentals' - | 'typesetting_plate_making_and_related_services' - | 'typewriter_stores' - | 'u_s_federal_government_agencies_or_departments' - | 'uniforms_commercial_clothing' - | 'used_merchandise_and_secondhand_stores' - | 'utilities' - | 'variety_stores' - | 'veterinary_services' - | 'video_amusement_game_supplies' - | 'video_game_arcades' - | 'video_tape_rental_stores' - | 'vocational_trade_schools' - | 'watch_jewelry_repair' - | 'welding_repair' - | 'wholesale_clubs' - | 'wig_and_toupee_stores' - | 'wires_money_orders' - | 'womens_accessory_and_specialty_shops' - | 'womens_ready_to_wear_stores' - | 'wrecking_and_salvage_yards'; - - type Interval = - | 'all_time' - | 'daily' - | 'monthly' - | 'per_authorization' - | 'weekly' - | 'yearly'; - } - } - - type Status = 'active' | 'inactive'; - } - - interface CardholderListParams extends PaginationParams { - /** - * Only return cardholders that were created during the given date interval. - */ - created?: Stripe.RangeQueryParam | number; - - /** - * Only return cardholders that have the given email address. - */ - email?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Only return cardholders that have the given phone number. - */ - phone_number?: string; - - /** - * Only return cardholders that have the given status. One of `active`, `inactive`, or `blocked`. - */ - status?: CardholderListParams.Status; - - /** - * Only return cardholders that have the given type. One of `individual` or `company`. - */ - type?: CardholderListParams.Type; - } - - namespace CardholderListParams { - type Status = 'active' | 'blocked' | 'inactive'; - - type Type = 'company' | 'individual'; - } - - class CardholdersResource { - /** - * Creates a new Issuing Cardholder object that can be issued cards. - */ - create( - params: CardholderCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves an Issuing Cardholder object. - */ - retrieve( - id: string, - params?: CardholderRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates the specified Issuing Cardholder object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. - */ - update( - id: string, - params?: CardholderUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of Issuing Cardholder objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. - */ - list( - params?: CardholderListParams, - options?: RequestOptions - ): ApiListPromise; - list( - options?: RequestOptions - ): ApiListPromise; - } - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Issuing/Cards.d.ts b/node_modules/stripe/types/2020-08-27/Issuing/Cards.d.ts deleted file mode 100644 index 836a2077..00000000 --- a/node_modules/stripe/types/2020-08-27/Issuing/Cards.d.ts +++ /dev/null @@ -1,3207 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - namespace Issuing { - /** - * The Card object. - */ - interface Card { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'issuing.card'; - - /** - * The brand of the card. - */ - brand: string; - - /** - * The reason why the card was canceled. - */ - cancellation_reason: Card.CancellationReason | null; - - /** - * An Issuing `Cardholder` object represents an individual or business entity who is [issued](https://stripe.com/docs/issuing) cards. - * - * Related guide: [How to create a Cardholder](https://stripe.com/docs/issuing/cards#create-cardholder) - */ - cardholder: Stripe.Issuing.Cardholder; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * The card's CVC. For security reasons, this is only available for virtual cards, and will be omitted unless you explicitly request it with [the `expand` parameter](https://stripe.com/docs/api/expanding_objects). Additionally, it's only available via the ["Retrieve a card" endpoint](https://stripe.com/docs/api/issuing/cards/retrieve), not via "List all cards" or any other endpoint. - */ - cvc?: string; - - /** - * The expiration month of the card. - */ - exp_month: number; - - /** - * The expiration year of the card. - */ - exp_year: number; - - /** - * The last 4 digits of the card number. - */ - last4: string; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata; - - /** - * The full unredacted card number. For security reasons, this is only available for virtual cards, and will be omitted unless you explicitly request it with [the `expand` parameter](https://stripe.com/docs/api/expanding_objects). Additionally, it's only available via the ["Retrieve a card" endpoint](https://stripe.com/docs/api/issuing/cards/retrieve), not via "List all cards" or any other endpoint. - */ - number?: string; - - /** - * The latest card that replaces this card, if any. - */ - replaced_by: string | Stripe.Issuing.Card | null; - - /** - * The card this card replaces, if any. - */ - replacement_for: string | Stripe.Issuing.Card | null; - - /** - * The reason why the previous card needed to be replaced. - */ - replacement_reason: Card.ReplacementReason | null; - - /** - * Where and how the card will be shipped. - */ - shipping: Card.Shipping | null; - - spending_controls: Card.SpendingControls; - - /** - * Whether authorizations can be approved on this card. - */ - status: Card.Status; - - /** - * The type of the card. - */ - type: Card.Type; - } - - namespace Card { - type CancellationReason = 'lost' | 'stolen'; - - type ReplacementReason = 'damaged' | 'expired' | 'lost' | 'stolen'; - - interface Shipping { - address: Stripe.Address; - - /** - * The delivery company that shipped a card. - */ - carrier: Shipping.Carrier | null; - - /** - * A unix timestamp representing a best estimate of when the card will be delivered. - */ - eta: number | null; - - /** - * Recipient name. - */ - name: string; - - /** - * Shipment service, such as `standard` or `express`. - */ - service: Shipping.Service; - - /** - * The delivery status of the card. - */ - status: Shipping.Status | null; - - /** - * A tracking number for a card shipment. - */ - tracking_number: string | null; - - /** - * A link to the shipping carrier's site where you can view detailed information about a card shipment. - */ - tracking_url: string | null; - - /** - * Packaging options. - */ - type: Shipping.Type; - } - - namespace Shipping { - type Carrier = 'fedex' | 'usps'; - - type Service = 'express' | 'priority' | 'standard'; - - type Status = - | 'canceled' - | 'delivered' - | 'failure' - | 'pending' - | 'returned' - | 'shipped'; - - type Type = 'bulk' | 'individual'; - } - - interface SpendingControls { - /** - * Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`. - */ - allowed_categories: Array | null; - - /** - * Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`. - */ - blocked_categories: Array | null; - - /** - * Limit spending with amount-based rules. - */ - spending_limits: Array | null; - - /** - * Currency of the amounts within `spending_limits`. Always the same as the currency of the card. - */ - spending_limits_currency: string | null; - } - - namespace SpendingControls { - type AllowedCategory = - | 'ac_refrigeration_repair' - | 'accounting_bookkeeping_services' - | 'advertising_services' - | 'agricultural_cooperative' - | 'airlines_air_carriers' - | 'airports_flying_fields' - | 'ambulance_services' - | 'amusement_parks_carnivals' - | 'antique_reproductions' - | 'antique_shops' - | 'aquariums' - | 'architectural_surveying_services' - | 'art_dealers_and_galleries' - | 'artists_supply_and_craft_shops' - | 'auto_and_home_supply_stores' - | 'auto_body_repair_shops' - | 'auto_paint_shops' - | 'auto_service_shops' - | 'automated_cash_disburse' - | 'automated_fuel_dispensers' - | 'automobile_associations' - | 'automotive_parts_and_accessories_stores' - | 'automotive_tire_stores' - | 'bail_and_bond_payments' - | 'bakeries' - | 'bands_orchestras' - | 'barber_and_beauty_shops' - | 'betting_casino_gambling' - | 'bicycle_shops' - | 'billiard_pool_establishments' - | 'boat_dealers' - | 'boat_rentals_and_leases' - | 'book_stores' - | 'books_periodicals_and_newspapers' - | 'bowling_alleys' - | 'bus_lines' - | 'business_secretarial_schools' - | 'buying_shopping_services' - | 'cable_satellite_and_other_pay_television_and_radio' - | 'camera_and_photographic_supply_stores' - | 'candy_nut_and_confectionery_stores' - | 'car_and_truck_dealers_new_used' - | 'car_and_truck_dealers_used_only' - | 'car_rental_agencies' - | 'car_washes' - | 'carpentry_services' - | 'carpet_upholstery_cleaning' - | 'caterers' - | 'charitable_and_social_service_organizations_fundraising' - | 'chemicals_and_allied_products' - | 'child_care_services' - | 'childrens_and_infants_wear_stores' - | 'chiropodists_podiatrists' - | 'chiropractors' - | 'cigar_stores_and_stands' - | 'civic_social_fraternal_associations' - | 'cleaning_and_maintenance' - | 'clothing_rental' - | 'colleges_universities' - | 'commercial_equipment' - | 'commercial_footwear' - | 'commercial_photography_art_and_graphics' - | 'commuter_transport_and_ferries' - | 'computer_network_services' - | 'computer_programming' - | 'computer_repair' - | 'computer_software_stores' - | 'computers_peripherals_and_software' - | 'concrete_work_services' - | 'construction_materials' - | 'consulting_public_relations' - | 'correspondence_schools' - | 'cosmetic_stores' - | 'counseling_services' - | 'country_clubs' - | 'courier_services' - | 'court_costs' - | 'credit_reporting_agencies' - | 'cruise_lines' - | 'dairy_products_stores' - | 'dance_hall_studios_schools' - | 'dating_escort_services' - | 'dentists_orthodontists' - | 'department_stores' - | 'detective_agencies' - | 'digital_goods_applications' - | 'digital_goods_games' - | 'digital_goods_large_volume' - | 'digital_goods_media' - | 'direct_marketing_catalog_merchant' - | 'direct_marketing_combination_catalog_and_retail_merchant' - | 'direct_marketing_inbound_telemarketing' - | 'direct_marketing_insurance_services' - | 'direct_marketing_other' - | 'direct_marketing_outbound_telemarketing' - | 'direct_marketing_subscription' - | 'direct_marketing_travel' - | 'discount_stores' - | 'doctors' - | 'door_to_door_sales' - | 'drapery_window_covering_and_upholstery_stores' - | 'drinking_places' - | 'drug_stores_and_pharmacies' - | 'drugs_drug_proprietaries_and_druggist_sundries' - | 'dry_cleaners' - | 'durable_goods' - | 'duty_free_stores' - | 'eating_places_restaurants' - | 'educational_services' - | 'electric_razor_stores' - | 'electrical_parts_and_equipment' - | 'electrical_services' - | 'electronics_repair_shops' - | 'electronics_stores' - | 'elementary_secondary_schools' - | 'employment_temp_agencies' - | 'equipment_rental' - | 'exterminating_services' - | 'family_clothing_stores' - | 'fast_food_restaurants' - | 'financial_institutions' - | 'fines_government_administrative_entities' - | 'fireplace_fireplace_screens_and_accessories_stores' - | 'floor_covering_stores' - | 'florists' - | 'florists_supplies_nursery_stock_and_flowers' - | 'freezer_and_locker_meat_provisioners' - | 'fuel_dealers_non_automotive' - | 'funeral_services_crematories' - | 'furniture_home_furnishings_and_equipment_stores_except_appliances' - | 'furniture_repair_refinishing' - | 'furriers_and_fur_shops' - | 'general_services' - | 'gift_card_novelty_and_souvenir_shops' - | 'glass_paint_and_wallpaper_stores' - | 'glassware_crystal_stores' - | 'golf_courses_public' - | 'government_services' - | 'grocery_stores_supermarkets' - | 'hardware_equipment_and_supplies' - | 'hardware_stores' - | 'health_and_beauty_spas' - | 'hearing_aids_sales_and_supplies' - | 'heating_plumbing_a_c' - | 'hobby_toy_and_game_shops' - | 'home_supply_warehouse_stores' - | 'hospitals' - | 'hotels_motels_and_resorts' - | 'household_appliance_stores' - | 'industrial_supplies' - | 'information_retrieval_services' - | 'insurance_default' - | 'insurance_underwriting_premiums' - | 'intra_company_purchases' - | 'jewelry_stores_watches_clocks_and_silverware_stores' - | 'landscaping_services' - | 'laundries' - | 'laundry_cleaning_services' - | 'legal_services_attorneys' - | 'luggage_and_leather_goods_stores' - | 'lumber_building_materials_stores' - | 'manual_cash_disburse' - | 'marinas_service_and_supplies' - | 'masonry_stonework_and_plaster' - | 'massage_parlors' - | 'medical_and_dental_labs' - | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies' - | 'medical_services' - | 'membership_organizations' - | 'mens_and_boys_clothing_and_accessories_stores' - | 'mens_womens_clothing_stores' - | 'metal_service_centers' - | 'miscellaneous' - | 'miscellaneous_apparel_and_accessory_shops' - | 'miscellaneous_auto_dealers' - | 'miscellaneous_business_services' - | 'miscellaneous_food_stores' - | 'miscellaneous_general_merchandise' - | 'miscellaneous_general_services' - | 'miscellaneous_home_furnishing_specialty_stores' - | 'miscellaneous_publishing_and_printing' - | 'miscellaneous_recreation_services' - | 'miscellaneous_repair_shops' - | 'miscellaneous_specialty_retail' - | 'mobile_home_dealers' - | 'motion_picture_theaters' - | 'motor_freight_carriers_and_trucking' - | 'motor_homes_dealers' - | 'motor_vehicle_supplies_and_new_parts' - | 'motorcycle_shops_and_dealers' - | 'motorcycle_shops_dealers' - | 'music_stores_musical_instruments_pianos_and_sheet_music' - | 'news_dealers_and_newsstands' - | 'non_fi_money_orders' - | 'non_fi_stored_value_card_purchase_load' - | 'nondurable_goods' - | 'nurseries_lawn_and_garden_supply_stores' - | 'nursing_personal_care' - | 'office_and_commercial_furniture' - | 'opticians_eyeglasses' - | 'optometrists_ophthalmologist' - | 'orthopedic_goods_prosthetic_devices' - | 'osteopaths' - | 'package_stores_beer_wine_and_liquor' - | 'paints_varnishes_and_supplies' - | 'parking_lots_garages' - | 'passenger_railways' - | 'pawn_shops' - | 'pet_shops_pet_food_and_supplies' - | 'petroleum_and_petroleum_products' - | 'photo_developing' - | 'photographic_photocopy_microfilm_equipment_and_supplies' - | 'photographic_studios' - | 'picture_video_production' - | 'piece_goods_notions_and_other_dry_goods' - | 'plumbing_heating_equipment_and_supplies' - | 'political_organizations' - | 'postal_services_government_only' - | 'precious_stones_and_metals_watches_and_jewelry' - | 'professional_services' - | 'public_warehousing_and_storage' - | 'quick_copy_repro_and_blueprint' - | 'railroads' - | 'real_estate_agents_and_managers_rentals' - | 'record_stores' - | 'recreational_vehicle_rentals' - | 'religious_goods_stores' - | 'religious_organizations' - | 'roofing_siding_sheet_metal' - | 'secretarial_support_services' - | 'security_brokers_dealers' - | 'service_stations' - | 'sewing_needlework_fabric_and_piece_goods_stores' - | 'shoe_repair_hat_cleaning' - | 'shoe_stores' - | 'small_appliance_repair' - | 'snowmobile_dealers' - | 'special_trade_services' - | 'specialty_cleaning' - | 'sporting_goods_stores' - | 'sporting_recreation_camps' - | 'sports_and_riding_apparel_stores' - | 'sports_clubs_fields' - | 'stamp_and_coin_stores' - | 'stationary_office_supplies_printing_and_writing_paper' - | 'stationery_stores_office_and_school_supply_stores' - | 'swimming_pools_sales' - | 't_ui_travel_germany' - | 'tailors_alterations' - | 'tax_payments_government_agencies' - | 'tax_preparation_services' - | 'taxicabs_limousines' - | 'telecommunication_equipment_and_telephone_sales' - | 'telecommunication_services' - | 'telegraph_services' - | 'tent_and_awning_shops' - | 'testing_laboratories' - | 'theatrical_ticket_agencies' - | 'timeshares' - | 'tire_retreading_and_repair' - | 'tolls_bridge_fees' - | 'tourist_attractions_and_exhibits' - | 'towing_services' - | 'trailer_parks_campgrounds' - | 'transportation_services' - | 'travel_agencies_tour_operators' - | 'truck_stop_iteration' - | 'truck_utility_trailer_rentals' - | 'typesetting_plate_making_and_related_services' - | 'typewriter_stores' - | 'u_s_federal_government_agencies_or_departments' - | 'uniforms_commercial_clothing' - | 'used_merchandise_and_secondhand_stores' - | 'utilities' - | 'variety_stores' - | 'veterinary_services' - | 'video_amusement_game_supplies' - | 'video_game_arcades' - | 'video_tape_rental_stores' - | 'vocational_trade_schools' - | 'watch_jewelry_repair' - | 'welding_repair' - | 'wholesale_clubs' - | 'wig_and_toupee_stores' - | 'wires_money_orders' - | 'womens_accessory_and_specialty_shops' - | 'womens_ready_to_wear_stores' - | 'wrecking_and_salvage_yards'; - - type BlockedCategory = - | 'ac_refrigeration_repair' - | 'accounting_bookkeeping_services' - | 'advertising_services' - | 'agricultural_cooperative' - | 'airlines_air_carriers' - | 'airports_flying_fields' - | 'ambulance_services' - | 'amusement_parks_carnivals' - | 'antique_reproductions' - | 'antique_shops' - | 'aquariums' - | 'architectural_surveying_services' - | 'art_dealers_and_galleries' - | 'artists_supply_and_craft_shops' - | 'auto_and_home_supply_stores' - | 'auto_body_repair_shops' - | 'auto_paint_shops' - | 'auto_service_shops' - | 'automated_cash_disburse' - | 'automated_fuel_dispensers' - | 'automobile_associations' - | 'automotive_parts_and_accessories_stores' - | 'automotive_tire_stores' - | 'bail_and_bond_payments' - | 'bakeries' - | 'bands_orchestras' - | 'barber_and_beauty_shops' - | 'betting_casino_gambling' - | 'bicycle_shops' - | 'billiard_pool_establishments' - | 'boat_dealers' - | 'boat_rentals_and_leases' - | 'book_stores' - | 'books_periodicals_and_newspapers' - | 'bowling_alleys' - | 'bus_lines' - | 'business_secretarial_schools' - | 'buying_shopping_services' - | 'cable_satellite_and_other_pay_television_and_radio' - | 'camera_and_photographic_supply_stores' - | 'candy_nut_and_confectionery_stores' - | 'car_and_truck_dealers_new_used' - | 'car_and_truck_dealers_used_only' - | 'car_rental_agencies' - | 'car_washes' - | 'carpentry_services' - | 'carpet_upholstery_cleaning' - | 'caterers' - | 'charitable_and_social_service_organizations_fundraising' - | 'chemicals_and_allied_products' - | 'child_care_services' - | 'childrens_and_infants_wear_stores' - | 'chiropodists_podiatrists' - | 'chiropractors' - | 'cigar_stores_and_stands' - | 'civic_social_fraternal_associations' - | 'cleaning_and_maintenance' - | 'clothing_rental' - | 'colleges_universities' - | 'commercial_equipment' - | 'commercial_footwear' - | 'commercial_photography_art_and_graphics' - | 'commuter_transport_and_ferries' - | 'computer_network_services' - | 'computer_programming' - | 'computer_repair' - | 'computer_software_stores' - | 'computers_peripherals_and_software' - | 'concrete_work_services' - | 'construction_materials' - | 'consulting_public_relations' - | 'correspondence_schools' - | 'cosmetic_stores' - | 'counseling_services' - | 'country_clubs' - | 'courier_services' - | 'court_costs' - | 'credit_reporting_agencies' - | 'cruise_lines' - | 'dairy_products_stores' - | 'dance_hall_studios_schools' - | 'dating_escort_services' - | 'dentists_orthodontists' - | 'department_stores' - | 'detective_agencies' - | 'digital_goods_applications' - | 'digital_goods_games' - | 'digital_goods_large_volume' - | 'digital_goods_media' - | 'direct_marketing_catalog_merchant' - | 'direct_marketing_combination_catalog_and_retail_merchant' - | 'direct_marketing_inbound_telemarketing' - | 'direct_marketing_insurance_services' - | 'direct_marketing_other' - | 'direct_marketing_outbound_telemarketing' - | 'direct_marketing_subscription' - | 'direct_marketing_travel' - | 'discount_stores' - | 'doctors' - | 'door_to_door_sales' - | 'drapery_window_covering_and_upholstery_stores' - | 'drinking_places' - | 'drug_stores_and_pharmacies' - | 'drugs_drug_proprietaries_and_druggist_sundries' - | 'dry_cleaners' - | 'durable_goods' - | 'duty_free_stores' - | 'eating_places_restaurants' - | 'educational_services' - | 'electric_razor_stores' - | 'electrical_parts_and_equipment' - | 'electrical_services' - | 'electronics_repair_shops' - | 'electronics_stores' - | 'elementary_secondary_schools' - | 'employment_temp_agencies' - | 'equipment_rental' - | 'exterminating_services' - | 'family_clothing_stores' - | 'fast_food_restaurants' - | 'financial_institutions' - | 'fines_government_administrative_entities' - | 'fireplace_fireplace_screens_and_accessories_stores' - | 'floor_covering_stores' - | 'florists' - | 'florists_supplies_nursery_stock_and_flowers' - | 'freezer_and_locker_meat_provisioners' - | 'fuel_dealers_non_automotive' - | 'funeral_services_crematories' - | 'furniture_home_furnishings_and_equipment_stores_except_appliances' - | 'furniture_repair_refinishing' - | 'furriers_and_fur_shops' - | 'general_services' - | 'gift_card_novelty_and_souvenir_shops' - | 'glass_paint_and_wallpaper_stores' - | 'glassware_crystal_stores' - | 'golf_courses_public' - | 'government_services' - | 'grocery_stores_supermarkets' - | 'hardware_equipment_and_supplies' - | 'hardware_stores' - | 'health_and_beauty_spas' - | 'hearing_aids_sales_and_supplies' - | 'heating_plumbing_a_c' - | 'hobby_toy_and_game_shops' - | 'home_supply_warehouse_stores' - | 'hospitals' - | 'hotels_motels_and_resorts' - | 'household_appliance_stores' - | 'industrial_supplies' - | 'information_retrieval_services' - | 'insurance_default' - | 'insurance_underwriting_premiums' - | 'intra_company_purchases' - | 'jewelry_stores_watches_clocks_and_silverware_stores' - | 'landscaping_services' - | 'laundries' - | 'laundry_cleaning_services' - | 'legal_services_attorneys' - | 'luggage_and_leather_goods_stores' - | 'lumber_building_materials_stores' - | 'manual_cash_disburse' - | 'marinas_service_and_supplies' - | 'masonry_stonework_and_plaster' - | 'massage_parlors' - | 'medical_and_dental_labs' - | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies' - | 'medical_services' - | 'membership_organizations' - | 'mens_and_boys_clothing_and_accessories_stores' - | 'mens_womens_clothing_stores' - | 'metal_service_centers' - | 'miscellaneous' - | 'miscellaneous_apparel_and_accessory_shops' - | 'miscellaneous_auto_dealers' - | 'miscellaneous_business_services' - | 'miscellaneous_food_stores' - | 'miscellaneous_general_merchandise' - | 'miscellaneous_general_services' - | 'miscellaneous_home_furnishing_specialty_stores' - | 'miscellaneous_publishing_and_printing' - | 'miscellaneous_recreation_services' - | 'miscellaneous_repair_shops' - | 'miscellaneous_specialty_retail' - | 'mobile_home_dealers' - | 'motion_picture_theaters' - | 'motor_freight_carriers_and_trucking' - | 'motor_homes_dealers' - | 'motor_vehicle_supplies_and_new_parts' - | 'motorcycle_shops_and_dealers' - | 'motorcycle_shops_dealers' - | 'music_stores_musical_instruments_pianos_and_sheet_music' - | 'news_dealers_and_newsstands' - | 'non_fi_money_orders' - | 'non_fi_stored_value_card_purchase_load' - | 'nondurable_goods' - | 'nurseries_lawn_and_garden_supply_stores' - | 'nursing_personal_care' - | 'office_and_commercial_furniture' - | 'opticians_eyeglasses' - | 'optometrists_ophthalmologist' - | 'orthopedic_goods_prosthetic_devices' - | 'osteopaths' - | 'package_stores_beer_wine_and_liquor' - | 'paints_varnishes_and_supplies' - | 'parking_lots_garages' - | 'passenger_railways' - | 'pawn_shops' - | 'pet_shops_pet_food_and_supplies' - | 'petroleum_and_petroleum_products' - | 'photo_developing' - | 'photographic_photocopy_microfilm_equipment_and_supplies' - | 'photographic_studios' - | 'picture_video_production' - | 'piece_goods_notions_and_other_dry_goods' - | 'plumbing_heating_equipment_and_supplies' - | 'political_organizations' - | 'postal_services_government_only' - | 'precious_stones_and_metals_watches_and_jewelry' - | 'professional_services' - | 'public_warehousing_and_storage' - | 'quick_copy_repro_and_blueprint' - | 'railroads' - | 'real_estate_agents_and_managers_rentals' - | 'record_stores' - | 'recreational_vehicle_rentals' - | 'religious_goods_stores' - | 'religious_organizations' - | 'roofing_siding_sheet_metal' - | 'secretarial_support_services' - | 'security_brokers_dealers' - | 'service_stations' - | 'sewing_needlework_fabric_and_piece_goods_stores' - | 'shoe_repair_hat_cleaning' - | 'shoe_stores' - | 'small_appliance_repair' - | 'snowmobile_dealers' - | 'special_trade_services' - | 'specialty_cleaning' - | 'sporting_goods_stores' - | 'sporting_recreation_camps' - | 'sports_and_riding_apparel_stores' - | 'sports_clubs_fields' - | 'stamp_and_coin_stores' - | 'stationary_office_supplies_printing_and_writing_paper' - | 'stationery_stores_office_and_school_supply_stores' - | 'swimming_pools_sales' - | 't_ui_travel_germany' - | 'tailors_alterations' - | 'tax_payments_government_agencies' - | 'tax_preparation_services' - | 'taxicabs_limousines' - | 'telecommunication_equipment_and_telephone_sales' - | 'telecommunication_services' - | 'telegraph_services' - | 'tent_and_awning_shops' - | 'testing_laboratories' - | 'theatrical_ticket_agencies' - | 'timeshares' - | 'tire_retreading_and_repair' - | 'tolls_bridge_fees' - | 'tourist_attractions_and_exhibits' - | 'towing_services' - | 'trailer_parks_campgrounds' - | 'transportation_services' - | 'travel_agencies_tour_operators' - | 'truck_stop_iteration' - | 'truck_utility_trailer_rentals' - | 'typesetting_plate_making_and_related_services' - | 'typewriter_stores' - | 'u_s_federal_government_agencies_or_departments' - | 'uniforms_commercial_clothing' - | 'used_merchandise_and_secondhand_stores' - | 'utilities' - | 'variety_stores' - | 'veterinary_services' - | 'video_amusement_game_supplies' - | 'video_game_arcades' - | 'video_tape_rental_stores' - | 'vocational_trade_schools' - | 'watch_jewelry_repair' - | 'welding_repair' - | 'wholesale_clubs' - | 'wig_and_toupee_stores' - | 'wires_money_orders' - | 'womens_accessory_and_specialty_shops' - | 'womens_ready_to_wear_stores' - | 'wrecking_and_salvage_yards'; - - interface SpendingLimit { - /** - * Maximum amount allowed to spend per interval. - */ - amount: number; - - /** - * Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories. - */ - categories: Array | null; - - /** - * Interval (or event) to which the amount applies. - */ - interval: SpendingLimit.Interval; - } - - namespace SpendingLimit { - type Category = - | 'ac_refrigeration_repair' - | 'accounting_bookkeeping_services' - | 'advertising_services' - | 'agricultural_cooperative' - | 'airlines_air_carriers' - | 'airports_flying_fields' - | 'ambulance_services' - | 'amusement_parks_carnivals' - | 'antique_reproductions' - | 'antique_shops' - | 'aquariums' - | 'architectural_surveying_services' - | 'art_dealers_and_galleries' - | 'artists_supply_and_craft_shops' - | 'auto_and_home_supply_stores' - | 'auto_body_repair_shops' - | 'auto_paint_shops' - | 'auto_service_shops' - | 'automated_cash_disburse' - | 'automated_fuel_dispensers' - | 'automobile_associations' - | 'automotive_parts_and_accessories_stores' - | 'automotive_tire_stores' - | 'bail_and_bond_payments' - | 'bakeries' - | 'bands_orchestras' - | 'barber_and_beauty_shops' - | 'betting_casino_gambling' - | 'bicycle_shops' - | 'billiard_pool_establishments' - | 'boat_dealers' - | 'boat_rentals_and_leases' - | 'book_stores' - | 'books_periodicals_and_newspapers' - | 'bowling_alleys' - | 'bus_lines' - | 'business_secretarial_schools' - | 'buying_shopping_services' - | 'cable_satellite_and_other_pay_television_and_radio' - | 'camera_and_photographic_supply_stores' - | 'candy_nut_and_confectionery_stores' - | 'car_and_truck_dealers_new_used' - | 'car_and_truck_dealers_used_only' - | 'car_rental_agencies' - | 'car_washes' - | 'carpentry_services' - | 'carpet_upholstery_cleaning' - | 'caterers' - | 'charitable_and_social_service_organizations_fundraising' - | 'chemicals_and_allied_products' - | 'child_care_services' - | 'childrens_and_infants_wear_stores' - | 'chiropodists_podiatrists' - | 'chiropractors' - | 'cigar_stores_and_stands' - | 'civic_social_fraternal_associations' - | 'cleaning_and_maintenance' - | 'clothing_rental' - | 'colleges_universities' - | 'commercial_equipment' - | 'commercial_footwear' - | 'commercial_photography_art_and_graphics' - | 'commuter_transport_and_ferries' - | 'computer_network_services' - | 'computer_programming' - | 'computer_repair' - | 'computer_software_stores' - | 'computers_peripherals_and_software' - | 'concrete_work_services' - | 'construction_materials' - | 'consulting_public_relations' - | 'correspondence_schools' - | 'cosmetic_stores' - | 'counseling_services' - | 'country_clubs' - | 'courier_services' - | 'court_costs' - | 'credit_reporting_agencies' - | 'cruise_lines' - | 'dairy_products_stores' - | 'dance_hall_studios_schools' - | 'dating_escort_services' - | 'dentists_orthodontists' - | 'department_stores' - | 'detective_agencies' - | 'digital_goods_applications' - | 'digital_goods_games' - | 'digital_goods_large_volume' - | 'digital_goods_media' - | 'direct_marketing_catalog_merchant' - | 'direct_marketing_combination_catalog_and_retail_merchant' - | 'direct_marketing_inbound_telemarketing' - | 'direct_marketing_insurance_services' - | 'direct_marketing_other' - | 'direct_marketing_outbound_telemarketing' - | 'direct_marketing_subscription' - | 'direct_marketing_travel' - | 'discount_stores' - | 'doctors' - | 'door_to_door_sales' - | 'drapery_window_covering_and_upholstery_stores' - | 'drinking_places' - | 'drug_stores_and_pharmacies' - | 'drugs_drug_proprietaries_and_druggist_sundries' - | 'dry_cleaners' - | 'durable_goods' - | 'duty_free_stores' - | 'eating_places_restaurants' - | 'educational_services' - | 'electric_razor_stores' - | 'electrical_parts_and_equipment' - | 'electrical_services' - | 'electronics_repair_shops' - | 'electronics_stores' - | 'elementary_secondary_schools' - | 'employment_temp_agencies' - | 'equipment_rental' - | 'exterminating_services' - | 'family_clothing_stores' - | 'fast_food_restaurants' - | 'financial_institutions' - | 'fines_government_administrative_entities' - | 'fireplace_fireplace_screens_and_accessories_stores' - | 'floor_covering_stores' - | 'florists' - | 'florists_supplies_nursery_stock_and_flowers' - | 'freezer_and_locker_meat_provisioners' - | 'fuel_dealers_non_automotive' - | 'funeral_services_crematories' - | 'furniture_home_furnishings_and_equipment_stores_except_appliances' - | 'furniture_repair_refinishing' - | 'furriers_and_fur_shops' - | 'general_services' - | 'gift_card_novelty_and_souvenir_shops' - | 'glass_paint_and_wallpaper_stores' - | 'glassware_crystal_stores' - | 'golf_courses_public' - | 'government_services' - | 'grocery_stores_supermarkets' - | 'hardware_equipment_and_supplies' - | 'hardware_stores' - | 'health_and_beauty_spas' - | 'hearing_aids_sales_and_supplies' - | 'heating_plumbing_a_c' - | 'hobby_toy_and_game_shops' - | 'home_supply_warehouse_stores' - | 'hospitals' - | 'hotels_motels_and_resorts' - | 'household_appliance_stores' - | 'industrial_supplies' - | 'information_retrieval_services' - | 'insurance_default' - | 'insurance_underwriting_premiums' - | 'intra_company_purchases' - | 'jewelry_stores_watches_clocks_and_silverware_stores' - | 'landscaping_services' - | 'laundries' - | 'laundry_cleaning_services' - | 'legal_services_attorneys' - | 'luggage_and_leather_goods_stores' - | 'lumber_building_materials_stores' - | 'manual_cash_disburse' - | 'marinas_service_and_supplies' - | 'masonry_stonework_and_plaster' - | 'massage_parlors' - | 'medical_and_dental_labs' - | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies' - | 'medical_services' - | 'membership_organizations' - | 'mens_and_boys_clothing_and_accessories_stores' - | 'mens_womens_clothing_stores' - | 'metal_service_centers' - | 'miscellaneous' - | 'miscellaneous_apparel_and_accessory_shops' - | 'miscellaneous_auto_dealers' - | 'miscellaneous_business_services' - | 'miscellaneous_food_stores' - | 'miscellaneous_general_merchandise' - | 'miscellaneous_general_services' - | 'miscellaneous_home_furnishing_specialty_stores' - | 'miscellaneous_publishing_and_printing' - | 'miscellaneous_recreation_services' - | 'miscellaneous_repair_shops' - | 'miscellaneous_specialty_retail' - | 'mobile_home_dealers' - | 'motion_picture_theaters' - | 'motor_freight_carriers_and_trucking' - | 'motor_homes_dealers' - | 'motor_vehicle_supplies_and_new_parts' - | 'motorcycle_shops_and_dealers' - | 'motorcycle_shops_dealers' - | 'music_stores_musical_instruments_pianos_and_sheet_music' - | 'news_dealers_and_newsstands' - | 'non_fi_money_orders' - | 'non_fi_stored_value_card_purchase_load' - | 'nondurable_goods' - | 'nurseries_lawn_and_garden_supply_stores' - | 'nursing_personal_care' - | 'office_and_commercial_furniture' - | 'opticians_eyeglasses' - | 'optometrists_ophthalmologist' - | 'orthopedic_goods_prosthetic_devices' - | 'osteopaths' - | 'package_stores_beer_wine_and_liquor' - | 'paints_varnishes_and_supplies' - | 'parking_lots_garages' - | 'passenger_railways' - | 'pawn_shops' - | 'pet_shops_pet_food_and_supplies' - | 'petroleum_and_petroleum_products' - | 'photo_developing' - | 'photographic_photocopy_microfilm_equipment_and_supplies' - | 'photographic_studios' - | 'picture_video_production' - | 'piece_goods_notions_and_other_dry_goods' - | 'plumbing_heating_equipment_and_supplies' - | 'political_organizations' - | 'postal_services_government_only' - | 'precious_stones_and_metals_watches_and_jewelry' - | 'professional_services' - | 'public_warehousing_and_storage' - | 'quick_copy_repro_and_blueprint' - | 'railroads' - | 'real_estate_agents_and_managers_rentals' - | 'record_stores' - | 'recreational_vehicle_rentals' - | 'religious_goods_stores' - | 'religious_organizations' - | 'roofing_siding_sheet_metal' - | 'secretarial_support_services' - | 'security_brokers_dealers' - | 'service_stations' - | 'sewing_needlework_fabric_and_piece_goods_stores' - | 'shoe_repair_hat_cleaning' - | 'shoe_stores' - | 'small_appliance_repair' - | 'snowmobile_dealers' - | 'special_trade_services' - | 'specialty_cleaning' - | 'sporting_goods_stores' - | 'sporting_recreation_camps' - | 'sports_and_riding_apparel_stores' - | 'sports_clubs_fields' - | 'stamp_and_coin_stores' - | 'stationary_office_supplies_printing_and_writing_paper' - | 'stationery_stores_office_and_school_supply_stores' - | 'swimming_pools_sales' - | 't_ui_travel_germany' - | 'tailors_alterations' - | 'tax_payments_government_agencies' - | 'tax_preparation_services' - | 'taxicabs_limousines' - | 'telecommunication_equipment_and_telephone_sales' - | 'telecommunication_services' - | 'telegraph_services' - | 'tent_and_awning_shops' - | 'testing_laboratories' - | 'theatrical_ticket_agencies' - | 'timeshares' - | 'tire_retreading_and_repair' - | 'tolls_bridge_fees' - | 'tourist_attractions_and_exhibits' - | 'towing_services' - | 'trailer_parks_campgrounds' - | 'transportation_services' - | 'travel_agencies_tour_operators' - | 'truck_stop_iteration' - | 'truck_utility_trailer_rentals' - | 'typesetting_plate_making_and_related_services' - | 'typewriter_stores' - | 'u_s_federal_government_agencies_or_departments' - | 'uniforms_commercial_clothing' - | 'used_merchandise_and_secondhand_stores' - | 'utilities' - | 'variety_stores' - | 'veterinary_services' - | 'video_amusement_game_supplies' - | 'video_game_arcades' - | 'video_tape_rental_stores' - | 'vocational_trade_schools' - | 'watch_jewelry_repair' - | 'welding_repair' - | 'wholesale_clubs' - | 'wig_and_toupee_stores' - | 'wires_money_orders' - | 'womens_accessory_and_specialty_shops' - | 'womens_ready_to_wear_stores' - | 'wrecking_and_salvage_yards'; - - type Interval = - | 'all_time' - | 'daily' - | 'monthly' - | 'per_authorization' - | 'weekly' - | 'yearly'; - } - } - - type Status = 'active' | 'canceled' | 'inactive'; - - type Type = 'physical' | 'virtual'; - } - - interface CardCreateParams { - /** - * The currency for the card. This currently must be `usd`. - */ - currency: string; - - /** - * The type of card to issue. Possible values are `physical` or `virtual`. - */ - type: CardCreateParams.Type; - - /** - * The [Cardholder](https://stripe.com/docs/api#issuing_cardholder_object) object with which the card will be associated. - */ - cardholder?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * The card this is meant to be a replacement for (if any). - */ - replacement_for?: string; - - /** - * If `replacement_for` is specified, this should indicate why that card is being replaced. - */ - replacement_reason?: CardCreateParams.ReplacementReason; - - /** - * The address where the card will be shipped. - */ - shipping?: CardCreateParams.Shipping; - - /** - * Rules that control spending for this card. Refer to our [documentation](https://stripe.com/docs/issuing/controls/spending-controls) for more details. - */ - spending_controls?: CardCreateParams.SpendingControls; - - /** - * Whether authorizations can be approved on this card. Defaults to `inactive`. - */ - status?: CardCreateParams.Status; - } - - namespace CardCreateParams { - type ReplacementReason = 'damaged' | 'expired' | 'lost' | 'stolen'; - - interface Shipping { - /** - * The address that the card is shipped to. - */ - address: Shipping.Address; - - /** - * The name printed on the shipping label when shipping the card. - */ - name: string; - - /** - * Shipment service. - */ - service?: Shipping.Service; - - /** - * Packaging options. - */ - type?: Shipping.Type; - } - - namespace Shipping { - interface Address { - /** - * City, district, suburb, town, or village. - */ - city: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code: string; - - /** - * State, county, province, or region. - */ - state?: string; - } - - type Service = 'express' | 'priority' | 'standard'; - - type Type = 'bulk' | 'individual'; - } - - interface SpendingControls { - /** - * Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`. - */ - allowed_categories?: Array; - - /** - * Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`. - */ - blocked_categories?: Array; - - /** - * Limit spending with amount-based rules. - */ - spending_limits?: Array; - } - - namespace SpendingControls { - type AllowedCategory = - | 'ac_refrigeration_repair' - | 'accounting_bookkeeping_services' - | 'advertising_services' - | 'agricultural_cooperative' - | 'airlines_air_carriers' - | 'airports_flying_fields' - | 'ambulance_services' - | 'amusement_parks_carnivals' - | 'antique_reproductions' - | 'antique_shops' - | 'aquariums' - | 'architectural_surveying_services' - | 'art_dealers_and_galleries' - | 'artists_supply_and_craft_shops' - | 'auto_and_home_supply_stores' - | 'auto_body_repair_shops' - | 'auto_paint_shops' - | 'auto_service_shops' - | 'automated_cash_disburse' - | 'automated_fuel_dispensers' - | 'automobile_associations' - | 'automotive_parts_and_accessories_stores' - | 'automotive_tire_stores' - | 'bail_and_bond_payments' - | 'bakeries' - | 'bands_orchestras' - | 'barber_and_beauty_shops' - | 'betting_casino_gambling' - | 'bicycle_shops' - | 'billiard_pool_establishments' - | 'boat_dealers' - | 'boat_rentals_and_leases' - | 'book_stores' - | 'books_periodicals_and_newspapers' - | 'bowling_alleys' - | 'bus_lines' - | 'business_secretarial_schools' - | 'buying_shopping_services' - | 'cable_satellite_and_other_pay_television_and_radio' - | 'camera_and_photographic_supply_stores' - | 'candy_nut_and_confectionery_stores' - | 'car_and_truck_dealers_new_used' - | 'car_and_truck_dealers_used_only' - | 'car_rental_agencies' - | 'car_washes' - | 'carpentry_services' - | 'carpet_upholstery_cleaning' - | 'caterers' - | 'charitable_and_social_service_organizations_fundraising' - | 'chemicals_and_allied_products' - | 'child_care_services' - | 'childrens_and_infants_wear_stores' - | 'chiropodists_podiatrists' - | 'chiropractors' - | 'cigar_stores_and_stands' - | 'civic_social_fraternal_associations' - | 'cleaning_and_maintenance' - | 'clothing_rental' - | 'colleges_universities' - | 'commercial_equipment' - | 'commercial_footwear' - | 'commercial_photography_art_and_graphics' - | 'commuter_transport_and_ferries' - | 'computer_network_services' - | 'computer_programming' - | 'computer_repair' - | 'computer_software_stores' - | 'computers_peripherals_and_software' - | 'concrete_work_services' - | 'construction_materials' - | 'consulting_public_relations' - | 'correspondence_schools' - | 'cosmetic_stores' - | 'counseling_services' - | 'country_clubs' - | 'courier_services' - | 'court_costs' - | 'credit_reporting_agencies' - | 'cruise_lines' - | 'dairy_products_stores' - | 'dance_hall_studios_schools' - | 'dating_escort_services' - | 'dentists_orthodontists' - | 'department_stores' - | 'detective_agencies' - | 'digital_goods_applications' - | 'digital_goods_games' - | 'digital_goods_large_volume' - | 'digital_goods_media' - | 'direct_marketing_catalog_merchant' - | 'direct_marketing_combination_catalog_and_retail_merchant' - | 'direct_marketing_inbound_telemarketing' - | 'direct_marketing_insurance_services' - | 'direct_marketing_other' - | 'direct_marketing_outbound_telemarketing' - | 'direct_marketing_subscription' - | 'direct_marketing_travel' - | 'discount_stores' - | 'doctors' - | 'door_to_door_sales' - | 'drapery_window_covering_and_upholstery_stores' - | 'drinking_places' - | 'drug_stores_and_pharmacies' - | 'drugs_drug_proprietaries_and_druggist_sundries' - | 'dry_cleaners' - | 'durable_goods' - | 'duty_free_stores' - | 'eating_places_restaurants' - | 'educational_services' - | 'electric_razor_stores' - | 'electrical_parts_and_equipment' - | 'electrical_services' - | 'electronics_repair_shops' - | 'electronics_stores' - | 'elementary_secondary_schools' - | 'employment_temp_agencies' - | 'equipment_rental' - | 'exterminating_services' - | 'family_clothing_stores' - | 'fast_food_restaurants' - | 'financial_institutions' - | 'fines_government_administrative_entities' - | 'fireplace_fireplace_screens_and_accessories_stores' - | 'floor_covering_stores' - | 'florists' - | 'florists_supplies_nursery_stock_and_flowers' - | 'freezer_and_locker_meat_provisioners' - | 'fuel_dealers_non_automotive' - | 'funeral_services_crematories' - | 'furniture_home_furnishings_and_equipment_stores_except_appliances' - | 'furniture_repair_refinishing' - | 'furriers_and_fur_shops' - | 'general_services' - | 'gift_card_novelty_and_souvenir_shops' - | 'glass_paint_and_wallpaper_stores' - | 'glassware_crystal_stores' - | 'golf_courses_public' - | 'government_services' - | 'grocery_stores_supermarkets' - | 'hardware_equipment_and_supplies' - | 'hardware_stores' - | 'health_and_beauty_spas' - | 'hearing_aids_sales_and_supplies' - | 'heating_plumbing_a_c' - | 'hobby_toy_and_game_shops' - | 'home_supply_warehouse_stores' - | 'hospitals' - | 'hotels_motels_and_resorts' - | 'household_appliance_stores' - | 'industrial_supplies' - | 'information_retrieval_services' - | 'insurance_default' - | 'insurance_underwriting_premiums' - | 'intra_company_purchases' - | 'jewelry_stores_watches_clocks_and_silverware_stores' - | 'landscaping_services' - | 'laundries' - | 'laundry_cleaning_services' - | 'legal_services_attorneys' - | 'luggage_and_leather_goods_stores' - | 'lumber_building_materials_stores' - | 'manual_cash_disburse' - | 'marinas_service_and_supplies' - | 'masonry_stonework_and_plaster' - | 'massage_parlors' - | 'medical_and_dental_labs' - | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies' - | 'medical_services' - | 'membership_organizations' - | 'mens_and_boys_clothing_and_accessories_stores' - | 'mens_womens_clothing_stores' - | 'metal_service_centers' - | 'miscellaneous' - | 'miscellaneous_apparel_and_accessory_shops' - | 'miscellaneous_auto_dealers' - | 'miscellaneous_business_services' - | 'miscellaneous_food_stores' - | 'miscellaneous_general_merchandise' - | 'miscellaneous_general_services' - | 'miscellaneous_home_furnishing_specialty_stores' - | 'miscellaneous_publishing_and_printing' - | 'miscellaneous_recreation_services' - | 'miscellaneous_repair_shops' - | 'miscellaneous_specialty_retail' - | 'mobile_home_dealers' - | 'motion_picture_theaters' - | 'motor_freight_carriers_and_trucking' - | 'motor_homes_dealers' - | 'motor_vehicle_supplies_and_new_parts' - | 'motorcycle_shops_and_dealers' - | 'motorcycle_shops_dealers' - | 'music_stores_musical_instruments_pianos_and_sheet_music' - | 'news_dealers_and_newsstands' - | 'non_fi_money_orders' - | 'non_fi_stored_value_card_purchase_load' - | 'nondurable_goods' - | 'nurseries_lawn_and_garden_supply_stores' - | 'nursing_personal_care' - | 'office_and_commercial_furniture' - | 'opticians_eyeglasses' - | 'optometrists_ophthalmologist' - | 'orthopedic_goods_prosthetic_devices' - | 'osteopaths' - | 'package_stores_beer_wine_and_liquor' - | 'paints_varnishes_and_supplies' - | 'parking_lots_garages' - | 'passenger_railways' - | 'pawn_shops' - | 'pet_shops_pet_food_and_supplies' - | 'petroleum_and_petroleum_products' - | 'photo_developing' - | 'photographic_photocopy_microfilm_equipment_and_supplies' - | 'photographic_studios' - | 'picture_video_production' - | 'piece_goods_notions_and_other_dry_goods' - | 'plumbing_heating_equipment_and_supplies' - | 'political_organizations' - | 'postal_services_government_only' - | 'precious_stones_and_metals_watches_and_jewelry' - | 'professional_services' - | 'public_warehousing_and_storage' - | 'quick_copy_repro_and_blueprint' - | 'railroads' - | 'real_estate_agents_and_managers_rentals' - | 'record_stores' - | 'recreational_vehicle_rentals' - | 'religious_goods_stores' - | 'religious_organizations' - | 'roofing_siding_sheet_metal' - | 'secretarial_support_services' - | 'security_brokers_dealers' - | 'service_stations' - | 'sewing_needlework_fabric_and_piece_goods_stores' - | 'shoe_repair_hat_cleaning' - | 'shoe_stores' - | 'small_appliance_repair' - | 'snowmobile_dealers' - | 'special_trade_services' - | 'specialty_cleaning' - | 'sporting_goods_stores' - | 'sporting_recreation_camps' - | 'sports_and_riding_apparel_stores' - | 'sports_clubs_fields' - | 'stamp_and_coin_stores' - | 'stationary_office_supplies_printing_and_writing_paper' - | 'stationery_stores_office_and_school_supply_stores' - | 'swimming_pools_sales' - | 't_ui_travel_germany' - | 'tailors_alterations' - | 'tax_payments_government_agencies' - | 'tax_preparation_services' - | 'taxicabs_limousines' - | 'telecommunication_equipment_and_telephone_sales' - | 'telecommunication_services' - | 'telegraph_services' - | 'tent_and_awning_shops' - | 'testing_laboratories' - | 'theatrical_ticket_agencies' - | 'timeshares' - | 'tire_retreading_and_repair' - | 'tolls_bridge_fees' - | 'tourist_attractions_and_exhibits' - | 'towing_services' - | 'trailer_parks_campgrounds' - | 'transportation_services' - | 'travel_agencies_tour_operators' - | 'truck_stop_iteration' - | 'truck_utility_trailer_rentals' - | 'typesetting_plate_making_and_related_services' - | 'typewriter_stores' - | 'u_s_federal_government_agencies_or_departments' - | 'uniforms_commercial_clothing' - | 'used_merchandise_and_secondhand_stores' - | 'utilities' - | 'variety_stores' - | 'veterinary_services' - | 'video_amusement_game_supplies' - | 'video_game_arcades' - | 'video_tape_rental_stores' - | 'vocational_trade_schools' - | 'watch_jewelry_repair' - | 'welding_repair' - | 'wholesale_clubs' - | 'wig_and_toupee_stores' - | 'wires_money_orders' - | 'womens_accessory_and_specialty_shops' - | 'womens_ready_to_wear_stores' - | 'wrecking_and_salvage_yards'; - - type BlockedCategory = - | 'ac_refrigeration_repair' - | 'accounting_bookkeeping_services' - | 'advertising_services' - | 'agricultural_cooperative' - | 'airlines_air_carriers' - | 'airports_flying_fields' - | 'ambulance_services' - | 'amusement_parks_carnivals' - | 'antique_reproductions' - | 'antique_shops' - | 'aquariums' - | 'architectural_surveying_services' - | 'art_dealers_and_galleries' - | 'artists_supply_and_craft_shops' - | 'auto_and_home_supply_stores' - | 'auto_body_repair_shops' - | 'auto_paint_shops' - | 'auto_service_shops' - | 'automated_cash_disburse' - | 'automated_fuel_dispensers' - | 'automobile_associations' - | 'automotive_parts_and_accessories_stores' - | 'automotive_tire_stores' - | 'bail_and_bond_payments' - | 'bakeries' - | 'bands_orchestras' - | 'barber_and_beauty_shops' - | 'betting_casino_gambling' - | 'bicycle_shops' - | 'billiard_pool_establishments' - | 'boat_dealers' - | 'boat_rentals_and_leases' - | 'book_stores' - | 'books_periodicals_and_newspapers' - | 'bowling_alleys' - | 'bus_lines' - | 'business_secretarial_schools' - | 'buying_shopping_services' - | 'cable_satellite_and_other_pay_television_and_radio' - | 'camera_and_photographic_supply_stores' - | 'candy_nut_and_confectionery_stores' - | 'car_and_truck_dealers_new_used' - | 'car_and_truck_dealers_used_only' - | 'car_rental_agencies' - | 'car_washes' - | 'carpentry_services' - | 'carpet_upholstery_cleaning' - | 'caterers' - | 'charitable_and_social_service_organizations_fundraising' - | 'chemicals_and_allied_products' - | 'child_care_services' - | 'childrens_and_infants_wear_stores' - | 'chiropodists_podiatrists' - | 'chiropractors' - | 'cigar_stores_and_stands' - | 'civic_social_fraternal_associations' - | 'cleaning_and_maintenance' - | 'clothing_rental' - | 'colleges_universities' - | 'commercial_equipment' - | 'commercial_footwear' - | 'commercial_photography_art_and_graphics' - | 'commuter_transport_and_ferries' - | 'computer_network_services' - | 'computer_programming' - | 'computer_repair' - | 'computer_software_stores' - | 'computers_peripherals_and_software' - | 'concrete_work_services' - | 'construction_materials' - | 'consulting_public_relations' - | 'correspondence_schools' - | 'cosmetic_stores' - | 'counseling_services' - | 'country_clubs' - | 'courier_services' - | 'court_costs' - | 'credit_reporting_agencies' - | 'cruise_lines' - | 'dairy_products_stores' - | 'dance_hall_studios_schools' - | 'dating_escort_services' - | 'dentists_orthodontists' - | 'department_stores' - | 'detective_agencies' - | 'digital_goods_applications' - | 'digital_goods_games' - | 'digital_goods_large_volume' - | 'digital_goods_media' - | 'direct_marketing_catalog_merchant' - | 'direct_marketing_combination_catalog_and_retail_merchant' - | 'direct_marketing_inbound_telemarketing' - | 'direct_marketing_insurance_services' - | 'direct_marketing_other' - | 'direct_marketing_outbound_telemarketing' - | 'direct_marketing_subscription' - | 'direct_marketing_travel' - | 'discount_stores' - | 'doctors' - | 'door_to_door_sales' - | 'drapery_window_covering_and_upholstery_stores' - | 'drinking_places' - | 'drug_stores_and_pharmacies' - | 'drugs_drug_proprietaries_and_druggist_sundries' - | 'dry_cleaners' - | 'durable_goods' - | 'duty_free_stores' - | 'eating_places_restaurants' - | 'educational_services' - | 'electric_razor_stores' - | 'electrical_parts_and_equipment' - | 'electrical_services' - | 'electronics_repair_shops' - | 'electronics_stores' - | 'elementary_secondary_schools' - | 'employment_temp_agencies' - | 'equipment_rental' - | 'exterminating_services' - | 'family_clothing_stores' - | 'fast_food_restaurants' - | 'financial_institutions' - | 'fines_government_administrative_entities' - | 'fireplace_fireplace_screens_and_accessories_stores' - | 'floor_covering_stores' - | 'florists' - | 'florists_supplies_nursery_stock_and_flowers' - | 'freezer_and_locker_meat_provisioners' - | 'fuel_dealers_non_automotive' - | 'funeral_services_crematories' - | 'furniture_home_furnishings_and_equipment_stores_except_appliances' - | 'furniture_repair_refinishing' - | 'furriers_and_fur_shops' - | 'general_services' - | 'gift_card_novelty_and_souvenir_shops' - | 'glass_paint_and_wallpaper_stores' - | 'glassware_crystal_stores' - | 'golf_courses_public' - | 'government_services' - | 'grocery_stores_supermarkets' - | 'hardware_equipment_and_supplies' - | 'hardware_stores' - | 'health_and_beauty_spas' - | 'hearing_aids_sales_and_supplies' - | 'heating_plumbing_a_c' - | 'hobby_toy_and_game_shops' - | 'home_supply_warehouse_stores' - | 'hospitals' - | 'hotels_motels_and_resorts' - | 'household_appliance_stores' - | 'industrial_supplies' - | 'information_retrieval_services' - | 'insurance_default' - | 'insurance_underwriting_premiums' - | 'intra_company_purchases' - | 'jewelry_stores_watches_clocks_and_silverware_stores' - | 'landscaping_services' - | 'laundries' - | 'laundry_cleaning_services' - | 'legal_services_attorneys' - | 'luggage_and_leather_goods_stores' - | 'lumber_building_materials_stores' - | 'manual_cash_disburse' - | 'marinas_service_and_supplies' - | 'masonry_stonework_and_plaster' - | 'massage_parlors' - | 'medical_and_dental_labs' - | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies' - | 'medical_services' - | 'membership_organizations' - | 'mens_and_boys_clothing_and_accessories_stores' - | 'mens_womens_clothing_stores' - | 'metal_service_centers' - | 'miscellaneous' - | 'miscellaneous_apparel_and_accessory_shops' - | 'miscellaneous_auto_dealers' - | 'miscellaneous_business_services' - | 'miscellaneous_food_stores' - | 'miscellaneous_general_merchandise' - | 'miscellaneous_general_services' - | 'miscellaneous_home_furnishing_specialty_stores' - | 'miscellaneous_publishing_and_printing' - | 'miscellaneous_recreation_services' - | 'miscellaneous_repair_shops' - | 'miscellaneous_specialty_retail' - | 'mobile_home_dealers' - | 'motion_picture_theaters' - | 'motor_freight_carriers_and_trucking' - | 'motor_homes_dealers' - | 'motor_vehicle_supplies_and_new_parts' - | 'motorcycle_shops_and_dealers' - | 'motorcycle_shops_dealers' - | 'music_stores_musical_instruments_pianos_and_sheet_music' - | 'news_dealers_and_newsstands' - | 'non_fi_money_orders' - | 'non_fi_stored_value_card_purchase_load' - | 'nondurable_goods' - | 'nurseries_lawn_and_garden_supply_stores' - | 'nursing_personal_care' - | 'office_and_commercial_furniture' - | 'opticians_eyeglasses' - | 'optometrists_ophthalmologist' - | 'orthopedic_goods_prosthetic_devices' - | 'osteopaths' - | 'package_stores_beer_wine_and_liquor' - | 'paints_varnishes_and_supplies' - | 'parking_lots_garages' - | 'passenger_railways' - | 'pawn_shops' - | 'pet_shops_pet_food_and_supplies' - | 'petroleum_and_petroleum_products' - | 'photo_developing' - | 'photographic_photocopy_microfilm_equipment_and_supplies' - | 'photographic_studios' - | 'picture_video_production' - | 'piece_goods_notions_and_other_dry_goods' - | 'plumbing_heating_equipment_and_supplies' - | 'political_organizations' - | 'postal_services_government_only' - | 'precious_stones_and_metals_watches_and_jewelry' - | 'professional_services' - | 'public_warehousing_and_storage' - | 'quick_copy_repro_and_blueprint' - | 'railroads' - | 'real_estate_agents_and_managers_rentals' - | 'record_stores' - | 'recreational_vehicle_rentals' - | 'religious_goods_stores' - | 'religious_organizations' - | 'roofing_siding_sheet_metal' - | 'secretarial_support_services' - | 'security_brokers_dealers' - | 'service_stations' - | 'sewing_needlework_fabric_and_piece_goods_stores' - | 'shoe_repair_hat_cleaning' - | 'shoe_stores' - | 'small_appliance_repair' - | 'snowmobile_dealers' - | 'special_trade_services' - | 'specialty_cleaning' - | 'sporting_goods_stores' - | 'sporting_recreation_camps' - | 'sports_and_riding_apparel_stores' - | 'sports_clubs_fields' - | 'stamp_and_coin_stores' - | 'stationary_office_supplies_printing_and_writing_paper' - | 'stationery_stores_office_and_school_supply_stores' - | 'swimming_pools_sales' - | 't_ui_travel_germany' - | 'tailors_alterations' - | 'tax_payments_government_agencies' - | 'tax_preparation_services' - | 'taxicabs_limousines' - | 'telecommunication_equipment_and_telephone_sales' - | 'telecommunication_services' - | 'telegraph_services' - | 'tent_and_awning_shops' - | 'testing_laboratories' - | 'theatrical_ticket_agencies' - | 'timeshares' - | 'tire_retreading_and_repair' - | 'tolls_bridge_fees' - | 'tourist_attractions_and_exhibits' - | 'towing_services' - | 'trailer_parks_campgrounds' - | 'transportation_services' - | 'travel_agencies_tour_operators' - | 'truck_stop_iteration' - | 'truck_utility_trailer_rentals' - | 'typesetting_plate_making_and_related_services' - | 'typewriter_stores' - | 'u_s_federal_government_agencies_or_departments' - | 'uniforms_commercial_clothing' - | 'used_merchandise_and_secondhand_stores' - | 'utilities' - | 'variety_stores' - | 'veterinary_services' - | 'video_amusement_game_supplies' - | 'video_game_arcades' - | 'video_tape_rental_stores' - | 'vocational_trade_schools' - | 'watch_jewelry_repair' - | 'welding_repair' - | 'wholesale_clubs' - | 'wig_and_toupee_stores' - | 'wires_money_orders' - | 'womens_accessory_and_specialty_shops' - | 'womens_ready_to_wear_stores' - | 'wrecking_and_salvage_yards'; - - interface SpendingLimit { - /** - * Maximum amount allowed to spend per interval. - */ - amount: number; - - /** - * Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories. - */ - categories?: Array; - - /** - * Interval (or event) to which the amount applies. - */ - interval: SpendingLimit.Interval; - } - - namespace SpendingLimit { - type Category = - | 'ac_refrigeration_repair' - | 'accounting_bookkeeping_services' - | 'advertising_services' - | 'agricultural_cooperative' - | 'airlines_air_carriers' - | 'airports_flying_fields' - | 'ambulance_services' - | 'amusement_parks_carnivals' - | 'antique_reproductions' - | 'antique_shops' - | 'aquariums' - | 'architectural_surveying_services' - | 'art_dealers_and_galleries' - | 'artists_supply_and_craft_shops' - | 'auto_and_home_supply_stores' - | 'auto_body_repair_shops' - | 'auto_paint_shops' - | 'auto_service_shops' - | 'automated_cash_disburse' - | 'automated_fuel_dispensers' - | 'automobile_associations' - | 'automotive_parts_and_accessories_stores' - | 'automotive_tire_stores' - | 'bail_and_bond_payments' - | 'bakeries' - | 'bands_orchestras' - | 'barber_and_beauty_shops' - | 'betting_casino_gambling' - | 'bicycle_shops' - | 'billiard_pool_establishments' - | 'boat_dealers' - | 'boat_rentals_and_leases' - | 'book_stores' - | 'books_periodicals_and_newspapers' - | 'bowling_alleys' - | 'bus_lines' - | 'business_secretarial_schools' - | 'buying_shopping_services' - | 'cable_satellite_and_other_pay_television_and_radio' - | 'camera_and_photographic_supply_stores' - | 'candy_nut_and_confectionery_stores' - | 'car_and_truck_dealers_new_used' - | 'car_and_truck_dealers_used_only' - | 'car_rental_agencies' - | 'car_washes' - | 'carpentry_services' - | 'carpet_upholstery_cleaning' - | 'caterers' - | 'charitable_and_social_service_organizations_fundraising' - | 'chemicals_and_allied_products' - | 'child_care_services' - | 'childrens_and_infants_wear_stores' - | 'chiropodists_podiatrists' - | 'chiropractors' - | 'cigar_stores_and_stands' - | 'civic_social_fraternal_associations' - | 'cleaning_and_maintenance' - | 'clothing_rental' - | 'colleges_universities' - | 'commercial_equipment' - | 'commercial_footwear' - | 'commercial_photography_art_and_graphics' - | 'commuter_transport_and_ferries' - | 'computer_network_services' - | 'computer_programming' - | 'computer_repair' - | 'computer_software_stores' - | 'computers_peripherals_and_software' - | 'concrete_work_services' - | 'construction_materials' - | 'consulting_public_relations' - | 'correspondence_schools' - | 'cosmetic_stores' - | 'counseling_services' - | 'country_clubs' - | 'courier_services' - | 'court_costs' - | 'credit_reporting_agencies' - | 'cruise_lines' - | 'dairy_products_stores' - | 'dance_hall_studios_schools' - | 'dating_escort_services' - | 'dentists_orthodontists' - | 'department_stores' - | 'detective_agencies' - | 'digital_goods_applications' - | 'digital_goods_games' - | 'digital_goods_large_volume' - | 'digital_goods_media' - | 'direct_marketing_catalog_merchant' - | 'direct_marketing_combination_catalog_and_retail_merchant' - | 'direct_marketing_inbound_telemarketing' - | 'direct_marketing_insurance_services' - | 'direct_marketing_other' - | 'direct_marketing_outbound_telemarketing' - | 'direct_marketing_subscription' - | 'direct_marketing_travel' - | 'discount_stores' - | 'doctors' - | 'door_to_door_sales' - | 'drapery_window_covering_and_upholstery_stores' - | 'drinking_places' - | 'drug_stores_and_pharmacies' - | 'drugs_drug_proprietaries_and_druggist_sundries' - | 'dry_cleaners' - | 'durable_goods' - | 'duty_free_stores' - | 'eating_places_restaurants' - | 'educational_services' - | 'electric_razor_stores' - | 'electrical_parts_and_equipment' - | 'electrical_services' - | 'electronics_repair_shops' - | 'electronics_stores' - | 'elementary_secondary_schools' - | 'employment_temp_agencies' - | 'equipment_rental' - | 'exterminating_services' - | 'family_clothing_stores' - | 'fast_food_restaurants' - | 'financial_institutions' - | 'fines_government_administrative_entities' - | 'fireplace_fireplace_screens_and_accessories_stores' - | 'floor_covering_stores' - | 'florists' - | 'florists_supplies_nursery_stock_and_flowers' - | 'freezer_and_locker_meat_provisioners' - | 'fuel_dealers_non_automotive' - | 'funeral_services_crematories' - | 'furniture_home_furnishings_and_equipment_stores_except_appliances' - | 'furniture_repair_refinishing' - | 'furriers_and_fur_shops' - | 'general_services' - | 'gift_card_novelty_and_souvenir_shops' - | 'glass_paint_and_wallpaper_stores' - | 'glassware_crystal_stores' - | 'golf_courses_public' - | 'government_services' - | 'grocery_stores_supermarkets' - | 'hardware_equipment_and_supplies' - | 'hardware_stores' - | 'health_and_beauty_spas' - | 'hearing_aids_sales_and_supplies' - | 'heating_plumbing_a_c' - | 'hobby_toy_and_game_shops' - | 'home_supply_warehouse_stores' - | 'hospitals' - | 'hotels_motels_and_resorts' - | 'household_appliance_stores' - | 'industrial_supplies' - | 'information_retrieval_services' - | 'insurance_default' - | 'insurance_underwriting_premiums' - | 'intra_company_purchases' - | 'jewelry_stores_watches_clocks_and_silverware_stores' - | 'landscaping_services' - | 'laundries' - | 'laundry_cleaning_services' - | 'legal_services_attorneys' - | 'luggage_and_leather_goods_stores' - | 'lumber_building_materials_stores' - | 'manual_cash_disburse' - | 'marinas_service_and_supplies' - | 'masonry_stonework_and_plaster' - | 'massage_parlors' - | 'medical_and_dental_labs' - | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies' - | 'medical_services' - | 'membership_organizations' - | 'mens_and_boys_clothing_and_accessories_stores' - | 'mens_womens_clothing_stores' - | 'metal_service_centers' - | 'miscellaneous' - | 'miscellaneous_apparel_and_accessory_shops' - | 'miscellaneous_auto_dealers' - | 'miscellaneous_business_services' - | 'miscellaneous_food_stores' - | 'miscellaneous_general_merchandise' - | 'miscellaneous_general_services' - | 'miscellaneous_home_furnishing_specialty_stores' - | 'miscellaneous_publishing_and_printing' - | 'miscellaneous_recreation_services' - | 'miscellaneous_repair_shops' - | 'miscellaneous_specialty_retail' - | 'mobile_home_dealers' - | 'motion_picture_theaters' - | 'motor_freight_carriers_and_trucking' - | 'motor_homes_dealers' - | 'motor_vehicle_supplies_and_new_parts' - | 'motorcycle_shops_and_dealers' - | 'motorcycle_shops_dealers' - | 'music_stores_musical_instruments_pianos_and_sheet_music' - | 'news_dealers_and_newsstands' - | 'non_fi_money_orders' - | 'non_fi_stored_value_card_purchase_load' - | 'nondurable_goods' - | 'nurseries_lawn_and_garden_supply_stores' - | 'nursing_personal_care' - | 'office_and_commercial_furniture' - | 'opticians_eyeglasses' - | 'optometrists_ophthalmologist' - | 'orthopedic_goods_prosthetic_devices' - | 'osteopaths' - | 'package_stores_beer_wine_and_liquor' - | 'paints_varnishes_and_supplies' - | 'parking_lots_garages' - | 'passenger_railways' - | 'pawn_shops' - | 'pet_shops_pet_food_and_supplies' - | 'petroleum_and_petroleum_products' - | 'photo_developing' - | 'photographic_photocopy_microfilm_equipment_and_supplies' - | 'photographic_studios' - | 'picture_video_production' - | 'piece_goods_notions_and_other_dry_goods' - | 'plumbing_heating_equipment_and_supplies' - | 'political_organizations' - | 'postal_services_government_only' - | 'precious_stones_and_metals_watches_and_jewelry' - | 'professional_services' - | 'public_warehousing_and_storage' - | 'quick_copy_repro_and_blueprint' - | 'railroads' - | 'real_estate_agents_and_managers_rentals' - | 'record_stores' - | 'recreational_vehicle_rentals' - | 'religious_goods_stores' - | 'religious_organizations' - | 'roofing_siding_sheet_metal' - | 'secretarial_support_services' - | 'security_brokers_dealers' - | 'service_stations' - | 'sewing_needlework_fabric_and_piece_goods_stores' - | 'shoe_repair_hat_cleaning' - | 'shoe_stores' - | 'small_appliance_repair' - | 'snowmobile_dealers' - | 'special_trade_services' - | 'specialty_cleaning' - | 'sporting_goods_stores' - | 'sporting_recreation_camps' - | 'sports_and_riding_apparel_stores' - | 'sports_clubs_fields' - | 'stamp_and_coin_stores' - | 'stationary_office_supplies_printing_and_writing_paper' - | 'stationery_stores_office_and_school_supply_stores' - | 'swimming_pools_sales' - | 't_ui_travel_germany' - | 'tailors_alterations' - | 'tax_payments_government_agencies' - | 'tax_preparation_services' - | 'taxicabs_limousines' - | 'telecommunication_equipment_and_telephone_sales' - | 'telecommunication_services' - | 'telegraph_services' - | 'tent_and_awning_shops' - | 'testing_laboratories' - | 'theatrical_ticket_agencies' - | 'timeshares' - | 'tire_retreading_and_repair' - | 'tolls_bridge_fees' - | 'tourist_attractions_and_exhibits' - | 'towing_services' - | 'trailer_parks_campgrounds' - | 'transportation_services' - | 'travel_agencies_tour_operators' - | 'truck_stop_iteration' - | 'truck_utility_trailer_rentals' - | 'typesetting_plate_making_and_related_services' - | 'typewriter_stores' - | 'u_s_federal_government_agencies_or_departments' - | 'uniforms_commercial_clothing' - | 'used_merchandise_and_secondhand_stores' - | 'utilities' - | 'variety_stores' - | 'veterinary_services' - | 'video_amusement_game_supplies' - | 'video_game_arcades' - | 'video_tape_rental_stores' - | 'vocational_trade_schools' - | 'watch_jewelry_repair' - | 'welding_repair' - | 'wholesale_clubs' - | 'wig_and_toupee_stores' - | 'wires_money_orders' - | 'womens_accessory_and_specialty_shops' - | 'womens_ready_to_wear_stores' - | 'wrecking_and_salvage_yards'; - - type Interval = - | 'all_time' - | 'daily' - | 'monthly' - | 'per_authorization' - | 'weekly' - | 'yearly'; - } - } - - type Status = 'active' | 'inactive'; - - type Type = 'physical' | 'virtual'; - } - - interface CardRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface CardUpdateParams { - /** - * Reason why the `status` of this card is `canceled`. - */ - cancellation_reason?: CardUpdateParams.CancellationReason; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * Rules that control spending for this card. Refer to our [documentation](https://stripe.com/docs/issuing/controls/spending-controls) for more details. - */ - spending_controls?: CardUpdateParams.SpendingControls; - - /** - * Dictates whether authorizations can be approved on this card. If this card is being canceled because it was lost or stolen, this information should be provided as `cancellation_reason`. - */ - status?: CardUpdateParams.Status; - } - - namespace CardUpdateParams { - type CancellationReason = 'lost' | 'stolen'; - - interface SpendingControls { - /** - * Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`. - */ - allowed_categories?: Array; - - /** - * Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`. - */ - blocked_categories?: Array; - - /** - * Limit spending with amount-based rules. - */ - spending_limits?: Array; - } - - namespace SpendingControls { - type AllowedCategory = - | 'ac_refrigeration_repair' - | 'accounting_bookkeeping_services' - | 'advertising_services' - | 'agricultural_cooperative' - | 'airlines_air_carriers' - | 'airports_flying_fields' - | 'ambulance_services' - | 'amusement_parks_carnivals' - | 'antique_reproductions' - | 'antique_shops' - | 'aquariums' - | 'architectural_surveying_services' - | 'art_dealers_and_galleries' - | 'artists_supply_and_craft_shops' - | 'auto_and_home_supply_stores' - | 'auto_body_repair_shops' - | 'auto_paint_shops' - | 'auto_service_shops' - | 'automated_cash_disburse' - | 'automated_fuel_dispensers' - | 'automobile_associations' - | 'automotive_parts_and_accessories_stores' - | 'automotive_tire_stores' - | 'bail_and_bond_payments' - | 'bakeries' - | 'bands_orchestras' - | 'barber_and_beauty_shops' - | 'betting_casino_gambling' - | 'bicycle_shops' - | 'billiard_pool_establishments' - | 'boat_dealers' - | 'boat_rentals_and_leases' - | 'book_stores' - | 'books_periodicals_and_newspapers' - | 'bowling_alleys' - | 'bus_lines' - | 'business_secretarial_schools' - | 'buying_shopping_services' - | 'cable_satellite_and_other_pay_television_and_radio' - | 'camera_and_photographic_supply_stores' - | 'candy_nut_and_confectionery_stores' - | 'car_and_truck_dealers_new_used' - | 'car_and_truck_dealers_used_only' - | 'car_rental_agencies' - | 'car_washes' - | 'carpentry_services' - | 'carpet_upholstery_cleaning' - | 'caterers' - | 'charitable_and_social_service_organizations_fundraising' - | 'chemicals_and_allied_products' - | 'child_care_services' - | 'childrens_and_infants_wear_stores' - | 'chiropodists_podiatrists' - | 'chiropractors' - | 'cigar_stores_and_stands' - | 'civic_social_fraternal_associations' - | 'cleaning_and_maintenance' - | 'clothing_rental' - | 'colleges_universities' - | 'commercial_equipment' - | 'commercial_footwear' - | 'commercial_photography_art_and_graphics' - | 'commuter_transport_and_ferries' - | 'computer_network_services' - | 'computer_programming' - | 'computer_repair' - | 'computer_software_stores' - | 'computers_peripherals_and_software' - | 'concrete_work_services' - | 'construction_materials' - | 'consulting_public_relations' - | 'correspondence_schools' - | 'cosmetic_stores' - | 'counseling_services' - | 'country_clubs' - | 'courier_services' - | 'court_costs' - | 'credit_reporting_agencies' - | 'cruise_lines' - | 'dairy_products_stores' - | 'dance_hall_studios_schools' - | 'dating_escort_services' - | 'dentists_orthodontists' - | 'department_stores' - | 'detective_agencies' - | 'digital_goods_applications' - | 'digital_goods_games' - | 'digital_goods_large_volume' - | 'digital_goods_media' - | 'direct_marketing_catalog_merchant' - | 'direct_marketing_combination_catalog_and_retail_merchant' - | 'direct_marketing_inbound_telemarketing' - | 'direct_marketing_insurance_services' - | 'direct_marketing_other' - | 'direct_marketing_outbound_telemarketing' - | 'direct_marketing_subscription' - | 'direct_marketing_travel' - | 'discount_stores' - | 'doctors' - | 'door_to_door_sales' - | 'drapery_window_covering_and_upholstery_stores' - | 'drinking_places' - | 'drug_stores_and_pharmacies' - | 'drugs_drug_proprietaries_and_druggist_sundries' - | 'dry_cleaners' - | 'durable_goods' - | 'duty_free_stores' - | 'eating_places_restaurants' - | 'educational_services' - | 'electric_razor_stores' - | 'electrical_parts_and_equipment' - | 'electrical_services' - | 'electronics_repair_shops' - | 'electronics_stores' - | 'elementary_secondary_schools' - | 'employment_temp_agencies' - | 'equipment_rental' - | 'exterminating_services' - | 'family_clothing_stores' - | 'fast_food_restaurants' - | 'financial_institutions' - | 'fines_government_administrative_entities' - | 'fireplace_fireplace_screens_and_accessories_stores' - | 'floor_covering_stores' - | 'florists' - | 'florists_supplies_nursery_stock_and_flowers' - | 'freezer_and_locker_meat_provisioners' - | 'fuel_dealers_non_automotive' - | 'funeral_services_crematories' - | 'furniture_home_furnishings_and_equipment_stores_except_appliances' - | 'furniture_repair_refinishing' - | 'furriers_and_fur_shops' - | 'general_services' - | 'gift_card_novelty_and_souvenir_shops' - | 'glass_paint_and_wallpaper_stores' - | 'glassware_crystal_stores' - | 'golf_courses_public' - | 'government_services' - | 'grocery_stores_supermarkets' - | 'hardware_equipment_and_supplies' - | 'hardware_stores' - | 'health_and_beauty_spas' - | 'hearing_aids_sales_and_supplies' - | 'heating_plumbing_a_c' - | 'hobby_toy_and_game_shops' - | 'home_supply_warehouse_stores' - | 'hospitals' - | 'hotels_motels_and_resorts' - | 'household_appliance_stores' - | 'industrial_supplies' - | 'information_retrieval_services' - | 'insurance_default' - | 'insurance_underwriting_premiums' - | 'intra_company_purchases' - | 'jewelry_stores_watches_clocks_and_silverware_stores' - | 'landscaping_services' - | 'laundries' - | 'laundry_cleaning_services' - | 'legal_services_attorneys' - | 'luggage_and_leather_goods_stores' - | 'lumber_building_materials_stores' - | 'manual_cash_disburse' - | 'marinas_service_and_supplies' - | 'masonry_stonework_and_plaster' - | 'massage_parlors' - | 'medical_and_dental_labs' - | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies' - | 'medical_services' - | 'membership_organizations' - | 'mens_and_boys_clothing_and_accessories_stores' - | 'mens_womens_clothing_stores' - | 'metal_service_centers' - | 'miscellaneous' - | 'miscellaneous_apparel_and_accessory_shops' - | 'miscellaneous_auto_dealers' - | 'miscellaneous_business_services' - | 'miscellaneous_food_stores' - | 'miscellaneous_general_merchandise' - | 'miscellaneous_general_services' - | 'miscellaneous_home_furnishing_specialty_stores' - | 'miscellaneous_publishing_and_printing' - | 'miscellaneous_recreation_services' - | 'miscellaneous_repair_shops' - | 'miscellaneous_specialty_retail' - | 'mobile_home_dealers' - | 'motion_picture_theaters' - | 'motor_freight_carriers_and_trucking' - | 'motor_homes_dealers' - | 'motor_vehicle_supplies_and_new_parts' - | 'motorcycle_shops_and_dealers' - | 'motorcycle_shops_dealers' - | 'music_stores_musical_instruments_pianos_and_sheet_music' - | 'news_dealers_and_newsstands' - | 'non_fi_money_orders' - | 'non_fi_stored_value_card_purchase_load' - | 'nondurable_goods' - | 'nurseries_lawn_and_garden_supply_stores' - | 'nursing_personal_care' - | 'office_and_commercial_furniture' - | 'opticians_eyeglasses' - | 'optometrists_ophthalmologist' - | 'orthopedic_goods_prosthetic_devices' - | 'osteopaths' - | 'package_stores_beer_wine_and_liquor' - | 'paints_varnishes_and_supplies' - | 'parking_lots_garages' - | 'passenger_railways' - | 'pawn_shops' - | 'pet_shops_pet_food_and_supplies' - | 'petroleum_and_petroleum_products' - | 'photo_developing' - | 'photographic_photocopy_microfilm_equipment_and_supplies' - | 'photographic_studios' - | 'picture_video_production' - | 'piece_goods_notions_and_other_dry_goods' - | 'plumbing_heating_equipment_and_supplies' - | 'political_organizations' - | 'postal_services_government_only' - | 'precious_stones_and_metals_watches_and_jewelry' - | 'professional_services' - | 'public_warehousing_and_storage' - | 'quick_copy_repro_and_blueprint' - | 'railroads' - | 'real_estate_agents_and_managers_rentals' - | 'record_stores' - | 'recreational_vehicle_rentals' - | 'religious_goods_stores' - | 'religious_organizations' - | 'roofing_siding_sheet_metal' - | 'secretarial_support_services' - | 'security_brokers_dealers' - | 'service_stations' - | 'sewing_needlework_fabric_and_piece_goods_stores' - | 'shoe_repair_hat_cleaning' - | 'shoe_stores' - | 'small_appliance_repair' - | 'snowmobile_dealers' - | 'special_trade_services' - | 'specialty_cleaning' - | 'sporting_goods_stores' - | 'sporting_recreation_camps' - | 'sports_and_riding_apparel_stores' - | 'sports_clubs_fields' - | 'stamp_and_coin_stores' - | 'stationary_office_supplies_printing_and_writing_paper' - | 'stationery_stores_office_and_school_supply_stores' - | 'swimming_pools_sales' - | 't_ui_travel_germany' - | 'tailors_alterations' - | 'tax_payments_government_agencies' - | 'tax_preparation_services' - | 'taxicabs_limousines' - | 'telecommunication_equipment_and_telephone_sales' - | 'telecommunication_services' - | 'telegraph_services' - | 'tent_and_awning_shops' - | 'testing_laboratories' - | 'theatrical_ticket_agencies' - | 'timeshares' - | 'tire_retreading_and_repair' - | 'tolls_bridge_fees' - | 'tourist_attractions_and_exhibits' - | 'towing_services' - | 'trailer_parks_campgrounds' - | 'transportation_services' - | 'travel_agencies_tour_operators' - | 'truck_stop_iteration' - | 'truck_utility_trailer_rentals' - | 'typesetting_plate_making_and_related_services' - | 'typewriter_stores' - | 'u_s_federal_government_agencies_or_departments' - | 'uniforms_commercial_clothing' - | 'used_merchandise_and_secondhand_stores' - | 'utilities' - | 'variety_stores' - | 'veterinary_services' - | 'video_amusement_game_supplies' - | 'video_game_arcades' - | 'video_tape_rental_stores' - | 'vocational_trade_schools' - | 'watch_jewelry_repair' - | 'welding_repair' - | 'wholesale_clubs' - | 'wig_and_toupee_stores' - | 'wires_money_orders' - | 'womens_accessory_and_specialty_shops' - | 'womens_ready_to_wear_stores' - | 'wrecking_and_salvage_yards'; - - type BlockedCategory = - | 'ac_refrigeration_repair' - | 'accounting_bookkeeping_services' - | 'advertising_services' - | 'agricultural_cooperative' - | 'airlines_air_carriers' - | 'airports_flying_fields' - | 'ambulance_services' - | 'amusement_parks_carnivals' - | 'antique_reproductions' - | 'antique_shops' - | 'aquariums' - | 'architectural_surveying_services' - | 'art_dealers_and_galleries' - | 'artists_supply_and_craft_shops' - | 'auto_and_home_supply_stores' - | 'auto_body_repair_shops' - | 'auto_paint_shops' - | 'auto_service_shops' - | 'automated_cash_disburse' - | 'automated_fuel_dispensers' - | 'automobile_associations' - | 'automotive_parts_and_accessories_stores' - | 'automotive_tire_stores' - | 'bail_and_bond_payments' - | 'bakeries' - | 'bands_orchestras' - | 'barber_and_beauty_shops' - | 'betting_casino_gambling' - | 'bicycle_shops' - | 'billiard_pool_establishments' - | 'boat_dealers' - | 'boat_rentals_and_leases' - | 'book_stores' - | 'books_periodicals_and_newspapers' - | 'bowling_alleys' - | 'bus_lines' - | 'business_secretarial_schools' - | 'buying_shopping_services' - | 'cable_satellite_and_other_pay_television_and_radio' - | 'camera_and_photographic_supply_stores' - | 'candy_nut_and_confectionery_stores' - | 'car_and_truck_dealers_new_used' - | 'car_and_truck_dealers_used_only' - | 'car_rental_agencies' - | 'car_washes' - | 'carpentry_services' - | 'carpet_upholstery_cleaning' - | 'caterers' - | 'charitable_and_social_service_organizations_fundraising' - | 'chemicals_and_allied_products' - | 'child_care_services' - | 'childrens_and_infants_wear_stores' - | 'chiropodists_podiatrists' - | 'chiropractors' - | 'cigar_stores_and_stands' - | 'civic_social_fraternal_associations' - | 'cleaning_and_maintenance' - | 'clothing_rental' - | 'colleges_universities' - | 'commercial_equipment' - | 'commercial_footwear' - | 'commercial_photography_art_and_graphics' - | 'commuter_transport_and_ferries' - | 'computer_network_services' - | 'computer_programming' - | 'computer_repair' - | 'computer_software_stores' - | 'computers_peripherals_and_software' - | 'concrete_work_services' - | 'construction_materials' - | 'consulting_public_relations' - | 'correspondence_schools' - | 'cosmetic_stores' - | 'counseling_services' - | 'country_clubs' - | 'courier_services' - | 'court_costs' - | 'credit_reporting_agencies' - | 'cruise_lines' - | 'dairy_products_stores' - | 'dance_hall_studios_schools' - | 'dating_escort_services' - | 'dentists_orthodontists' - | 'department_stores' - | 'detective_agencies' - | 'digital_goods_applications' - | 'digital_goods_games' - | 'digital_goods_large_volume' - | 'digital_goods_media' - | 'direct_marketing_catalog_merchant' - | 'direct_marketing_combination_catalog_and_retail_merchant' - | 'direct_marketing_inbound_telemarketing' - | 'direct_marketing_insurance_services' - | 'direct_marketing_other' - | 'direct_marketing_outbound_telemarketing' - | 'direct_marketing_subscription' - | 'direct_marketing_travel' - | 'discount_stores' - | 'doctors' - | 'door_to_door_sales' - | 'drapery_window_covering_and_upholstery_stores' - | 'drinking_places' - | 'drug_stores_and_pharmacies' - | 'drugs_drug_proprietaries_and_druggist_sundries' - | 'dry_cleaners' - | 'durable_goods' - | 'duty_free_stores' - | 'eating_places_restaurants' - | 'educational_services' - | 'electric_razor_stores' - | 'electrical_parts_and_equipment' - | 'electrical_services' - | 'electronics_repair_shops' - | 'electronics_stores' - | 'elementary_secondary_schools' - | 'employment_temp_agencies' - | 'equipment_rental' - | 'exterminating_services' - | 'family_clothing_stores' - | 'fast_food_restaurants' - | 'financial_institutions' - | 'fines_government_administrative_entities' - | 'fireplace_fireplace_screens_and_accessories_stores' - | 'floor_covering_stores' - | 'florists' - | 'florists_supplies_nursery_stock_and_flowers' - | 'freezer_and_locker_meat_provisioners' - | 'fuel_dealers_non_automotive' - | 'funeral_services_crematories' - | 'furniture_home_furnishings_and_equipment_stores_except_appliances' - | 'furniture_repair_refinishing' - | 'furriers_and_fur_shops' - | 'general_services' - | 'gift_card_novelty_and_souvenir_shops' - | 'glass_paint_and_wallpaper_stores' - | 'glassware_crystal_stores' - | 'golf_courses_public' - | 'government_services' - | 'grocery_stores_supermarkets' - | 'hardware_equipment_and_supplies' - | 'hardware_stores' - | 'health_and_beauty_spas' - | 'hearing_aids_sales_and_supplies' - | 'heating_plumbing_a_c' - | 'hobby_toy_and_game_shops' - | 'home_supply_warehouse_stores' - | 'hospitals' - | 'hotels_motels_and_resorts' - | 'household_appliance_stores' - | 'industrial_supplies' - | 'information_retrieval_services' - | 'insurance_default' - | 'insurance_underwriting_premiums' - | 'intra_company_purchases' - | 'jewelry_stores_watches_clocks_and_silverware_stores' - | 'landscaping_services' - | 'laundries' - | 'laundry_cleaning_services' - | 'legal_services_attorneys' - | 'luggage_and_leather_goods_stores' - | 'lumber_building_materials_stores' - | 'manual_cash_disburse' - | 'marinas_service_and_supplies' - | 'masonry_stonework_and_plaster' - | 'massage_parlors' - | 'medical_and_dental_labs' - | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies' - | 'medical_services' - | 'membership_organizations' - | 'mens_and_boys_clothing_and_accessories_stores' - | 'mens_womens_clothing_stores' - | 'metal_service_centers' - | 'miscellaneous' - | 'miscellaneous_apparel_and_accessory_shops' - | 'miscellaneous_auto_dealers' - | 'miscellaneous_business_services' - | 'miscellaneous_food_stores' - | 'miscellaneous_general_merchandise' - | 'miscellaneous_general_services' - | 'miscellaneous_home_furnishing_specialty_stores' - | 'miscellaneous_publishing_and_printing' - | 'miscellaneous_recreation_services' - | 'miscellaneous_repair_shops' - | 'miscellaneous_specialty_retail' - | 'mobile_home_dealers' - | 'motion_picture_theaters' - | 'motor_freight_carriers_and_trucking' - | 'motor_homes_dealers' - | 'motor_vehicle_supplies_and_new_parts' - | 'motorcycle_shops_and_dealers' - | 'motorcycle_shops_dealers' - | 'music_stores_musical_instruments_pianos_and_sheet_music' - | 'news_dealers_and_newsstands' - | 'non_fi_money_orders' - | 'non_fi_stored_value_card_purchase_load' - | 'nondurable_goods' - | 'nurseries_lawn_and_garden_supply_stores' - | 'nursing_personal_care' - | 'office_and_commercial_furniture' - | 'opticians_eyeglasses' - | 'optometrists_ophthalmologist' - | 'orthopedic_goods_prosthetic_devices' - | 'osteopaths' - | 'package_stores_beer_wine_and_liquor' - | 'paints_varnishes_and_supplies' - | 'parking_lots_garages' - | 'passenger_railways' - | 'pawn_shops' - | 'pet_shops_pet_food_and_supplies' - | 'petroleum_and_petroleum_products' - | 'photo_developing' - | 'photographic_photocopy_microfilm_equipment_and_supplies' - | 'photographic_studios' - | 'picture_video_production' - | 'piece_goods_notions_and_other_dry_goods' - | 'plumbing_heating_equipment_and_supplies' - | 'political_organizations' - | 'postal_services_government_only' - | 'precious_stones_and_metals_watches_and_jewelry' - | 'professional_services' - | 'public_warehousing_and_storage' - | 'quick_copy_repro_and_blueprint' - | 'railroads' - | 'real_estate_agents_and_managers_rentals' - | 'record_stores' - | 'recreational_vehicle_rentals' - | 'religious_goods_stores' - | 'religious_organizations' - | 'roofing_siding_sheet_metal' - | 'secretarial_support_services' - | 'security_brokers_dealers' - | 'service_stations' - | 'sewing_needlework_fabric_and_piece_goods_stores' - | 'shoe_repair_hat_cleaning' - | 'shoe_stores' - | 'small_appliance_repair' - | 'snowmobile_dealers' - | 'special_trade_services' - | 'specialty_cleaning' - | 'sporting_goods_stores' - | 'sporting_recreation_camps' - | 'sports_and_riding_apparel_stores' - | 'sports_clubs_fields' - | 'stamp_and_coin_stores' - | 'stationary_office_supplies_printing_and_writing_paper' - | 'stationery_stores_office_and_school_supply_stores' - | 'swimming_pools_sales' - | 't_ui_travel_germany' - | 'tailors_alterations' - | 'tax_payments_government_agencies' - | 'tax_preparation_services' - | 'taxicabs_limousines' - | 'telecommunication_equipment_and_telephone_sales' - | 'telecommunication_services' - | 'telegraph_services' - | 'tent_and_awning_shops' - | 'testing_laboratories' - | 'theatrical_ticket_agencies' - | 'timeshares' - | 'tire_retreading_and_repair' - | 'tolls_bridge_fees' - | 'tourist_attractions_and_exhibits' - | 'towing_services' - | 'trailer_parks_campgrounds' - | 'transportation_services' - | 'travel_agencies_tour_operators' - | 'truck_stop_iteration' - | 'truck_utility_trailer_rentals' - | 'typesetting_plate_making_and_related_services' - | 'typewriter_stores' - | 'u_s_federal_government_agencies_or_departments' - | 'uniforms_commercial_clothing' - | 'used_merchandise_and_secondhand_stores' - | 'utilities' - | 'variety_stores' - | 'veterinary_services' - | 'video_amusement_game_supplies' - | 'video_game_arcades' - | 'video_tape_rental_stores' - | 'vocational_trade_schools' - | 'watch_jewelry_repair' - | 'welding_repair' - | 'wholesale_clubs' - | 'wig_and_toupee_stores' - | 'wires_money_orders' - | 'womens_accessory_and_specialty_shops' - | 'womens_ready_to_wear_stores' - | 'wrecking_and_salvage_yards'; - - interface SpendingLimit { - /** - * Maximum amount allowed to spend per interval. - */ - amount: number; - - /** - * Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories. - */ - categories?: Array; - - /** - * Interval (or event) to which the amount applies. - */ - interval: SpendingLimit.Interval; - } - - namespace SpendingLimit { - type Category = - | 'ac_refrigeration_repair' - | 'accounting_bookkeeping_services' - | 'advertising_services' - | 'agricultural_cooperative' - | 'airlines_air_carriers' - | 'airports_flying_fields' - | 'ambulance_services' - | 'amusement_parks_carnivals' - | 'antique_reproductions' - | 'antique_shops' - | 'aquariums' - | 'architectural_surveying_services' - | 'art_dealers_and_galleries' - | 'artists_supply_and_craft_shops' - | 'auto_and_home_supply_stores' - | 'auto_body_repair_shops' - | 'auto_paint_shops' - | 'auto_service_shops' - | 'automated_cash_disburse' - | 'automated_fuel_dispensers' - | 'automobile_associations' - | 'automotive_parts_and_accessories_stores' - | 'automotive_tire_stores' - | 'bail_and_bond_payments' - | 'bakeries' - | 'bands_orchestras' - | 'barber_and_beauty_shops' - | 'betting_casino_gambling' - | 'bicycle_shops' - | 'billiard_pool_establishments' - | 'boat_dealers' - | 'boat_rentals_and_leases' - | 'book_stores' - | 'books_periodicals_and_newspapers' - | 'bowling_alleys' - | 'bus_lines' - | 'business_secretarial_schools' - | 'buying_shopping_services' - | 'cable_satellite_and_other_pay_television_and_radio' - | 'camera_and_photographic_supply_stores' - | 'candy_nut_and_confectionery_stores' - | 'car_and_truck_dealers_new_used' - | 'car_and_truck_dealers_used_only' - | 'car_rental_agencies' - | 'car_washes' - | 'carpentry_services' - | 'carpet_upholstery_cleaning' - | 'caterers' - | 'charitable_and_social_service_organizations_fundraising' - | 'chemicals_and_allied_products' - | 'child_care_services' - | 'childrens_and_infants_wear_stores' - | 'chiropodists_podiatrists' - | 'chiropractors' - | 'cigar_stores_and_stands' - | 'civic_social_fraternal_associations' - | 'cleaning_and_maintenance' - | 'clothing_rental' - | 'colleges_universities' - | 'commercial_equipment' - | 'commercial_footwear' - | 'commercial_photography_art_and_graphics' - | 'commuter_transport_and_ferries' - | 'computer_network_services' - | 'computer_programming' - | 'computer_repair' - | 'computer_software_stores' - | 'computers_peripherals_and_software' - | 'concrete_work_services' - | 'construction_materials' - | 'consulting_public_relations' - | 'correspondence_schools' - | 'cosmetic_stores' - | 'counseling_services' - | 'country_clubs' - | 'courier_services' - | 'court_costs' - | 'credit_reporting_agencies' - | 'cruise_lines' - | 'dairy_products_stores' - | 'dance_hall_studios_schools' - | 'dating_escort_services' - | 'dentists_orthodontists' - | 'department_stores' - | 'detective_agencies' - | 'digital_goods_applications' - | 'digital_goods_games' - | 'digital_goods_large_volume' - | 'digital_goods_media' - | 'direct_marketing_catalog_merchant' - | 'direct_marketing_combination_catalog_and_retail_merchant' - | 'direct_marketing_inbound_telemarketing' - | 'direct_marketing_insurance_services' - | 'direct_marketing_other' - | 'direct_marketing_outbound_telemarketing' - | 'direct_marketing_subscription' - | 'direct_marketing_travel' - | 'discount_stores' - | 'doctors' - | 'door_to_door_sales' - | 'drapery_window_covering_and_upholstery_stores' - | 'drinking_places' - | 'drug_stores_and_pharmacies' - | 'drugs_drug_proprietaries_and_druggist_sundries' - | 'dry_cleaners' - | 'durable_goods' - | 'duty_free_stores' - | 'eating_places_restaurants' - | 'educational_services' - | 'electric_razor_stores' - | 'electrical_parts_and_equipment' - | 'electrical_services' - | 'electronics_repair_shops' - | 'electronics_stores' - | 'elementary_secondary_schools' - | 'employment_temp_agencies' - | 'equipment_rental' - | 'exterminating_services' - | 'family_clothing_stores' - | 'fast_food_restaurants' - | 'financial_institutions' - | 'fines_government_administrative_entities' - | 'fireplace_fireplace_screens_and_accessories_stores' - | 'floor_covering_stores' - | 'florists' - | 'florists_supplies_nursery_stock_and_flowers' - | 'freezer_and_locker_meat_provisioners' - | 'fuel_dealers_non_automotive' - | 'funeral_services_crematories' - | 'furniture_home_furnishings_and_equipment_stores_except_appliances' - | 'furniture_repair_refinishing' - | 'furriers_and_fur_shops' - | 'general_services' - | 'gift_card_novelty_and_souvenir_shops' - | 'glass_paint_and_wallpaper_stores' - | 'glassware_crystal_stores' - | 'golf_courses_public' - | 'government_services' - | 'grocery_stores_supermarkets' - | 'hardware_equipment_and_supplies' - | 'hardware_stores' - | 'health_and_beauty_spas' - | 'hearing_aids_sales_and_supplies' - | 'heating_plumbing_a_c' - | 'hobby_toy_and_game_shops' - | 'home_supply_warehouse_stores' - | 'hospitals' - | 'hotels_motels_and_resorts' - | 'household_appliance_stores' - | 'industrial_supplies' - | 'information_retrieval_services' - | 'insurance_default' - | 'insurance_underwriting_premiums' - | 'intra_company_purchases' - | 'jewelry_stores_watches_clocks_and_silverware_stores' - | 'landscaping_services' - | 'laundries' - | 'laundry_cleaning_services' - | 'legal_services_attorneys' - | 'luggage_and_leather_goods_stores' - | 'lumber_building_materials_stores' - | 'manual_cash_disburse' - | 'marinas_service_and_supplies' - | 'masonry_stonework_and_plaster' - | 'massage_parlors' - | 'medical_and_dental_labs' - | 'medical_dental_ophthalmic_and_hospital_equipment_and_supplies' - | 'medical_services' - | 'membership_organizations' - | 'mens_and_boys_clothing_and_accessories_stores' - | 'mens_womens_clothing_stores' - | 'metal_service_centers' - | 'miscellaneous' - | 'miscellaneous_apparel_and_accessory_shops' - | 'miscellaneous_auto_dealers' - | 'miscellaneous_business_services' - | 'miscellaneous_food_stores' - | 'miscellaneous_general_merchandise' - | 'miscellaneous_general_services' - | 'miscellaneous_home_furnishing_specialty_stores' - | 'miscellaneous_publishing_and_printing' - | 'miscellaneous_recreation_services' - | 'miscellaneous_repair_shops' - | 'miscellaneous_specialty_retail' - | 'mobile_home_dealers' - | 'motion_picture_theaters' - | 'motor_freight_carriers_and_trucking' - | 'motor_homes_dealers' - | 'motor_vehicle_supplies_and_new_parts' - | 'motorcycle_shops_and_dealers' - | 'motorcycle_shops_dealers' - | 'music_stores_musical_instruments_pianos_and_sheet_music' - | 'news_dealers_and_newsstands' - | 'non_fi_money_orders' - | 'non_fi_stored_value_card_purchase_load' - | 'nondurable_goods' - | 'nurseries_lawn_and_garden_supply_stores' - | 'nursing_personal_care' - | 'office_and_commercial_furniture' - | 'opticians_eyeglasses' - | 'optometrists_ophthalmologist' - | 'orthopedic_goods_prosthetic_devices' - | 'osteopaths' - | 'package_stores_beer_wine_and_liquor' - | 'paints_varnishes_and_supplies' - | 'parking_lots_garages' - | 'passenger_railways' - | 'pawn_shops' - | 'pet_shops_pet_food_and_supplies' - | 'petroleum_and_petroleum_products' - | 'photo_developing' - | 'photographic_photocopy_microfilm_equipment_and_supplies' - | 'photographic_studios' - | 'picture_video_production' - | 'piece_goods_notions_and_other_dry_goods' - | 'plumbing_heating_equipment_and_supplies' - | 'political_organizations' - | 'postal_services_government_only' - | 'precious_stones_and_metals_watches_and_jewelry' - | 'professional_services' - | 'public_warehousing_and_storage' - | 'quick_copy_repro_and_blueprint' - | 'railroads' - | 'real_estate_agents_and_managers_rentals' - | 'record_stores' - | 'recreational_vehicle_rentals' - | 'religious_goods_stores' - | 'religious_organizations' - | 'roofing_siding_sheet_metal' - | 'secretarial_support_services' - | 'security_brokers_dealers' - | 'service_stations' - | 'sewing_needlework_fabric_and_piece_goods_stores' - | 'shoe_repair_hat_cleaning' - | 'shoe_stores' - | 'small_appliance_repair' - | 'snowmobile_dealers' - | 'special_trade_services' - | 'specialty_cleaning' - | 'sporting_goods_stores' - | 'sporting_recreation_camps' - | 'sports_and_riding_apparel_stores' - | 'sports_clubs_fields' - | 'stamp_and_coin_stores' - | 'stationary_office_supplies_printing_and_writing_paper' - | 'stationery_stores_office_and_school_supply_stores' - | 'swimming_pools_sales' - | 't_ui_travel_germany' - | 'tailors_alterations' - | 'tax_payments_government_agencies' - | 'tax_preparation_services' - | 'taxicabs_limousines' - | 'telecommunication_equipment_and_telephone_sales' - | 'telecommunication_services' - | 'telegraph_services' - | 'tent_and_awning_shops' - | 'testing_laboratories' - | 'theatrical_ticket_agencies' - | 'timeshares' - | 'tire_retreading_and_repair' - | 'tolls_bridge_fees' - | 'tourist_attractions_and_exhibits' - | 'towing_services' - | 'trailer_parks_campgrounds' - | 'transportation_services' - | 'travel_agencies_tour_operators' - | 'truck_stop_iteration' - | 'truck_utility_trailer_rentals' - | 'typesetting_plate_making_and_related_services' - | 'typewriter_stores' - | 'u_s_federal_government_agencies_or_departments' - | 'uniforms_commercial_clothing' - | 'used_merchandise_and_secondhand_stores' - | 'utilities' - | 'variety_stores' - | 'veterinary_services' - | 'video_amusement_game_supplies' - | 'video_game_arcades' - | 'video_tape_rental_stores' - | 'vocational_trade_schools' - | 'watch_jewelry_repair' - | 'welding_repair' - | 'wholesale_clubs' - | 'wig_and_toupee_stores' - | 'wires_money_orders' - | 'womens_accessory_and_specialty_shops' - | 'womens_ready_to_wear_stores' - | 'wrecking_and_salvage_yards'; - - type Interval = - | 'all_time' - | 'daily' - | 'monthly' - | 'per_authorization' - | 'weekly' - | 'yearly'; - } - } - - type Status = 'active' | 'canceled' | 'inactive'; - } - - interface CardListParams extends PaginationParams { - /** - * Only return cards belonging to the Cardholder with the provided ID. - */ - cardholder?: string; - - /** - * Only return cards that were issued during the given date interval. - */ - created?: Stripe.RangeQueryParam | number; - - /** - * Only return cards that have the given expiration month. - */ - exp_month?: number; - - /** - * Only return cards that have the given expiration year. - */ - exp_year?: number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Only return cards that have the given last four digits. - */ - last4?: string; - - /** - * Only return cards that have the given status. One of `active`, `inactive`, or `canceled`. - */ - status?: CardListParams.Status; - - /** - * Only return cards that have the given type. One of `virtual` or `physical`. - */ - type?: CardListParams.Type; - } - - namespace CardListParams { - type Status = 'active' | 'canceled' | 'inactive'; - - type Type = 'physical' | 'virtual'; - } - - interface CardRetrieveDetailsParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - class CardsResource { - /** - * Creates an Issuing Card object. - */ - create( - params: CardCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves an Issuing Card object. - */ - retrieve( - id: string, - params?: CardRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates the specified Issuing Card object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. - */ - update( - id: string, - params?: CardUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of Issuing Card objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. - */ - list( - params?: CardListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - - /** - * For virtual cards only. Retrieves an Issuing card_details object that contains [the sensitive details](https://stripe.com/docs/issuing/cards/virtual#virtual-card-info) of a virtual card. - */ - retrieveDetails( - id: string, - params?: CardRetrieveDetailsParams, - options?: RequestOptions - ): Promise>; - retrieveDetails( - id: string, - options?: RequestOptions - ): Promise>; - } - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Issuing/Disputes.d.ts b/node_modules/stripe/types/2020-08-27/Issuing/Disputes.d.ts deleted file mode 100644 index 7a23cd02..00000000 --- a/node_modules/stripe/types/2020-08-27/Issuing/Disputes.d.ts +++ /dev/null @@ -1,1025 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - namespace Issuing { - /** - * The Dispute object. - */ - interface Dispute { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'issuing.dispute'; - - /** - * Disputed amount. Usually the amount of the `disputed_transaction`, but can differ (usually because of currency fluctuation). - */ - amount?: number; - - /** - * List of balance transactions associated with the dispute. - */ - balance_transactions: Array | null; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created?: number; - - /** - * The currency the `disputed_transaction` was made in. - */ - currency?: string; - - evidence?: Dispute.Evidence; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata?: Stripe.Metadata; - - /** - * Current status of the dispute. - */ - status?: Dispute.Status; - - /** - * The transaction being disputed. - */ - transaction: string | Stripe.Issuing.Transaction; - } - - namespace Dispute { - interface Evidence { - canceled?: Evidence.Canceled; - - duplicate?: Evidence.Duplicate; - - fraudulent?: Evidence.Fraudulent; - - merchandise_not_as_described?: Evidence.MerchandiseNotAsDescribed; - - not_received?: Evidence.NotReceived; - - other?: Evidence.Other; - - /** - * The reason for filing the dispute. Its value will match the field containing the evidence. - */ - reason: Evidence.Reason; - - service_not_as_described?: Evidence.ServiceNotAsDescribed; - } - - namespace Evidence { - interface Canceled { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation: string | Stripe.File | null; - - /** - * Date when order was canceled. - */ - canceled_at: number | null; - - /** - * Whether the cardholder was provided with a cancellation policy. - */ - cancellation_policy_provided: boolean | null; - - /** - * Reason for canceling the order. - */ - cancellation_reason: string | null; - - /** - * Date when the cardholder expected to receive the product. - */ - expected_at: number | null; - - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation: string | null; - - /** - * Description of the merchandise or service that was purchased. - */ - product_description: string | null; - - /** - * Whether the product was a merchandise or service. - */ - product_type: Canceled.ProductType | null; - - /** - * Result of cardholder's attempt to return the product. - */ - return_status: Canceled.ReturnStatus | null; - - /** - * Date when the product was returned or attempted to be returned. - */ - returned_at: number | null; - } - - namespace Canceled { - type ProductType = 'merchandise' | 'service'; - - type ReturnStatus = 'merchant_rejected' | 'successful'; - } - - interface Duplicate { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation: string | Stripe.File | null; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Copy of the card statement showing that the product had already been paid for. - */ - card_statement: string | Stripe.File | null; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Copy of the receipt showing that the product had been paid for in cash. - */ - cash_receipt: string | Stripe.File | null; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Image of the front and back of the check that was used to pay for the product. - */ - check_image: string | Stripe.File | null; - - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation: string | null; - - /** - * Transaction (e.g., ipi_...) that the disputed transaction is a duplicate of. Of the two or more transactions that are copies of each other, this is original undisputed one. - */ - original_transaction: string | null; - } - - interface Fraudulent { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation: string | Stripe.File | null; - - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation: string | null; - } - - interface MerchandiseNotAsDescribed { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation: string | Stripe.File | null; - - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation: string | null; - - /** - * Date when the product was received. - */ - received_at: number | null; - - /** - * Description of the cardholder's attempt to return the product. - */ - return_description: string | null; - - /** - * Result of cardholder's attempt to return the product. - */ - return_status: MerchandiseNotAsDescribed.ReturnStatus | null; - - /** - * Date when the product was returned or attempted to be returned. - */ - returned_at: number | null; - } - - namespace MerchandiseNotAsDescribed { - type ReturnStatus = 'merchant_rejected' | 'successful'; - } - - interface NotReceived { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation: string | Stripe.File | null; - - /** - * Date when the cardholder expected to receive the product. - */ - expected_at: number | null; - - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation: string | null; - - /** - * Description of the merchandise or service that was purchased. - */ - product_description: string | null; - - /** - * Whether the product was a merchandise or service. - */ - product_type: NotReceived.ProductType | null; - } - - namespace NotReceived { - type ProductType = 'merchandise' | 'service'; - } - - interface Other { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation: string | Stripe.File | null; - - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation: string | null; - - /** - * Description of the merchandise or service that was purchased. - */ - product_description: string | null; - - /** - * Whether the product was a merchandise or service. - */ - product_type: Other.ProductType | null; - } - - namespace Other { - type ProductType = 'merchandise' | 'service'; - } - - type Reason = - | 'canceled' - | 'duplicate' - | 'fraudulent' - | 'merchandise_not_as_described' - | 'not_received' - | 'other' - | 'service_not_as_described'; - - interface ServiceNotAsDescribed { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation: string | Stripe.File | null; - - /** - * Date when order was canceled. - */ - canceled_at: number | null; - - /** - * Reason for canceling the order. - */ - cancellation_reason: string | null; - - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation: string | null; - - /** - * Date when the product was received. - */ - received_at: number | null; - } - } - - type Status = 'expired' | 'lost' | 'submitted' | 'unsubmitted' | 'won'; - } - - interface DisputeCreateParams { - /** - * The ID of the issuing transaction to create a dispute for. - */ - transaction: string; - - /** - * Evidence provided for the dispute. - */ - evidence?: DisputeCreateParams.Evidence; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - } - - namespace DisputeCreateParams { - interface Evidence { - /** - * Evidence provided when `reason` is 'canceled'. - */ - canceled?: Stripe.Emptyable; - - /** - * Evidence provided when `reason` is 'duplicate'. - */ - duplicate?: Stripe.Emptyable; - - /** - * Evidence provided when `reason` is 'fraudulent'. - */ - fraudulent?: Stripe.Emptyable; - - /** - * Evidence provided when `reason` is 'merchandise_not_as_described'. - */ - merchandise_not_as_described?: Stripe.Emptyable< - Evidence.MerchandiseNotAsDescribed - >; - - /** - * Evidence provided when `reason` is 'not_received'. - */ - not_received?: Stripe.Emptyable; - - /** - * Evidence provided when `reason` is 'other'. - */ - other?: Stripe.Emptyable; - - /** - * The reason for filing the dispute. The evidence should be submitted in the field of the same name. - */ - reason?: Evidence.Reason; - - /** - * Evidence provided when `reason` is 'service_not_as_described'. - */ - service_not_as_described?: Stripe.Emptyable< - Evidence.ServiceNotAsDescribed - >; - } - - namespace Evidence { - interface Canceled { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation?: Stripe.Emptyable; - - /** - * Date when order was canceled. - */ - canceled_at?: Stripe.Emptyable; - - /** - * Whether the cardholder was provided with a cancellation policy. - */ - cancellation_policy_provided?: Stripe.Emptyable; - - /** - * Reason for canceling the order. - */ - cancellation_reason?: string; - - /** - * Date when the cardholder expected to receive the product. - */ - expected_at?: Stripe.Emptyable; - - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation?: string; - - /** - * Description of the merchandise or service that was purchased. - */ - product_description?: string; - - /** - * Whether the product was a merchandise or service. - */ - product_type?: Stripe.Emptyable; - - /** - * Result of cardholder's attempt to return the product. - */ - return_status?: Stripe.Emptyable; - - /** - * Date when the product was returned or attempted to be returned. - */ - returned_at?: Stripe.Emptyable; - } - - namespace Canceled { - type ProductType = 'merchandise' | 'service'; - - type ReturnStatus = 'merchant_rejected' | 'successful'; - } - - interface Duplicate { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation?: Stripe.Emptyable; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Copy of the card statement showing that the product had already been paid for. - */ - card_statement?: Stripe.Emptyable; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Copy of the receipt showing that the product had been paid for in cash. - */ - cash_receipt?: Stripe.Emptyable; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Image of the front and back of the check that was used to pay for the product. - */ - check_image?: Stripe.Emptyable; - - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation?: string; - - /** - * Transaction (e.g., ipi_...) that the disputed transaction is a duplicate of. Of the two or more transactions that are copies of each other, this is original undisputed one. - */ - original_transaction?: string; - } - - interface Fraudulent { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation?: Stripe.Emptyable; - - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation?: string; - } - - interface MerchandiseNotAsDescribed { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation?: Stripe.Emptyable; - - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation?: string; - - /** - * Date when the product was received. - */ - received_at?: Stripe.Emptyable; - - /** - * Description of the cardholder's attempt to return the product. - */ - return_description?: string; - - /** - * Result of cardholder's attempt to return the product. - */ - return_status?: Stripe.Emptyable< - MerchandiseNotAsDescribed.ReturnStatus - >; - - /** - * Date when the product was returned or attempted to be returned. - */ - returned_at?: Stripe.Emptyable; - } - - namespace MerchandiseNotAsDescribed { - type ReturnStatus = 'merchant_rejected' | 'successful'; - } - - interface NotReceived { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation?: Stripe.Emptyable; - - /** - * Date when the cardholder expected to receive the product. - */ - expected_at?: Stripe.Emptyable; - - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation?: string; - - /** - * Description of the merchandise or service that was purchased. - */ - product_description?: string; - - /** - * Whether the product was a merchandise or service. - */ - product_type?: Stripe.Emptyable; - } - - namespace NotReceived { - type ProductType = 'merchandise' | 'service'; - } - - interface Other { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation?: Stripe.Emptyable; - - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation?: string; - - /** - * Description of the merchandise or service that was purchased. - */ - product_description?: string; - - /** - * Whether the product was a merchandise or service. - */ - product_type?: Stripe.Emptyable; - } - - namespace Other { - type ProductType = 'merchandise' | 'service'; - } - - type Reason = - | 'canceled' - | 'duplicate' - | 'fraudulent' - | 'merchandise_not_as_described' - | 'not_received' - | 'other' - | 'service_not_as_described'; - - interface ServiceNotAsDescribed { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation?: Stripe.Emptyable; - - /** - * Date when order was canceled. - */ - canceled_at?: Stripe.Emptyable; - - /** - * Reason for canceling the order. - */ - cancellation_reason?: string; - - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation?: string; - - /** - * Date when the product was received. - */ - received_at?: Stripe.Emptyable; - } - } - } - - interface DisputeRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface DisputeUpdateParams { - /** - * Evidence provided for the dispute. - */ - evidence?: DisputeUpdateParams.Evidence; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - } - - namespace DisputeUpdateParams { - interface Evidence { - /** - * Evidence provided when `reason` is 'canceled'. - */ - canceled?: Stripe.Emptyable; - - /** - * Evidence provided when `reason` is 'duplicate'. - */ - duplicate?: Stripe.Emptyable; - - /** - * Evidence provided when `reason` is 'fraudulent'. - */ - fraudulent?: Stripe.Emptyable; - - /** - * Evidence provided when `reason` is 'merchandise_not_as_described'. - */ - merchandise_not_as_described?: Stripe.Emptyable< - Evidence.MerchandiseNotAsDescribed - >; - - /** - * Evidence provided when `reason` is 'not_received'. - */ - not_received?: Stripe.Emptyable; - - /** - * Evidence provided when `reason` is 'other'. - */ - other?: Stripe.Emptyable; - - /** - * The reason for filing the dispute. The evidence should be submitted in the field of the same name. - */ - reason?: Evidence.Reason; - - /** - * Evidence provided when `reason` is 'service_not_as_described'. - */ - service_not_as_described?: Stripe.Emptyable< - Evidence.ServiceNotAsDescribed - >; - } - - namespace Evidence { - interface Canceled { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation?: Stripe.Emptyable; - - /** - * Date when order was canceled. - */ - canceled_at?: Stripe.Emptyable; - - /** - * Whether the cardholder was provided with a cancellation policy. - */ - cancellation_policy_provided?: Stripe.Emptyable; - - /** - * Reason for canceling the order. - */ - cancellation_reason?: string; - - /** - * Date when the cardholder expected to receive the product. - */ - expected_at?: Stripe.Emptyable; - - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation?: string; - - /** - * Description of the merchandise or service that was purchased. - */ - product_description?: string; - - /** - * Whether the product was a merchandise or service. - */ - product_type?: Stripe.Emptyable; - - /** - * Result of cardholder's attempt to return the product. - */ - return_status?: Stripe.Emptyable; - - /** - * Date when the product was returned or attempted to be returned. - */ - returned_at?: Stripe.Emptyable; - } - - namespace Canceled { - type ProductType = 'merchandise' | 'service'; - - type ReturnStatus = 'merchant_rejected' | 'successful'; - } - - interface Duplicate { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation?: Stripe.Emptyable; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Copy of the card statement showing that the product had already been paid for. - */ - card_statement?: Stripe.Emptyable; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Copy of the receipt showing that the product had been paid for in cash. - */ - cash_receipt?: Stripe.Emptyable; - - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Image of the front and back of the check that was used to pay for the product. - */ - check_image?: Stripe.Emptyable; - - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation?: string; - - /** - * Transaction (e.g., ipi_...) that the disputed transaction is a duplicate of. Of the two or more transactions that are copies of each other, this is original undisputed one. - */ - original_transaction?: string; - } - - interface Fraudulent { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation?: Stripe.Emptyable; - - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation?: string; - } - - interface MerchandiseNotAsDescribed { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation?: Stripe.Emptyable; - - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation?: string; - - /** - * Date when the product was received. - */ - received_at?: Stripe.Emptyable; - - /** - * Description of the cardholder's attempt to return the product. - */ - return_description?: string; - - /** - * Result of cardholder's attempt to return the product. - */ - return_status?: Stripe.Emptyable< - MerchandiseNotAsDescribed.ReturnStatus - >; - - /** - * Date when the product was returned or attempted to be returned. - */ - returned_at?: Stripe.Emptyable; - } - - namespace MerchandiseNotAsDescribed { - type ReturnStatus = 'merchant_rejected' | 'successful'; - } - - interface NotReceived { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation?: Stripe.Emptyable; - - /** - * Date when the cardholder expected to receive the product. - */ - expected_at?: Stripe.Emptyable; - - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation?: string; - - /** - * Description of the merchandise or service that was purchased. - */ - product_description?: string; - - /** - * Whether the product was a merchandise or service. - */ - product_type?: Stripe.Emptyable; - } - - namespace NotReceived { - type ProductType = 'merchandise' | 'service'; - } - - interface Other { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation?: Stripe.Emptyable; - - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation?: string; - - /** - * Description of the merchandise or service that was purchased. - */ - product_description?: string; - - /** - * Whether the product was a merchandise or service. - */ - product_type?: Stripe.Emptyable; - } - - namespace Other { - type ProductType = 'merchandise' | 'service'; - } - - type Reason = - | 'canceled' - | 'duplicate' - | 'fraudulent' - | 'merchandise_not_as_described' - | 'not_received' - | 'other' - | 'service_not_as_described'; - - interface ServiceNotAsDescribed { - /** - * (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) Additional documentation supporting the dispute. - */ - additional_documentation?: Stripe.Emptyable; - - /** - * Date when order was canceled. - */ - canceled_at?: Stripe.Emptyable; - - /** - * Reason for canceling the order. - */ - cancellation_reason?: string; - - /** - * Explanation of why the cardholder is disputing this transaction. - */ - explanation?: string; - - /** - * Date when the product was received. - */ - received_at?: Stripe.Emptyable; - } - } - } - - interface DisputeListParams extends PaginationParams { - /** - * Select Issuing disputes that were created during the given date interval. - */ - created?: Stripe.RangeQueryParam | number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Select Issuing disputes with the given status. - */ - status?: DisputeListParams.Status; - - /** - * Select the Issuing dispute for the given transaction. - */ - transaction?: string; - } - - namespace DisputeListParams { - type Status = 'expired' | 'lost' | 'submitted' | 'unsubmitted' | 'won'; - } - - interface DisputeSubmitParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - } - - class DisputesResource { - /** - * Creates an Issuing Dispute object. Individual pieces of evidence within the evidence object are optional at this point. Stripe only validates that required evidence is present during submission. Refer to [Dispute reasons and evidence](https://stripe.com/docs/issuing/purchases/disputes#dispute-reasons-and-evidence) for more details about evidence requirements. - */ - create( - params: DisputeCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves an Issuing Dispute object. - */ - retrieve( - id: string, - params?: DisputeRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates the specified Issuing Dispute object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Properties on the evidence object can be unset by passing in an empty string. - */ - update( - id: string, - params?: DisputeUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of Issuing Dispute objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. - */ - list( - params?: DisputeListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - - /** - * Submits an Issuing Dispute to the card network. Stripe validates that all evidence fields required for the dispute's reason are present. For more details, see [Dispute reasons and evidence](https://stripe.com/docs/issuing/purchases/disputes#dispute-reasons-and-evidence). - */ - submit( - id: string, - params?: DisputeSubmitParams, - options?: RequestOptions - ): Promise>; - submit( - id: string, - options?: RequestOptions - ): Promise>; - } - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Issuing/Transactions.d.ts b/node_modules/stripe/types/2020-08-27/Issuing/Transactions.d.ts deleted file mode 100644 index 3a0ce1ad..00000000 --- a/node_modules/stripe/types/2020-08-27/Issuing/Transactions.d.ts +++ /dev/null @@ -1,368 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - namespace Issuing { - /** - * The Transaction object. - */ - interface Transaction { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'issuing.transaction'; - - /** - * The transaction amount, which will be reflected in your balance. This amount is in your currency and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). - */ - amount: number; - - /** - * Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). - */ - amount_details: Transaction.AmountDetails | null; - - /** - * The `Authorization` object that led to this transaction. - */ - authorization: string | Stripe.Issuing.Authorization | null; - - /** - * ID of the [balance transaction](https://stripe.com/docs/api/balance_transactions) associated with this transaction. - */ - balance_transaction: string | Stripe.BalanceTransaction | null; - - /** - * The card used to make this transaction. - */ - card: string | Stripe.Issuing.Card; - - /** - * The cardholder to whom this transaction belongs. - */ - cardholder: string | Stripe.Issuing.Cardholder | null; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * If you've disputed the transaction, the ID of the dispute. - */ - dispute?: string | Stripe.Issuing.Dispute | null; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * The amount that the merchant will receive, denominated in `merchant_currency` and in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). It will be different from `amount` if the merchant is taking payment in a different currency. - */ - merchant_amount: number; - - /** - * The currency with which the merchant is taking payment. - */ - merchant_currency: string; - - merchant_data: Transaction.MerchantData; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata; - - /** - * Additional purchase information that is optionally provided by the merchant. - */ - purchase_details: Transaction.PurchaseDetails | null; - - /** - * The nature of the transaction. - */ - type: Transaction.Type; - } - - namespace Transaction { - interface AmountDetails { - /** - * The fee charged by the ATM for the cash withdrawal. - */ - atm_fee: number | null; - } - - interface MerchantData { - /** - * A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/docs/issuing/merchant-categories) for a list of possible values. - */ - category: string; - - /** - * City where the seller is located - */ - city: string | null; - - /** - * Country where the seller is located - */ - country: string | null; - - /** - * Name of the seller - */ - name: string | null; - - /** - * Identifier assigned to the seller by the card brand - */ - network_id: string; - - /** - * Postal code where the seller is located - */ - postal_code: string | null; - - /** - * State where the seller is located - */ - state: string | null; - } - - interface PurchaseDetails { - /** - * Information about the flight that was purchased with this transaction. - */ - flight: PurchaseDetails.Flight | null; - - /** - * Information about fuel that was purchased with this transaction. - */ - fuel: PurchaseDetails.Fuel | null; - - /** - * Information about lodging that was purchased with this transaction. - */ - lodging: PurchaseDetails.Lodging | null; - - /** - * The line items in the purchase. - */ - receipt: Array | null; - - /** - * A merchant-specific order number. - */ - reference: string | null; - } - - namespace PurchaseDetails { - interface Flight { - /** - * The time that the flight departed. - */ - departure_at: number | null; - - /** - * The name of the passenger. - */ - passenger_name: string | null; - - /** - * Whether the ticket is refundable. - */ - refundable: boolean | null; - - /** - * The legs of the trip. - */ - segments: Array | null; - - /** - * The travel agency that issued the ticket. - */ - travel_agency: string | null; - } - - namespace Flight { - interface Segment { - /** - * The three-letter IATA airport code of the flight's destination. - */ - arrival_airport_code: string | null; - - /** - * The airline carrier code. - */ - carrier: string | null; - - /** - * The three-letter IATA airport code that the flight departed from. - */ - departure_airport_code: string | null; - - /** - * The flight number. - */ - flight_number: string | null; - - /** - * The flight's service class. - */ - service_class: string | null; - - /** - * Whether a stopover is allowed on this flight. - */ - stopover_allowed: boolean | null; - } - } - - interface Fuel { - /** - * The type of fuel that was purchased. One of `diesel`, `unleaded_plus`, `unleaded_regular`, `unleaded_super`, or `other`. - */ - type: string; - - /** - * The units for `volume_decimal`. One of `us_gallon` or `liter`. - */ - unit: string; - - /** - * The cost in cents per each unit of fuel, represented as a decimal string with at most 12 decimal places. - */ - unit_cost_decimal: string; - - /** - * The volume of the fuel that was pumped, represented as a decimal string with at most 12 decimal places. - */ - volume_decimal: string | null; - } - - interface Lodging { - /** - * The time of checking into the lodging. - */ - check_in_at: number | null; - - /** - * The number of nights stayed at the lodging. - */ - nights: number | null; - } - - interface Receipt { - /** - * The description of the item. The maximum length of this field is 26 characters. - */ - description: string | null; - - /** - * The quantity of the item. - */ - quantity: number | null; - - /** - * The total for this line item in cents. - */ - total: number | null; - - /** - * The unit cost of the item in cents. - */ - unit_cost: number | null; - } - } - - type Type = 'capture' | 'dispute' | 'refund'; - } - - interface TransactionRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface TransactionUpdateParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - } - - interface TransactionListParams extends PaginationParams { - /** - * Only return transactions that belong to the given card. - */ - card?: string; - - /** - * Only return transactions that belong to the given cardholder. - */ - cardholder?: string; - - /** - * Only return transactions that were created during the given date interval. - */ - created?: Stripe.RangeQueryParam | number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - class TransactionsResource { - /** - * Retrieves an Issuing Transaction object. - */ - retrieve( - id: string, - params?: TransactionRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates the specified Issuing Transaction object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. - */ - update( - id: string, - params?: TransactionUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of Issuing Transaction objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. - */ - list( - params?: TransactionListParams, - options?: RequestOptions - ): ApiListPromise; - list( - options?: RequestOptions - ): ApiListPromise; - } - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/LineItems.d.ts b/node_modules/stripe/types/2020-08-27/LineItems.d.ts deleted file mode 100644 index 6ebf004d..00000000 --- a/node_modules/stripe/types/2020-08-27/LineItems.d.ts +++ /dev/null @@ -1,103 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The LineItem object. - */ - interface LineItem { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'item'; - - /** - * Total before any discounts or taxes is applied. - */ - amount_subtotal: number | null; - - /** - * Total after discounts and taxes. - */ - amount_total: number | null; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. Defaults to product name. - */ - description: string; - - /** - * The discounts applied to the line item. - */ - discounts?: Array; - - /** - * Prices define the unit cost, currency, and (optional) billing cycle for both recurring and one-time purchases of products. - * [Products](https://stripe.com/docs/api#products) help you track inventory or provisioning, and prices help you track payment terms. Different physical goods or levels of service should be represented by products, and pricing options should be represented by prices. This approach lets you change prices without having to change your provisioning scheme. - * - * For example, you might have a single "gold" product that has prices for $10/month, $100/year, and €9 once. - * - * Related guides: [Set up a subscription](https://stripe.com/docs/billing/subscriptions/set-up-subscription), [create an invoice](https://stripe.com/docs/billing/invoices/create), and more about [products and prices](https://stripe.com/docs/billing/prices-guide). - */ - price: Stripe.Price; - - /** - * The quantity of products being purchased. - */ - quantity: number | null; - - /** - * The taxes applied to the line item. - */ - taxes?: Array; - } - - namespace LineItem { - interface Discount { - /** - * The amount discounted. - */ - amount: number; - - /** - * A discount represents the actual application of a coupon to a particular - * customer. It contains information about when the discount began and when it - * will end. - * - * Related guide: [Applying Discounts to Subscriptions](https://stripe.com/docs/billing/subscriptions/discounts). - */ - discount: Stripe.Discount; - } - - interface Tax { - /** - * Amount of tax applied for this rate. - */ - amount: number; - - /** - * Tax rates can be applied to [invoices](https://stripe.com/docs/billing/invoices/tax-rates), [subscriptions](https://stripe.com/docs/billing/subscriptions/taxes) and [Checkout Sessions](https://stripe.com/docs/payments/checkout/set-up-a-subscription#tax-rates) to collect tax. - * - * Related guide: [Tax Rates](https://stripe.com/docs/billing/taxes/tax-rates). - */ - rate: Stripe.TaxRate; - } - } - - interface LineItemListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/LoginLinks.d.ts b/node_modules/stripe/types/2020-08-27/LoginLinks.d.ts deleted file mode 100644 index 2b109331..00000000 --- a/node_modules/stripe/types/2020-08-27/LoginLinks.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The LoginLink object. - */ - interface LoginLink { - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'login_link'; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * The URL for the login link. - */ - url: string; - } - - interface LoginLinkCreateParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Where to redirect the user after they log out of their dashboard. - */ - redirect_url?: string; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Mandates.d.ts b/node_modules/stripe/types/2020-08-27/Mandates.d.ts deleted file mode 100644 index 494c4fa2..00000000 --- a/node_modules/stripe/types/2020-08-27/Mandates.d.ts +++ /dev/null @@ -1,182 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Mandate object. - */ - interface Mandate { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'mandate'; - - customer_acceptance: Mandate.CustomerAcceptance; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - multi_use?: Mandate.MultiUse; - - /** - * ID of the payment method associated with this mandate. - */ - payment_method: string | Stripe.PaymentMethod; - - payment_method_details: Mandate.PaymentMethodDetails; - - single_use?: Mandate.SingleUse; - - /** - * The status of the mandate, which indicates whether it can be used to initiate a payment. - */ - status: Mandate.Status; - - /** - * The type of the mandate. - */ - type: Mandate.Type; - } - - namespace Mandate { - interface CustomerAcceptance { - /** - * The time at which the customer accepted the Mandate. - */ - accepted_at: number | null; - - offline?: CustomerAcceptance.Offline; - - online?: CustomerAcceptance.Online; - - /** - * The type of customer acceptance information included with the Mandate. One of `online` or `offline`. - */ - type: CustomerAcceptance.Type; - } - - namespace CustomerAcceptance { - interface Offline {} - - interface Online { - /** - * The IP address from which the Mandate was accepted by the customer. - */ - ip_address: string | null; - - /** - * The user agent of the browser from which the Mandate was accepted by the customer. - */ - user_agent: string | null; - } - - type Type = 'offline' | 'online'; - } - - interface MultiUse {} - - interface PaymentMethodDetails { - au_becs_debit?: PaymentMethodDetails.AuBecsDebit; - - bacs_debit?: PaymentMethodDetails.BacsDebit; - - card?: PaymentMethodDetails.Card; - - sepa_debit?: PaymentMethodDetails.SepaDebit; - - /** - * The type of the payment method associated with this mandate. An additional hash is included on `payment_method_details` with a name matching this value. It contains mandate information specific to the payment method. - */ - type: string; - } - - namespace PaymentMethodDetails { - interface AuBecsDebit { - /** - * The URL of the mandate. This URL generally contains sensitive information about the customer and should be shared with them exclusively. - */ - url: string; - } - - interface BacsDebit { - /** - * The status of the mandate on the Bacs network. Can be one of `pending`, `revoked`, `refused`, or `accepted`. - */ - network_status: BacsDebit.NetworkStatus; - - /** - * The unique reference identifying the mandate on the Bacs network. - */ - reference: string; - - /** - * The URL that will contain the mandate that the customer has signed. - */ - url: string; - } - - namespace BacsDebit { - type NetworkStatus = 'accepted' | 'pending' | 'refused' | 'revoked'; - } - - interface Card {} - - interface SepaDebit { - /** - * The unique reference of the mandate. - */ - reference: string; - - /** - * The URL of the mandate. This URL generally contains sensitive information about the customer and should be shared with them exclusively. - */ - url: string; - } - } - - interface SingleUse { - /** - * On a single use mandate, the amount of the payment. - */ - amount: number; - - /** - * On a single use mandate, the currency of the payment. - */ - currency: string; - } - - type Status = 'active' | 'inactive' | 'pending'; - - type Type = 'multi_use' | 'single_use'; - } - - interface MandateRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - class MandatesResource { - /** - * Retrieves a Mandate object. - */ - retrieve( - id: string, - params?: MandateRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/OrderItems.d.ts b/node_modules/stripe/types/2020-08-27/OrderItems.d.ts deleted file mode 100644 index f244b820..00000000 --- a/node_modules/stripe/types/2020-08-27/OrderItems.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The OrderItem object. - */ - interface OrderItem { - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'order_item'; - - /** - * A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount for the line item. - */ - amount: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * Description of the line item, meant to be displayable to the user (e.g., `"Express shipping"`). - */ - description: string; - - /** - * The ID of the associated object for this line item. Expandable if not null (e.g., expandable to a SKU). - */ - parent: string | Stripe.Sku | null; - - /** - * A positive integer representing the number of instances of `parent` that are included in this order item. Applicable/present only if `type` is `sku`. - */ - quantity: number | null; - - /** - * The type of line item. One of `sku`, `tax`, `shipping`, or `discount`. - */ - type: string; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/OrderReturns.d.ts b/node_modules/stripe/types/2020-08-27/OrderReturns.d.ts deleted file mode 100644 index d593e074..00000000 --- a/node_modules/stripe/types/2020-08-27/OrderReturns.d.ts +++ /dev/null @@ -1,102 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The OrderReturn object. - */ - interface OrderReturn { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'order_return'; - - /** - * A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount for the returned line item. - */ - amount: number; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * The items included in this order return. - */ - items: Array; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * The order that this return includes items from. - */ - order: string | Stripe.Order | null; - - /** - * The ID of the refund issued for this return. - */ - refund: string | Stripe.Refund | null; - } - - interface OrderReturnRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface OrderReturnListParams extends PaginationParams { - /** - * Date this return was created. - */ - created?: Stripe.RangeQueryParam | number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * The order to retrieve returns for. - */ - order?: string; - } - - class OrderReturnsResource { - /** - * Retrieves the details of an existing order return. Supply the unique order ID from either an order return creation request or the order return list, and Stripe will return the corresponding order information. - */ - retrieve( - id: string, - params?: OrderReturnRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of your order returns. The returns are returned sorted by creation date, with the most recently created return appearing first. - */ - list( - params?: OrderReturnListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Orders.d.ts b/node_modules/stripe/types/2020-08-27/Orders.d.ts deleted file mode 100644 index d296a6e3..00000000 --- a/node_modules/stripe/types/2020-08-27/Orders.d.ts +++ /dev/null @@ -1,568 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Order object. - */ - interface Order { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'order'; - - /** - * A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount for the order. - */ - amount: number; - - /** - * The total amount that was returned to the customer. - */ - amount_returned: number | null; - - /** - * ID of the Connect Application that created the order. - */ - application: string | null; - - /** - * A fee in cents that will be applied to the order and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the Stripe-Account header in order to take an application fee. For more information, see the application fees documentation. - */ - application_fee: number | null; - - /** - * The ID of the payment used to pay for the order. Present if the order status is `paid`, `fulfilled`, or `refunded`. - */ - charge: string | Stripe.Charge | null; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * The customer used for the order. - */ - customer: string | Stripe.Customer | DeletedCustomer | null; - - /** - * The email address of the customer placing the order. - */ - email: string | null; - - /** - * External coupon code to load for this order. - */ - external_coupon_code?: string; - - /** - * List of items constituting the order. An order can have up to 25 items. - */ - items: Array; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata | null; - - /** - * A list of returns that have taken place for this order. - */ - returns: ApiList | null; - - /** - * The shipping method that is currently selected for this order, if any. If present, it is equal to one of the `id`s of shipping methods in the `shipping_methods` array. At order creation time, if there are multiple shipping methods, Stripe will automatically selected the first method. - */ - selected_shipping_method: string | null; - - /** - * The shipping address for the order. Present if the order is for goods to be shipped. - */ - shipping: Order.Shipping | null; - - /** - * A list of supported shipping methods for this order. The desired shipping method can be specified either by updating the order, or when paying it. - */ - shipping_methods: Array | null; - - /** - * Current order status. One of `created`, `paid`, `canceled`, `fulfilled`, or `returned`. More details in the [Orders Guide](https://stripe.com/docs/orders/guide#understanding-order-statuses). - */ - status: string; - - /** - * The timestamps at which the order status was updated. - */ - status_transitions: Order.StatusTransitions | null; - - /** - * Time at which the object was last updated. Measured in seconds since the Unix epoch. - */ - updated: number | null; - - /** - * The user's order ID if it is different from the Stripe order ID. - */ - upstream_id?: string; - } - - namespace Order { - interface Shipping { - address?: Stripe.Address; - - /** - * The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. - */ - carrier?: string | null; - - /** - * Recipient name. - */ - name?: string | null; - - /** - * Recipient phone (including extension). - */ - phone?: string | null; - - /** - * The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. - */ - tracking_number?: string | null; - } - - interface ShippingMethod { - /** - * A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount for the line item. - */ - amount: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * The estimated delivery date for the given shipping method. Can be either a specific date or a range. - */ - delivery_estimate: ShippingMethod.DeliveryEstimate | null; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description: string; - - /** - * Unique identifier for the object. - */ - id: string; - } - - namespace ShippingMethod { - interface DeliveryEstimate { - /** - * If `type` is `"exact"`, `date` will be the expected delivery date in the format YYYY-MM-DD. - */ - date?: string; - - /** - * If `type` is `"range"`, `earliest` will be be the earliest delivery date in the format YYYY-MM-DD. - */ - earliest?: string; - - /** - * If `type` is `"range"`, `latest` will be the latest delivery date in the format YYYY-MM-DD. - */ - latest?: string; - - /** - * The type of estimate. Must be either `"range"` or `"exact"`. - */ - type: string; - } - } - - interface StatusTransitions { - /** - * The time that the order was canceled. - */ - canceled: number | null; - - /** - * The time that the order was fulfilled. - */ - fulfiled: number | null; - - /** - * The time that the order was paid. - */ - paid: number | null; - - /** - * The time that the order was returned. - */ - returned: number | null; - } - } - - interface OrderCreateParams { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * A coupon code that represents a discount to be applied to this order. Must be one-time duration and in same currency as the order. An order can have multiple coupons. - */ - coupon?: string; - - /** - * The ID of an existing customer to use for this order. If provided, the customer email and shipping address will be used to create the order. Subsequently, the customer will also be charged to pay the order. If `email` or `shipping` are also provided, they will override the values retrieved from the customer object. - */ - customer?: string; - - /** - * The email address of the customer placing the order. - */ - email?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * List of items constituting the order. An order can have up to 25 items. - */ - items?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * Shipping address for the order. Required if any of the SKUs are for products that have `shippable` set to true. - */ - shipping?: OrderCreateParams.Shipping; - } - - namespace OrderCreateParams { - interface Item { - amount?: number; - - currency?: string; - - description?: string; - - /** - * The ID of the SKU being ordered. - */ - parent?: string; - - /** - * The quantity of this order item. When type is `sku`, this is the number of instances of the SKU to be ordered. - */ - quantity?: number; - - type?: Item.Type; - } - - namespace Item { - type Type = 'discount' | 'shipping' | 'sku' | 'tax'; - } - - interface Shipping { - /** - * Customer shipping address. - */ - address: Stripe.AddressParam; - - /** - * Customer name. - */ - name: string; - - /** - * Customer phone (including extension). - */ - phone?: string; - } - } - - interface OrderRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface OrderUpdateParams { - /** - * A coupon code that represents a discount to be applied to this order. Must be one-time duration and in same currency as the order. An order can have multiple coupons. - */ - coupon?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * The shipping method to select for fulfilling this order. If specified, must be one of the `id`s of a shipping method in the `shipping_methods` array. If specified, will overwrite the existing selected shipping method, updating `items` as necessary. - */ - selected_shipping_method?: string; - - /** - * Tracking information once the order has been fulfilled. - */ - shipping?: OrderUpdateParams.Shipping; - - /** - * Current order status. One of `created`, `paid`, `canceled`, `fulfilled`, or `returned`. More detail in the [Orders Guide](https://stripe.com/docs/orders/guide#understanding-order-statuses). - */ - status?: OrderUpdateParams.Status; - } - - namespace OrderUpdateParams { - interface Shipping { - /** - * The name of the carrier like `USPS`, `UPS`, or `FedEx`. - */ - carrier: string; - - /** - * The tracking number provided by the carrier. - */ - tracking_number: string; - } - - type Status = 'canceled' | 'created' | 'fulfilled' | 'paid' | 'returned'; - } - - interface OrderListParams extends PaginationParams { - /** - * Date this order was created. - */ - created?: Stripe.RangeQueryParam | number; - - /** - * Only return orders for the given customer. - */ - customer?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Only return orders with the given IDs. - */ - ids?: Array; - - /** - * Only return orders that have the given status. One of `created`, `paid`, `fulfilled`, or `refunded`. - */ - status?: string; - - /** - * Filter orders based on when they were paid, fulfilled, canceled, or returned. - */ - status_transitions?: OrderListParams.StatusTransitions; - - /** - * Only return orders with the given upstream order IDs. - */ - upstream_ids?: Array; - } - - namespace OrderListParams { - interface StatusTransitions { - /** - * Date this order was canceled. - */ - canceled?: Stripe.RangeQueryParam | number; - - /** - * Date this order was fulfilled. - */ - fulfilled?: Stripe.RangeQueryParam | number; - - /** - * Date this order was paid. - */ - paid?: Stripe.RangeQueryParam | number; - - /** - * Date this order was returned. - */ - returned?: Stripe.RangeQueryParam | number; - } - } - - interface OrderPayParams { - /** - * A fee in %s that will be applied to the order and transferred to the application owner's Stripe account. The request must be made with an OAuth key or the `Stripe-Account` header in order to take an application fee. For more information, see the application fees [documentation](https://stripe.com/docs/connect/direct-charges#collecting-fees). - */ - application_fee?: number; - - /** - * The ID of an existing customer that will be charged for this order. If no customer was attached to the order at creation, either `source` or `customer` is required. Otherwise, the specified customer will be charged instead of the one attached to the order. - */ - customer?: string; - - /** - * The email address of the customer placing the order. Required if not previously specified for the order. - */ - email?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * A [Token](https://stripe.com/docs/api#tokens)'s or a [Source](https://stripe.com/docs/api#sources)'s ID, as returned by [Elements](https://stripe.com/docs/elements). If no customer was attached to the order at creation, either `source` or `customer` is required. Otherwise, the specified source will be charged intead of the customer attached to the order. - */ - source?: string; - } - - interface OrderReturnOrderParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * List of items to return. - */ - items?: Stripe.Emptyable>; - } - - namespace OrderReturnOrderParams { - interface Item { - /** - * The amount (price) for this order item to return. - */ - amount?: number; - - /** - * If returning a `tax` item, use description to disambiguate which one to return. - */ - description?: string; - - /** - * The ID of the SKU, tax, or shipping item being returned. - */ - parent?: string; - - /** - * When type is `sku`, this is the number of instances of the SKU to be returned. - */ - quantity?: number; - - /** - * The type of this order item. Must be `sku`, `tax`, or `shipping`. - */ - type?: Item.Type; - } - - namespace Item { - type Type = 'discount' | 'shipping' | 'sku' | 'tax'; - } - } - - class OrdersResource { - /** - * Creates a new order object. - */ - create( - params: OrderCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves the details of an existing order. Supply the unique order ID from either an order creation request or the order list, and Stripe will return the corresponding order information. - */ - retrieve( - id: string, - params?: OrderRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates the specific order by setting the values of the parameters passed. Any parameters not provided will be left unchanged. - */ - update( - id: string, - params?: OrderUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of your orders. The orders are returned sorted by creation date, with the most recently created orders appearing first. - */ - list( - params?: OrderListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - - /** - * Pay an order by providing a source to create a payment. - */ - pay( - id: string, - params?: OrderPayParams, - options?: RequestOptions - ): Promise>; - pay( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Return all or part of an order. The order must have a status of paid or fulfilled before it can be returned. Once all items have been returned, the order will become canceled or returned depending on which status the order started in. - */ - returnOrder( - id: string, - params?: OrderReturnOrderParams, - options?: RequestOptions - ): Promise>; - returnOrder( - id: string, - options?: RequestOptions - ): Promise>; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/PaymentIntents.d.ts b/node_modules/stripe/types/2020-08-27/PaymentIntents.d.ts deleted file mode 100644 index c0bf17bf..00000000 --- a/node_modules/stripe/types/2020-08-27/PaymentIntents.d.ts +++ /dev/null @@ -1,2879 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The PaymentIntent object. - */ - interface PaymentIntent { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'payment_intent'; - - /** - * Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). - */ - amount: number; - - /** - * Amount that can be captured from this PaymentIntent. - */ - amount_capturable: number; - - /** - * Amount that was collected by this PaymentIntent. - */ - amount_received: number; - - /** - * ID of the Connect application that created the PaymentIntent. - */ - application: string | Stripe.Application | null; - - /** - * The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total payment amount. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts). - */ - application_fee_amount: number | null; - - /** - * Populated when `status` is `canceled`, this is the time at which the PaymentIntent was canceled. Measured in seconds since the Unix epoch. - */ - canceled_at: number | null; - - /** - * Reason for cancellation of this PaymentIntent, either user-provided (`duplicate`, `fraudulent`, `requested_by_customer`, or `abandoned`) or generated by Stripe internally (`failed_invoice`, `void_invoice`, or `automatic`). - */ - cancellation_reason: PaymentIntent.CancellationReason | null; - - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method: PaymentIntent.CaptureMethod; - - /** - * Charges that were created by this PaymentIntent, if any. - */ - charges: ApiList; - - /** - * The client secret of this PaymentIntent. Used for client-side retrieval using a publishable key. - * - * The client secret can be used to complete a payment from your frontend. It should not be stored, logged, embedded in URLs, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret. - * - * Refer to our docs to [accept a payment](https://stripe.com/docs/payments/accept-a-payment?integration=elements) and learn about how `client_secret` should be handled. - */ - client_secret: string | null; - - confirmation_method: PaymentIntent.ConfirmationMethod; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * ID of the Customer this PaymentIntent belongs to, if one exists. - * - * Payment methods attached to other Customers cannot be used with this PaymentIntent. - * - * If present in combination with [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage), this PaymentIntent's payment method will be attached to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. - */ - customer: string | Stripe.Customer | DeletedCustomer | null; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description: string | null; - - /** - * ID of the invoice that created this PaymentIntent, if it exists. - */ - invoice: string | Stripe.Invoice | null; - - /** - * The payment error encountered in the previous PaymentIntent confirmation. It will be cleared if the PaymentIntent is later updated for any reason. - */ - last_payment_error: PaymentIntent.LastPaymentError | null; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. For more information, see the [documentation](https://stripe.com/docs/payments/payment-intents/creating-payment-intents#storing-information-in-metadata). - */ - metadata: Stripe.Metadata; - - /** - * If present, this property tells you what actions you need to take in order for your customer to fulfill a payment using the provided source. - */ - next_action: PaymentIntent.NextAction | null; - - /** - * The account (if any) for which the funds of the PaymentIntent are intended. See the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts) for details. - */ - on_behalf_of: string | Stripe.Account | null; - - /** - * ID of the payment method used in this PaymentIntent. - */ - payment_method: string | Stripe.PaymentMethod | null; - - /** - * Payment-method-specific configuration for this PaymentIntent. - */ - payment_method_options: PaymentIntent.PaymentMethodOptions | null; - - /** - * The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. - */ - payment_method_types: Array; - - /** - * Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails). - */ - receipt_email: string | null; - - /** - * ID of the review associated with this PaymentIntent, if any. - */ - review: string | Stripe.Review | null; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * Providing this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes. - * - * When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication). - */ - setup_future_usage: PaymentIntent.SetupFutureUsage | null; - - /** - * Shipping information for this PaymentIntent. - */ - shipping: PaymentIntent.Shipping | null; - - /** - * This is a legacy field that will be removed in the future. It is the ID of the Source object that is associated with this PaymentIntent, if one was supplied. - */ - source: - | string - | Stripe.CustomerSource - | DeletedAlipayAccount - | DeletedBankAccount - | DeletedBitcoinReceiver - | DeletedCard - | null; - - /** - * For non-card charges, you can use this value as the complete description that appears on your customers' statements. Must contain at least one letter, maximum 22 characters. - */ - statement_descriptor: string | null; - - /** - * Provides information about a card payment that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that's set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor. - */ - statement_descriptor_suffix: string | null; - - /** - * Status of this PaymentIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `requires_capture`, `canceled`, or `succeeded`. Read more about each PaymentIntent [status](https://stripe.com/docs/payments/intents#intent-statuses). - */ - status: PaymentIntent.Status; - - /** - * The data with which to automatically create a Transfer when the payment is finalized. See the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts) for details. - */ - transfer_data: PaymentIntent.TransferData | null; - - /** - * A string that identifies the resulting payment as part of a group. See the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts) for details. - */ - transfer_group: string | null; - } - - namespace PaymentIntent { - type CancellationReason = - | 'abandoned' - | 'automatic' - | 'duplicate' - | 'failed_invoice' - | 'fraudulent' - | 'requested_by_customer' - | 'void_invoice'; - - type CaptureMethod = 'automatic' | 'manual'; - - type ConfirmationMethod = 'automatic' | 'manual'; - - interface LastPaymentError { - /** - * For card errors, the ID of the failed charge. - */ - charge?: string; - - /** - * For some errors that could be handled programmatically, a short string indicating the [error code](https://stripe.com/docs/error-codes) reported. - */ - code?: string; - - /** - * For card errors resulting from a card issuer decline, a short string indicating the [card issuer's reason for the decline](https://stripe.com/docs/declines#issuer-declines) if they provide one. - */ - decline_code?: string; - - /** - * A URL to more information about the [error code](https://stripe.com/docs/error-codes) reported. - */ - doc_url?: string; - - /** - * A human-readable message providing more details about the error. For card errors, these messages can be shown to your users. - */ - message?: string; - - /** - * If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field. - */ - param?: string; - - /** - * A PaymentIntent guides you through the process of collecting a payment from your customer. - * We recommend that you create exactly one PaymentIntent for each order or - * customer session in your system. You can reference the PaymentIntent later to - * see the history of payment attempts for a particular session. - * - * A PaymentIntent transitions through - * [multiple statuses](https://stripe.com/docs/payments/intents#intent-statuses) - * throughout its lifetime as it interfaces with Stripe.js to perform - * authentication flows and ultimately creates at most one successful charge. - * - * Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents). - */ - payment_intent?: Stripe.PaymentIntent; - - /** - * PaymentMethod objects represent your customer's payment instruments. - * They can be used with [PaymentIntents](https://stripe.com/docs/payments/payment-intents) to collect payments or saved to - * Customer objects to store instrument details for future payments. - * - * Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios). - */ - payment_method?: Stripe.PaymentMethod; - - /** - * If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors. - */ - payment_method_type?: string; - - /** - * A SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments. - * For example, you could use a SetupIntent to set up and save your customer's card without immediately collecting a payment. - * Later, you can use [PaymentIntents](https://stripe.com/docs/api#payment_intents) to drive the payment flow. - * - * Create a SetupIntent as soon as you're ready to collect your customer's payment credentials. - * Do not maintain long-lived, unconfirmed SetupIntents as they may no longer be valid. - * The SetupIntent then transitions through multiple [statuses](https://stripe.com/docs/payments/intents#intent-statuses) as it guides - * you through the setup process. - * - * Successful SetupIntents result in payment credentials that are optimized for future payments. - * For example, cardholders in [certain regions](https://stripe.com/guides/strong-customer-authentication) may need to be run through - * [Strong Customer Authentication](https://stripe.com/docs/strong-customer-authentication) at the time of payment method collection - * in order to streamline later [off-session payments](https://stripe.com/docs/payments/setup-intents). - * If the SetupIntent is used with a [Customer](https://stripe.com/docs/api#setup_intent_object-customer), upon success, - * it will automatically attach the resulting payment method to that Customer. - * We recommend using SetupIntents or [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) on - * PaymentIntents to save payment methods in order to prevent saving invalid or unoptimized payment methods. - * - * By using SetupIntents, you ensure that your customers experience the minimum set of required friction, - * even as regulations change over time. - * - * Related guide: [Setup Intents API](https://stripe.com/docs/payments/setup-intents). - */ - setup_intent?: Stripe.SetupIntent; - - source?: Stripe.CustomerSource; - - /** - * The type of error returned. One of `api_connection_error`, `api_error`, `authentication_error`, `card_error`, `idempotency_error`, `invalid_request_error`, or `rate_limit_error` - */ - type: LastPaymentError.Type; - } - - namespace LastPaymentError { - type Type = - | 'api_connection_error' - | 'api_error' - | 'authentication_error' - | 'card_error' - | 'idempotency_error' - | 'invalid_request_error' - | 'rate_limit_error'; - } - - interface NextAction { - alipay_handle_redirect?: NextAction.AlipayHandleRedirect; - - oxxo_display_details?: NextAction.OxxoDisplayDetails; - - redirect_to_url?: NextAction.RedirectToUrl; - - /** - * Type of the next action to perform, one of `redirect_to_url` or `use_stripe_sdk`. - */ - type: string; - - /** - * When confirming a PaymentIntent with Stripe.js, Stripe.js depends on the contents of this dictionary to invoke authentication flows. The shape of the contents is subject to change and is only intended to be used by Stripe.js. - */ - use_stripe_sdk?: NextAction.UseStripeSdk; - } - - namespace NextAction { - interface AlipayHandleRedirect { - /** - * The native data to be used with Alipay SDK you must redirect your customer to in order to authenticate the payment in an Android App. - */ - native_data: string | null; - - /** - * The native URL you must redirect your customer to in order to authenticate the payment in an iOS App. - */ - native_url: string | null; - - /** - * If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion. - */ - return_url: string | null; - - /** - * The URL you must redirect your customer to in order to authenticate the payment. - */ - url: string | null; - } - - interface OxxoDisplayDetails { - /** - * The timestamp after which the OXXO voucher expires. - */ - expires_after: number | null; - - /** - * The URL for the hosted OXXO voucher page, which allows customers to view and print an OXXO voucher. - */ - hosted_voucher_url: string | null; - - /** - * OXXO reference number. - */ - number: string | null; - } - - interface RedirectToUrl { - /** - * If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion. - */ - return_url: string | null; - - /** - * The URL you must redirect your customer to in order to authenticate the payment. - */ - url: string | null; - } - - interface UseStripeSdk {} - } - - interface PaymentMethodOptions { - alipay?: PaymentMethodOptions.Alipay; - - bancontact?: PaymentMethodOptions.Bancontact; - - card?: PaymentMethodOptions.Card; - - oxxo?: PaymentMethodOptions.Oxxo; - - p24?: PaymentMethodOptions.P24; - - sepa_debit?: PaymentMethodOptions.SepaDebit; - - sofort?: PaymentMethodOptions.Sofort; - } - - namespace PaymentMethodOptions { - interface Alipay {} - - interface Bancontact { - /** - * Preferred language of the Bancontact authorization page that the customer is redirected to. - */ - preferred_language: Bancontact.PreferredLanguage; - } - - namespace Bancontact { - type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl'; - } - - interface Card { - /** - * Installment details for this payment (Mexico only). - * - * For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments). - */ - installments: Card.Installments | null; - - /** - * Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time. - */ - network: Card.Network | null; - - /** - * We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Permitted values include: `automatic` or `any`. If not provided, defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine. - */ - request_three_d_secure: Card.RequestThreeDSecure | null; - } - - namespace Card { - interface Installments { - /** - * Installment plans that may be selected for this PaymentIntent. - */ - available_plans: Array | null; - - /** - * Whether Installments are enabled for this PaymentIntent. - */ - enabled: boolean; - - /** - * Installment plan selected for this PaymentIntent. - */ - plan: Installments.Plan | null; - } - - namespace Installments { - interface AvailablePlan { - /** - * For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card. - */ - count: number | null; - - /** - * For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card. - * One of `month`. - */ - interval: 'month' | null; - - /** - * Type of installment plan, one of `fixed_count`. - */ - type: 'fixed_count'; - } - - interface Plan { - /** - * For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card. - */ - count: number | null; - - /** - * For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card. - * One of `month`. - */ - interval: 'month' | null; - - /** - * Type of installment plan, one of `fixed_count`. - */ - type: 'fixed_count'; - } - } - - type Network = - | 'amex' - | 'cartes_bancaires' - | 'diners' - | 'discover' - | 'interac' - | 'jcb' - | 'mastercard' - | 'unionpay' - | 'unknown' - | 'visa'; - - type RequestThreeDSecure = 'any' | 'automatic' | 'challenge_only'; - } - - interface Oxxo { - /** - * The number of calendar days before an OXXO invoice expires. For example, if you create an OXXO invoice on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. - */ - expires_after_days: number; - } - - interface P24 {} - - interface SepaDebit { - mandate_options?: SepaDebit.MandateOptions; - } - - namespace SepaDebit { - interface MandateOptions {} - } - - interface Sofort { - /** - * Preferred language of the SOFORT authorization page that the customer is redirected to. - */ - preferred_language: Sofort.PreferredLanguage | null; - } - - namespace Sofort { - type PreferredLanguage = - | 'de' - | 'en' - | 'es' - | 'fr' - | 'it' - | 'nl' - | 'pl'; - } - } - - type SetupFutureUsage = 'off_session' | 'on_session'; - - interface Shipping { - address?: Stripe.Address; - - /** - * The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. - */ - carrier?: string | null; - - /** - * Recipient name. - */ - name?: string | null; - - /** - * Recipient phone (including extension). - */ - phone?: string | null; - - /** - * The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. - */ - tracking_number?: string | null; - } - - type Status = - | 'canceled' - | 'processing' - | 'requires_action' - | 'requires_capture' - | 'requires_confirmation' - | 'requires_payment_method' - | 'succeeded'; - - interface TransferData { - /** - * Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). - */ - amount?: number; - - /** - * The account (if any) the payment will be attributed to for tax - * reporting, and where funds from the payment will be transferred to upon - * payment success. - */ - destination: string | Stripe.Account; - } - } - - interface PaymentIntentCreateParams { - /** - * Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). - */ - amount: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total payment amount. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts). - */ - application_fee_amount?: number; - - /** - * Controls when the funds will be captured from the customer's account. - */ - capture_method?: PaymentIntentCreateParams.CaptureMethod; - - /** - * Set to `true` to attempt to [confirm](https://stripe.com/docs/api/payment_intents/confirm) this PaymentIntent immediately. This parameter defaults to `false`. When creating and confirming a PaymentIntent at the same time, parameters available in the [confirm](https://stripe.com/docs/api/payment_intents/confirm) API may also be provided. - */ - confirm?: boolean; - - confirmation_method?: PaymentIntentCreateParams.ConfirmationMethod; - - /** - * ID of the Customer this PaymentIntent belongs to, if one exists. - * - * Payment methods attached to other Customers cannot be used with this PaymentIntent. - * - * If present in combination with [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage), this PaymentIntent's payment method will be attached to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. - */ - customer?: string; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description?: string; - - /** - * Set to `true` to fail the payment attempt if the PaymentIntent transitions into `requires_action`. This parameter is intended for simpler integrations that do not handle customer actions, like [saving cards without authentication](https://stripe.com/docs/payments/save-card-without-authentication). This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm). - */ - error_on_requires_action?: boolean; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * ID of the mandate to be used for this payment. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm). - */ - mandate?: string; - - /** - * This hash contains details about the Mandate to create. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm). - */ - mandate_data?: PaymentIntentCreateParams.MandateData; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * Set to `true` to indicate that the customer is not in your checkout flow during this payment attempt, and therefore is unable to authenticate. This parameter is intended for scenarios where you collect card details and [charge them later](https://stripe.com/docs/payments/cards/charging-saved-cards). This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm). - */ - off_session?: boolean | PaymentIntentCreateParams.OffSession; - - /** - * The Stripe account ID for which these funds are intended. For details, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts). - */ - on_behalf_of?: string; - - /** - * ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://stripe.com/docs/payments/payment-methods#compatibility) object) to attach to this PaymentIntent. - * - * If neither the `payment_method` parameter nor the `source` parameter are provided with `confirm=true`, `source` will be automatically populated with `customer.default_source` to improve the migration experience for users of the Charges API. We recommend that you explicitly provide the `payment_method` going forward. - */ - payment_method?: string; - - /** - * If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear - * in the [payment_method](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-payment_method) - * property on the PaymentIntent. - */ - payment_method_data?: PaymentIntentCreateParams.PaymentMethodData; - - /** - * Payment-method-specific configuration for this PaymentIntent. - */ - payment_method_options?: PaymentIntentCreateParams.PaymentMethodOptions; - - /** - * The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. If this is not provided, defaults to ["card"]. - */ - payment_method_types?: Array; - - /** - * Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails). - */ - receipt_email?: string; - - /** - * The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm). - */ - return_url?: string; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * Providing this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes. - * - * When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication). - */ - setup_future_usage?: PaymentIntentCreateParams.SetupFutureUsage; - - /** - * Shipping information for this PaymentIntent. - */ - shipping?: PaymentIntentCreateParams.Shipping; - - /** - * For non-card charges, you can use this value as the complete description that appears on your customers' statements. Must contain at least one letter, maximum 22 characters. - */ - statement_descriptor?: string; - - /** - * Provides information about a card payment that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that's set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor. - */ - statement_descriptor_suffix?: string; - - /** - * The parameters used to automatically create a Transfer when the payment succeeds. - * For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts). - */ - transfer_data?: PaymentIntentCreateParams.TransferData; - - /** - * A string that identifies the resulting payment as part of a group. See the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts) for details. - */ - transfer_group?: string; - - /** - * Set to `true` only when using manual confirmation and the iOS or Android SDKs to handle additional authentication steps. - */ - use_stripe_sdk?: boolean; - } - - namespace PaymentIntentCreateParams { - type CaptureMethod = 'automatic' | 'manual'; - - type ConfirmationMethod = 'automatic' | 'manual'; - - interface MandateData { - /** - * This hash contains details about the customer acceptance of the Mandate. - */ - customer_acceptance: MandateData.CustomerAcceptance; - } - - namespace MandateData { - interface CustomerAcceptance { - /** - * The time at which the customer accepted the Mandate. - */ - accepted_at?: number; - - /** - * If this is a Mandate accepted offline, this hash contains details about the offline acceptance. - */ - offline?: CustomerAcceptance.Offline; - - /** - * If this is a Mandate accepted online, this hash contains details about the online acceptance. - */ - online?: CustomerAcceptance.Online; - - /** - * The type of customer acceptance information included with the Mandate. One of `online` or `offline`. - */ - type: CustomerAcceptance.Type; - } - - namespace CustomerAcceptance { - interface Offline {} - - interface Online { - /** - * The IP address from which the Mandate was accepted by the customer. - */ - ip_address: string; - - /** - * The user agent of the browser from which the Mandate was accepted by the customer. - */ - user_agent: string; - } - - type Type = 'offline' | 'online'; - } - } - - type OffSession = 'one_off' | 'recurring'; - - interface PaymentMethodData { - /** - * If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method. - */ - alipay?: PaymentMethodData.Alipay; - - /** - * If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account. - */ - au_becs_debit?: PaymentMethodData.AuBecsDebit; - - /** - * If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account. - */ - bacs_debit?: PaymentMethodData.BacsDebit; - - /** - * If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method. - */ - bancontact?: PaymentMethodData.Bancontact; - - /** - * Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. - */ - billing_details?: PaymentMethodData.BillingDetails; - - /** - * If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method. - */ - eps?: PaymentMethodData.Eps; - - /** - * If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method. - */ - fpx?: PaymentMethodData.Fpx; - - /** - * If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method. - */ - giropay?: PaymentMethodData.Giropay; - - /** - * If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method. - */ - grabpay?: PaymentMethodData.Grabpay; - - /** - * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method. - */ - ideal?: PaymentMethodData.Ideal; - - /** - * If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method. - */ - interac_present?: PaymentMethodData.InteracPresent; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method. - */ - oxxo?: PaymentMethodData.Oxxo; - - /** - * If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method. - */ - p24?: PaymentMethodData.P24; - - /** - * If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account. - */ - sepa_debit?: PaymentMethodData.SepaDebit; - - /** - * If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method. - */ - sofort?: PaymentMethodData.Sofort; - - /** - * The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type. - */ - type: PaymentMethodData.Type; - } - - namespace PaymentMethodData { - interface Alipay {} - - interface AuBecsDebit { - /** - * The account number for the bank account. - */ - account_number: string; - - /** - * Bank-State-Branch number of the bank account. - */ - bsb_number: string; - } - - interface BacsDebit { - /** - * Account number of the bank account that the funds will be debited from. - */ - account_number?: string; - - /** - * Sort code of the bank account. (e.g., `10-20-30`) - */ - sort_code?: string; - } - - interface Bancontact {} - - interface BillingDetails { - /** - * Billing address. - */ - address?: Stripe.Emptyable; - - /** - * Email address. - */ - email?: string; - - /** - * Full name. - */ - name?: string; - - /** - * Billing phone number (including extension). - */ - phone?: string; - } - - namespace BillingDetails { - interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - } - } - - interface Eps {} - - interface Fpx { - /** - * Account holder type for FPX transaction - */ - account_holder_type?: Fpx.AccountHolderType; - - /** - * The customer's bank. - */ - bank: Fpx.Bank; - } - - namespace Fpx { - type AccountHolderType = 'company' | 'individual'; - - type Bank = - | 'affin_bank' - | 'alliance_bank' - | 'ambank' - | 'bank_islam' - | 'bank_muamalat' - | 'bank_rakyat' - | 'bsn' - | 'cimb' - | 'deutsche_bank' - | 'hong_leong_bank' - | 'hsbc' - | 'kfh' - | 'maybank2e' - | 'maybank2u' - | 'ocbc' - | 'pb_enterprise' - | 'public_bank' - | 'rhb' - | 'standard_chartered' - | 'uob'; - } - - interface Giropay {} - - interface Grabpay {} - - interface Ideal { - /** - * The customer's bank. - */ - bank?: Ideal.Bank; - } - - namespace Ideal { - type Bank = - | 'abn_amro' - | 'asn_bank' - | 'bunq' - | 'handelsbanken' - | 'ing' - | 'knab' - | 'moneyou' - | 'rabobank' - | 'regiobank' - | 'sns_bank' - | 'triodos_bank' - | 'van_lanschot'; - } - - interface InteracPresent {} - - interface Oxxo {} - - interface P24 { - /** - * The customer's bank. - */ - bank?: P24.Bank; - } - - namespace P24 { - type Bank = - | 'alior_bank' - | 'bank_millennium' - | 'bank_nowy_bfg_sa' - | 'bank_pekao_sa' - | 'banki_spbdzielcze' - | 'blik' - | 'bnp_paribas' - | 'boz' - | 'citi_handlowy' - | 'credit_agricole' - | 'envelobank' - | 'etransfer_pocztowy24' - | 'getin_bank' - | 'ideabank' - | 'ing' - | 'inteligo' - | 'mbank_mtransfer' - | 'nest_przelew' - | 'noble_pay' - | 'pbac_z_ipko' - | 'plus_bank' - | 'santander_przelew24' - | 'tmobile_usbugi_bankowe' - | 'toyota_bank' - | 'volkswagen_bank'; - } - - interface SepaDebit { - /** - * IBAN of the bank account. - */ - iban: string; - } - - interface Sofort { - /** - * Two-letter ISO code representing the country the bank account is located in. - */ - country: Sofort.Country; - } - - namespace Sofort { - type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL'; - } - - type Type = - | 'alipay' - | 'au_becs_debit' - | 'bacs_debit' - | 'bancontact' - | 'eps' - | 'fpx' - | 'giropay' - | 'grabpay' - | 'ideal' - | 'oxxo' - | 'p24' - | 'sepa_debit' - | 'sofort'; - } - - interface PaymentMethodOptions { - /** - * If this is a `alipay` PaymentMethod, this sub-hash contains details about the Alipay payment method options. - */ - alipay?: Stripe.Emptyable; - - /** - * If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options. - */ - bancontact?: Stripe.Emptyable; - - /** - * Configuration for any card payments attempted on this PaymentIntent. - */ - card?: Stripe.Emptyable; - - /** - * If this is a `oxxo` PaymentMethod, this sub-hash contains details about the OXXO payment method options. - */ - oxxo?: Stripe.Emptyable; - - /** - * If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options. - */ - p24?: Stripe.Emptyable; - - /** - * If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options. - */ - sepa_debit?: Stripe.Emptyable; - - /** - * If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options. - */ - sofort?: Stripe.Emptyable; - } - - namespace PaymentMethodOptions { - interface Alipay {} - - interface Bancontact { - /** - * Preferred language of the Bancontact authorization page that the customer is redirected to. - */ - preferred_language?: Bancontact.PreferredLanguage; - } - - namespace Bancontact { - type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl'; - } - - interface Card { - /** - * A single-use `cvc_update` Token that represents a card CVC value. When provided, the CVC value will be verified during the card payment attempt. This parameter can only be provided during confirmation. - */ - cvc_token?: string; - - /** - * Installment configuration for payments attempted on this PaymentIntent (Mexico Only). - * - * For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments). - */ - installments?: Card.Installments; - - /** - * When specified, this parameter indicates that a transaction will be marked - * as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This - * parameter can only be provided during confirmation. - */ - moto?: boolean; - - /** - * Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time. - */ - network?: Card.Network; - - /** - * We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Permitted values include: `automatic` or `any`. If not provided, defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine. - */ - request_three_d_secure?: Card.RequestThreeDSecure; - } - - namespace Card { - interface Installments { - /** - * Setting to true enables installments for this PaymentIntent. - * This will cause the response to contain a list of available installment plans. - * Setting to false will prevent any selected plan from applying to a charge. - */ - enabled?: boolean; - - /** - * The selected installment plan to use for this payment attempt. - * This parameter can only be provided during confirmation. - */ - plan?: Stripe.Emptyable; - } - - namespace Installments { - interface Plan { - /** - * For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card. - */ - count: number; - - /** - * For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card. - * One of `month`. - */ - interval: 'month'; - - /** - * Type of installment plan, one of `fixed_count`. - */ - type: 'fixed_count'; - } - } - - type Network = - | 'amex' - | 'cartes_bancaires' - | 'diners' - | 'discover' - | 'interac' - | 'jcb' - | 'mastercard' - | 'unionpay' - | 'unknown' - | 'visa'; - - type RequestThreeDSecure = 'any' | 'automatic'; - } - - interface Oxxo { - /** - * The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. - */ - expires_after_days?: number; - } - - interface P24 {} - - interface SepaDebit { - /** - * Additional fields for Mandate creation - */ - mandate_options?: SepaDebit.MandateOptions; - } - - namespace SepaDebit { - interface MandateOptions {} - } - - interface Sofort { - /** - * Language shown to the payer on redirect. - */ - preferred_language?: Sofort.PreferredLanguage; - } - - namespace Sofort { - type PreferredLanguage = - | 'de' - | 'en' - | 'es' - | 'fr' - | 'it' - | 'nl' - | 'pl'; - } - } - - type SetupFutureUsage = 'off_session' | 'on_session'; - - interface Shipping { - /** - * Shipping address. - */ - address: Stripe.AddressParam; - - /** - * The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. - */ - carrier?: string; - - /** - * Recipient name. - */ - name: string; - - /** - * Recipient phone (including extension). - */ - phone?: string; - - /** - * The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. - */ - tracking_number?: string; - } - - interface TransferData { - /** - * The amount that will be transferred automatically when a charge succeeds. - * The amount is capped at the total transaction amount and if no amount is set, - * the full amount is transferred. - * - * If you intend to collect a fee and you need a more robust reporting experience, using - * [application_fee_amount](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-application_fee_amount) - * might be a better fit for your integration. - */ - amount?: number; - - /** - * If specified, successful charges will be attributed to the destination - * account for tax reporting, and the funds from charges will be transferred - * to the destination account. The ID of the resulting transfer will be - * returned on the successful charge's `transfer` field. - */ - destination: string; - } - } - - interface PaymentIntentRetrieveParams { - /** - * The client secret of the PaymentIntent. Required if a publishable key is used to retrieve the source. - */ - client_secret?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface PaymentIntentUpdateParams { - /** - * Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). - */ - amount?: number; - - /** - * The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total payment amount. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts). - */ - application_fee_amount?: Stripe.Emptyable; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency?: string; - - /** - * ID of the Customer this PaymentIntent belongs to, if one exists. - * - * Payment methods attached to other Customers cannot be used with this PaymentIntent. - * - * If present in combination with [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage), this PaymentIntent's payment method will be attached to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. - */ - customer?: string; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://stripe.com/docs/payments/payment-methods#compatibility) object) to attach to this PaymentIntent. - */ - payment_method?: string; - - /** - * If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear - * in the [payment_method](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-payment_method) - * property on the PaymentIntent. - */ - payment_method_data?: PaymentIntentUpdateParams.PaymentMethodData; - - /** - * Payment-method-specific configuration for this PaymentIntent. - */ - payment_method_options?: PaymentIntentUpdateParams.PaymentMethodOptions; - - /** - * The list of payment method types (e.g. card) that this PaymentIntent is allowed to use. - */ - payment_method_types?: Array; - - /** - * Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails). - */ - receipt_email?: Stripe.Emptyable; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * Providing this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes. - * - * When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication). - * - * If `setup_future_usage` is already set and you are performing a request using a publishable key, you may only update the value from `on_session` to `off_session`. - */ - setup_future_usage?: Stripe.Emptyable< - PaymentIntentUpdateParams.SetupFutureUsage - >; - - /** - * Shipping information for this PaymentIntent. - */ - shipping?: Stripe.Emptyable; - - /** - * For non-card charges, you can use this value as the complete description that appears on your customers' statements. Must contain at least one letter, maximum 22 characters. - */ - statement_descriptor?: string; - - /** - * Provides information about a card payment that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that's set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor. - */ - statement_descriptor_suffix?: string; - - /** - * The parameters used to automatically create a Transfer when the payment succeeds. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts). - */ - transfer_data?: PaymentIntentUpdateParams.TransferData; - - /** - * A string that identifies the resulting payment as part of a group. `transfer_group` may only be provided if it has not been set. See the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts) for details. - */ - transfer_group?: string; - } - - namespace PaymentIntentUpdateParams { - interface PaymentMethodData { - /** - * If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method. - */ - alipay?: PaymentMethodData.Alipay; - - /** - * If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account. - */ - au_becs_debit?: PaymentMethodData.AuBecsDebit; - - /** - * If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account. - */ - bacs_debit?: PaymentMethodData.BacsDebit; - - /** - * If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method. - */ - bancontact?: PaymentMethodData.Bancontact; - - /** - * Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. - */ - billing_details?: PaymentMethodData.BillingDetails; - - /** - * If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method. - */ - eps?: PaymentMethodData.Eps; - - /** - * If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method. - */ - fpx?: PaymentMethodData.Fpx; - - /** - * If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method. - */ - giropay?: PaymentMethodData.Giropay; - - /** - * If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method. - */ - grabpay?: PaymentMethodData.Grabpay; - - /** - * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method. - */ - ideal?: PaymentMethodData.Ideal; - - /** - * If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method. - */ - interac_present?: PaymentMethodData.InteracPresent; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method. - */ - oxxo?: PaymentMethodData.Oxxo; - - /** - * If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method. - */ - p24?: PaymentMethodData.P24; - - /** - * If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account. - */ - sepa_debit?: PaymentMethodData.SepaDebit; - - /** - * If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method. - */ - sofort?: PaymentMethodData.Sofort; - - /** - * The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type. - */ - type: PaymentMethodData.Type; - } - - namespace PaymentMethodData { - interface Alipay {} - - interface AuBecsDebit { - /** - * The account number for the bank account. - */ - account_number: string; - - /** - * Bank-State-Branch number of the bank account. - */ - bsb_number: string; - } - - interface BacsDebit { - /** - * Account number of the bank account that the funds will be debited from. - */ - account_number?: string; - - /** - * Sort code of the bank account. (e.g., `10-20-30`) - */ - sort_code?: string; - } - - interface Bancontact {} - - interface BillingDetails { - /** - * Billing address. - */ - address?: Stripe.Emptyable; - - /** - * Email address. - */ - email?: string; - - /** - * Full name. - */ - name?: string; - - /** - * Billing phone number (including extension). - */ - phone?: string; - } - - namespace BillingDetails { - interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - } - } - - interface Eps {} - - interface Fpx { - /** - * Account holder type for FPX transaction - */ - account_holder_type?: Fpx.AccountHolderType; - - /** - * The customer's bank. - */ - bank: Fpx.Bank; - } - - namespace Fpx { - type AccountHolderType = 'company' | 'individual'; - - type Bank = - | 'affin_bank' - | 'alliance_bank' - | 'ambank' - | 'bank_islam' - | 'bank_muamalat' - | 'bank_rakyat' - | 'bsn' - | 'cimb' - | 'deutsche_bank' - | 'hong_leong_bank' - | 'hsbc' - | 'kfh' - | 'maybank2e' - | 'maybank2u' - | 'ocbc' - | 'pb_enterprise' - | 'public_bank' - | 'rhb' - | 'standard_chartered' - | 'uob'; - } - - interface Giropay {} - - interface Grabpay {} - - interface Ideal { - /** - * The customer's bank. - */ - bank?: Ideal.Bank; - } - - namespace Ideal { - type Bank = - | 'abn_amro' - | 'asn_bank' - | 'bunq' - | 'handelsbanken' - | 'ing' - | 'knab' - | 'moneyou' - | 'rabobank' - | 'regiobank' - | 'sns_bank' - | 'triodos_bank' - | 'van_lanschot'; - } - - interface InteracPresent {} - - interface Oxxo {} - - interface P24 { - /** - * The customer's bank. - */ - bank?: P24.Bank; - } - - namespace P24 { - type Bank = - | 'alior_bank' - | 'bank_millennium' - | 'bank_nowy_bfg_sa' - | 'bank_pekao_sa' - | 'banki_spbdzielcze' - | 'blik' - | 'bnp_paribas' - | 'boz' - | 'citi_handlowy' - | 'credit_agricole' - | 'envelobank' - | 'etransfer_pocztowy24' - | 'getin_bank' - | 'ideabank' - | 'ing' - | 'inteligo' - | 'mbank_mtransfer' - | 'nest_przelew' - | 'noble_pay' - | 'pbac_z_ipko' - | 'plus_bank' - | 'santander_przelew24' - | 'tmobile_usbugi_bankowe' - | 'toyota_bank' - | 'volkswagen_bank'; - } - - interface SepaDebit { - /** - * IBAN of the bank account. - */ - iban: string; - } - - interface Sofort { - /** - * Two-letter ISO code representing the country the bank account is located in. - */ - country: Sofort.Country; - } - - namespace Sofort { - type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL'; - } - - type Type = - | 'alipay' - | 'au_becs_debit' - | 'bacs_debit' - | 'bancontact' - | 'eps' - | 'fpx' - | 'giropay' - | 'grabpay' - | 'ideal' - | 'oxxo' - | 'p24' - | 'sepa_debit' - | 'sofort'; - } - - interface PaymentMethodOptions { - /** - * If this is a `alipay` PaymentMethod, this sub-hash contains details about the Alipay payment method options. - */ - alipay?: Stripe.Emptyable; - - /** - * If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options. - */ - bancontact?: Stripe.Emptyable; - - /** - * Configuration for any card payments attempted on this PaymentIntent. - */ - card?: Stripe.Emptyable; - - /** - * If this is a `oxxo` PaymentMethod, this sub-hash contains details about the OXXO payment method options. - */ - oxxo?: Stripe.Emptyable; - - /** - * If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options. - */ - p24?: Stripe.Emptyable; - - /** - * If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options. - */ - sepa_debit?: Stripe.Emptyable; - - /** - * If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options. - */ - sofort?: Stripe.Emptyable; - } - - namespace PaymentMethodOptions { - interface Alipay {} - - interface Bancontact { - /** - * Preferred language of the Bancontact authorization page that the customer is redirected to. - */ - preferred_language?: Bancontact.PreferredLanguage; - } - - namespace Bancontact { - type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl'; - } - - interface Card { - /** - * A single-use `cvc_update` Token that represents a card CVC value. When provided, the CVC value will be verified during the card payment attempt. This parameter can only be provided during confirmation. - */ - cvc_token?: string; - - /** - * Installment configuration for payments attempted on this PaymentIntent (Mexico Only). - * - * For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments). - */ - installments?: Card.Installments; - - /** - * When specified, this parameter indicates that a transaction will be marked - * as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This - * parameter can only be provided during confirmation. - */ - moto?: boolean; - - /** - * Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time. - */ - network?: Card.Network; - - /** - * We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Permitted values include: `automatic` or `any`. If not provided, defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine. - */ - request_three_d_secure?: Card.RequestThreeDSecure; - } - - namespace Card { - interface Installments { - /** - * Setting to true enables installments for this PaymentIntent. - * This will cause the response to contain a list of available installment plans. - * Setting to false will prevent any selected plan from applying to a charge. - */ - enabled?: boolean; - - /** - * The selected installment plan to use for this payment attempt. - * This parameter can only be provided during confirmation. - */ - plan?: Stripe.Emptyable; - } - - namespace Installments { - interface Plan { - /** - * For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card. - */ - count: number; - - /** - * For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card. - * One of `month`. - */ - interval: 'month'; - - /** - * Type of installment plan, one of `fixed_count`. - */ - type: 'fixed_count'; - } - } - - type Network = - | 'amex' - | 'cartes_bancaires' - | 'diners' - | 'discover' - | 'interac' - | 'jcb' - | 'mastercard' - | 'unionpay' - | 'unknown' - | 'visa'; - - type RequestThreeDSecure = 'any' | 'automatic'; - } - - interface Oxxo { - /** - * The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. - */ - expires_after_days?: number; - } - - interface P24 {} - - interface SepaDebit { - /** - * Additional fields for Mandate creation - */ - mandate_options?: SepaDebit.MandateOptions; - } - - namespace SepaDebit { - interface MandateOptions {} - } - - interface Sofort { - /** - * Language shown to the payer on redirect. - */ - preferred_language?: Sofort.PreferredLanguage; - } - - namespace Sofort { - type PreferredLanguage = - | 'de' - | 'en' - | 'es' - | 'fr' - | 'it' - | 'nl' - | 'pl'; - } - } - - type SetupFutureUsage = 'off_session' | 'on_session'; - - interface Shipping { - /** - * Shipping address. - */ - address: Stripe.AddressParam; - - /** - * The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. - */ - carrier?: string; - - /** - * Recipient name. - */ - name: string; - - /** - * Recipient phone (including extension). - */ - phone?: string; - - /** - * The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. - */ - tracking_number?: string; - } - - interface TransferData { - /** - * The amount that will be transferred automatically when a charge succeeds. - */ - amount?: number; - } - } - - interface PaymentIntentListParams extends PaginationParams { - /** - * A filter on the list, based on the object `created` field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with a number of different query options. - */ - created?: Stripe.RangeQueryParam | number; - - /** - * Only return PaymentIntents for the customer specified by this customer ID. - */ - customer?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface PaymentIntentCancelParams { - /** - * Reason for canceling this PaymentIntent. Possible values are `duplicate`, `fraudulent`, `requested_by_customer`, or `abandoned` - */ - cancellation_reason?: PaymentIntentCancelParams.CancellationReason; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - namespace PaymentIntentCancelParams { - type CancellationReason = - | 'abandoned' - | 'duplicate' - | 'fraudulent' - | 'requested_by_customer'; - } - - interface PaymentIntentCaptureParams { - /** - * The amount to capture from the PaymentIntent, which must be less than or equal to the original amount. Any additional amount will be automatically refunded. Defaults to the full `amount_capturable` if not provided. - */ - amount_to_capture?: number; - - /** - * The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total payment amount. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts). - */ - application_fee_amount?: number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * For non-card charges, you can use this value as the complete description that appears on your customers' statements. Must contain at least one letter, maximum 22 characters. - */ - statement_descriptor?: string; - - /** - * Provides information about a card payment that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that's set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor. - */ - statement_descriptor_suffix?: string; - - /** - * The parameters used to automatically create a Transfer when the payment - * is captured. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts). - */ - transfer_data?: PaymentIntentCaptureParams.TransferData; - } - - namespace PaymentIntentCaptureParams { - interface TransferData { - /** - * The amount that will be transferred automatically when a charge succeeds. - */ - amount?: number; - } - } - - interface PaymentIntentConfirmParams { - /** - * Set to `true` to fail the payment attempt if the PaymentIntent transitions into `requires_action`. This parameter is intended for simpler integrations that do not handle customer actions, like [saving cards without authentication](https://stripe.com/docs/payments/save-card-without-authentication). - */ - error_on_requires_action?: boolean; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * ID of the mandate to be used for this payment. - */ - mandate?: string; - - /** - * This hash contains details about the Mandate to create - */ - mandate_data?: - | PaymentIntentConfirmParams.MandateData1 - | PaymentIntentConfirmParams.MandateData2; - - /** - * Set to `true` to indicate that the customer is not in your checkout flow during this payment attempt, and therefore is unable to authenticate. This parameter is intended for scenarios where you collect card details and [charge them later](https://stripe.com/docs/payments/cards/charging-saved-cards). - */ - off_session?: boolean | PaymentIntentConfirmParams.OffSession; - - /** - * ID of the payment method (a PaymentMethod, Card, or [compatible Source](https://stripe.com/docs/payments/payment-methods#compatibility) object) to attach to this PaymentIntent. - */ - payment_method?: string; - - /** - * If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear - * in the [payment_method](https://stripe.com/docs/api/payment_intents/object#payment_intent_object-payment_method) - * property on the PaymentIntent. - */ - payment_method_data?: PaymentIntentConfirmParams.PaymentMethodData; - - /** - * Payment-method-specific configuration for this PaymentIntent. - */ - payment_method_options?: PaymentIntentConfirmParams.PaymentMethodOptions; - - /** - * Email address that the receipt for the resulting payment will be sent to. If `receipt_email` is specified for a payment in live mode, a receipt will be sent regardless of your [email settings](https://dashboard.stripe.com/account/emails). - */ - receipt_email?: Stripe.Emptyable; - - /** - * The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. - * If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme. - * This parameter is only used for cards and other redirect-based payment methods. - */ - return_url?: string; - - /** - * Indicates that you intend to make future payments with this PaymentIntent's payment method. - * - * Providing this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes. - * - * When processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication). - * - * If `setup_future_usage` is already set and you are performing a request using a publishable key, you may only update the value from `on_session` to `off_session`. - */ - setup_future_usage?: Stripe.Emptyable< - PaymentIntentConfirmParams.SetupFutureUsage - >; - - /** - * Shipping information for this PaymentIntent. - */ - shipping?: Stripe.Emptyable; - - /** - * Set to `true` only when using manual confirmation and the iOS or Android SDKs to handle additional authentication steps. - */ - use_stripe_sdk?: boolean; - } - - namespace PaymentIntentConfirmParams { - interface MandateData1 { - /** - * This hash contains details about the customer acceptance of the Mandate. - */ - customer_acceptance: MandateData1.CustomerAcceptance; - } - - namespace MandateData1 { - interface CustomerAcceptance { - /** - * The time at which the customer accepted the Mandate. - */ - accepted_at?: number; - - /** - * If this is a Mandate accepted offline, this hash contains details about the offline acceptance. - */ - offline?: CustomerAcceptance.Offline; - - /** - * If this is a Mandate accepted online, this hash contains details about the online acceptance. - */ - online?: CustomerAcceptance.Online; - - /** - * The type of customer acceptance information included with the Mandate. One of `online` or `offline`. - */ - type: CustomerAcceptance.Type; - } - - namespace CustomerAcceptance { - interface Offline {} - - interface Online { - /** - * The IP address from which the Mandate was accepted by the customer. - */ - ip_address: string; - - /** - * The user agent of the browser from which the Mandate was accepted by the customer. - */ - user_agent: string; - } - - type Type = 'offline' | 'online'; - } - } - - interface MandateData2 { - /** - * This hash contains details about the customer acceptance of the Mandate. - */ - customer_acceptance: MandateData2.CustomerAcceptance; - } - - namespace MandateData2 { - interface CustomerAcceptance { - /** - * If this is a Mandate accepted online, this hash contains details about the online acceptance. - */ - online: CustomerAcceptance.Online; - - /** - * The type of customer acceptance information included with the Mandate. - */ - type: 'online'; - } - - namespace CustomerAcceptance { - interface Online { - /** - * The IP address from which the Mandate was accepted by the customer. - */ - ip_address?: string; - - /** - * The user agent of the browser from which the Mandate was accepted by the customer. - */ - user_agent?: string; - } - } - } - - type OffSession = 'one_off' | 'recurring'; - - interface PaymentMethodData { - /** - * If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method. - */ - alipay?: PaymentMethodData.Alipay; - - /** - * If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account. - */ - au_becs_debit?: PaymentMethodData.AuBecsDebit; - - /** - * If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account. - */ - bacs_debit?: PaymentMethodData.BacsDebit; - - /** - * If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method. - */ - bancontact?: PaymentMethodData.Bancontact; - - /** - * Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. - */ - billing_details?: PaymentMethodData.BillingDetails; - - /** - * If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method. - */ - eps?: PaymentMethodData.Eps; - - /** - * If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method. - */ - fpx?: PaymentMethodData.Fpx; - - /** - * If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method. - */ - giropay?: PaymentMethodData.Giropay; - - /** - * If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method. - */ - grabpay?: PaymentMethodData.Grabpay; - - /** - * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method. - */ - ideal?: PaymentMethodData.Ideal; - - /** - * If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method. - */ - interac_present?: PaymentMethodData.InteracPresent; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method. - */ - oxxo?: PaymentMethodData.Oxxo; - - /** - * If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method. - */ - p24?: PaymentMethodData.P24; - - /** - * If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account. - */ - sepa_debit?: PaymentMethodData.SepaDebit; - - /** - * If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method. - */ - sofort?: PaymentMethodData.Sofort; - - /** - * The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type. - */ - type: PaymentMethodData.Type; - } - - namespace PaymentMethodData { - interface Alipay {} - - interface AuBecsDebit { - /** - * The account number for the bank account. - */ - account_number: string; - - /** - * Bank-State-Branch number of the bank account. - */ - bsb_number: string; - } - - interface BacsDebit { - /** - * Account number of the bank account that the funds will be debited from. - */ - account_number?: string; - - /** - * Sort code of the bank account. (e.g., `10-20-30`) - */ - sort_code?: string; - } - - interface Bancontact {} - - interface BillingDetails { - /** - * Billing address. - */ - address?: Stripe.Emptyable; - - /** - * Email address. - */ - email?: string; - - /** - * Full name. - */ - name?: string; - - /** - * Billing phone number (including extension). - */ - phone?: string; - } - - namespace BillingDetails { - interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - } - } - - interface Eps {} - - interface Fpx { - /** - * Account holder type for FPX transaction - */ - account_holder_type?: Fpx.AccountHolderType; - - /** - * The customer's bank. - */ - bank: Fpx.Bank; - } - - namespace Fpx { - type AccountHolderType = 'company' | 'individual'; - - type Bank = - | 'affin_bank' - | 'alliance_bank' - | 'ambank' - | 'bank_islam' - | 'bank_muamalat' - | 'bank_rakyat' - | 'bsn' - | 'cimb' - | 'deutsche_bank' - | 'hong_leong_bank' - | 'hsbc' - | 'kfh' - | 'maybank2e' - | 'maybank2u' - | 'ocbc' - | 'pb_enterprise' - | 'public_bank' - | 'rhb' - | 'standard_chartered' - | 'uob'; - } - - interface Giropay {} - - interface Grabpay {} - - interface Ideal { - /** - * The customer's bank. - */ - bank?: Ideal.Bank; - } - - namespace Ideal { - type Bank = - | 'abn_amro' - | 'asn_bank' - | 'bunq' - | 'handelsbanken' - | 'ing' - | 'knab' - | 'moneyou' - | 'rabobank' - | 'regiobank' - | 'sns_bank' - | 'triodos_bank' - | 'van_lanschot'; - } - - interface InteracPresent {} - - interface Oxxo {} - - interface P24 { - /** - * The customer's bank. - */ - bank?: P24.Bank; - } - - namespace P24 { - type Bank = - | 'alior_bank' - | 'bank_millennium' - | 'bank_nowy_bfg_sa' - | 'bank_pekao_sa' - | 'banki_spbdzielcze' - | 'blik' - | 'bnp_paribas' - | 'boz' - | 'citi_handlowy' - | 'credit_agricole' - | 'envelobank' - | 'etransfer_pocztowy24' - | 'getin_bank' - | 'ideabank' - | 'ing' - | 'inteligo' - | 'mbank_mtransfer' - | 'nest_przelew' - | 'noble_pay' - | 'pbac_z_ipko' - | 'plus_bank' - | 'santander_przelew24' - | 'tmobile_usbugi_bankowe' - | 'toyota_bank' - | 'volkswagen_bank'; - } - - interface SepaDebit { - /** - * IBAN of the bank account. - */ - iban: string; - } - - interface Sofort { - /** - * Two-letter ISO code representing the country the bank account is located in. - */ - country: Sofort.Country; - } - - namespace Sofort { - type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL'; - } - - type Type = - | 'alipay' - | 'au_becs_debit' - | 'bacs_debit' - | 'bancontact' - | 'eps' - | 'fpx' - | 'giropay' - | 'grabpay' - | 'ideal' - | 'oxxo' - | 'p24' - | 'sepa_debit' - | 'sofort'; - } - - interface PaymentMethodOptions { - /** - * If this is a `alipay` PaymentMethod, this sub-hash contains details about the Alipay payment method options. - */ - alipay?: Stripe.Emptyable; - - /** - * If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options. - */ - bancontact?: Stripe.Emptyable; - - /** - * Configuration for any card payments attempted on this PaymentIntent. - */ - card?: Stripe.Emptyable; - - /** - * If this is a `oxxo` PaymentMethod, this sub-hash contains details about the OXXO payment method options. - */ - oxxo?: Stripe.Emptyable; - - /** - * If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options. - */ - p24?: Stripe.Emptyable; - - /** - * If this is a `sepa_debit` PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options. - */ - sepa_debit?: Stripe.Emptyable; - - /** - * If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options. - */ - sofort?: Stripe.Emptyable; - } - - namespace PaymentMethodOptions { - interface Alipay {} - - interface Bancontact { - /** - * Preferred language of the Bancontact authorization page that the customer is redirected to. - */ - preferred_language?: Bancontact.PreferredLanguage; - } - - namespace Bancontact { - type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl'; - } - - interface Card { - /** - * A single-use `cvc_update` Token that represents a card CVC value. When provided, the CVC value will be verified during the card payment attempt. This parameter can only be provided during confirmation. - */ - cvc_token?: string; - - /** - * Installment configuration for payments attempted on this PaymentIntent (Mexico Only). - * - * For more information, see the [installments integration guide](https://stripe.com/docs/payments/installments). - */ - installments?: Card.Installments; - - /** - * When specified, this parameter indicates that a transaction will be marked - * as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This - * parameter can only be provided during confirmation. - */ - moto?: boolean; - - /** - * Selected network to process this PaymentIntent on. Depends on the available networks of the card attached to the PaymentIntent. Can be only set confirm-time. - */ - network?: Card.Network; - - /** - * We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Permitted values include: `automatic` or `any`. If not provided, defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine. - */ - request_three_d_secure?: Card.RequestThreeDSecure; - } - - namespace Card { - interface Installments { - /** - * Setting to true enables installments for this PaymentIntent. - * This will cause the response to contain a list of available installment plans. - * Setting to false will prevent any selected plan from applying to a charge. - */ - enabled?: boolean; - - /** - * The selected installment plan to use for this payment attempt. - * This parameter can only be provided during confirmation. - */ - plan?: Stripe.Emptyable; - } - - namespace Installments { - interface Plan { - /** - * For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card. - */ - count: number; - - /** - * For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card. - * One of `month`. - */ - interval: 'month'; - - /** - * Type of installment plan, one of `fixed_count`. - */ - type: 'fixed_count'; - } - } - - type Network = - | 'amex' - | 'cartes_bancaires' - | 'diners' - | 'discover' - | 'interac' - | 'jcb' - | 'mastercard' - | 'unionpay' - | 'unknown' - | 'visa'; - - type RequestThreeDSecure = 'any' | 'automatic'; - } - - interface Oxxo { - /** - * The number of calendar days before an OXXO voucher expires. For example, if you create an OXXO voucher on Monday and you set expires_after_days to 2, the OXXO invoice will expire on Wednesday at 23:59 America/Mexico_City time. - */ - expires_after_days?: number; - } - - interface P24 {} - - interface SepaDebit { - /** - * Additional fields for Mandate creation - */ - mandate_options?: SepaDebit.MandateOptions; - } - - namespace SepaDebit { - interface MandateOptions {} - } - - interface Sofort { - /** - * Language shown to the payer on redirect. - */ - preferred_language?: Sofort.PreferredLanguage; - } - - namespace Sofort { - type PreferredLanguage = - | 'de' - | 'en' - | 'es' - | 'fr' - | 'it' - | 'nl' - | 'pl'; - } - } - - type SetupFutureUsage = 'off_session' | 'on_session'; - - interface Shipping { - /** - * Shipping address. - */ - address: Stripe.AddressParam; - - /** - * The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. - */ - carrier?: string; - - /** - * Recipient name. - */ - name: string; - - /** - * Recipient phone (including extension). - */ - phone?: string; - - /** - * The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. - */ - tracking_number?: string; - } - } - - class PaymentIntentsResource { - /** - * Creates a PaymentIntent object. - * - * After the PaymentIntent is created, attach a payment method and [confirm](https://stripe.com/docs/api/payment_intents/confirm) - * to continue the payment. You can read more about the different payment flows - * available via the Payment Intents API [here](https://stripe.com/docs/payments/payment-intents). - * - * When confirm=true is used during creation, it is equivalent to creating - * and confirming the PaymentIntent in the same call. You may use any parameters - * available in the [confirm API](https://stripe.com/docs/api/payment_intents/confirm) when confirm=true - * is supplied. - */ - create( - params: PaymentIntentCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves the details of a PaymentIntent that has previously been created. - * - * Client-side retrieval using a publishable key is allowed when the client_secret is provided in the query string. - * - * When retrieved with a publishable key, only a subset of properties will be returned. Please refer to the [payment intent](https://stripe.com/docs/api#payment_intent_object) object reference for more details. - */ - retrieve( - id: string, - params?: PaymentIntentRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates properties on a PaymentIntent object without confirming. - * - * Depending on which properties you update, you may need to confirm the - * PaymentIntent again. For example, updating the payment_method will - * always require you to confirm the PaymentIntent again. If you prefer to - * update and confirm at the same time, we recommend updating properties via - * the [confirm API](https://stripe.com/docs/api/payment_intents/confirm) instead. - */ - update( - id: string, - params?: PaymentIntentUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of PaymentIntents. - */ - list( - params?: PaymentIntentListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - - /** - * A PaymentIntent object can be canceled when it is in one of these statuses: requires_payment_method, requires_capture, requires_confirmation, or requires_action. - * - * Once canceled, no additional charges will be made by the PaymentIntent and any operations on the PaymentIntent will fail with an error. For PaymentIntents with status='requires_capture', the remaining amount_capturable will automatically be refunded. - */ - cancel( - id: string, - params?: PaymentIntentCancelParams, - options?: RequestOptions - ): Promise>; - cancel( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Capture the funds of an existing uncaptured PaymentIntent when its status is requires_capture. - * - * Uncaptured PaymentIntents will be canceled exactly seven days after they are created. - * - * Learn more about [separate authorization and capture](https://stripe.com/docs/payments/capture-later). - */ - capture( - id: string, - params?: PaymentIntentCaptureParams, - options?: RequestOptions - ): Promise>; - capture( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Confirm that your customer intends to pay with current or provided - * payment method. Upon confirmation, the PaymentIntent will attempt to initiate - * a payment. - * - * If the selected payment method requires additional authentication steps, the - * PaymentIntent will transition to the requires_action status and - * suggest additional actions via next_action. If payment fails, - * the PaymentIntent will transition to the requires_payment_method status. If - * payment succeeds, the PaymentIntent will transition to the succeeded - * status (or requires_capture, if capture_method is set to manual). - * - * If the confirmation_method is automatic, payment may be attempted - * using our [client SDKs](https://stripe.com/docs/stripe-js/reference#stripe-handle-card-payment) - * and the PaymentIntent's [client_secret](https://stripe.com/docs/api#payment_intent_object-client_secret). - * After next_actions are handled by the client, no additional - * confirmation is required to complete the payment. - * - * If the confirmation_method is manual, all payment attempts must be - * initiated using a secret key. - * If any actions are required for the payment, the PaymentIntent will - * return to the requires_confirmation state - * after those actions are completed. Your server needs to then - * explicitly re-confirm the PaymentIntent to initiate the next payment - * attempt. Read the [expanded documentation](https://stripe.com/docs/payments/payment-intents/web-manual) - * to learn more about manual confirmation. - */ - confirm( - id: string, - params?: PaymentIntentConfirmParams, - options?: RequestOptions - ): Promise>; - confirm( - id: string, - options?: RequestOptions - ): Promise>; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/PaymentMethods.d.ts b/node_modules/stripe/types/2020-08-27/PaymentMethods.d.ts deleted file mode 100644 index ef49e252..00000000 --- a/node_modules/stripe/types/2020-08-27/PaymentMethods.d.ts +++ /dev/null @@ -1,1138 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The PaymentMethod object. - */ - interface PaymentMethod { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'payment_method'; - - alipay?: PaymentMethod.Alipay; - - au_becs_debit?: PaymentMethod.AuBecsDebit; - - bacs_debit?: PaymentMethod.BacsDebit; - - bancontact?: PaymentMethod.Bancontact; - - billing_details: PaymentMethod.BillingDetails; - - card?: PaymentMethod.Card; - - card_present?: PaymentMethod.CardPresent; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer. - */ - customer: string | Stripe.Customer | null; - - eps?: PaymentMethod.Eps; - - fpx?: PaymentMethod.Fpx; - - giropay?: PaymentMethod.Giropay; - - grabpay?: PaymentMethod.Grabpay; - - ideal?: PaymentMethod.Ideal; - - interac_present?: PaymentMethod.InteracPresent; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata | null; - - oxxo?: PaymentMethod.Oxxo; - - p24?: PaymentMethod.P24; - - sepa_debit?: PaymentMethod.SepaDebit; - - sofort?: PaymentMethod.Sofort; - - /** - * The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type. - */ - type: PaymentMethod.Type; - } - - namespace PaymentMethod { - interface Alipay {} - - interface AuBecsDebit { - /** - * Six-digit number identifying bank and branch associated with this bank account. - */ - bsb_number: string | null; - - /** - * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. - */ - fingerprint: string | null; - - /** - * Last four digits of the bank account number. - */ - last4: string | null; - } - - interface BacsDebit { - /** - * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. - */ - fingerprint: string | null; - - /** - * Last four digits of the bank account number. - */ - last4: string | null; - - /** - * Sort code of the bank account. (e.g., `10-20-30`) - */ - sort_code: string | null; - } - - interface Bancontact {} - - interface BillingDetails { - /** - * Billing address. - */ - address: Stripe.Address | null; - - /** - * Email address. - */ - email: string | null; - - /** - * Full name. - */ - name: string | null; - - /** - * Billing phone number (including extension). - */ - phone: string | null; - } - - interface Card { - /** - * Card brand. Can be `amex`, `diners`, `discover`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`. - */ - brand: string; - - /** - * Checks on Card address and CVC if provided. - */ - checks: Card.Checks | null; - - /** - * Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected. - */ - country: string | null; - - /** - * A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.) - */ - description?: string | null; - - /** - * Two-digit number representing the card's expiration month. - */ - exp_month: number; - - /** - * Four-digit number representing the card's expiration year. - */ - exp_year: number; - - /** - * Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number. - */ - fingerprint?: string | null; - - /** - * Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`. - */ - funding: string; - - /** - * Issuer identification number of the card. (For internal use only and not typically available in standard API requests.) - */ - iin?: string | null; - - /** - * The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.) - */ - issuer?: string | null; - - /** - * The last four digits of the card. - */ - last4: string; - - /** - * Contains information about card networks that can be used to process the payment. - */ - networks: Card.Networks | null; - - /** - * Contains details on how this Card maybe be used for 3D Secure authentication. - */ - three_d_secure_usage: Card.ThreeDSecureUsage | null; - - /** - * If this Card is part of a card wallet, this contains the details of the card wallet. - */ - wallet: Card.Wallet | null; - } - - namespace Card { - interface Checks { - /** - * If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. - */ - address_line1_check: string | null; - - /** - * If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. - */ - address_postal_code_check: string | null; - - /** - * If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`. - */ - cvc_check: string | null; - } - - interface Networks { - /** - * All available networks for the card. - */ - available: Array; - - /** - * The preferred network for the card. - */ - preferred: string | null; - } - - interface ThreeDSecureUsage { - /** - * Whether 3D Secure is supported on this card. - */ - supported: boolean; - } - - interface Wallet { - amex_express_checkout?: Wallet.AmexExpressCheckout; - - apple_pay?: Wallet.ApplePay; - - /** - * (For tokenized numbers only.) The last four digits of the device account number. - */ - dynamic_last4: string | null; - - google_pay?: Wallet.GooglePay; - - masterpass?: Wallet.Masterpass; - - samsung_pay?: Wallet.SamsungPay; - - /** - * The type of the card wallet, one of `amex_express_checkout`, `apple_pay`, `google_pay`, `masterpass`, `samsung_pay`, or `visa_checkout`. An additional hash is included on the Wallet subhash with a name matching this value. It contains additional information specific to the card wallet type. - */ - type: Wallet.Type; - - visa_checkout?: Wallet.VisaCheckout; - } - - namespace Wallet { - interface AmexExpressCheckout {} - - interface ApplePay {} - - interface GooglePay {} - - interface Masterpass { - /** - * Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - billing_address: Stripe.Address | null; - - /** - * Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - email: string | null; - - /** - * Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - name: string | null; - - /** - * Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - shipping_address: Stripe.Address | null; - } - - interface SamsungPay {} - - type Type = - | 'amex_express_checkout' - | 'apple_pay' - | 'google_pay' - | 'masterpass' - | 'samsung_pay' - | 'visa_checkout'; - - interface VisaCheckout { - /** - * Owner's verified billing address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - billing_address: Stripe.Address | null; - - /** - * Owner's verified email. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - email: string | null; - - /** - * Owner's verified full name. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - name: string | null; - - /** - * Owner's verified shipping address. Values are verified or provided by the wallet directly (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - shipping_address: Stripe.Address | null; - } - } - } - - interface CardPresent {} - - interface Eps {} - - interface Fpx { - /** - * Account holder type, if provided. Can be one of `individual` or `company`. - */ - account_holder_type: Fpx.AccountHolderType | null; - - /** - * The customer's bank, if provided. Can be one of `affin_bank`, `alliance_bank`, `ambank`, `bank_islam`, `bank_muamalat`, `bank_rakyat`, `bsn`, `cimb`, `hong_leong_bank`, `hsbc`, `kfh`, `maybank2u`, `ocbc`, `public_bank`, `rhb`, `standard_chartered`, `uob`, `deutsche_bank`, `maybank2e`, or `pb_enterprise`. - */ - bank: Fpx.Bank; - } - - namespace Fpx { - type AccountHolderType = 'company' | 'individual'; - - type Bank = - | 'affin_bank' - | 'alliance_bank' - | 'ambank' - | 'bank_islam' - | 'bank_muamalat' - | 'bank_rakyat' - | 'bsn' - | 'cimb' - | 'deutsche_bank' - | 'hong_leong_bank' - | 'hsbc' - | 'kfh' - | 'maybank2e' - | 'maybank2u' - | 'ocbc' - | 'pb_enterprise' - | 'public_bank' - | 'rhb' - | 'standard_chartered' - | 'uob'; - } - - interface Giropay {} - - interface Grabpay {} - - interface Ideal { - /** - * The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `rabobank`, `regiobank`, `sns_bank`, `triodos_bank`, or `van_lanschot`. - */ - bank: Ideal.Bank | null; - - /** - * The Bank Identifier Code of the customer's bank, if the bank was provided. - */ - bic: Ideal.Bic | null; - } - - namespace Ideal { - type Bank = - | 'abn_amro' - | 'asn_bank' - | 'bunq' - | 'handelsbanken' - | 'ing' - | 'knab' - | 'moneyou' - | 'rabobank' - | 'regiobank' - | 'sns_bank' - | 'triodos_bank' - | 'van_lanschot'; - - type Bic = - | 'ABNANL2A' - | 'ASNBNL21' - | 'BUNQNL2A' - | 'FVLBNL22' - | 'HANDNL2A' - | 'INGBNL2A' - | 'KNABNL2H' - | 'MOYONL21' - | 'RABONL2U' - | 'RBRBNL21' - | 'SNSBNL2A' - | 'TRIONL2U'; - } - - interface InteracPresent {} - - interface Oxxo {} - - interface P24 { - /** - * The customer's bank, if provided. - */ - bank: P24.Bank | null; - } - - namespace P24 { - type Bank = - | 'alior_bank' - | 'bank_millennium' - | 'bank_nowy_bfg_sa' - | 'bank_pekao_sa' - | 'banki_spbdzielcze' - | 'blik' - | 'bnp_paribas' - | 'boz' - | 'citi_handlowy' - | 'credit_agricole' - | 'envelobank' - | 'etransfer_pocztowy24' - | 'getin_bank' - | 'ideabank' - | 'ing' - | 'inteligo' - | 'mbank_mtransfer' - | 'nest_przelew' - | 'noble_pay' - | 'pbac_z_ipko' - | 'plus_bank' - | 'santander_przelew24' - | 'tmobile_usbugi_bankowe' - | 'toyota_bank' - | 'volkswagen_bank'; - } - - interface SepaDebit { - /** - * Bank code of bank associated with the bank account. - */ - bank_code: string | null; - - /** - * Branch code of bank associated with the bank account. - */ - branch_code: string | null; - - /** - * Two-letter ISO code representing the country the bank account is located in. - */ - country: string | null; - - /** - * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same. - */ - fingerprint: string | null; - - /** - * Information about the object that generated this PaymentMethod. - */ - generated_from: SepaDebit.GeneratedFrom | null; - - /** - * Last four characters of the IBAN. - */ - last4: string | null; - } - - namespace SepaDebit { - interface GeneratedFrom { - /** - * The ID of the Charge that generated this PaymentMethod, if any. - */ - charge: string | Stripe.Charge | null; - - /** - * The ID of the SetupAttempt that generated this PaymentMethod, if any. - */ - setup_attempt: string | Stripe.SetupAttempt | null; - } - } - - interface Sofort { - /** - * Two-letter ISO code representing the country the bank account is located in. - */ - country: string | null; - } - - type Type = - | 'alipay' - | 'au_becs_debit' - | 'bacs_debit' - | 'bancontact' - | 'card' - | 'card_present' - | 'eps' - | 'fpx' - | 'giropay' - | 'grabpay' - | 'ideal' - | 'interac_present' - | 'oxxo' - | 'p24' - | 'sepa_debit' - | 'sofort'; - } - - interface PaymentMethodCreateParams { - /** - * If this is an `Alipay` PaymentMethod, this hash contains details about the Alipay payment method. - */ - alipay?: PaymentMethodCreateParams.Alipay; - - /** - * If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account. - */ - au_becs_debit?: PaymentMethodCreateParams.AuBecsDebit; - - /** - * If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account. - */ - bacs_debit?: PaymentMethodCreateParams.BacsDebit; - - /** - * If this is a `bancontact` PaymentMethod, this hash contains details about the Bancontact payment method. - */ - bancontact?: PaymentMethodCreateParams.Bancontact; - - /** - * Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. - */ - billing_details?: PaymentMethodCreateParams.BillingDetails; - - /** - * If this is a `card` PaymentMethod, this hash contains the user's card details. For backwards compatibility, you can alternatively provide a Stripe token (e.g., for Apple Pay, Amex Express Checkout, or legacy Checkout) into the card hash with format `card: {token: "tok_visa"}`. When providing a card number, you must meet the requirements for [PCI compliance](https://stripe.com/docs/security#validating-pci-compliance). We strongly recommend using Stripe.js instead of interacting with this API directly. - */ - card?: PaymentMethodCreateParams.Card1 | PaymentMethodCreateParams.Card2; - - /** - * The `Customer` to whom the original PaymentMethod is attached. - */ - customer?: string; - - /** - * If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method. - */ - eps?: PaymentMethodCreateParams.Eps; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * If this is an `fpx` PaymentMethod, this hash contains details about the FPX payment method. - */ - fpx?: PaymentMethodCreateParams.Fpx; - - /** - * If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method. - */ - giropay?: PaymentMethodCreateParams.Giropay; - - /** - * If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method. - */ - grabpay?: PaymentMethodCreateParams.Grabpay; - - /** - * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method. - */ - ideal?: PaymentMethodCreateParams.Ideal; - - /** - * If this is an `interac_present` PaymentMethod, this hash contains details about the Interac Present payment method. - */ - interac_present?: PaymentMethodCreateParams.InteracPresent; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method. - */ - oxxo?: PaymentMethodCreateParams.Oxxo; - - /** - * If this is a `p24` PaymentMethod, this hash contains details about the P24 payment method. - */ - p24?: PaymentMethodCreateParams.P24; - - /** - * The PaymentMethod to share. - */ - payment_method?: string; - - /** - * If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account. - */ - sepa_debit?: PaymentMethodCreateParams.SepaDebit; - - /** - * If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method. - */ - sofort?: PaymentMethodCreateParams.Sofort; - - /** - * The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type. - */ - type?: PaymentMethodCreateParams.Type; - } - - namespace PaymentMethodCreateParams { - interface Alipay {} - - interface AuBecsDebit { - /** - * The account number for the bank account. - */ - account_number: string; - - /** - * Bank-State-Branch number of the bank account. - */ - bsb_number: string; - } - - interface BacsDebit { - /** - * Account number of the bank account that the funds will be debited from. - */ - account_number?: string; - - /** - * Sort code of the bank account. (e.g., `10-20-30`) - */ - sort_code?: string; - } - - interface Bancontact {} - - interface BillingDetails { - /** - * Billing address. - */ - address?: Stripe.Emptyable; - - /** - * Email address. - */ - email?: string; - - /** - * Full name. - */ - name?: string; - - /** - * Billing phone number (including extension). - */ - phone?: string; - } - - namespace BillingDetails { - interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - } - } - - interface Card1 { - /** - * The card's CVC. It is highly recommended to always include this value. - */ - cvc?: string; - - /** - * Two-digit number representing the card's expiration month. - */ - exp_month: number; - - /** - * Four-digit number representing the card's expiration year. - */ - exp_year: number; - - /** - * The card number, as a string without any separators. - */ - number: string; - } - - interface Card2 { - token: string; - } - - interface Eps {} - - interface Fpx { - /** - * Account holder type for FPX transaction - */ - account_holder_type?: Fpx.AccountHolderType; - - /** - * The customer's bank. - */ - bank: Fpx.Bank; - } - - namespace Fpx { - type AccountHolderType = 'company' | 'individual'; - - type Bank = - | 'affin_bank' - | 'alliance_bank' - | 'ambank' - | 'bank_islam' - | 'bank_muamalat' - | 'bank_rakyat' - | 'bsn' - | 'cimb' - | 'deutsche_bank' - | 'hong_leong_bank' - | 'hsbc' - | 'kfh' - | 'maybank2e' - | 'maybank2u' - | 'ocbc' - | 'pb_enterprise' - | 'public_bank' - | 'rhb' - | 'standard_chartered' - | 'uob'; - } - - interface Giropay {} - - interface Grabpay {} - - interface Ideal { - /** - * The customer's bank. - */ - bank?: Ideal.Bank; - } - - namespace Ideal { - type Bank = - | 'abn_amro' - | 'asn_bank' - | 'bunq' - | 'handelsbanken' - | 'ing' - | 'knab' - | 'moneyou' - | 'rabobank' - | 'regiobank' - | 'sns_bank' - | 'triodos_bank' - | 'van_lanschot'; - } - - interface InteracPresent {} - - interface Oxxo {} - - interface P24 { - /** - * The customer's bank. - */ - bank?: P24.Bank; - } - - namespace P24 { - type Bank = - | 'alior_bank' - | 'bank_millennium' - | 'bank_nowy_bfg_sa' - | 'bank_pekao_sa' - | 'banki_spbdzielcze' - | 'blik' - | 'bnp_paribas' - | 'boz' - | 'citi_handlowy' - | 'credit_agricole' - | 'envelobank' - | 'etransfer_pocztowy24' - | 'getin_bank' - | 'ideabank' - | 'ing' - | 'inteligo' - | 'mbank_mtransfer' - | 'nest_przelew' - | 'noble_pay' - | 'pbac_z_ipko' - | 'plus_bank' - | 'santander_przelew24' - | 'tmobile_usbugi_bankowe' - | 'toyota_bank' - | 'volkswagen_bank'; - } - - interface SepaDebit { - /** - * IBAN of the bank account. - */ - iban: string; - } - - interface Sofort { - /** - * Two-letter ISO code representing the country the bank account is located in. - */ - country: Sofort.Country; - } - - namespace Sofort { - type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL'; - } - - type Type = - | 'alipay' - | 'au_becs_debit' - | 'bacs_debit' - | 'bancontact' - | 'card' - | 'eps' - | 'fpx' - | 'giropay' - | 'grabpay' - | 'ideal' - | 'oxxo' - | 'p24' - | 'sepa_debit' - | 'sofort'; - } - - interface PaymentMethodRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface PaymentMethodUpdateParams { - /** - * This is a legacy parameter that will be removed in the future. It is a hash that does not accept any keys. - */ - au_becs_debit?: PaymentMethodUpdateParams.AuBecsDebit; - - /** - * Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods. - */ - billing_details?: PaymentMethodUpdateParams.BillingDetails; - - /** - * If this is a `card` PaymentMethod, this hash contains the user's card details. - */ - card?: PaymentMethodUpdateParams.Card; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * This is a legacy parameter that will be removed in the future. It is a hash that does not accept any keys. - */ - sepa_debit?: PaymentMethodUpdateParams.SepaDebit; - } - - namespace PaymentMethodUpdateParams { - interface AuBecsDebit {} - - interface BillingDetails { - /** - * Billing address. - */ - address?: Stripe.Emptyable; - - /** - * Email address. - */ - email?: string; - - /** - * Full name. - */ - name?: string; - - /** - * Billing phone number (including extension). - */ - phone?: string; - } - - namespace BillingDetails { - interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - } - } - - interface Card { - /** - * Two-digit number representing the card's expiration month. - */ - exp_month?: number; - - /** - * Four-digit number representing the card's expiration year. - */ - exp_year?: number; - } - - interface SepaDebit {} - } - - interface PaymentMethodListParams extends PaginationParams { - /** - * The ID of the customer whose PaymentMethods will be retrieved. - */ - customer: string; - - /** - * A required filter on the list, based on the object `type` field. - */ - type: PaymentMethodListParams.Type; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - namespace PaymentMethodListParams { - type Type = - | 'alipay' - | 'au_becs_debit' - | 'bacs_debit' - | 'bancontact' - | 'card' - | 'card_present' - | 'eps' - | 'fpx' - | 'giropay' - | 'grabpay' - | 'ideal' - | 'oxxo' - | 'p24' - | 'sepa_debit' - | 'sofort'; - } - - interface PaymentMethodAttachParams { - /** - * The ID of the customer to which to attach the PaymentMethod. - */ - customer: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface PaymentMethodDetachParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - class PaymentMethodsResource { - /** - * Creates a PaymentMethod object. Read the [Stripe.js reference](https://stripe.com/docs/stripe-js/reference#stripe-create-payment-method) to learn how to create PaymentMethods via Stripe.js. - */ - create( - params?: PaymentMethodCreateParams, - options?: RequestOptions - ): Promise>; - create( - options?: RequestOptions - ): Promise>; - - /** - * Retrieves a PaymentMethod object. - */ - retrieve( - id: string, - params?: PaymentMethodRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates a PaymentMethod object. A PaymentMethod must be attached a customer to be updated. - */ - update( - id: string, - params?: PaymentMethodUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of PaymentMethods for a given Customer - */ - list( - params: PaymentMethodListParams, - options?: RequestOptions - ): ApiListPromise; - - /** - * Attaches a PaymentMethod object to a Customer. - * - * To attach a new PaymentMethod to a customer for future payments, we recommend you use a [SetupIntent](https://stripe.com/docs/api/setup_intents) - * or a PaymentIntent with [setup_future_usage](https://stripe.com/docs/api/payment_intents/create#create_payment_intent-setup_future_usage). - * These approaches will perform any necessary steps to ensure that the PaymentMethod can be used in a future payment. Using the - * /v1/payment_methods/:id/attach endpoint does not ensure that future payments can be made with the attached PaymentMethod. - * See [Optimizing cards for future payments](https://stripe.com/docs/payments/payment-intents#future-usage) for more information about setting up future payments. - * - * To use this PaymentMethod as the default for invoice or subscription payments, - * set [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method), - * on the Customer to the PaymentMethod's ID. - */ - attach( - id: string, - params: PaymentMethodAttachParams, - options?: RequestOptions - ): Promise>; - - /** - * Detaches a PaymentMethod object from a Customer. - */ - detach( - id: string, - params?: PaymentMethodDetachParams, - options?: RequestOptions - ): Promise>; - detach( - id: string, - options?: RequestOptions - ): Promise>; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Payouts.d.ts b/node_modules/stripe/types/2020-08-27/Payouts.d.ts deleted file mode 100644 index 2925ac0d..00000000 --- a/node_modules/stripe/types/2020-08-27/Payouts.d.ts +++ /dev/null @@ -1,314 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Payout object. - */ - interface Payout { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'payout'; - - /** - * Amount (in %s) to be transferred to your bank account or debit card. - */ - amount: number; - - /** - * Date the payout is expected to arrive in the bank. This factors in delays like weekends or bank holidays. - */ - arrival_date: number; - - /** - * Returns `true` if the payout was created by an [automated payout schedule](https://stripe.com/docs/payouts#payout-schedule), and `false` if it was [requested manually](https://stripe.com/docs/payouts#manual-payouts). - */ - automatic: boolean; - - /** - * ID of the balance transaction that describes the impact of this payout on your account balance. - */ - balance_transaction: string | Stripe.BalanceTransaction | null; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description: string | null; - - /** - * ID of the bank account or card the payout was sent to. - */ - destination: - | string - | Stripe.BankAccount - | DeletedBankAccount - | Stripe.Card - | DeletedCard - | null; - - /** - * If the payout failed or was canceled, this will be the ID of the balance transaction that reversed the initial balance transaction, and puts the funds from the failed payout back in your balance. - */ - failure_balance_transaction: string | Stripe.BalanceTransaction | null; - - /** - * Error code explaining reason for payout failure if available. See [Types of payout failures](https://stripe.com/docs/api#payout_failures) for a list of failure codes. - */ - failure_code: string | null; - - /** - * Message to user further explaining reason for payout failure if available. - */ - failure_message: string | null; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata | null; - - /** - * The method used to send this payout, which can be `standard` or `instant`. `instant` is only supported for payouts to debit cards. (See [Instant payouts for marketplaces](https://stripe.com/blog/instant-payouts-for-marketplaces) for more information.) - */ - method: string; - - /** - * If the payout reverses another, this is the ID of the original payout. - */ - original_payout: string | Stripe.Payout | null; - - /** - * If the payout was reversed, this is the ID of the payout that reverses this payout. - */ - reversed_by: string | Stripe.Payout | null; - - /** - * The source balance this payout came from. One of `card`, `fpx`, or `bank_account`. - */ - source_type: string; - - /** - * Extra information about a payout to be displayed on the user's bank statement. - */ - statement_descriptor: string | null; - - /** - * Current status of the payout: `paid`, `pending`, `in_transit`, `canceled` or `failed`. A payout is `pending` until it is submitted to the bank, when it becomes `in_transit`. The status then changes to `paid` if the transaction goes through, or to `failed` or `canceled` (within 5 business days). Some failed payouts may initially show as `paid` but then change to `failed`. - */ - status: string; - - /** - * Can be `bank_account` or `card`. - */ - type: Payout.Type; - } - - namespace Payout { - type Type = 'bank_account' | 'card'; - } - - interface PayoutCreateParams { - /** - * A positive integer in cents representing how much to payout. - */ - amount: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description?: string; - - /** - * The ID of a bank account or a card to send the payout to. If no destination is supplied, the default external account for the specified currency will be used. - */ - destination?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * The method used to send this payout, which can be `standard` or `instant`. `instant` is only supported for payouts to debit cards. (See [Instant payouts for marketplaces for more information](https://stripe.com/blog/instant-payouts-for-marketplaces).) - */ - method?: PayoutCreateParams.Method; - - /** - * The balance type of your Stripe balance to draw this payout from. Balances for different payment sources are kept separately. You can find the amounts with the balances API. One of `bank_account`, `card`, or `fpx`. - */ - source_type?: PayoutCreateParams.SourceType; - - /** - * A string to be displayed on the recipient's bank or card statement. This may be at most 22 characters. Attempting to use a `statement_descriptor` longer than 22 characters will return an error. Note: Most banks will truncate this information and/or display it inconsistently. Some may not display it at all. - */ - statement_descriptor?: string; - } - - namespace PayoutCreateParams { - type Method = 'instant' | 'standard'; - - type SourceType = 'bank_account' | 'card' | 'fpx'; - } - - interface PayoutRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface PayoutUpdateParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - } - - interface PayoutListParams extends PaginationParams { - arrival_date?: Stripe.RangeQueryParam | number; - - created?: Stripe.RangeQueryParam | number; - - /** - * The ID of an external account - only return payouts sent to this external account. - */ - destination?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Only return payouts that have the given status: `pending`, `paid`, `failed`, or `canceled`. - */ - status?: string; - } - - interface PayoutCancelParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface PayoutReverseParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - } - - class PayoutsResource { - /** - * To send funds to your own bank account, you create a new payout object. Your [Stripe balance](https://stripe.com/docs/api#balance) must be able to cover the payout amount, or you'll receive an “Insufficient Funds” error. - * - * If your API key is in test mode, money won't actually be sent, though everything else will occur as if in live mode. - * - * If you are creating a manual payout on a Stripe account that uses multiple payment source types, you'll need to specify the source type balance that the payout should draw from. The [balance object](https://stripe.com/docs/api#balance_object) details available and pending amounts by source type. - */ - create( - params: PayoutCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves the details of an existing payout. Supply the unique payout ID from either a payout creation request or the payout list, and Stripe will return the corresponding payout information. - */ - retrieve( - id: string, - params?: PayoutRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates the specified payout by setting the values of the parameters passed. Any parameters not provided will be left unchanged. This request accepts only the metadata as arguments. - */ - update( - id: string, - params?: PayoutUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of existing payouts sent to third-party bank accounts or that Stripe has sent you. The payouts are returned in sorted order, with the most recently created payouts appearing first. - */ - list( - params?: PayoutListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - - /** - * A previously created payout can be canceled if it has not yet been paid out. Funds will be refunded to your available balance. You may not cancel automatic Stripe payouts. - */ - cancel( - id: string, - params?: PayoutCancelParams, - options?: RequestOptions - ): Promise>; - cancel( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Reverses a payout by debiting the destination bank account. Only payouts for connected accounts to US bank accounts may be reversed at this time. If the payout is in the pending status, /v1/payouts/:id/cancel should be used instead. - * - * By requesting a reversal via /v1/payouts/:id/reverse, you confirm that the authorized signatory of the selected bank account has authorized the debit on the bank account and that no other authorization is required. - */ - reverse( - id: string, - params?: PayoutReverseParams, - options?: RequestOptions - ): Promise>; - reverse( - id: string, - options?: RequestOptions - ): Promise>; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Persons.d.ts b/node_modules/stripe/types/2020-08-27/Persons.d.ts deleted file mode 100644 index f0a0a83d..00000000 --- a/node_modules/stripe/types/2020-08-27/Persons.d.ts +++ /dev/null @@ -1,944 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Person object. - */ - interface Person { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'person'; - - /** - * The account the person is associated with. - */ - account: string; - - address?: Stripe.Address; - - /** - * The Kana variation of the person's address (Japan only). - */ - address_kana?: Person.AddressKana | null; - - /** - * The Kanji variation of the person's address (Japan only). - */ - address_kanji?: Person.AddressKanji | null; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - deleted?: void; - - dob?: Person.Dob; - - /** - * The person's email address. - */ - email?: string | null; - - /** - * The person's first name. - */ - first_name?: string | null; - - /** - * The Kana variation of the person's first name (Japan only). - */ - first_name_kana?: string | null; - - /** - * The Kanji variation of the person's first name (Japan only). - */ - first_name_kanji?: string | null; - - /** - * The person's gender (International regulations require either "male" or "female"). - */ - gender?: string | null; - - /** - * Whether the person's `id_number` was provided. - */ - id_number_provided?: boolean; - - /** - * The person's last name. - */ - last_name?: string | null; - - /** - * The Kana variation of the person's last name (Japan only). - */ - last_name_kana?: string | null; - - /** - * The Kanji variation of the person's last name (Japan only). - */ - last_name_kanji?: string | null; - - /** - * The person's maiden name. - */ - maiden_name?: string | null; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata?: Stripe.Metadata; - - /** - * The person's phone number. - */ - phone?: string | null; - - /** - * Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction. - */ - political_exposure?: Person.PoliticalExposure; - - relationship?: Person.Relationship; - - /** - * Information about the requirements for this person, including what information needs to be collected, and by when. - */ - requirements?: Person.Requirements | null; - - /** - * Whether the last four digits of the person's Social Security number have been provided (U.S. only). - */ - ssn_last_4_provided?: boolean; - - verification?: Person.Verification; - } - - namespace Person { - interface AddressKana { - /** - * City/Ward. - */ - city: string | null; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country: string | null; - - /** - * Block/Building number. - */ - line1: string | null; - - /** - * Building details. - */ - line2: string | null; - - /** - * ZIP or postal code. - */ - postal_code: string | null; - - /** - * Prefecture. - */ - state: string | null; - - /** - * Town/cho-me. - */ - town: string | null; - } - - interface AddressKanji { - /** - * City/Ward. - */ - city: string | null; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country: string | null; - - /** - * Block/Building number. - */ - line1: string | null; - - /** - * Building details. - */ - line2: string | null; - - /** - * ZIP or postal code. - */ - postal_code: string | null; - - /** - * Prefecture. - */ - state: string | null; - - /** - * Town/cho-me. - */ - town: string | null; - } - - interface Dob { - /** - * The day of birth, between 1 and 31. - */ - day: number | null; - - /** - * The month of birth, between 1 and 12. - */ - month: number | null; - - /** - * The four-digit year of birth. - */ - year: number | null; - } - - type PoliticalExposure = 'existing' | 'none'; - - interface Relationship { - /** - * Whether the person is a director of the account's legal entity. Currently only required for accounts in the EU. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. - */ - director: boolean | null; - - /** - * Whether the person has significant responsibility to control, manage, or direct the organization. - */ - executive: boolean | null; - - /** - * Whether the person is an owner of the account's legal entity. - */ - owner: boolean | null; - - /** - * The percent owned by the person of the account's legal entity. - */ - percent_ownership: number | null; - - /** - * Whether the person is authorized as the primary representative of the account. This is the person nominated by the business to provide information about themselves, and general information about the account. There can only be one representative at any given time. At the time the account is created, this person should be set to the person responsible for opening the account. - */ - representative: boolean | null; - - /** - * The person's title (e.g., CEO, Support Engineer). - */ - title: string | null; - } - - interface Requirements { - /** - * Fields that need to be collected to keep the person's account enabled. If not collected by the account's `current_deadline`, these fields appear in `past_due` as well, and the account is disabled. - */ - currently_due: Array; - - /** - * The fields that are `currently_due` and need to be collected again because validation or verification failed for some reason. - */ - errors: Array; - - /** - * Fields that need to be collected assuming all volume thresholds are reached. As fields are needed, they are moved to `currently_due` and the account's `current_deadline` is set. - */ - eventually_due: Array; - - /** - * Fields that weren't collected by the account's `current_deadline`. These fields need to be collected to enable payouts for the person's account. - */ - past_due: Array; - - /** - * Fields that may become required depending on the results of verification or review. An empty array unless an asynchronous verification is pending. If verification fails, the fields in this array become required and move to `currently_due` or `past_due`. - */ - pending_verification: Array; - } - - namespace Requirements { - interface Error { - /** - * The code for the type of error. - */ - code: Error.Code; - - /** - * An informative message that indicates the error type and provides additional details about the error. - */ - reason: string; - - /** - * The specific user onboarding requirement field (in the requirements hash) that needs to be resolved. - */ - requirement: string; - } - - namespace Error { - type Code = - | 'invalid_address_city_state_postal_code' - | 'invalid_street_address' - | 'invalid_value_other' - | 'verification_document_address_mismatch' - | 'verification_document_address_missing' - | 'verification_document_corrupt' - | 'verification_document_country_not_supported' - | 'verification_document_dob_mismatch' - | 'verification_document_duplicate_type' - | 'verification_document_expired' - | 'verification_document_failed_copy' - | 'verification_document_failed_greyscale' - | 'verification_document_failed_other' - | 'verification_document_failed_test_mode' - | 'verification_document_fraudulent' - | 'verification_document_id_number_mismatch' - | 'verification_document_id_number_missing' - | 'verification_document_incomplete' - | 'verification_document_invalid' - | 'verification_document_issue_or_expiry_date_missing' - | 'verification_document_manipulated' - | 'verification_document_missing_back' - | 'verification_document_missing_front' - | 'verification_document_name_mismatch' - | 'verification_document_name_missing' - | 'verification_document_nationality_mismatch' - | 'verification_document_not_readable' - | 'verification_document_not_signed' - | 'verification_document_not_uploaded' - | 'verification_document_photo_mismatch' - | 'verification_document_too_large' - | 'verification_document_type_not_supported' - | 'verification_failed_address_match' - | 'verification_failed_business_iec_number' - | 'verification_failed_document_match' - | 'verification_failed_id_number_match' - | 'verification_failed_keyed_identity' - | 'verification_failed_keyed_match' - | 'verification_failed_name_match' - | 'verification_failed_other' - | 'verification_failed_tax_id_match' - | 'verification_failed_tax_id_not_issued'; - } - } - - interface Verification { - /** - * A document showing address, either a passport, local ID card, or utility bill from a well-known utility company. - */ - additional_document?: Verification.AdditionalDocument | null; - - /** - * A user-displayable string describing the verification state for the person. For example, this may say "Provided identity information could not be verified". - */ - details?: string | null; - - /** - * One of `document_address_mismatch`, `document_dob_mismatch`, `document_duplicate_type`, `document_id_number_mismatch`, `document_name_mismatch`, `document_nationality_mismatch`, `failed_keyed_identity`, or `failed_other`. A machine-readable code specifying the verification state for the person. - */ - details_code?: string | null; - - document?: Verification.Document; - - /** - * The state of verification for the person. Possible values are `unverified`, `pending`, or `verified`. - */ - status: string; - } - - namespace Verification { - interface AdditionalDocument { - /** - * The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. - */ - back: string | Stripe.File | null; - - /** - * A user-displayable string describing the verification state of this document. For example, if a document is uploaded and the picture is too fuzzy, this may say "Identity document is too unclear to read". - */ - details: string | null; - - /** - * One of `document_corrupt`, `document_country_not_supported`, `document_expired`, `document_failed_copy`, `document_failed_other`, `document_failed_test_mode`, `document_fraudulent`, `document_failed_greyscale`, `document_incomplete`, `document_invalid`, `document_manipulated`, `document_missing_back`, `document_missing_front`, `document_not_readable`, `document_not_uploaded`, `document_photo_mismatch`, `document_too_large`, or `document_type_not_supported`. A machine-readable code specifying the verification state for this document. - */ - details_code: string | null; - - /** - * The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. - */ - front: string | Stripe.File | null; - } - - interface Document { - /** - * The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. - */ - back: string | Stripe.File | null; - - /** - * A user-displayable string describing the verification state of this document. For example, if a document is uploaded and the picture is too fuzzy, this may say "Identity document is too unclear to read". - */ - details: string | null; - - /** - * One of `document_corrupt`, `document_country_not_supported`, `document_expired`, `document_failed_copy`, `document_failed_other`, `document_failed_test_mode`, `document_fraudulent`, `document_failed_greyscale`, `document_incomplete`, `document_invalid`, `document_manipulated`, `document_missing_back`, `document_missing_front`, `document_not_readable`, `document_not_uploaded`, `document_photo_mismatch`, `document_too_large`, or `document_type_not_supported`. A machine-readable code specifying the verification state for this document. - */ - details_code: string | null; - - /** - * The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. - */ - front: string | Stripe.File | null; - } - } - } - - /** - * The DeletedPerson object. - */ - interface DeletedPerson { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'person'; - - /** - * Always true for a deleted object - */ - deleted: true; - } - - interface PersonCreateParams { - /** - * The person's address. - */ - address?: PersonCreateParams.Address; - - /** - * The Kana variation of the person's address (Japan only). - */ - address_kana?: Stripe.JapanAddressParam; - - /** - * The Kanji variation of the person's address (Japan only). - */ - address_kanji?: Stripe.JapanAddressParam; - - /** - * The person's date of birth. - */ - dob?: Stripe.Emptyable; - - /** - * The person's email address. - */ - email?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * The person's first name. - */ - first_name?: string; - - /** - * The Kana variation of the person's first name (Japan only). - */ - first_name_kana?: string; - - /** - * The Kanji variation of the person's first name (Japan only). - */ - first_name_kanji?: string; - - /** - * The person's gender (International regulations require either "male" or "female"). - */ - gender?: string; - - /** - * The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/stripe.js#collecting-pii-data). - */ - id_number?: string; - - /** - * The person's last name. - */ - last_name?: string; - - /** - * The Kana variation of the person's last name (Japan only). - */ - last_name_kana?: string; - - /** - * The Kanji variation of the person's last name (Japan only). - */ - last_name_kanji?: string; - - /** - * The person's maiden name. - */ - maiden_name?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * A [person token](https://stripe.com/docs/connect/account-tokens), used to securely provide details to the person. - */ - person_token?: string; - - /** - * The person's phone number. - */ - phone?: string; - - /** - * Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction. - */ - political_exposure?: string; - - /** - * The relationship that this person has with the account's legal entity. - */ - relationship?: PersonCreateParams.Relationship; - - /** - * The last four digits of the person's Social Security number (U.S. only). - */ - ssn_last_4?: string; - - /** - * The person's verification status. - */ - verification?: PersonCreateParams.Verification; - } - - namespace PersonCreateParams { - interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - } - - interface Dob { - /** - * The day of birth, between 1 and 31. - */ - day: number; - - /** - * The month of birth, between 1 and 12. - */ - month: number; - - /** - * The four-digit year of birth. - */ - year: number; - } - - interface Relationship { - /** - * Whether the person is a director of the account's legal entity. Currently only required for accounts in the EU. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. - */ - director?: boolean; - - /** - * Whether the person has significant responsibility to control, manage, or direct the organization. - */ - executive?: boolean; - - /** - * Whether the person is an owner of the account's legal entity. - */ - owner?: boolean; - - /** - * The percent owned by the person of the account's legal entity. - */ - percent_ownership?: Stripe.Emptyable; - - /** - * Whether the person is authorized as the primary representative of the account. This is the person nominated by the business to provide information about themselves, and general information about the account. There can only be one representative at any given time. At the time the account is created, this person should be set to the person responsible for opening the account. - */ - representative?: boolean; - - /** - * The person's title (e.g., CEO, Support Engineer). - */ - title?: string; - } - - interface Verification { - /** - * A document showing address, either a passport, local ID card, or utility bill from a well-known utility company. - */ - additional_document?: Verification.AdditionalDocument; - - /** - * An identifying document, either a passport or local ID card. - */ - document?: Verification.Document; - } - - namespace Verification { - interface AdditionalDocument { - /** - * The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; - - /** - * The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front?: string; - } - - interface Document { - /** - * The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; - - /** - * The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front?: string; - } - } - } - - interface PersonRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface PersonUpdateParams { - /** - * The person's address. - */ - address?: PersonUpdateParams.Address; - - /** - * The Kana variation of the person's address (Japan only). - */ - address_kana?: Stripe.JapanAddressParam; - - /** - * The Kanji variation of the person's address (Japan only). - */ - address_kanji?: Stripe.JapanAddressParam; - - /** - * The person's date of birth. - */ - dob?: Stripe.Emptyable; - - /** - * The person's email address. - */ - email?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * The person's first name. - */ - first_name?: string; - - /** - * The Kana variation of the person's first name (Japan only). - */ - first_name_kana?: string; - - /** - * The Kanji variation of the person's first name (Japan only). - */ - first_name_kanji?: string; - - /** - * The person's gender (International regulations require either "male" or "female"). - */ - gender?: string; - - /** - * The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/stripe.js#collecting-pii-data). - */ - id_number?: string; - - /** - * The person's last name. - */ - last_name?: string; - - /** - * The Kana variation of the person's last name (Japan only). - */ - last_name_kana?: string; - - /** - * The Kanji variation of the person's last name (Japan only). - */ - last_name_kanji?: string; - - /** - * The person's maiden name. - */ - maiden_name?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * A [person token](https://stripe.com/docs/connect/account-tokens), used to securely provide details to the person. - */ - person_token?: string; - - /** - * The person's phone number. - */ - phone?: string; - - /** - * Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction. - */ - political_exposure?: string; - - /** - * The relationship that this person has with the account's legal entity. - */ - relationship?: PersonUpdateParams.Relationship; - - /** - * The last four digits of the person's Social Security number (U.S. only). - */ - ssn_last_4?: string; - - /** - * The person's verification status. - */ - verification?: PersonUpdateParams.Verification; - } - - namespace PersonUpdateParams { - interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - } - - interface Dob { - /** - * The day of birth, between 1 and 31. - */ - day: number; - - /** - * The month of birth, between 1 and 12. - */ - month: number; - - /** - * The four-digit year of birth. - */ - year: number; - } - - interface Relationship { - /** - * Whether the person is a director of the account's legal entity. Currently only required for accounts in the EU. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. - */ - director?: boolean; - - /** - * Whether the person has significant responsibility to control, manage, or direct the organization. - */ - executive?: boolean; - - /** - * Whether the person is an owner of the account's legal entity. - */ - owner?: boolean; - - /** - * The percent owned by the person of the account's legal entity. - */ - percent_ownership?: Stripe.Emptyable; - - /** - * Whether the person is authorized as the primary representative of the account. This is the person nominated by the business to provide information about themselves, and general information about the account. There can only be one representative at any given time. At the time the account is created, this person should be set to the person responsible for opening the account. - */ - representative?: boolean; - - /** - * The person's title (e.g., CEO, Support Engineer). - */ - title?: string; - } - - interface Verification { - /** - * A document showing address, either a passport, local ID card, or utility bill from a well-known utility company. - */ - additional_document?: Verification.AdditionalDocument; - - /** - * An identifying document, either a passport or local ID card. - */ - document?: Verification.Document; - } - - namespace Verification { - interface AdditionalDocument { - /** - * The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; - - /** - * The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front?: string; - } - - interface Document { - /** - * The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; - - /** - * The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front?: string; - } - } - } - - interface PersonListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Filters on the list of people returned based on the person's relationship to the account's company. - */ - relationship?: PersonListParams.Relationship; - } - - namespace PersonListParams { - interface Relationship { - /** - * A filter on the list of people returned based on whether these people are directors of the account's company. - */ - director?: boolean; - - /** - * A filter on the list of people returned based on whether these people are executives of the account's company. - */ - executive?: boolean; - - /** - * A filter on the list of people returned based on whether these people are owners of the account's company. - */ - owner?: boolean; - - /** - * A filter on the list of people returned based on whether these people are the representative of the account's company. - */ - representative?: boolean; - } - } - - interface PersonDeleteParams {} - } -} diff --git a/node_modules/stripe/types/2020-08-27/Plans.d.ts b/node_modules/stripe/types/2020-08-27/Plans.d.ts deleted file mode 100644 index e6e490d1..00000000 --- a/node_modules/stripe/types/2020-08-27/Plans.d.ts +++ /dev/null @@ -1,481 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Plan object. - */ - interface Plan { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'plan'; - - /** - * Whether the plan can be used for new purchases. - */ - active: boolean; - - /** - * Specifies a usage aggregation strategy for plans of `usage_type=metered`. Allowed values are `sum` for summing up all usage during a period, `last_during_period` for using the last usage record reported within a period, `last_ever` for using the last usage record ever (across period bounds) or `max` which uses the usage record with the maximum reported usage during a period. Defaults to `sum`. - */ - aggregate_usage: Plan.AggregateUsage | null; - - /** - * The unit amount in %s to be charged, represented as a whole integer if possible. - */ - amount: number | null; - - /** - * The unit amount in %s to be charged, represented as a decimal string with at most 12 decimal places. - */ - amount_decimal: string | null; - - /** - * Describes how to compute the price per period. Either `per_unit` or `tiered`. `per_unit` indicates that the fixed amount (specified in `amount`) will be charged per unit in `quantity` (for plans with `usage_type=licensed`), or per unit of total usage (for plans with `usage_type=metered`). `tiered` indicates that the unit pricing will be computed using a tiering strategy as defined using the `tiers` and `tiers_mode` attributes. - */ - billing_scheme: Plan.BillingScheme; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - deleted?: void; - - /** - * The frequency at which a subscription is billed. One of `day`, `week`, `month` or `year`. - */ - interval: Plan.Interval; - - /** - * The number of intervals (specified in the `interval` attribute) between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. - */ - interval_count: number; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata | null; - - /** - * A brief description of the plan, hidden from customers. - */ - nickname: string | null; - - /** - * The product whose pricing this plan determines. - */ - product: string | Stripe.Product | DeletedProduct | null; - - /** - * Each element represents a pricing tier. This parameter requires `billing_scheme` to be set to `tiered`. See also the documentation for `billing_scheme`. - */ - tiers?: Array; - - /** - * Defines if the tiering price should be `graduated` or `volume` based. In `volume`-based tiering, the maximum quantity within a period determines the per unit price. In `graduated` tiering, pricing can change as the quantity grows. - */ - tiers_mode: Plan.TiersMode | null; - - /** - * Apply a transformation to the reported usage or set quantity before computing the amount billed. Cannot be combined with `tiers`. - */ - transform_usage: Plan.TransformUsage | null; - - /** - * Default number of trial days when subscribing a customer to this plan using [`trial_from_plan=true`](https://stripe.com/docs/api#create_subscription-trial_from_plan). - */ - trial_period_days: number | null; - - /** - * Configures how the quantity per period should be determined. Can be either `metered` or `licensed`. `licensed` automatically bills the `quantity` set when adding it to a subscription. `metered` aggregates the total usage based on usage records. Defaults to `licensed`. - */ - usage_type: Plan.UsageType; - } - - namespace Plan { - type AggregateUsage = 'last_during_period' | 'last_ever' | 'max' | 'sum'; - - type BillingScheme = 'per_unit' | 'tiered'; - - type Interval = 'day' | 'month' | 'week' | 'year'; - - interface Tier { - /** - * Price for the entire tier. - */ - flat_amount: number | null; - - /** - * Same as `flat_amount`, but contains a decimal value with at most 12 decimal places. - */ - flat_amount_decimal: string | null; - - /** - * Per unit price for units relevant to the tier. - */ - unit_amount: number | null; - - /** - * Same as `unit_amount`, but contains a decimal value with at most 12 decimal places. - */ - unit_amount_decimal: string | null; - - /** - * Up to and including to this quantity will be contained in the tier. - */ - up_to: number | null; - } - - type TiersMode = 'graduated' | 'volume'; - - interface TransformUsage { - /** - * Divide usage by this number. - */ - divide_by: number; - - /** - * After division, either round the result `up` or `down`. - */ - round: TransformUsage.Round; - } - - namespace TransformUsage { - type Round = 'down' | 'up'; - } - - type UsageType = 'licensed' | 'metered'; - } - - /** - * The DeletedPlan object. - */ - interface DeletedPlan { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'plan'; - - /** - * Always true for a deleted object - */ - deleted: true; - } - - interface PlanCreateParams { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * Specifies billing frequency. Either `day`, `week`, `month` or `year`. - */ - interval: PlanCreateParams.Interval; - - /** - * Whether the plan is currently available for new subscriptions. Defaults to `true`. - */ - active?: boolean; - - /** - * Specifies a usage aggregation strategy for plans of `usage_type=metered`. Allowed values are `sum` for summing up all usage during a period, `last_during_period` for using the last usage record reported within a period, `last_ever` for using the last usage record ever (across period bounds) or `max` which uses the usage record with the maximum reported usage during a period. Defaults to `sum`. - */ - aggregate_usage?: PlanCreateParams.AggregateUsage; - - /** - * A positive integer in %s (or 0 for a free plan) representing how much to charge on a recurring basis. - */ - amount?: number; - - /** - * Same as `amount`, but accepts a decimal value with at most 12 decimal places. Only one of `amount` and `amount_decimal` can be set. - */ - amount_decimal?: string; - - /** - * Describes how to compute the price per period. Either `per_unit` or `tiered`. `per_unit` indicates that the fixed amount (specified in `amount`) will be charged per unit in `quantity` (for plans with `usage_type=licensed`), or per unit of total usage (for plans with `usage_type=metered`). `tiered` indicates that the unit pricing will be computed using a tiering strategy as defined using the `tiers` and `tiers_mode` attributes. - */ - billing_scheme?: PlanCreateParams.BillingScheme; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * An identifier randomly generated by Stripe. Used to identify this plan when subscribing a customer. You can optionally override this ID, but the ID must be unique across all plans in your Stripe account. You can, however, use the same plan ID in both live and test modes. - */ - id?: string; - - /** - * The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). - */ - interval_count?: number; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * A brief description of the plan, hidden from customers. - */ - nickname?: string; - - product?: PlanCreateParams.Product | string; - - /** - * Each element represents a pricing tier. This parameter requires `billing_scheme` to be set to `tiered`. See also the documentation for `billing_scheme`. - */ - tiers?: Array; - - /** - * Defines if the tiering price should be `graduated` or `volume` based. In `volume`-based tiering, the maximum quantity within a period determines the per unit price, in `graduated` tiering pricing can successively change as the quantity grows. - */ - tiers_mode?: PlanCreateParams.TiersMode; - - /** - * Apply a transformation to the reported usage or set quantity before computing the billed price. Cannot be combined with `tiers`. - */ - transform_usage?: PlanCreateParams.TransformUsage; - - /** - * Default number of trial days when subscribing a customer to this plan using [`trial_from_plan=true`](https://stripe.com/docs/api#create_subscription-trial_from_plan). - */ - trial_period_days?: number; - - /** - * Configures how the quantity per period should be determined. Can be either `metered` or `licensed`. `licensed` automatically bills the `quantity` set when adding it to a subscription. `metered` aggregates the total usage based on usage records. Defaults to `licensed`. - */ - usage_type?: PlanCreateParams.UsageType; - } - - namespace PlanCreateParams { - type AggregateUsage = 'last_during_period' | 'last_ever' | 'max' | 'sum'; - - type BillingScheme = 'per_unit' | 'tiered'; - - type Interval = 'day' | 'month' | 'week' | 'year'; - - interface Product { - /** - * Whether the product is currently available for purchase. Defaults to `true`. - */ - active?: boolean; - - /** - * The identifier for the product. Must be unique. If not provided, an identifier will be randomly generated. - */ - id?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * The product's name, meant to be displayable to the customer. Whenever this product is sold via a subscription, name will show up on associated invoice line item descriptions. - */ - name: string; - - /** - * An arbitrary string to be displayed on your customer's credit card or bank statement. While most banks display this information consistently, some may display it incorrectly or not at all. - * - * This may be up to 22 characters. The statement description may not include `<`, `>`, `\`, `"`, `'` characters, and will appear on your customer's statement in capital letters. Non-ASCII characters are automatically stripped. - */ - statement_descriptor?: string; - - /** - * A label that represents units of this product in Stripe and on customers' receipts and invoices. When set, this will be included in associated invoice line item descriptions. - */ - unit_label?: string; - } - - interface Tier { - /** - * The flat billing amount for an entire tier, regardless of the number of units in the tier. - */ - flat_amount?: number; - - /** - * Same as `flat_amount`, but accepts a decimal value representing an integer in the minor units of the currency. Only one of `flat_amount` and `flat_amount_decimal` can be set. - */ - flat_amount_decimal?: string; - - /** - * The per unit billing amount for each individual unit for which this tier applies. - */ - unit_amount?: number; - - /** - * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. - */ - unit_amount_decimal?: string; - - /** - * Specifies the upper bound of this tier. The lower bound of a tier is the upper bound of the previous tier adding one. Use `inf` to define a fallback tier. - */ - up_to: 'inf' | number; - } - - type TiersMode = 'graduated' | 'volume'; - - interface TransformUsage { - /** - * Divide usage by this number. - */ - divide_by: number; - - /** - * After division, either round the result `up` or `down`. - */ - round: TransformUsage.Round; - } - - namespace TransformUsage { - type Round = 'down' | 'up'; - } - - type UsageType = 'licensed' | 'metered'; - } - - interface PlanRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface PlanUpdateParams { - /** - * Whether the plan is currently available for new subscriptions. - */ - active?: boolean; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * A brief description of the plan, hidden from customers. - */ - nickname?: string; - - /** - * The product the plan belongs to. This cannot be changed once it has been used in a subscription or subscription schedule. - */ - product?: string; - - /** - * Default number of trial days when subscribing a customer to this plan using [`trial_from_plan=true`](https://stripe.com/docs/api#create_subscription-trial_from_plan). - */ - trial_period_days?: number; - } - - interface PlanListParams extends PaginationParams { - /** - * Only return plans that are active or inactive (e.g., pass `false` to list all inactive plans). - */ - active?: boolean; - - /** - * A filter on the list, based on the object `created` field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with a number of different query options. - */ - created?: Stripe.RangeQueryParam | number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Only return plans for the given product. - */ - product?: string; - } - - interface PlanDeleteParams {} - - class PlansResource { - /** - * You can now model subscriptions more flexibly using the [Prices API](https://stripe.com/docs/api#prices). It replaces the Plans API and is backwards compatible to simplify your migration. - */ - create( - params: PlanCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves the plan with the given ID. - */ - retrieve( - id: string, - params?: PlanRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates the specified plan by setting the values of the parameters passed. Any parameters not provided are left unchanged. By design, you cannot change a plan's ID, amount, currency, or billing cycle. - */ - update( - id: string, - params?: PlanUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of your plans. - */ - list( - params?: PlanListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - - /** - * Deleting plans means new subscribers can't be added. Existing subscribers aren't affected. - */ - del( - id: string, - params?: PlanDeleteParams, - options?: RequestOptions - ): Promise>; - del( - id: string, - options?: RequestOptions - ): Promise>; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/PlatformTaxFees.d.ts b/node_modules/stripe/types/2020-08-27/PlatformTaxFees.d.ts deleted file mode 100644 index 5cc1c54d..00000000 --- a/node_modules/stripe/types/2020-08-27/PlatformTaxFees.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The PlatformTaxFee object. - */ - interface PlatformTaxFee { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'platform_tax_fee'; - - /** - * The Connected account that incurred this charge. - */ - account: string; - - /** - * The payment object that caused this tax to be inflicted. - */ - source_transaction: string; - - /** - * The type of tax (VAT). - */ - type: string; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Prices.d.ts b/node_modules/stripe/types/2020-08-27/Prices.d.ts deleted file mode 100644 index 938dfd1a..00000000 --- a/node_modules/stripe/types/2020-08-27/Prices.d.ts +++ /dev/null @@ -1,573 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Price object. - */ - interface Price { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'price'; - - /** - * Whether the price can be used for new purchases. - */ - active: boolean; - - /** - * Describes how to compute the price per period. Either `per_unit` or `tiered`. `per_unit` indicates that the fixed amount (specified in `unit_amount` or `unit_amount_decimal`) will be charged per unit in `quantity` (for prices with `usage_type=licensed`), or per unit of total usage (for prices with `usage_type=metered`). `tiered` indicates that the unit pricing will be computed using a tiering strategy as defined using the `tiers` and `tiers_mode` attributes. - */ - billing_scheme: Price.BillingScheme; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - deleted?: void; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * A lookup key used to retrieve prices dynamically from a static string. - */ - lookup_key: string | null; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata; - - /** - * A brief description of the plan, hidden from customers. - */ - nickname: string | null; - - /** - * The ID of the product this price is associated with. - */ - product: string | Stripe.Product | DeletedProduct; - - /** - * The recurring components of a price such as `interval` and `usage_type`. - */ - recurring: Price.Recurring | null; - - /** - * Each element represents a pricing tier. This parameter requires `billing_scheme` to be set to `tiered`. See also the documentation for `billing_scheme`. - */ - tiers?: Array; - - /** - * Defines if the tiering price should be `graduated` or `volume` based. In `volume`-based tiering, the maximum quantity within a period determines the per unit price. In `graduated` tiering, pricing can change as the quantity grows. - */ - tiers_mode: Price.TiersMode | null; - - /** - * Apply a transformation to the reported usage or set quantity before computing the amount billed. Cannot be combined with `tiers`. - */ - transform_quantity: Price.TransformQuantity | null; - - /** - * One of `one_time` or `recurring` depending on whether the price is for a one-time purchase or a recurring (subscription) purchase. - */ - type: Price.Type; - - /** - * The unit amount in %s to be charged, represented as a whole integer if possible. - */ - unit_amount: number | null; - - /** - * The unit amount in %s to be charged, represented as a decimal string with at most 12 decimal places. - */ - unit_amount_decimal: string | null; - } - - namespace Price { - type BillingScheme = 'per_unit' | 'tiered'; - - interface Recurring { - /** - * Specifies a usage aggregation strategy for prices of `usage_type=metered`. Allowed values are `sum` for summing up all usage during a period, `last_during_period` for using the last usage record reported within a period, `last_ever` for using the last usage record ever (across period bounds) or `max` which uses the usage record with the maximum reported usage during a period. Defaults to `sum`. - */ - aggregate_usage: Recurring.AggregateUsage | null; - - /** - * The frequency at which a subscription is billed. One of `day`, `week`, `month` or `year`. - */ - interval: Recurring.Interval; - - /** - * The number of intervals (specified in the `interval` attribute) between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. - */ - interval_count: number; - - /** - * Default number of trial days when subscribing a customer to this price using [`trial_from_plan=true`](https://stripe.com/docs/api#create_subscription-trial_from_plan). - */ - trial_period_days: number | null; - - /** - * Configures how the quantity per period should be determined. Can be either `metered` or `licensed`. `licensed` automatically bills the `quantity` set when adding it to a subscription. `metered` aggregates the total usage based on usage records. Defaults to `licensed`. - */ - usage_type: Recurring.UsageType; - } - - namespace Recurring { - type AggregateUsage = - | 'last_during_period' - | 'last_ever' - | 'max' - | 'sum'; - - type Interval = 'day' | 'month' | 'week' | 'year'; - - type UsageType = 'licensed' | 'metered'; - } - - interface Tier { - /** - * Price for the entire tier. - */ - flat_amount: number | null; - - /** - * Same as `flat_amount`, but contains a decimal value with at most 12 decimal places. - */ - flat_amount_decimal: string | null; - - /** - * Per unit price for units relevant to the tier. - */ - unit_amount: number | null; - - /** - * Same as `unit_amount`, but contains a decimal value with at most 12 decimal places. - */ - unit_amount_decimal: string | null; - - /** - * Up to and including to this quantity will be contained in the tier. - */ - up_to: number | null; - } - - type TiersMode = 'graduated' | 'volume'; - - interface TransformQuantity { - /** - * Divide usage by this number. - */ - divide_by: number; - - /** - * After division, either round the result `up` or `down`. - */ - round: TransformQuantity.Round; - } - - namespace TransformQuantity { - type Round = 'down' | 'up'; - } - - type Type = 'one_time' | 'recurring'; - } - - /** - * The DeletedPrice object. - */ - interface DeletedPrice { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'price'; - - /** - * Always true for a deleted object - */ - deleted: true; - } - - interface PriceCreateParams { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * Whether the price can be used for new purchases. Defaults to `true`. - */ - active?: boolean; - - /** - * Describes how to compute the price per period. Either `per_unit` or `tiered`. `per_unit` indicates that the fixed amount (specified in `unit_amount` or `unit_amount_decimal`) will be charged per unit in `quantity` (for prices with `usage_type=licensed`), or per unit of total usage (for prices with `usage_type=metered`). `tiered` indicates that the unit pricing will be computed using a tiering strategy as defined using the `tiers` and `tiers_mode` attributes. - */ - billing_scheme?: PriceCreateParams.BillingScheme; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * A lookup key used to retrieve prices dynamically from a static string. - */ - lookup_key?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * A brief description of the price, hidden from customers. - */ - nickname?: string; - - /** - * The ID of the product that this price will belong to. - */ - product?: string; - - /** - * These fields can be used to create a new product that this price will belong to. - */ - product_data?: PriceCreateParams.ProductData; - - /** - * The recurring components of a price such as `interval` and `usage_type`. - */ - recurring?: PriceCreateParams.Recurring; - - /** - * Each element represents a pricing tier. This parameter requires `billing_scheme` to be set to `tiered`. See also the documentation for `billing_scheme`. - */ - tiers?: Array; - - /** - * Defines if the tiering price should be `graduated` or `volume` based. In `volume`-based tiering, the maximum quantity within a period determines the per unit price, in `graduated` tiering pricing can successively change as the quantity grows. - */ - tiers_mode?: PriceCreateParams.TiersMode; - - /** - * If set to true, will atomically remove the lookup key from the existing price, and assign it to this price. - */ - transfer_lookup_key?: boolean; - - /** - * Apply a transformation to the reported usage or set quantity before computing the billed price. Cannot be combined with `tiers`. - */ - transform_quantity?: PriceCreateParams.TransformQuantity; - - /** - * A positive integer in %s (or 0 for a free price) representing how much to charge. - */ - unit_amount?: number; - - /** - * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. - */ - unit_amount_decimal?: string; - } - - namespace PriceCreateParams { - type BillingScheme = 'per_unit' | 'tiered'; - - interface ProductData { - /** - * Whether the product is currently available for purchase. Defaults to `true`. - */ - active?: boolean; - - /** - * The identifier for the product. Must be unique. If not provided, an identifier will be randomly generated. - */ - id?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * The product's name, meant to be displayable to the customer. Whenever this product is sold via a subscription, name will show up on associated invoice line item descriptions. - */ - name: string; - - /** - * An arbitrary string to be displayed on your customer's credit card or bank statement. While most banks display this information consistently, some may display it incorrectly or not at all. - * - * This may be up to 22 characters. The statement description may not include `<`, `>`, `\`, `"`, `'` characters, and will appear on your customer's statement in capital letters. Non-ASCII characters are automatically stripped. - */ - statement_descriptor?: string; - - /** - * A label that represents units of this product in Stripe and on customers' receipts and invoices. When set, this will be included in associated invoice line item descriptions. - */ - unit_label?: string; - } - - interface Recurring { - /** - * Specifies a usage aggregation strategy for prices of `usage_type=metered`. Allowed values are `sum` for summing up all usage during a period, `last_during_period` for using the last usage record reported within a period, `last_ever` for using the last usage record ever (across period bounds) or `max` which uses the usage record with the maximum reported usage during a period. Defaults to `sum`. - */ - aggregate_usage?: Recurring.AggregateUsage; - - /** - * Specifies billing frequency. Either `day`, `week`, `month` or `year`. - */ - interval: Recurring.Interval; - - /** - * The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). - */ - interval_count?: number; - - /** - * Default number of trial days when subscribing a customer to this price using [`trial_from_plan=true`](https://stripe.com/docs/api#create_subscription-trial_from_plan). - */ - trial_period_days?: number; - - /** - * Configures how the quantity per period should be determined. Can be either `metered` or `licensed`. `licensed` automatically bills the `quantity` set when adding it to a subscription. `metered` aggregates the total usage based on usage records. Defaults to `licensed`. - */ - usage_type?: Recurring.UsageType; - } - - namespace Recurring { - type AggregateUsage = - | 'last_during_period' - | 'last_ever' - | 'max' - | 'sum'; - - type Interval = 'day' | 'month' | 'week' | 'year'; - - type UsageType = 'licensed' | 'metered'; - } - - interface Tier { - /** - * The flat billing amount for an entire tier, regardless of the number of units in the tier. - */ - flat_amount?: number; - - /** - * Same as `flat_amount`, but accepts a decimal value representing an integer in the minor units of the currency. Only one of `flat_amount` and `flat_amount_decimal` can be set. - */ - flat_amount_decimal?: string; - - /** - * The per unit billing amount for each individual unit for which this tier applies. - */ - unit_amount?: number; - - /** - * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. - */ - unit_amount_decimal?: string; - - /** - * Specifies the upper bound of this tier. The lower bound of a tier is the upper bound of the previous tier adding one. Use `inf` to define a fallback tier. - */ - up_to: 'inf' | number; - } - - type TiersMode = 'graduated' | 'volume'; - - interface TransformQuantity { - /** - * Divide usage by this number. - */ - divide_by: number; - - /** - * After division, either round the result `up` or `down`. - */ - round: TransformQuantity.Round; - } - - namespace TransformQuantity { - type Round = 'down' | 'up'; - } - } - - interface PriceRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface PriceUpdateParams { - /** - * Whether the price can be used for new purchases. Defaults to `true`. - */ - active?: boolean; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * A lookup key used to retrieve prices dynamically from a static string. - */ - lookup_key?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * A brief description of the price, hidden from customers. - */ - nickname?: string; - - /** - * The recurring components of a price such as `interval` and `usage_type`. - */ - recurring?: Stripe.Emptyable; - - /** - * If set to true, will atomically remove the lookup key from the existing price, and assign it to this price. - */ - transfer_lookup_key?: boolean; - } - - namespace PriceUpdateParams { - interface Recurring { - /** - * Default number of trial days when subscribing a customer to this plan using [`trial_from_plan=true`](https://stripe.com/docs/api#create_subscription-trial_from_plan). - */ - trial_period_days?: number; - } - } - - interface PriceListParams extends PaginationParams { - /** - * Only return prices that are active or inactive (e.g., pass `false` to list all inactive prices). - */ - active?: boolean; - - /** - * A filter on the list, based on the object `created` field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with a number of different query options. - */ - created?: Stripe.RangeQueryParam | number; - - /** - * Only return prices for the given currency. - */ - currency?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Only return the price with these lookup_keys, if any exist. - */ - lookup_keys?: Array; - - /** - * Only return prices for the given product. - */ - product?: string; - - /** - * Only return prices with these recurring fields. - */ - recurring?: PriceListParams.Recurring; - - /** - * Only return prices of type `recurring` or `one_time`. - */ - type?: PriceListParams.Type; - } - - namespace PriceListParams { - interface Recurring { - /** - * Filter by billing frequency. Either `day`, `week`, `month` or `year`. - */ - interval?: Recurring.Interval; - - /** - * Filter by the usage type for this price. Can be either `metered` or `licensed`. - */ - usage_type?: Recurring.UsageType; - } - - namespace Recurring { - type Interval = 'day' | 'month' | 'week' | 'year'; - - type UsageType = 'licensed' | 'metered'; - } - - type Type = 'one_time' | 'recurring'; - } - - class PricesResource { - /** - * Creates a new price for an existing product. The price can be recurring or one-time. - */ - create( - params: PriceCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves the price with the given ID. - */ - retrieve( - id: string, - params?: PriceRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates the specified price by setting the values of the parameters passed. Any parameters not provided are left unchanged. - */ - update( - id: string, - params?: PriceUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of your prices. - */ - list( - params?: PriceListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Products.d.ts b/node_modules/stripe/types/2020-08-27/Products.d.ts deleted file mode 100644 index cb04e258..00000000 --- a/node_modules/stripe/types/2020-08-27/Products.d.ts +++ /dev/null @@ -1,468 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Product object. - */ - interface Product { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'product'; - - /** - * Whether the product is currently available for purchase. - */ - active: boolean; - - /** - * A list of up to 5 attributes that each SKU can provide values for (e.g., `["color", "size"]`). - */ - attributes: Array | null; - - /** - * A short one-line description of the product, meant to be displayable to the customer. Only applicable to products of `type=good`. - */ - caption: string | null; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * An array of connect application identifiers that cannot purchase this product. Only applicable to products of `type=good`. - */ - deactivate_on?: Array; - - deleted?: void; - - /** - * The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. - */ - description: string | null; - - /** - * A list of up to 8 URLs of images for this product, meant to be displayable to the customer. - */ - images: Array; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata; - - /** - * The product's name, meant to be displayable to the customer. Whenever this product is sold via a subscription, name will show up on associated invoice line item descriptions. - */ - name: string; - - /** - * The dimensions of this product for shipping purposes. A SKU associated with this product can override this value by having its own `package_dimensions`. Only applicable to products of `type=good`. - */ - package_dimensions: Product.PackageDimensions | null; - - /** - * Whether this product is a shipped good. Only applicable to products of `type=good`. - */ - shippable: boolean | null; - - /** - * Extra information about a product which will appear on your customer's credit card statement. In the case that multiple products are billed at once, the first statement descriptor will be used. - */ - statement_descriptor: string | null; - - /** - * The type of the product. The product is either of type `good`, which is eligible for use with Orders and SKUs, or `service`, which is eligible for use with Subscriptions and Plans. - */ - type: Product.Type; - - /** - * A label that represents units of this product in Stripe and on customers' receipts and invoices. When set, this will be included in associated invoice line item descriptions. - */ - unit_label: string | null; - - /** - * Time at which the object was last updated. Measured in seconds since the Unix epoch. - */ - updated: number; - - /** - * A URL of a publicly-accessible webpage for this product. Only applicable to products of `type=good`. - */ - url: string | null; - } - - namespace Product { - interface PackageDimensions { - /** - * Height, in inches. - */ - height: number; - - /** - * Length, in inches. - */ - length: number; - - /** - * Weight, in ounces. - */ - weight: number; - - /** - * Width, in inches. - */ - width: number; - } - - type Type = 'good' | 'service'; - } - - /** - * The DeletedProduct object. - */ - interface DeletedProduct { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'product'; - - /** - * Always true for a deleted object - */ - deleted: true; - } - - interface ProductCreateParams { - /** - * The product's name, meant to be displayable to the customer. Whenever this product is sold via a subscription, name will show up on associated invoice line item descriptions. - */ - name: string; - - /** - * Whether the product is currently available for purchase. Defaults to `true`. - */ - active?: boolean; - - /** - * A list of up to 5 alphanumeric attributes. Should only be set if type=`good`. - */ - attributes?: Array; - - /** - * A short one-line description of the product, meant to be displayable to the customer. May only be set if type=`good`. - */ - caption?: string; - - /** - * An array of Connect application names or identifiers that should not be able to order the SKUs for this product. May only be set if type=`good`. - */ - deactivate_on?: Array; - - /** - * The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. - */ - description?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * An identifier will be randomly generated by Stripe. You can optionally override this ID, but the ID must be unique across all products in your Stripe account. - */ - id?: string; - - /** - * A list of up to 8 URLs of images for this product, meant to be displayable to the customer. - */ - images?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * The dimensions of this product for shipping purposes. A SKU associated with this product can override this value by having its own `package_dimensions`. May only be set if type=`good`. - */ - package_dimensions?: ProductCreateParams.PackageDimensions; - - /** - * Whether this product is shipped (i.e., physical goods). Defaults to `true`. May only be set if type=`good`. - */ - shippable?: boolean; - - /** - * An arbitrary string to be displayed on your customer's credit card or bank statement. While most banks display this information consistently, some may display it incorrectly or not at all. - * - * This may be up to 22 characters. The statement description may not include `<`, `>`, `\`, `"`, `'` characters, and will appear on your customer's statement in capital letters. Non-ASCII characters are automatically stripped. - * It must contain at least one letter. - */ - statement_descriptor?: string; - - /** - * The type of the product. Defaults to `service` if not explicitly specified, enabling use of this product with Subscriptions and Plans. Set this parameter to `good` to use this product with Orders and SKUs. On API versions before `2018-02-05`, this field defaults to `good` for compatibility reasons. - */ - type?: ProductCreateParams.Type; - - /** - * A label that represents units of this product in Stripe and on customers' receipts and invoices. When set, this will be included in associated invoice line item descriptions. - */ - unit_label?: string; - - /** - * A URL of a publicly-accessible webpage for this product. May only be set if type=`good`. - */ - url?: string; - } - - namespace ProductCreateParams { - interface PackageDimensions { - /** - * Height, in inches. Maximum precision is 2 decimal places. - */ - height: number; - - /** - * Length, in inches. Maximum precision is 2 decimal places. - */ - length: number; - - /** - * Weight, in ounces. Maximum precision is 2 decimal places. - */ - weight: number; - - /** - * Width, in inches. Maximum precision is 2 decimal places. - */ - width: number; - } - - type Type = 'good' | 'service'; - } - - interface ProductRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface ProductUpdateParams { - /** - * Whether the product is available for purchase. - */ - active?: boolean; - - /** - * A list of up to 5 alphanumeric attributes that each SKU can provide values for (e.g., `["color", "size"]`). If a value for `attributes` is specified, the list specified will replace the existing attributes list on this product. Any attributes not present after the update will be deleted from the SKUs for this product. - */ - attributes?: Stripe.Emptyable>; - - /** - * A short one-line description of the product, meant to be displayable to the customer. May only be set if `type=good`. - */ - caption?: string; - - /** - * An array of Connect application names or identifiers that should not be able to order the SKUs for this product. May only be set if `type=good`. - */ - deactivate_on?: Array; - - /** - * The product's description, meant to be displayable to the customer. Use this field to optionally store a long form explanation of the product being sold for your own rendering purposes. - */ - description?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * A list of up to 8 URLs of images for this product, meant to be displayable to the customer. - */ - images?: Stripe.Emptyable>; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * The product's name, meant to be displayable to the customer. Whenever this product is sold via a subscription, name will show up on associated invoice line item descriptions. - */ - name?: string; - - /** - * The dimensions of this product for shipping purposes. A SKU associated with this product can override this value by having its own `package_dimensions`. May only be set if `type=good`. - */ - package_dimensions?: Stripe.Emptyable< - ProductUpdateParams.PackageDimensions - >; - - /** - * Whether this product is shipped (i.e., physical goods). Defaults to `true`. May only be set if `type=good`. - */ - shippable?: boolean; - - /** - * An arbitrary string to be displayed on your customer's credit card or bank statement. While most banks display this information consistently, some may display it incorrectly or not at all. - * - * This may be up to 22 characters. The statement description may not include `<`, `>`, `\`, `"`, `'` characters, and will appear on your customer's statement in capital letters. Non-ASCII characters are automatically stripped. - * It must contain at least one letter. May only be set if `type=service`. - */ - statement_descriptor?: string; - - /** - * A label that represents units of this product in Stripe and on customers' receipts and invoices. When set, this will be included in associated invoice line item descriptions. May only be set if `type=service`. - */ - unit_label?: string; - - /** - * A URL of a publicly-accessible webpage for this product. May only be set if `type=good`. - */ - url?: string; - } - - namespace ProductUpdateParams { - interface PackageDimensions { - /** - * Height, in inches. Maximum precision is 2 decimal places. - */ - height: number; - - /** - * Length, in inches. Maximum precision is 2 decimal places. - */ - length: number; - - /** - * Weight, in ounces. Maximum precision is 2 decimal places. - */ - weight: number; - - /** - * Width, in inches. Maximum precision is 2 decimal places. - */ - width: number; - } - } - - interface ProductListParams extends PaginationParams { - /** - * Only return products that are active or inactive (e.g., pass `false` to list all inactive products). - */ - active?: boolean; - - /** - * Only return products that were created during the given date interval. - */ - created?: Stripe.RangeQueryParam | number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Only return products with the given IDs. - */ - ids?: Array; - - /** - * Only return products that can be shipped (i.e., physical, not digital products). - */ - shippable?: boolean; - - /** - * Only return products of this type. - */ - type?: ProductListParams.Type; - - /** - * Only return products with the given url. - */ - url?: string; - } - - namespace ProductListParams { - type Type = 'good' | 'service'; - } - - interface ProductDeleteParams {} - - class ProductsResource { - /** - * Creates a new product object. - */ - create( - params: ProductCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves the details of an existing product. Supply the unique product ID from either a product creation request or the product list, and Stripe will return the corresponding product information. - */ - retrieve( - id: string, - params?: ProductRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates the specific product by setting the values of the parameters passed. Any parameters not provided will be left unchanged. - */ - update( - id: string, - params?: ProductUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of your products. The products are returned sorted by creation date, with the most recently created products appearing first. - */ - list( - params?: ProductListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - - /** - * Delete a product. Deleting a product is only possible if it has no prices associated with it. Additionally, deleting a product with type=good is only possible if it has no SKUs associated with it. - */ - del( - id: string, - params?: ProductDeleteParams, - options?: RequestOptions - ): Promise>; - del( - id: string, - options?: RequestOptions - ): Promise>; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/PromotionCodes.d.ts b/node_modules/stripe/types/2020-08-27/PromotionCodes.d.ts deleted file mode 100644 index a2f84517..00000000 --- a/node_modules/stripe/types/2020-08-27/PromotionCodes.d.ts +++ /dev/null @@ -1,255 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The PromotionCode object. - */ - interface PromotionCode { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'promotion_code'; - - /** - * Whether the promotion code is currently active. A promotion code is only active if the coupon is also valid. - */ - active: boolean; - - /** - * The customer-facing code. Regardless of case, this code must be unique across all active promotion codes for each customer. - */ - code: string; - - /** - * A coupon contains information about a percent-off or amount-off discount you - * might want to apply to a customer. Coupons may be applied to [invoices](https://stripe.com/docs/api#invoices) or - * [orders](https://stripe.com/docs/api#create_order-coupon). Coupons do not work with conventional one-off [charges](https://stripe.com/docs/api#create_charge). - */ - coupon: Stripe.Coupon; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * The customer that this promotion code can be used by. - */ - customer: string | Stripe.Customer | DeletedCustomer | null; - - /** - * Date at which the promotion code can no longer be redeemed. - */ - expires_at: number | null; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Maximum number of times this promotion code can be redeemed. - */ - max_redemptions: number | null; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata | null; - - restrictions: PromotionCode.Restrictions; - - /** - * Number of times this promotion code has been used. - */ - times_redeemed: number; - } - - namespace PromotionCode { - interface Restrictions { - /** - * A Boolean indicating if the Promotion Code should only be redeemed for Customers without any successful payments or invoices - */ - first_time_transaction: boolean; - - /** - * Minimum amount required to redeem this Promotion Code into a Coupon (e.g., a purchase must be $100 or more to work). - */ - minimum_amount: number | null; - - /** - * Three-letter [ISO code](https://stripe.com/docs/currencies) for minimum_amount - */ - minimum_amount_currency: string | null; - } - } - - interface PromotionCodeCreateParams { - /** - * The coupon for this promotion code. - */ - coupon: string; - - /** - * Whether the promotion code is currently active. - */ - active?: boolean; - - /** - * The customer-facing code. Regardless of case, this code must be unique across all active promotion codes for a specific customer. If left blank, we will generate one automatically. - */ - code?: string; - - /** - * The customer that this promotion code can be used by. If not set, the promotion code can be used by all customers. - */ - customer?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * The timestamp at which this promotion code will expire. If the coupon has specified a `redeems_by`, then this value cannot be after the coupon's `redeems_by`. - */ - expires_at?: number; - - /** - * A positive integer specifying the number of times the promotion code can be redeemed. If the coupon has specified a `max_redemptions`, then this value cannot be greater than the coupon's `max_redemptions`. - */ - max_redemptions?: number; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * Settings that restrict the redemption of the promotion code. - */ - restrictions?: PromotionCodeCreateParams.Restrictions; - } - - namespace PromotionCodeCreateParams { - interface Restrictions { - /** - * A Boolean indicating if the Promotion Code should only be redeemed for Customers without any successful payments or invoices - */ - first_time_transaction?: boolean; - - /** - * Minimum amount required to redeem this Promotion Code into a Coupon (e.g., a purchase must be $100 or more to work). - */ - minimum_amount?: number; - - /** - * Three-letter [ISO code](https://stripe.com/docs/currencies) for minimum_amount - */ - minimum_amount_currency?: string; - } - } - - interface PromotionCodeRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface PromotionCodeUpdateParams { - /** - * Whether the promotion code is currently active. A promotion code can only be reactivated when the coupon is still valid and the promotion code is otherwise redeemable. - */ - active?: boolean; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - } - - interface PromotionCodeListParams extends PaginationParams { - /** - * Filter promotion codes by whether they are active. - */ - active?: boolean; - - /** - * Only return promotion codes that have this case-insensitive code. - */ - code?: string; - - /** - * Only return promotion codes for this coupon. - */ - coupon?: string; - - /** - * A filter on the list, based on the object `created` field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with a number of different query options. - */ - created?: Stripe.RangeQueryParam | number; - - /** - * Only return promotion codes that are restricted to this customer. - */ - customer?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - class PromotionCodesResource { - /** - * A promotion code points to a coupon. You can optionally restrict the code to a specific customer, redemption limit, and expiration date. - */ - create( - params: PromotionCodeCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves the promotion code with the given ID. - */ - retrieve( - id: string, - params?: PromotionCodeRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates the specified promotion code by setting the values of the parameters passed. Most fields are, by design, not editable. - */ - update( - id: string, - params?: PromotionCodeUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of your promotion codes. - */ - list( - params?: PromotionCodeListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Radar/EarlyFraudWarnings.d.ts b/node_modules/stripe/types/2020-08-27/Radar/EarlyFraudWarnings.d.ts deleted file mode 100644 index 778b7caa..00000000 --- a/node_modules/stripe/types/2020-08-27/Radar/EarlyFraudWarnings.d.ts +++ /dev/null @@ -1,93 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - namespace Radar { - /** - * The EarlyFraudWarning object. - */ - interface EarlyFraudWarning { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'radar.early_fraud_warning'; - - /** - * An EFW is actionable if it has not received a dispute and has not been fully refunded. You may wish to proactively refund a charge that receives an EFW, in order to avoid receiving a dispute later. - */ - actionable: boolean; - - /** - * ID of the charge this early fraud warning is for, optionally expanded. - */ - charge: string | Stripe.Charge; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * The type of fraud labelled by the issuer. One of `card_never_received`, `fraudulent_card_application`, `made_with_counterfeit_card`, `made_with_lost_card`, `made_with_stolen_card`, `misc`, `unauthorized_use_of_card`. - */ - fraud_type: string; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - } - - interface EarlyFraudWarningRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface EarlyFraudWarningListParams extends PaginationParams { - /** - * Only return early fraud warnings for the charge specified by this charge ID. - */ - charge?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - class EarlyFraudWarningsResource { - /** - * Retrieves the details of an early fraud warning that has previously been created. - * - * Please refer to the [early fraud warning](https://stripe.com/docs/api#early_fraud_warning_object) object reference for more details. - */ - retrieve( - id: string, - params?: EarlyFraudWarningRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of early fraud warnings. - */ - list( - params?: EarlyFraudWarningListParams, - options?: RequestOptions - ): ApiListPromise; - list( - options?: RequestOptions - ): ApiListPromise; - } - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Radar/ValueListItems.d.ts b/node_modules/stripe/types/2020-08-27/Radar/ValueListItems.d.ts deleted file mode 100644 index 22f50c26..00000000 --- a/node_modules/stripe/types/2020-08-27/Radar/ValueListItems.d.ts +++ /dev/null @@ -1,157 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - namespace Radar { - /** - * The ValueListItem object. - */ - interface ValueListItem { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'radar.value_list_item'; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * The name or email address of the user who added this item to the value list. - */ - created_by: string; - - deleted?: void; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * The value of the item. - */ - value: string; - - /** - * The identifier of the value list this item belongs to. - */ - value_list: string; - } - - /** - * The DeletedValueListItem object. - */ - interface DeletedValueListItem { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'radar.value_list_item'; - - /** - * Always true for a deleted object - */ - deleted: true; - } - - interface ValueListItemCreateParams { - /** - * The value of the item (whose type must match the type of the parent value list). - */ - value: string; - - /** - * The identifier of the value list which the created item will be added to. - */ - value_list: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface ValueListItemRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface ValueListItemListParams extends PaginationParams { - /** - * Identifier for the parent value list this item belongs to. - */ - value_list: string; - - created?: Stripe.RangeQueryParam | number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Return items belonging to the parent list whose value matches the specified value (using an "is like" match). - */ - value?: string; - } - - interface ValueListItemDeleteParams {} - - class ValueListItemsResource { - /** - * Creates a new ValueListItem object, which is added to the specified parent value list. - */ - create( - params: ValueListItemCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves a ValueListItem object. - */ - retrieve( - id: string, - params?: ValueListItemRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of ValueListItem objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. - */ - list( - params: ValueListItemListParams, - options?: RequestOptions - ): ApiListPromise; - - /** - * Deletes a ValueListItem object, removing it from its parent value list. - */ - del( - id: string, - params?: ValueListItemDeleteParams, - options?: RequestOptions - ): Promise>; - del( - id: string, - options?: RequestOptions - ): Promise>; - } - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Radar/ValueLists.d.ts b/node_modules/stripe/types/2020-08-27/Radar/ValueLists.d.ts deleted file mode 100644 index 72c08d0d..00000000 --- a/node_modules/stripe/types/2020-08-27/Radar/ValueLists.d.ts +++ /dev/null @@ -1,236 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - namespace Radar { - /** - * The ValueList object. - */ - interface ValueList { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'radar.value_list'; - - /** - * The name of the value list for use in rules. - */ - alias: string; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * The name or email address of the user who created this value list. - */ - created_by: string; - - deleted?: void; - - /** - * The type of items in the value list. One of `card_fingerprint`, `card_bin`, `email`, `ip_address`, `country`, `string`, or `case_sensitive_string`. - */ - item_type: ValueList.ItemType; - - /** - * List of items contained within this value list. - */ - list_items: ApiList; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata; - - /** - * The name of the value list. - */ - name: string; - } - - namespace ValueList { - type ItemType = - | 'card_bin' - | 'card_fingerprint' - | 'case_sensitive_string' - | 'country' - | 'email' - | 'ip_address' - | 'string'; - } - - /** - * The DeletedValueList object. - */ - interface DeletedValueList { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'radar.value_list'; - - /** - * Always true for a deleted object - */ - deleted: true; - } - - interface ValueListCreateParams { - /** - * The name of the value list for use in rules. - */ - alias: string; - - /** - * The human-readable name of the value list. - */ - name: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Type of the items in the value list. One of `card_fingerprint`, `card_bin`, `email`, `ip_address`, `country`, `string`, or `case_sensitive_string`. Use `string` if the item type is unknown or mixed. - */ - item_type?: ValueListCreateParams.ItemType; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - } - - namespace ValueListCreateParams { - type ItemType = - | 'card_bin' - | 'card_fingerprint' - | 'case_sensitive_string' - | 'country' - | 'email' - | 'ip_address' - | 'string'; - } - - interface ValueListRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface ValueListUpdateParams { - /** - * The name of the value list for use in rules. - */ - alias?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * The human-readable name of the value list. - */ - name?: string; - } - - interface ValueListListParams extends PaginationParams { - /** - * The alias used to reference the value list when writing rules. - */ - alias?: string; - - /** - * A value contained within a value list - returns all value lists containing this value. - */ - contains?: string; - - created?: Stripe.RangeQueryParam | number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface ValueListDeleteParams {} - - class ValueListsResource { - /** - * Creates a new ValueList object, which can then be referenced in rules. - */ - create( - params: ValueListCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves a ValueList object. - */ - retrieve( - id: string, - params?: ValueListRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates a ValueList object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. Note that item_type is immutable. - */ - update( - id: string, - params?: ValueListUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of ValueList objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first. - */ - list( - params?: ValueListListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - - /** - * Deletes a ValueList object, also deleting any items contained within the value list. To be deleted, a value list must not be referenced in any rules. - */ - del( - id: string, - params?: ValueListDeleteParams, - options?: RequestOptions - ): Promise>; - del( - id: string, - options?: RequestOptions - ): Promise>; - } - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Recipients.d.ts b/node_modules/stripe/types/2020-08-27/Recipients.d.ts deleted file mode 100644 index b4372a62..00000000 --- a/node_modules/stripe/types/2020-08-27/Recipients.d.ts +++ /dev/null @@ -1,97 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Recipient object. - */ - interface Recipient { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'recipient'; - - /** - * Hash describing the current account on the recipient, if there is one. - */ - active_account: Stripe.BankAccount | null; - - cards: ApiList | null; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * The default card to use for creating transfers to this recipient. - */ - default_card: string | Stripe.Card | null; - - deleted?: void; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description: string | null; - - email: string | null; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata; - - /** - * The ID of the [Custom account](https://stripe.com/docs/connect/custom-accounts) this recipient was migrated to. If set, the recipient can no longer be updated, nor can transfers be made to it: use the Custom account instead. - */ - migrated_to: string | Stripe.Account | null; - - /** - * Full, legal name of the recipient. - */ - name: string | null; - - rolled_back_from?: string | Stripe.Account; - - /** - * Type of the recipient, one of `individual` or `corporation`. - */ - type: string; - - /** - * Whether the recipient has been verified. This field is non-standard, and maybe removed in the future - */ - verified: boolean; - } - - /** - * The DeletedRecipient object. - */ - interface DeletedRecipient { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'recipient'; - - /** - * Always true for a deleted object - */ - deleted: true; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Refunds.d.ts b/node_modules/stripe/types/2020-08-27/Refunds.d.ts deleted file mode 100644 index 5bb56ebf..00000000 --- a/node_modules/stripe/types/2020-08-27/Refunds.d.ts +++ /dev/null @@ -1,243 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Refund object. - */ - interface Refund { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'refund'; - - /** - * Amount, in %s. - */ - amount: number; - - /** - * Balance transaction that describes the impact on your account balance. - */ - balance_transaction: string | Stripe.BalanceTransaction | null; - - /** - * ID of the charge that was refunded. - */ - charge: string | Stripe.Charge | null; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. (Available on non-card refunds only) - */ - description?: string; - - /** - * If the refund failed, this balance transaction describes the adjustment made on your account balance that reverses the initial balance transaction. - */ - failure_balance_transaction?: string | Stripe.BalanceTransaction; - - /** - * If the refund failed, the reason for refund failure if known. Possible values are `lost_or_stolen_card`, `expired_or_canceled_card`, or `unknown`. - */ - failure_reason?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata | null; - - /** - * ID of the PaymentIntent that was refunded. - */ - payment_intent: string | Stripe.PaymentIntent | null; - - /** - * Reason for the refund, either user-provided (`duplicate`, `fraudulent`, or `requested_by_customer`) or generated by Stripe internally (`expired_uncaptured_charge`). - */ - reason: string | null; - - /** - * This is the transaction number that appears on email receipts sent for this refund. - */ - receipt_number: string | null; - - /** - * The transfer reversal that is associated with the refund. Only present if the charge came from another Stripe account. See the Connect documentation for details. - */ - source_transfer_reversal: string | Stripe.TransferReversal | null; - - /** - * Status of the refund. For credit card refunds, this can be `pending`, `succeeded`, or `failed`. For other types of refunds, it can be `pending`, `succeeded`, `failed`, or `canceled`. Refer to our [refunds](https://stripe.com/docs/refunds#failed-refunds) documentation for more details. - */ - status: string | null; - - /** - * If the accompanying transfer was reversed, the transfer reversal object. Only applicable if the charge was created using the destination parameter. - */ - transfer_reversal: string | Stripe.TransferReversal | null; - } - - interface RefundCreateParams { - amount?: number; - - charge?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - payment_intent?: string; - - reason?: RefundCreateParams.Reason; - - refund_application_fee?: boolean; - - reverse_transfer?: boolean; - } - - namespace RefundCreateParams { - type Reason = 'duplicate' | 'fraudulent' | 'requested_by_customer'; - } - - interface RefundRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface RefundRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface RefundUpdateParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - } - - interface RefundListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface RefundListParams extends PaginationParams { - /** - * Only return refunds for the charge specified by this charge ID. - */ - charge?: string; - - created?: Stripe.RangeQueryParam | number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Only return refunds for the PaymentIntent specified by this ID. - */ - payment_intent?: string; - } - - class RefundsResource { - /** - * Create a refund. - */ - create( - params?: RefundCreateParams, - options?: RequestOptions - ): Promise>; - create(options?: RequestOptions): Promise>; - - /** - * Retrieves the details of an existing refund. - */ - retrieve( - chargeId: string, - id: string, - params?: RefundRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - chargeId: string, - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves the details of an existing refund. - */ - retrieve( - id: string, - params?: RefundRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates the specified refund by setting the values of the parameters passed. Any parameters not provided will be left unchanged. - * - * This request only accepts metadata as an argument. - */ - update( - id: string, - params?: RefundUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * You can see a list of the refunds belonging to a specific charge. Note that the 10 most recent refunds are always available by default on the charge object. If you need more than those 10, you can use this API method and the limit and starting_after parameters to page through additional refunds. - */ - list( - id: string, - params?: RefundListParams, - options?: RequestOptions - ): ApiListPromise; - list(id: string, options?: RequestOptions): ApiListPromise; - - /** - * Returns a list of all refunds you've previously created. The refunds are returned in sorted order, with the most recent refunds appearing first. For convenience, the 10 most recent refunds are always available by default on the charge object. - */ - list( - params?: RefundListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Reporting/ReportRuns.d.ts b/node_modules/stripe/types/2020-08-27/Reporting/ReportRuns.d.ts deleted file mode 100644 index bd280cdb..00000000 --- a/node_modules/stripe/types/2020-08-27/Reporting/ReportRuns.d.ts +++ /dev/null @@ -1,852 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - namespace Reporting { - /** - * The ReportRun object. - */ - interface ReportRun { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'reporting.report_run'; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * If something should go wrong during the run, a message about the failure (populated when - * `status=failed`). - */ - error: string | null; - - /** - * Always `true`: reports can only be run on live-mode data. - */ - livemode: boolean; - - parameters: ReportRun.Parameters; - - /** - * The ID of the [report type](https://stripe.com/docs/reports/report-types) to run, such as `"balance.summary.1"`. - */ - report_type: string; - - /** - * The file object representing the result of the report run (populated when - * `status=succeeded`). - */ - result: Stripe.File | null; - - /** - * Status of this report run. This will be `pending` when the run is initially created. - * When the run finishes, this will be set to `succeeded` and the `result` field will be populated. - * Rarely, we may encounter an error, at which point this will be set to `failed` and the `error` field will be populated. - */ - status: string; - - /** - * Timestamp at which this run successfully finished (populated when - * `status=succeeded`). Measured in seconds since the Unix epoch. - */ - succeeded_at: number | null; - } - - namespace ReportRun { - interface Parameters { - /** - * The set of output columns requested for inclusion in the report run. - */ - columns?: Array; - - /** - * Connected account ID by which to filter the report run. - */ - connected_account?: string; - - /** - * Currency of objects to be included in the report run. - */ - currency?: string; - - /** - * Ending timestamp of data to be included in the report run (exclusive). - */ - interval_end?: number; - - /** - * Starting timestamp of data to be included in the report run. - */ - interval_start?: number; - - /** - * Payout ID by which to filter the report run. - */ - payout?: string; - - /** - * Category of balance transactions to be included in the report run. - */ - reporting_category?: string; - - /** - * Defaults to `Etc/UTC`. The output timezone for all timestamps in the report. A list of possible time zone values is maintained at the [IANA Time Zone Database](http://www.iana.org/time-zones). Has no effect on `interval_start` or `interval_end`. - */ - timezone?: string; - } - } - - interface ReportRunCreateParams { - /** - * The ID of the [report type](https://stripe.com/docs/reporting/statements/api#report-types) to run, such as `"balance.summary.1"`. - */ - report_type: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Parameters specifying how the report should be run. Different Report Types have different required and optional parameters, listed in the [API Access to Reports](https://stripe.com/docs/reporting/statements/api) documentation. - */ - parameters?: ReportRunCreateParams.Parameters; - } - - namespace ReportRunCreateParams { - interface Parameters { - /** - * The set of report columns to include in the report output. If omitted, the Report Type is run with its default column set. - */ - columns?: Array; - - /** - * Connected account ID to filter for in the report run. - */ - connected_account?: string; - - /** - * Currency of objects to be included in the report run. - */ - currency?: string; - - /** - * Ending timestamp of data to be included in the report run (exclusive). - */ - interval_end?: number; - - /** - * Starting timestamp of data to be included in the report run. - */ - interval_start?: number; - - /** - * Payout ID by which to filter the report run. - */ - payout?: string; - - /** - * Category of balance transactions to be included in the report run. - */ - reporting_category?: Parameters.ReportingCategory; - - /** - * Defaults to `Etc/UTC`. The output timezone for all timestamps in the report. A list of possible time zone values is maintained at the [IANA Time Zone Database](http://www.iana.org/time-zones). Has no effect on `interval_start` or `interval_end`. - */ - timezone?: Parameters.Timezone; - } - - namespace Parameters { - type ReportingCategory = - | 'advance' - | 'advance_funding' - | 'anticipation_repayment' - | 'charge' - | 'charge_failure' - | 'connect_collection_transfer' - | 'connect_reserved_funds' - | 'contribution' - | 'dispute' - | 'dispute_reversal' - | 'fee' - | 'financing_paydown' - | 'financing_paydown_reversal' - | 'financing_payout' - | 'financing_payout_reversal' - | 'issuing_authorization_hold' - | 'issuing_authorization_release' - | 'issuing_dispute' - | 'issuing_transaction' - | 'network_cost' - | 'other_adjustment' - | 'partial_capture_reversal' - | 'payout' - | 'payout_reversal' - | 'platform_earning' - | 'platform_earning_refund' - | 'refund' - | 'refund_failure' - | 'risk_reserved_funds' - | 'tax' - | 'topup' - | 'topup_reversal' - | 'transfer' - | 'transfer_reversal'; - - type Timezone = - | 'Africa/Abidjan' - | 'Africa/Accra' - | 'Africa/Addis_Ababa' - | 'Africa/Algiers' - | 'Africa/Asmara' - | 'Africa/Asmera' - | 'Africa/Bamako' - | 'Africa/Bangui' - | 'Africa/Banjul' - | 'Africa/Bissau' - | 'Africa/Blantyre' - | 'Africa/Brazzaville' - | 'Africa/Bujumbura' - | 'Africa/Cairo' - | 'Africa/Casablanca' - | 'Africa/Ceuta' - | 'Africa/Conakry' - | 'Africa/Dakar' - | 'Africa/Dar_es_Salaam' - | 'Africa/Djibouti' - | 'Africa/Douala' - | 'Africa/El_Aaiun' - | 'Africa/Freetown' - | 'Africa/Gaborone' - | 'Africa/Harare' - | 'Africa/Johannesburg' - | 'Africa/Juba' - | 'Africa/Kampala' - | 'Africa/Khartoum' - | 'Africa/Kigali' - | 'Africa/Kinshasa' - | 'Africa/Lagos' - | 'Africa/Libreville' - | 'Africa/Lome' - | 'Africa/Luanda' - | 'Africa/Lubumbashi' - | 'Africa/Lusaka' - | 'Africa/Malabo' - | 'Africa/Maputo' - | 'Africa/Maseru' - | 'Africa/Mbabane' - | 'Africa/Mogadishu' - | 'Africa/Monrovia' - | 'Africa/Nairobi' - | 'Africa/Ndjamena' - | 'Africa/Niamey' - | 'Africa/Nouakchott' - | 'Africa/Ouagadougou' - | 'Africa/Porto-Novo' - | 'Africa/Sao_Tome' - | 'Africa/Timbuktu' - | 'Africa/Tripoli' - | 'Africa/Tunis' - | 'Africa/Windhoek' - | 'America/Adak' - | 'America/Anchorage' - | 'America/Anguilla' - | 'America/Antigua' - | 'America/Araguaina' - | 'America/Argentina/Buenos_Aires' - | 'America/Argentina/Catamarca' - | 'America/Argentina/ComodRivadavia' - | 'America/Argentina/Cordoba' - | 'America/Argentina/Jujuy' - | 'America/Argentina/La_Rioja' - | 'America/Argentina/Mendoza' - | 'America/Argentina/Rio_Gallegos' - | 'America/Argentina/Salta' - | 'America/Argentina/San_Juan' - | 'America/Argentina/San_Luis' - | 'America/Argentina/Tucuman' - | 'America/Argentina/Ushuaia' - | 'America/Aruba' - | 'America/Asuncion' - | 'America/Atikokan' - | 'America/Atka' - | 'America/Bahia' - | 'America/Bahia_Banderas' - | 'America/Barbados' - | 'America/Belem' - | 'America/Belize' - | 'America/Blanc-Sablon' - | 'America/Boa_Vista' - | 'America/Bogota' - | 'America/Boise' - | 'America/Buenos_Aires' - | 'America/Cambridge_Bay' - | 'America/Campo_Grande' - | 'America/Cancun' - | 'America/Caracas' - | 'America/Catamarca' - | 'America/Cayenne' - | 'America/Cayman' - | 'America/Chicago' - | 'America/Chihuahua' - | 'America/Coral_Harbour' - | 'America/Cordoba' - | 'America/Costa_Rica' - | 'America/Creston' - | 'America/Cuiaba' - | 'America/Curacao' - | 'America/Danmarkshavn' - | 'America/Dawson' - | 'America/Dawson_Creek' - | 'America/Denver' - | 'America/Detroit' - | 'America/Dominica' - | 'America/Edmonton' - | 'America/Eirunepe' - | 'America/El_Salvador' - | 'America/Ensenada' - | 'America/Fort_Nelson' - | 'America/Fort_Wayne' - | 'America/Fortaleza' - | 'America/Glace_Bay' - | 'America/Godthab' - | 'America/Goose_Bay' - | 'America/Grand_Turk' - | 'America/Grenada' - | 'America/Guadeloupe' - | 'America/Guatemala' - | 'America/Guayaquil' - | 'America/Guyana' - | 'America/Halifax' - | 'America/Havana' - | 'America/Hermosillo' - | 'America/Indiana/Indianapolis' - | 'America/Indiana/Knox' - | 'America/Indiana/Marengo' - | 'America/Indiana/Petersburg' - | 'America/Indiana/Tell_City' - | 'America/Indiana/Vevay' - | 'America/Indiana/Vincennes' - | 'America/Indiana/Winamac' - | 'America/Indianapolis' - | 'America/Inuvik' - | 'America/Iqaluit' - | 'America/Jamaica' - | 'America/Jujuy' - | 'America/Juneau' - | 'America/Kentucky/Louisville' - | 'America/Kentucky/Monticello' - | 'America/Knox_IN' - | 'America/Kralendijk' - | 'America/La_Paz' - | 'America/Lima' - | 'America/Los_Angeles' - | 'America/Louisville' - | 'America/Lower_Princes' - | 'America/Maceio' - | 'America/Managua' - | 'America/Manaus' - | 'America/Marigot' - | 'America/Martinique' - | 'America/Matamoros' - | 'America/Mazatlan' - | 'America/Mendoza' - | 'America/Menominee' - | 'America/Merida' - | 'America/Metlakatla' - | 'America/Mexico_City' - | 'America/Miquelon' - | 'America/Moncton' - | 'America/Monterrey' - | 'America/Montevideo' - | 'America/Montreal' - | 'America/Montserrat' - | 'America/Nassau' - | 'America/New_York' - | 'America/Nipigon' - | 'America/Nome' - | 'America/Noronha' - | 'America/North_Dakota/Beulah' - | 'America/North_Dakota/Center' - | 'America/North_Dakota/New_Salem' - | 'America/Ojinaga' - | 'America/Panama' - | 'America/Pangnirtung' - | 'America/Paramaribo' - | 'America/Phoenix' - | 'America/Port-au-Prince' - | 'America/Port_of_Spain' - | 'America/Porto_Acre' - | 'America/Porto_Velho' - | 'America/Puerto_Rico' - | 'America/Punta_Arenas' - | 'America/Rainy_River' - | 'America/Rankin_Inlet' - | 'America/Recife' - | 'America/Regina' - | 'America/Resolute' - | 'America/Rio_Branco' - | 'America/Rosario' - | 'America/Santa_Isabel' - | 'America/Santarem' - | 'America/Santiago' - | 'America/Santo_Domingo' - | 'America/Sao_Paulo' - | 'America/Scoresbysund' - | 'America/Shiprock' - | 'America/Sitka' - | 'America/St_Barthelemy' - | 'America/St_Johns' - | 'America/St_Kitts' - | 'America/St_Lucia' - | 'America/St_Thomas' - | 'America/St_Vincent' - | 'America/Swift_Current' - | 'America/Tegucigalpa' - | 'America/Thule' - | 'America/Thunder_Bay' - | 'America/Tijuana' - | 'America/Toronto' - | 'America/Tortola' - | 'America/Vancouver' - | 'America/Virgin' - | 'America/Whitehorse' - | 'America/Winnipeg' - | 'America/Yakutat' - | 'America/Yellowknife' - | 'Antarctica/Casey' - | 'Antarctica/Davis' - | 'Antarctica/DumontDUrville' - | 'Antarctica/Macquarie' - | 'Antarctica/Mawson' - | 'Antarctica/McMurdo' - | 'Antarctica/Palmer' - | 'Antarctica/Rothera' - | 'Antarctica/South_Pole' - | 'Antarctica/Syowa' - | 'Antarctica/Troll' - | 'Antarctica/Vostok' - | 'Arctic/Longyearbyen' - | 'Asia/Aden' - | 'Asia/Almaty' - | 'Asia/Amman' - | 'Asia/Anadyr' - | 'Asia/Aqtau' - | 'Asia/Aqtobe' - | 'Asia/Ashgabat' - | 'Asia/Ashkhabad' - | 'Asia/Atyrau' - | 'Asia/Baghdad' - | 'Asia/Bahrain' - | 'Asia/Baku' - | 'Asia/Bangkok' - | 'Asia/Barnaul' - | 'Asia/Beirut' - | 'Asia/Bishkek' - | 'Asia/Brunei' - | 'Asia/Calcutta' - | 'Asia/Chita' - | 'Asia/Choibalsan' - | 'Asia/Chongqing' - | 'Asia/Chungking' - | 'Asia/Colombo' - | 'Asia/Dacca' - | 'Asia/Damascus' - | 'Asia/Dhaka' - | 'Asia/Dili' - | 'Asia/Dubai' - | 'Asia/Dushanbe' - | 'Asia/Famagusta' - | 'Asia/Gaza' - | 'Asia/Harbin' - | 'Asia/Hebron' - | 'Asia/Ho_Chi_Minh' - | 'Asia/Hong_Kong' - | 'Asia/Hovd' - | 'Asia/Irkutsk' - | 'Asia/Istanbul' - | 'Asia/Jakarta' - | 'Asia/Jayapura' - | 'Asia/Jerusalem' - | 'Asia/Kabul' - | 'Asia/Kamchatka' - | 'Asia/Karachi' - | 'Asia/Kashgar' - | 'Asia/Kathmandu' - | 'Asia/Katmandu' - | 'Asia/Khandyga' - | 'Asia/Kolkata' - | 'Asia/Krasnoyarsk' - | 'Asia/Kuala_Lumpur' - | 'Asia/Kuching' - | 'Asia/Kuwait' - | 'Asia/Macao' - | 'Asia/Macau' - | 'Asia/Magadan' - | 'Asia/Makassar' - | 'Asia/Manila' - | 'Asia/Muscat' - | 'Asia/Nicosia' - | 'Asia/Novokuznetsk' - | 'Asia/Novosibirsk' - | 'Asia/Omsk' - | 'Asia/Oral' - | 'Asia/Phnom_Penh' - | 'Asia/Pontianak' - | 'Asia/Pyongyang' - | 'Asia/Qatar' - | 'Asia/Qostanay' - | 'Asia/Qyzylorda' - | 'Asia/Rangoon' - | 'Asia/Riyadh' - | 'Asia/Saigon' - | 'Asia/Sakhalin' - | 'Asia/Samarkand' - | 'Asia/Seoul' - | 'Asia/Shanghai' - | 'Asia/Singapore' - | 'Asia/Srednekolymsk' - | 'Asia/Taipei' - | 'Asia/Tashkent' - | 'Asia/Tbilisi' - | 'Asia/Tehran' - | 'Asia/Tel_Aviv' - | 'Asia/Thimbu' - | 'Asia/Thimphu' - | 'Asia/Tokyo' - | 'Asia/Tomsk' - | 'Asia/Ujung_Pandang' - | 'Asia/Ulaanbaatar' - | 'Asia/Ulan_Bator' - | 'Asia/Urumqi' - | 'Asia/Ust-Nera' - | 'Asia/Vientiane' - | 'Asia/Vladivostok' - | 'Asia/Yakutsk' - | 'Asia/Yangon' - | 'Asia/Yekaterinburg' - | 'Asia/Yerevan' - | 'Atlantic/Azores' - | 'Atlantic/Bermuda' - | 'Atlantic/Canary' - | 'Atlantic/Cape_Verde' - | 'Atlantic/Faeroe' - | 'Atlantic/Faroe' - | 'Atlantic/Jan_Mayen' - | 'Atlantic/Madeira' - | 'Atlantic/Reykjavik' - | 'Atlantic/South_Georgia' - | 'Atlantic/St_Helena' - | 'Atlantic/Stanley' - | 'Australia/ACT' - | 'Australia/Adelaide' - | 'Australia/Brisbane' - | 'Australia/Broken_Hill' - | 'Australia/Canberra' - | 'Australia/Currie' - | 'Australia/Darwin' - | 'Australia/Eucla' - | 'Australia/Hobart' - | 'Australia/LHI' - | 'Australia/Lindeman' - | 'Australia/Lord_Howe' - | 'Australia/Melbourne' - | 'Australia/NSW' - | 'Australia/North' - | 'Australia/Perth' - | 'Australia/Queensland' - | 'Australia/South' - | 'Australia/Sydney' - | 'Australia/Tasmania' - | 'Australia/Victoria' - | 'Australia/West' - | 'Australia/Yancowinna' - | 'Brazil/Acre' - | 'Brazil/DeNoronha' - | 'Brazil/East' - | 'Brazil/West' - | 'CET' - | 'CST6CDT' - | 'Canada/Atlantic' - | 'Canada/Central' - | 'Canada/Eastern' - | 'Canada/Mountain' - | 'Canada/Newfoundland' - | 'Canada/Pacific' - | 'Canada/Saskatchewan' - | 'Canada/Yukon' - | 'Chile/Continental' - | 'Chile/EasterIsland' - | 'Cuba' - | 'EET' - | 'EST' - | 'EST5EDT' - | 'Egypt' - | 'Eire' - | 'Etc/GMT' - | 'Etc/GMT+0' - | 'Etc/GMT+1' - | 'Etc/GMT+10' - | 'Etc/GMT+11' - | 'Etc/GMT+12' - | 'Etc/GMT+2' - | 'Etc/GMT+3' - | 'Etc/GMT+4' - | 'Etc/GMT+5' - | 'Etc/GMT+6' - | 'Etc/GMT+7' - | 'Etc/GMT+8' - | 'Etc/GMT+9' - | 'Etc/GMT-0' - | 'Etc/GMT-1' - | 'Etc/GMT-10' - | 'Etc/GMT-11' - | 'Etc/GMT-12' - | 'Etc/GMT-13' - | 'Etc/GMT-14' - | 'Etc/GMT-2' - | 'Etc/GMT-3' - | 'Etc/GMT-4' - | 'Etc/GMT-5' - | 'Etc/GMT-6' - | 'Etc/GMT-7' - | 'Etc/GMT-8' - | 'Etc/GMT-9' - | 'Etc/GMT0' - | 'Etc/Greenwich' - | 'Etc/UCT' - | 'Etc/UTC' - | 'Etc/Universal' - | 'Etc/Zulu' - | 'Europe/Amsterdam' - | 'Europe/Andorra' - | 'Europe/Astrakhan' - | 'Europe/Athens' - | 'Europe/Belfast' - | 'Europe/Belgrade' - | 'Europe/Berlin' - | 'Europe/Bratislava' - | 'Europe/Brussels' - | 'Europe/Bucharest' - | 'Europe/Budapest' - | 'Europe/Busingen' - | 'Europe/Chisinau' - | 'Europe/Copenhagen' - | 'Europe/Dublin' - | 'Europe/Gibraltar' - | 'Europe/Guernsey' - | 'Europe/Helsinki' - | 'Europe/Isle_of_Man' - | 'Europe/Istanbul' - | 'Europe/Jersey' - | 'Europe/Kaliningrad' - | 'Europe/Kiev' - | 'Europe/Kirov' - | 'Europe/Lisbon' - | 'Europe/Ljubljana' - | 'Europe/London' - | 'Europe/Luxembourg' - | 'Europe/Madrid' - | 'Europe/Malta' - | 'Europe/Mariehamn' - | 'Europe/Minsk' - | 'Europe/Monaco' - | 'Europe/Moscow' - | 'Europe/Nicosia' - | 'Europe/Oslo' - | 'Europe/Paris' - | 'Europe/Podgorica' - | 'Europe/Prague' - | 'Europe/Riga' - | 'Europe/Rome' - | 'Europe/Samara' - | 'Europe/San_Marino' - | 'Europe/Sarajevo' - | 'Europe/Saratov' - | 'Europe/Simferopol' - | 'Europe/Skopje' - | 'Europe/Sofia' - | 'Europe/Stockholm' - | 'Europe/Tallinn' - | 'Europe/Tirane' - | 'Europe/Tiraspol' - | 'Europe/Ulyanovsk' - | 'Europe/Uzhgorod' - | 'Europe/Vaduz' - | 'Europe/Vatican' - | 'Europe/Vienna' - | 'Europe/Vilnius' - | 'Europe/Volgograd' - | 'Europe/Warsaw' - | 'Europe/Zagreb' - | 'Europe/Zaporozhye' - | 'Europe/Zurich' - | 'Factory' - | 'GB' - | 'GB-Eire' - | 'GMT' - | 'GMT+0' - | 'GMT-0' - | 'GMT0' - | 'Greenwich' - | 'HST' - | 'Hongkong' - | 'Iceland' - | 'Indian/Antananarivo' - | 'Indian/Chagos' - | 'Indian/Christmas' - | 'Indian/Cocos' - | 'Indian/Comoro' - | 'Indian/Kerguelen' - | 'Indian/Mahe' - | 'Indian/Maldives' - | 'Indian/Mauritius' - | 'Indian/Mayotte' - | 'Indian/Reunion' - | 'Iran' - | 'Israel' - | 'Jamaica' - | 'Japan' - | 'Kwajalein' - | 'Libya' - | 'MET' - | 'MST' - | 'MST7MDT' - | 'Mexico/BajaNorte' - | 'Mexico/BajaSur' - | 'Mexico/General' - | 'NZ' - | 'NZ-CHAT' - | 'Navajo' - | 'PRC' - | 'PST8PDT' - | 'Pacific/Apia' - | 'Pacific/Auckland' - | 'Pacific/Bougainville' - | 'Pacific/Chatham' - | 'Pacific/Chuuk' - | 'Pacific/Easter' - | 'Pacific/Efate' - | 'Pacific/Enderbury' - | 'Pacific/Fakaofo' - | 'Pacific/Fiji' - | 'Pacific/Funafuti' - | 'Pacific/Galapagos' - | 'Pacific/Gambier' - | 'Pacific/Guadalcanal' - | 'Pacific/Guam' - | 'Pacific/Honolulu' - | 'Pacific/Johnston' - | 'Pacific/Kiritimati' - | 'Pacific/Kosrae' - | 'Pacific/Kwajalein' - | 'Pacific/Majuro' - | 'Pacific/Marquesas' - | 'Pacific/Midway' - | 'Pacific/Nauru' - | 'Pacific/Niue' - | 'Pacific/Norfolk' - | 'Pacific/Noumea' - | 'Pacific/Pago_Pago' - | 'Pacific/Palau' - | 'Pacific/Pitcairn' - | 'Pacific/Pohnpei' - | 'Pacific/Ponape' - | 'Pacific/Port_Moresby' - | 'Pacific/Rarotonga' - | 'Pacific/Saipan' - | 'Pacific/Samoa' - | 'Pacific/Tahiti' - | 'Pacific/Tarawa' - | 'Pacific/Tongatapu' - | 'Pacific/Truk' - | 'Pacific/Wake' - | 'Pacific/Wallis' - | 'Pacific/Yap' - | 'Poland' - | 'Portugal' - | 'ROC' - | 'ROK' - | 'Singapore' - | 'Turkey' - | 'UCT' - | 'US/Alaska' - | 'US/Aleutian' - | 'US/Arizona' - | 'US/Central' - | 'US/East-Indiana' - | 'US/Eastern' - | 'US/Hawaii' - | 'US/Indiana-Starke' - | 'US/Michigan' - | 'US/Mountain' - | 'US/Pacific' - | 'US/Pacific-New' - | 'US/Samoa' - | 'UTC' - | 'Universal' - | 'W-SU' - | 'WET' - | 'Zulu'; - } - } - - interface ReportRunRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface ReportRunListParams extends PaginationParams { - created?: Stripe.RangeQueryParam | number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - class ReportRunsResource { - /** - * Creates a new object and begin running the report. (Requires a [live-mode API key](https://stripe.com/docs/keys#test-live-modes).) - */ - create( - params: ReportRunCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves the details of an existing Report Run. (Requires a [live-mode API key](https://stripe.com/docs/keys#test-live-modes).) - */ - retrieve( - id: string, - params?: ReportRunRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of Report Runs, with the most recent appearing first. (Requires a [live-mode API key](https://stripe.com/docs/keys#test-live-modes).) - */ - list( - params?: ReportRunListParams, - options?: RequestOptions - ): ApiListPromise; - list( - options?: RequestOptions - ): ApiListPromise; - } - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Reporting/ReportTypes.d.ts b/node_modules/stripe/types/2020-08-27/Reporting/ReportTypes.d.ts deleted file mode 100644 index 3aa6fe6a..00000000 --- a/node_modules/stripe/types/2020-08-27/Reporting/ReportTypes.d.ts +++ /dev/null @@ -1,91 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - namespace Reporting { - /** - * The ReportType object. - */ - interface ReportType { - /** - * The [ID of the Report Type](https://stripe.com/docs/reporting/statements/api#available-report-types), such as `balance.summary.1`. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'reporting.report_type'; - - /** - * Most recent time for which this Report Type is available. Measured in seconds since the Unix epoch. - */ - data_available_end: number; - - /** - * Earliest time for which this Report Type is available. Measured in seconds since the Unix epoch. - */ - data_available_start: number; - - /** - * List of column names that are included by default when this Report Type gets run. (If the Report Type doesn't support the `columns` parameter, this will be null.) - */ - default_columns: Array | null; - - /** - * Human-readable name of the Report Type - */ - name: string; - - /** - * When this Report Type was latest updated. Measured in seconds since the Unix epoch. - */ - updated: number; - - /** - * Version of the Report Type. Different versions report with the same ID will have the same purpose, but may take different run parameters or have different result schemas. - */ - version: number; - } - - interface ReportTypeRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface ReportTypeListParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - class ReportTypesResource { - /** - * Retrieves the details of a Report Type. (Requires a [live-mode API key](https://stripe.com/docs/keys#test-live-modes).) - */ - retrieve( - id: string, - params?: ReportTypeRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Returns a full list of Report Types. (Requires a [live-mode API key](https://stripe.com/docs/keys#test-live-modes).) - */ - list( - params?: ReportTypeListParams, - options?: RequestOptions - ): ApiListPromise; - list( - options?: RequestOptions - ): ApiListPromise; - } - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/ReserveTransactions.d.ts b/node_modules/stripe/types/2020-08-27/ReserveTransactions.d.ts deleted file mode 100644 index 1be511ba..00000000 --- a/node_modules/stripe/types/2020-08-27/ReserveTransactions.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The ReserveTransaction object. - */ - interface ReserveTransaction { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'reserve_transaction'; - - amount: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description: string | null; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Reviews.d.ts b/node_modules/stripe/types/2020-08-27/Reviews.d.ts deleted file mode 100644 index 677ce8d1..00000000 --- a/node_modules/stripe/types/2020-08-27/Reviews.d.ts +++ /dev/null @@ -1,198 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Review object. - */ - interface Review { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'review'; - - /** - * The ZIP or postal code of the card used, if applicable. - */ - billing_zip: string | null; - - /** - * The charge associated with this review. - */ - charge: string | Stripe.Charge | null; - - /** - * The reason the review was closed, or null if it has not yet been closed. One of `approved`, `refunded`, `refunded_as_fraud`, or `disputed`. - */ - closed_reason: Review.ClosedReason | null; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * The IP address where the payment originated. - */ - ip_address: string | null; - - /** - * Information related to the location of the payment. Note that this information is an approximation and attempts to locate the nearest population center - it should not be used to determine a specific address. - */ - ip_address_location: Review.IpAddressLocation | null; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * If `true`, the review needs action. - */ - open: boolean; - - /** - * The reason the review was opened. One of `rule` or `manual`. - */ - opened_reason: Review.OpenedReason; - - /** - * The PaymentIntent ID associated with this review, if one exists. - */ - payment_intent?: string | Stripe.PaymentIntent; - - /** - * The reason the review is currently open or closed. One of `rule`, `manual`, `approved`, `refunded`, `refunded_as_fraud`, or `disputed`. - */ - reason: string; - - /** - * Information related to the browsing session of the user who initiated the payment. - */ - session: Review.Session | null; - } - - namespace Review { - type ClosedReason = - | 'approved' - | 'disputed' - | 'refunded' - | 'refunded_as_fraud'; - - interface IpAddressLocation { - /** - * The city where the payment originated. - */ - city: string | null; - - /** - * Two-letter ISO code representing the country where the payment originated. - */ - country: string | null; - - /** - * The geographic latitude where the payment originated. - */ - latitude: number | null; - - /** - * The geographic longitude where the payment originated. - */ - longitude: number | null; - - /** - * The state/county/province/region where the payment originated. - */ - region: string | null; - } - - type OpenedReason = 'manual' | 'rule'; - - interface Session { - /** - * The browser used in this browser session (e.g., `Chrome`). - */ - browser: string | null; - - /** - * Information about the device used for the browser session (e.g., `Samsung SM-G930T`). - */ - device: string | null; - - /** - * The platform for the browser session (e.g., `Macintosh`). - */ - platform: string | null; - - /** - * The version for the browser session (e.g., `61.0.3163.100`). - */ - version: string | null; - } - } - - interface ReviewRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface ReviewListParams extends PaginationParams { - created?: Stripe.RangeQueryParam | number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface ReviewApproveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - class ReviewsResource { - /** - * Retrieves a Review object. - */ - retrieve( - id: string, - params?: ReviewRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of Review objects that have open set to true. The objects are sorted in descending order by creation date, with the most recently created object appearing first. - */ - list( - params?: ReviewListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - - /** - * Approves a Review object, closing it and removing it from the list of reviews. - */ - approve( - id: string, - params?: ReviewApproveParams, - options?: RequestOptions - ): Promise>; - approve( - id: string, - options?: RequestOptions - ): Promise>; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/SKUs.d.ts b/node_modules/stripe/types/2020-08-27/SKUs.d.ts deleted file mode 100644 index 0d9d429d..00000000 --- a/node_modules/stripe/types/2020-08-27/SKUs.d.ts +++ /dev/null @@ -1,441 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Sku object. - */ - interface Sku { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'sku'; - - /** - * Whether the SKU is available for purchase. - */ - active: boolean; - - /** - * A dictionary of attributes and values for the attributes defined by the product. If, for example, a product's attributes are `["size", "gender"]`, a valid SKU has the following dictionary of attributes: `{"size": "Medium", "gender": "Unisex"}`. - */ - attributes: { - [key: string]: string; - }; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - deleted?: void; - - /** - * The URL of an image for this SKU, meant to be displayable to the customer. - */ - image: string | null; - - inventory: Sku.Inventory; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata; - - /** - * The dimensions of this SKU for shipping purposes. - */ - package_dimensions: Sku.PackageDimensions | null; - - /** - * The cost of the item as a positive integer in the smallest currency unit (that is, 100 cents to charge $1.00, or 100 to charge ¥100, Japanese Yen being a zero-decimal currency). - */ - price: number; - - /** - * The ID of the product this SKU is associated with. The product must be currently active. - */ - product: string | Stripe.Product; - - /** - * Time at which the object was last updated. Measured in seconds since the Unix epoch. - */ - updated: number; - } - - namespace Sku { - interface Inventory { - /** - * The count of inventory available. Will be present if and only if `type` is `finite`. - */ - quantity: number | null; - - /** - * Inventory type. Possible values are `finite`, `bucket` (not quantified), and `infinite`. - */ - type: string; - - /** - * An indicator of the inventory available. Possible values are `in_stock`, `limited`, and `out_of_stock`. Will be present if and only if `type` is `bucket`. - */ - value: string | null; - } - - interface PackageDimensions { - /** - * Height, in inches. - */ - height: number; - - /** - * Length, in inches. - */ - length: number; - - /** - * Weight, in ounces. - */ - weight: number; - - /** - * Width, in inches. - */ - width: number; - } - } - - /** - * The DeletedSku object. - */ - interface DeletedSku { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'sku'; - - /** - * Always true for a deleted object - */ - deleted: true; - } - - interface SkuCreateParams { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * Description of the SKU's inventory. - */ - inventory: SkuCreateParams.Inventory; - - /** - * The cost of the item as a nonnegative integer in the smallest currency unit (that is, 100 cents to charge $1.00, or 100 to charge ¥100, Japanese Yen being a zero-decimal currency). - */ - price: number; - - /** - * The ID of the product this SKU is associated with. Must be a product with type `good`. - */ - product: string; - - /** - * Whether the SKU is available for purchase. Default to `true`. - */ - active?: boolean; - - /** - * A dictionary of attributes and values for the attributes defined by the product. If, for example, a product's attributes are `["size", "gender"]`, a valid SKU has the following dictionary of attributes: `{"size": "Medium", "gender": "Unisex"}`. - */ - attributes?: Stripe.Metadata; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * The identifier for the SKU. Must be unique. If not provided, an identifier will be randomly generated. - */ - id?: string; - - /** - * The URL of an image for this SKU, meant to be displayable to the customer. - */ - image?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * The dimensions of this SKU for shipping purposes. - */ - package_dimensions?: SkuCreateParams.PackageDimensions; - } - - namespace SkuCreateParams { - interface Inventory { - /** - * The count of inventory available. Required if `type` is `finite`. - */ - quantity?: number; - - /** - * Inventory type. Possible values are `finite`, `bucket` (not quantified), and `infinite`. - */ - type: Inventory.Type; - - /** - * An indicator of the inventory available. Possible values are `in_stock`, `limited`, and `out_of_stock`. Will be present if and only if `type` is `bucket`. - */ - value?: Stripe.Emptyable; - } - - namespace Inventory { - type Type = 'bucket' | 'finite' | 'infinite'; - - type Value = 'in_stock' | 'limited' | 'out_of_stock'; - } - - interface PackageDimensions { - /** - * Height, in inches. Maximum precision is 2 decimal places. - */ - height: number; - - /** - * Length, in inches. Maximum precision is 2 decimal places. - */ - length: number; - - /** - * Weight, in ounces. Maximum precision is 2 decimal places. - */ - weight: number; - - /** - * Width, in inches. Maximum precision is 2 decimal places. - */ - width: number; - } - } - - interface SkuRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface SkuUpdateParams { - /** - * Whether this SKU is available for purchase. - */ - active?: boolean; - - /** - * A dictionary of attributes and values for the attributes defined by the product. When specified, `attributes` will partially update the existing attributes dictionary on the product, with the postcondition that a value must be present for each attribute key on the product. - */ - attributes?: Stripe.Metadata; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * The URL of an image for this SKU, meant to be displayable to the customer. - */ - image?: string; - - /** - * Description of the SKU's inventory. - */ - inventory?: SkuUpdateParams.Inventory; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * The dimensions of this SKU for shipping purposes. - */ - package_dimensions?: Stripe.Emptyable; - - /** - * The cost of the item as a positive integer in the smallest currency unit (that is, 100 cents to charge $1.00, or 100 to charge ¥100, Japanese Yen being a zero-decimal currency). - */ - price?: number; - - /** - * The ID of the product that this SKU should belong to. The product must exist, have the same set of attribute names as the SKU's current product, and be of type `good`. - */ - product?: string; - } - - namespace SkuUpdateParams { - interface Inventory { - /** - * The count of inventory available. Required if `type` is `finite`. - */ - quantity?: number; - - /** - * Inventory type. Possible values are `finite`, `bucket` (not quantified), and `infinite`. - */ - type?: Inventory.Type; - - /** - * An indicator of the inventory available. Possible values are `in_stock`, `limited`, and `out_of_stock`. Will be present if and only if `type` is `bucket`. - */ - value?: Stripe.Emptyable; - } - - namespace Inventory { - type Type = 'bucket' | 'finite' | 'infinite'; - - type Value = 'in_stock' | 'limited' | 'out_of_stock'; - } - - interface PackageDimensions { - /** - * Height, in inches. Maximum precision is 2 decimal places. - */ - height: number; - - /** - * Length, in inches. Maximum precision is 2 decimal places. - */ - length: number; - - /** - * Weight, in ounces. Maximum precision is 2 decimal places. - */ - weight: number; - - /** - * Width, in inches. Maximum precision is 2 decimal places. - */ - width: number; - } - } - - interface SkuListParams extends PaginationParams { - /** - * Only return SKUs that are active or inactive (e.g., pass `false` to list all inactive products). - */ - active?: boolean; - - /** - * Only return SKUs that have the specified key-value pairs in this partially constructed dictionary. Can be specified only if `product` is also supplied. For instance, if the associated product has attributes `["color", "size"]`, passing in `attributes[color]=red` returns all the SKUs for this product that have `color` set to `red`. - */ - attributes?: Stripe.Metadata; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Only return SKUs with the given IDs. - */ - ids?: Array; - - /** - * Only return SKUs that are either in stock or out of stock (e.g., pass `false` to list all SKUs that are out of stock). If no value is provided, all SKUs are returned. - */ - in_stock?: boolean; - - /** - * The ID of the product whose SKUs will be retrieved. Must be a product with type `good`. - */ - product?: string; - } - - interface SkuDeleteParams {} - - class SkusResource { - /** - * Creates a new SKU associated with a product. - */ - create( - params: SkuCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves the details of an existing SKU. Supply the unique SKU identifier from either a SKU creation request or from the product, and Stripe will return the corresponding SKU information. - */ - retrieve( - id: string, - params?: SkuRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates the specific SKU by setting the values of the parameters passed. Any parameters not provided will be left unchanged. - * - * Note that a SKU's attributes are not editable. Instead, you would need to deactivate the existing SKU and create a new one with the new attribute values. - */ - update( - id: string, - params?: SkuUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of your SKUs. The SKUs are returned sorted by creation date, with the most recently created SKUs appearing first. - */ - list( - params?: SkuListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - - /** - * Delete a SKU. Deleting a SKU is only possible until it has been used in an order. - */ - del( - id: string, - params?: SkuDeleteParams, - options?: RequestOptions - ): Promise>; - del( - id: string, - options?: RequestOptions - ): Promise>; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/SetupAttempts.d.ts b/node_modules/stripe/types/2020-08-27/SetupAttempts.d.ts deleted file mode 100644 index 5a4a300a..00000000 --- a/node_modules/stripe/types/2020-08-27/SetupAttempts.d.ts +++ /dev/null @@ -1,439 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The SetupAttempt object. - */ - interface SetupAttempt { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'setup_attempt'; - - /** - * The value of [application](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-application) on the SetupIntent at the time of this confirmation. - */ - application: string | Stripe.Application | null; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * The value of [customer](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-customer) on the SetupIntent at the time of this confirmation. - */ - customer: string | Stripe.Customer | DeletedCustomer | null; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * The value of [on_behalf_of](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-on_behalf_of) on the SetupIntent at the time of this confirmation. - */ - on_behalf_of: string | Stripe.Account | null; - - /** - * ID of the payment method used with this SetupAttempt. - */ - payment_method: string | Stripe.PaymentMethod; - - payment_method_details: SetupAttempt.PaymentMethodDetails; - - /** - * The error encountered during this attempt to confirm the SetupIntent, if any. - */ - setup_error: SetupAttempt.SetupError | null; - - /** - * ID of the SetupIntent that this attempt belongs to. - */ - setup_intent: string | Stripe.SetupIntent; - - /** - * Status of this SetupAttempt, one of `requires_confirmation`, `requires_action`, `processing`, `succeeded`, `failed`, or `abandoned`. - */ - status: string; - - /** - * The value of [usage](https://stripe.com/docs/api/setup_intents/object#setup_intent_object-usage) on the SetupIntent at the time of this confirmation, one of `off_session` or `on_session`. - */ - usage: string; - } - - namespace SetupAttempt { - interface PaymentMethodDetails { - bancontact?: PaymentMethodDetails.Bancontact; - - card?: PaymentMethodDetails.Card; - - ideal?: PaymentMethodDetails.Ideal; - - sofort?: PaymentMethodDetails.Sofort; - - /** - * The type of the payment method used in the SetupIntent (e.g., `card`). An additional hash is included on `payment_method_details` with a name matching this value. It contains confirmation-specific information for the payment method. - */ - type: string; - } - - namespace PaymentMethodDetails { - interface Bancontact { - /** - * Bank code of bank associated with the bank account. - */ - bank_code: string | null; - - /** - * Name of the bank associated with the bank account. - */ - bank_name: string | null; - - /** - * Bank Identifier Code of the bank associated with the bank account. - */ - bic: string | null; - - /** - * The ID of the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt. - */ - generated_sepa_debit: string | Stripe.PaymentMethod | null; - - /** - * The mandate for the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt. - */ - generated_sepa_debit_mandate: string | Stripe.Mandate | null; - - /** - * Last four characters of the IBAN. - */ - iban_last4: string | null; - - /** - * Preferred language of the Bancontact authorization page that the customer is redirected to. - * Can be one of `en`, `de`, `fr`, or `nl` - */ - preferred_language: Bancontact.PreferredLanguage | null; - - /** - * Owner's verified full name. Values are verified or provided by Bancontact directly - * (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - verified_name: string | null; - } - - namespace Bancontact { - type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl'; - } - - interface Card { - /** - * Populated if this authorization used 3D Secure authentication. - */ - three_d_secure: Card.ThreeDSecure | null; - } - - namespace Card { - interface ThreeDSecure { - /** - * For authenticated transactions: how the customer was authenticated by - * the issuing bank. - */ - authentication_flow: ThreeDSecure.AuthenticationFlow | null; - - /** - * Indicates the outcome of 3D Secure authentication. - */ - result: ThreeDSecure.Result; - - /** - * Additional information about why 3D Secure succeeded or failed based - * on the `result`. - */ - result_reason: ThreeDSecure.ResultReason | null; - - /** - * The version of 3D Secure that was used. - */ - version: ThreeDSecure.Version; - } - - namespace ThreeDSecure { - type AuthenticationFlow = 'challenge' | 'frictionless'; - - type Result = - | 'attempt_acknowledged' - | 'authenticated' - | 'failed' - | 'not_supported' - | 'processing_error'; - - type ResultReason = - | 'abandoned' - | 'bypassed' - | 'canceled' - | 'card_not_enrolled' - | 'network_not_supported' - | 'protocol_error' - | 'rejected'; - - type Version = '1.0.2' | '2.1.0' | '2.2.0'; - } - } - - interface Ideal { - /** - * The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `rabobank`, `regiobank`, `sns_bank`, `triodos_bank`, or `van_lanschot`. - */ - bank: Ideal.Bank | null; - - /** - * The Bank Identifier Code of the customer's bank. - */ - bic: Ideal.Bic | null; - - /** - * The ID of the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt. - */ - generated_sepa_debit: string | Stripe.PaymentMethod | null; - - /** - * The mandate for the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt. - */ - generated_sepa_debit_mandate: string | Stripe.Mandate | null; - - /** - * Last four characters of the IBAN. - */ - iban_last4: string | null; - - /** - * Owner's verified full name. Values are verified or provided by iDEAL directly - * (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - verified_name: string | null; - } - - namespace Ideal { - type Bank = - | 'abn_amro' - | 'asn_bank' - | 'bunq' - | 'handelsbanken' - | 'ing' - | 'knab' - | 'moneyou' - | 'rabobank' - | 'regiobank' - | 'sns_bank' - | 'triodos_bank' - | 'van_lanschot'; - - type Bic = - | 'ABNANL2A' - | 'ASNBNL21' - | 'BUNQNL2A' - | 'FVLBNL22' - | 'HANDNL2A' - | 'INGBNL2A' - | 'KNABNL2H' - | 'MOYONL21' - | 'RABONL2U' - | 'RBRBNL21' - | 'SNSBNL2A' - | 'TRIONL2U'; - } - - interface Sofort { - /** - * Bank code of bank associated with the bank account. - */ - bank_code: string | null; - - /** - * Name of the bank associated with the bank account. - */ - bank_name: string | null; - - /** - * Bank Identifier Code of the bank associated with the bank account. - */ - bic: string | null; - - /** - * The ID of the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt. - */ - generated_sepa_debit: string | Stripe.PaymentMethod | null; - - /** - * The mandate for the SEPA Direct Debit PaymentMethod which was generated by this SetupAttempt. - */ - generated_sepa_debit_mandate: string | Stripe.Mandate | null; - - /** - * Last four characters of the IBAN. - */ - iban_last4: string | null; - - /** - * Preferred language of the Sofort authorization page that the customer is redirected to. - * Can be one of `en`, `de`, `fr`, or `nl` - */ - preferred_language: Sofort.PreferredLanguage | null; - - /** - * Owner's verified full name. Values are verified or provided by Sofort directly - * (if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - verified_name: string | null; - } - - namespace Sofort { - type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl'; - } - } - - interface SetupError { - /** - * For card errors, the ID of the failed charge. - */ - charge?: string; - - /** - * For some errors that could be handled programmatically, a short string indicating the [error code](https://stripe.com/docs/error-codes) reported. - */ - code?: string; - - /** - * For card errors resulting from a card issuer decline, a short string indicating the [card issuer's reason for the decline](https://stripe.com/docs/declines#issuer-declines) if they provide one. - */ - decline_code?: string; - - /** - * A URL to more information about the [error code](https://stripe.com/docs/error-codes) reported. - */ - doc_url?: string; - - /** - * A human-readable message providing more details about the error. For card errors, these messages can be shown to your users. - */ - message?: string; - - /** - * If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field. - */ - param?: string; - - /** - * A PaymentIntent guides you through the process of collecting a payment from your customer. - * We recommend that you create exactly one PaymentIntent for each order or - * customer session in your system. You can reference the PaymentIntent later to - * see the history of payment attempts for a particular session. - * - * A PaymentIntent transitions through - * [multiple statuses](https://stripe.com/docs/payments/intents#intent-statuses) - * throughout its lifetime as it interfaces with Stripe.js to perform - * authentication flows and ultimately creates at most one successful charge. - * - * Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents). - */ - payment_intent?: Stripe.PaymentIntent; - - /** - * PaymentMethod objects represent your customer's payment instruments. - * They can be used with [PaymentIntents](https://stripe.com/docs/payments/payment-intents) to collect payments or saved to - * Customer objects to store instrument details for future payments. - * - * Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios). - */ - payment_method?: Stripe.PaymentMethod; - - /** - * If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors. - */ - payment_method_type?: string; - - /** - * A SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments. - * For example, you could use a SetupIntent to set up and save your customer's card without immediately collecting a payment. - * Later, you can use [PaymentIntents](https://stripe.com/docs/api#payment_intents) to drive the payment flow. - * - * Create a SetupIntent as soon as you're ready to collect your customer's payment credentials. - * Do not maintain long-lived, unconfirmed SetupIntents as they may no longer be valid. - * The SetupIntent then transitions through multiple [statuses](https://stripe.com/docs/payments/intents#intent-statuses) as it guides - * you through the setup process. - * - * Successful SetupIntents result in payment credentials that are optimized for future payments. - * For example, cardholders in [certain regions](https://stripe.com/guides/strong-customer-authentication) may need to be run through - * [Strong Customer Authentication](https://stripe.com/docs/strong-customer-authentication) at the time of payment method collection - * in order to streamline later [off-session payments](https://stripe.com/docs/payments/setup-intents). - * If the SetupIntent is used with a [Customer](https://stripe.com/docs/api#setup_intent_object-customer), upon success, - * it will automatically attach the resulting payment method to that Customer. - * We recommend using SetupIntents or [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) on - * PaymentIntents to save payment methods in order to prevent saving invalid or unoptimized payment methods. - * - * By using SetupIntents, you ensure that your customers experience the minimum set of required friction, - * even as regulations change over time. - * - * Related guide: [Setup Intents API](https://stripe.com/docs/payments/setup-intents). - */ - setup_intent?: Stripe.SetupIntent; - - source?: Stripe.CustomerSource; - - /** - * The type of error returned. One of `api_connection_error`, `api_error`, `authentication_error`, `card_error`, `idempotency_error`, `invalid_request_error`, or `rate_limit_error` - */ - type: SetupError.Type; - } - - namespace SetupError { - type Type = - | 'api_connection_error' - | 'api_error' - | 'authentication_error' - | 'card_error' - | 'idempotency_error' - | 'invalid_request_error' - | 'rate_limit_error'; - } - } - - interface SetupAttemptListParams extends PaginationParams { - /** - * Only return SetupAttempts created by the SetupIntent specified by - * this ID. - */ - setup_intent: string; - - /** - * A filter on the list, based on the object `created` field. The value - * can be a string with an integer Unix timestamp, or it can be a - * dictionary with a number of different query options. - */ - created?: Stripe.RangeQueryParam | number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - class SetupAttemptsResource { - /** - * Returns a list of SetupAttempts associated with a provided SetupIntent. - */ - list( - params: SetupAttemptListParams, - options?: RequestOptions - ): ApiListPromise; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/SetupIntents.d.ts b/node_modules/stripe/types/2020-08-27/SetupIntents.d.ts deleted file mode 100644 index 57f971af..00000000 --- a/node_modules/stripe/types/2020-08-27/SetupIntents.d.ts +++ /dev/null @@ -1,862 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The SetupIntent object. - */ - interface SetupIntent { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'setup_intent'; - - /** - * ID of the Connect application that created the SetupIntent. - */ - application: string | Stripe.Application | null; - - /** - * Reason for cancellation of this SetupIntent, one of `abandoned`, `requested_by_customer`, or `duplicate`. - */ - cancellation_reason: SetupIntent.CancellationReason | null; - - /** - * The client secret of this SetupIntent. Used for client-side retrieval using a publishable key. - * - * The client secret can be used to complete payment setup from your frontend. It should not be stored, logged, embedded in URLs, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret. - */ - client_secret: string | null; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * ID of the Customer this SetupIntent belongs to, if one exists. - * - * If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent. - */ - customer: string | Stripe.Customer | DeletedCustomer | null; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description: string | null; - - /** - * The error encountered in the previous SetupIntent confirmation. - */ - last_setup_error: SetupIntent.LastSetupError | null; - - /** - * The most recent SetupAttempt for this SetupIntent. - */ - latest_attempt: string | Stripe.SetupAttempt | null; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * ID of the multi use Mandate generated by the SetupIntent. - */ - mandate: string | Stripe.Mandate | null; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata | null; - - /** - * If present, this property tells you what actions you need to take in order for your customer to continue payment setup. - */ - next_action: SetupIntent.NextAction | null; - - /** - * The account (if any) for which the setup is intended. - */ - on_behalf_of: string | Stripe.Account | null; - - /** - * ID of the payment method used with this SetupIntent. - */ - payment_method: string | Stripe.PaymentMethod | null; - - /** - * Payment-method-specific configuration for this SetupIntent. - */ - payment_method_options: SetupIntent.PaymentMethodOptions | null; - - /** - * The list of payment method types (e.g. card) that this SetupIntent is allowed to set up. - */ - payment_method_types: Array; - - /** - * ID of the single_use Mandate generated by the SetupIntent. - */ - single_use_mandate: string | Stripe.Mandate | null; - - /** - * [Status](https://stripe.com/docs/payments/intents#intent-statuses) of this SetupIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `canceled`, or `succeeded`. - */ - status: SetupIntent.Status; - - /** - * Indicates how the payment method is intended to be used in the future. - * - * Use `on_session` if you intend to only reuse the payment method when the customer is in your checkout flow. Use `off_session` if your customer may or may not be in your checkout flow. If not provided, this value defaults to `off_session`. - */ - usage: string; - } - - namespace SetupIntent { - type CancellationReason = - | 'abandoned' - | 'duplicate' - | 'requested_by_customer'; - - interface LastSetupError { - /** - * For card errors, the ID of the failed charge. - */ - charge?: string; - - /** - * For some errors that could be handled programmatically, a short string indicating the [error code](https://stripe.com/docs/error-codes) reported. - */ - code?: string; - - /** - * For card errors resulting from a card issuer decline, a short string indicating the [card issuer's reason for the decline](https://stripe.com/docs/declines#issuer-declines) if they provide one. - */ - decline_code?: string; - - /** - * A URL to more information about the [error code](https://stripe.com/docs/error-codes) reported. - */ - doc_url?: string; - - /** - * A human-readable message providing more details about the error. For card errors, these messages can be shown to your users. - */ - message?: string; - - /** - * If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field. - */ - param?: string; - - /** - * A PaymentIntent guides you through the process of collecting a payment from your customer. - * We recommend that you create exactly one PaymentIntent for each order or - * customer session in your system. You can reference the PaymentIntent later to - * see the history of payment attempts for a particular session. - * - * A PaymentIntent transitions through - * [multiple statuses](https://stripe.com/docs/payments/intents#intent-statuses) - * throughout its lifetime as it interfaces with Stripe.js to perform - * authentication flows and ultimately creates at most one successful charge. - * - * Related guide: [Payment Intents API](https://stripe.com/docs/payments/payment-intents). - */ - payment_intent?: Stripe.PaymentIntent; - - /** - * PaymentMethod objects represent your customer's payment instruments. - * They can be used with [PaymentIntents](https://stripe.com/docs/payments/payment-intents) to collect payments or saved to - * Customer objects to store instrument details for future payments. - * - * Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios). - */ - payment_method?: Stripe.PaymentMethod; - - /** - * If the error is specific to the type of payment method, the payment method type that had a problem. This field is only populated for invoice-related errors. - */ - payment_method_type?: string; - - /** - * A SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments. - * For example, you could use a SetupIntent to set up and save your customer's card without immediately collecting a payment. - * Later, you can use [PaymentIntents](https://stripe.com/docs/api#payment_intents) to drive the payment flow. - * - * Create a SetupIntent as soon as you're ready to collect your customer's payment credentials. - * Do not maintain long-lived, unconfirmed SetupIntents as they may no longer be valid. - * The SetupIntent then transitions through multiple [statuses](https://stripe.com/docs/payments/intents#intent-statuses) as it guides - * you through the setup process. - * - * Successful SetupIntents result in payment credentials that are optimized for future payments. - * For example, cardholders in [certain regions](https://stripe.com/guides/strong-customer-authentication) may need to be run through - * [Strong Customer Authentication](https://stripe.com/docs/strong-customer-authentication) at the time of payment method collection - * in order to streamline later [off-session payments](https://stripe.com/docs/payments/setup-intents). - * If the SetupIntent is used with a [Customer](https://stripe.com/docs/api#setup_intent_object-customer), upon success, - * it will automatically attach the resulting payment method to that Customer. - * We recommend using SetupIntents or [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) on - * PaymentIntents to save payment methods in order to prevent saving invalid or unoptimized payment methods. - * - * By using SetupIntents, you ensure that your customers experience the minimum set of required friction, - * even as regulations change over time. - * - * Related guide: [Setup Intents API](https://stripe.com/docs/payments/setup-intents). - */ - setup_intent?: Stripe.SetupIntent; - - source?: Stripe.CustomerSource; - - /** - * The type of error returned. One of `api_connection_error`, `api_error`, `authentication_error`, `card_error`, `idempotency_error`, `invalid_request_error`, or `rate_limit_error` - */ - type: LastSetupError.Type; - } - - namespace LastSetupError { - type Type = - | 'api_connection_error' - | 'api_error' - | 'authentication_error' - | 'card_error' - | 'idempotency_error' - | 'invalid_request_error' - | 'rate_limit_error'; - } - - interface NextAction { - redirect_to_url?: NextAction.RedirectToUrl; - - /** - * Type of the next action to perform, one of `redirect_to_url` or `use_stripe_sdk`. - */ - type: string; - - /** - * When confirming a SetupIntent with Stripe.js, Stripe.js depends on the contents of this dictionary to invoke authentication flows. The shape of the contents is subject to change and is only intended to be used by Stripe.js. - */ - use_stripe_sdk?: NextAction.UseStripeSdk; - } - - namespace NextAction { - interface RedirectToUrl { - /** - * If the customer does not exit their browser while authenticating, they will be redirected to this specified URL after completion. - */ - return_url: string | null; - - /** - * The URL you must redirect your customer to in order to authenticate. - */ - url: string | null; - } - - interface UseStripeSdk {} - } - - interface PaymentMethodOptions { - card?: PaymentMethodOptions.Card; - - sepa_debit?: PaymentMethodOptions.SepaDebit; - } - - namespace PaymentMethodOptions { - interface Card { - /** - * We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Permitted values include: `automatic` or `any`. If not provided, defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine. - */ - request_three_d_secure: Card.RequestThreeDSecure | null; - } - - namespace Card { - type RequestThreeDSecure = 'any' | 'automatic' | 'challenge_only'; - } - - interface SepaDebit { - mandate_options?: SepaDebit.MandateOptions; - } - - namespace SepaDebit { - interface MandateOptions {} - } - } - - type Status = - | 'canceled' - | 'processing' - | 'requires_action' - | 'requires_confirmation' - | 'requires_payment_method' - | 'succeeded'; - } - - interface SetupIntentCreateParams { - /** - * Set to `true` to attempt to confirm this SetupIntent immediately. This parameter defaults to `false`. If the payment method attached is a card, a return_url may be provided in case additional authentication is required. - */ - confirm?: boolean; - - /** - * ID of the Customer this SetupIntent belongs to, if one exists. - * - * If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent. - */ - customer?: string; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * This hash contains details about the Mandate to create. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm). - */ - mandate_data?: SetupIntentCreateParams.MandateData; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * The Stripe account ID for which this SetupIntent is created. - */ - on_behalf_of?: string; - - /** - * ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent. - */ - payment_method?: string; - - /** - * Payment-method-specific configuration for this SetupIntent. - */ - payment_method_options?: SetupIntentCreateParams.PaymentMethodOptions; - - /** - * The list of payment method types (e.g. card) that this SetupIntent is allowed to use. If this is not provided, defaults to ["card"]. - */ - payment_method_types?: Array; - - /** - * The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://stripe.com/docs/api/setup_intents/create#create_setup_intent-confirm). - */ - return_url?: string; - - /** - * If this hash is populated, this SetupIntent will generate a single_use Mandate on success. - */ - single_use?: SetupIntentCreateParams.SingleUse; - - /** - * Indicates how the payment method is intended to be used in the future. If not provided, this value defaults to `off_session`. - */ - usage?: SetupIntentCreateParams.Usage; - } - - namespace SetupIntentCreateParams { - interface MandateData { - /** - * This hash contains details about the customer acceptance of the Mandate. - */ - customer_acceptance: MandateData.CustomerAcceptance; - } - - namespace MandateData { - interface CustomerAcceptance { - /** - * The time at which the customer accepted the Mandate. - */ - accepted_at?: number; - - /** - * If this is a Mandate accepted offline, this hash contains details about the offline acceptance. - */ - offline?: CustomerAcceptance.Offline; - - /** - * If this is a Mandate accepted online, this hash contains details about the online acceptance. - */ - online?: CustomerAcceptance.Online; - - /** - * The type of customer acceptance information included with the Mandate. One of `online` or `offline`. - */ - type: CustomerAcceptance.Type; - } - - namespace CustomerAcceptance { - interface Offline {} - - interface Online { - /** - * The IP address from which the Mandate was accepted by the customer. - */ - ip_address: string; - - /** - * The user agent of the browser from which the Mandate was accepted by the customer. - */ - user_agent: string; - } - - type Type = 'offline' | 'online'; - } - } - - interface PaymentMethodOptions { - /** - * Configuration for any card setup attempted on this SetupIntent. - */ - card?: PaymentMethodOptions.Card; - - /** - * If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options. - */ - sepa_debit?: PaymentMethodOptions.SepaDebit; - } - - namespace PaymentMethodOptions { - interface Card { - /** - * When specified, this parameter signals that a card has been collected - * as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This - * parameter can only be provided during confirmation. - */ - moto?: boolean; - - /** - * We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Permitted values include: `automatic` or `any`. If not provided, defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine. - */ - request_three_d_secure?: Card.RequestThreeDSecure; - } - - namespace Card { - type RequestThreeDSecure = 'any' | 'automatic'; - } - - interface SepaDebit { - /** - * Additional fields for Mandate creation - */ - mandate_options?: SepaDebit.MandateOptions; - } - - namespace SepaDebit { - interface MandateOptions {} - } - } - - interface SingleUse { - /** - * Amount the customer is granting permission to collect later. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99). - */ - amount: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - } - - type Usage = 'off_session' | 'on_session'; - } - - interface SetupIntentRetrieveParams { - /** - * The client secret of the SetupIntent. Required if a publishable key is used to retrieve the SetupIntent. - */ - client_secret?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface SetupIntentUpdateParams { - /** - * ID of the Customer this SetupIntent belongs to, if one exists. - * - * If present, the SetupIntent's payment method will be attached to the Customer on successful setup. Payment methods attached to other Customers cannot be used with this SetupIntent. - */ - customer?: string; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent. - */ - payment_method?: string; - - /** - * Payment-method-specific configuration for this SetupIntent. - */ - payment_method_options?: SetupIntentUpdateParams.PaymentMethodOptions; - - /** - * The list of payment method types (e.g. card) that this SetupIntent is allowed to set up. If this is not provided, defaults to ["card"]. - */ - payment_method_types?: Array; - } - - namespace SetupIntentUpdateParams { - interface PaymentMethodOptions { - /** - * Configuration for any card setup attempted on this SetupIntent. - */ - card?: PaymentMethodOptions.Card; - - /** - * If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options. - */ - sepa_debit?: PaymentMethodOptions.SepaDebit; - } - - namespace PaymentMethodOptions { - interface Card { - /** - * When specified, this parameter signals that a card has been collected - * as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This - * parameter can only be provided during confirmation. - */ - moto?: boolean; - - /** - * We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Permitted values include: `automatic` or `any`. If not provided, defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine. - */ - request_three_d_secure?: Card.RequestThreeDSecure; - } - - namespace Card { - type RequestThreeDSecure = 'any' | 'automatic'; - } - - interface SepaDebit { - /** - * Additional fields for Mandate creation - */ - mandate_options?: SepaDebit.MandateOptions; - } - - namespace SepaDebit { - interface MandateOptions {} - } - } - } - - interface SetupIntentListParams extends PaginationParams { - /** - * A filter on the list, based on the object `created` field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with a number of different query options. - */ - created?: Stripe.RangeQueryParam | number; - - /** - * Only return SetupIntents for the customer specified by this customer ID. - */ - customer?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Only return SetupIntents associated with the specified payment method. - */ - payment_method?: string; - } - - interface SetupIntentCancelParams { - /** - * Reason for canceling this SetupIntent. Possible values are `abandoned`, `requested_by_customer`, or `duplicate` - */ - cancellation_reason?: SetupIntentCancelParams.CancellationReason; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - namespace SetupIntentCancelParams { - type CancellationReason = - | 'abandoned' - | 'duplicate' - | 'requested_by_customer'; - } - - interface SetupIntentConfirmParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * This hash contains details about the Mandate to create - */ - mandate_data?: - | SetupIntentConfirmParams.MandateData1 - | SetupIntentConfirmParams.MandateData2; - - /** - * ID of the payment method (a PaymentMethod, Card, or saved Source object) to attach to this SetupIntent. - */ - payment_method?: string; - - /** - * Payment-method-specific configuration for this SetupIntent. - */ - payment_method_options?: SetupIntentConfirmParams.PaymentMethodOptions; - - /** - * The URL to redirect your customer back to after they authenticate on the payment method's app or site. - * If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme. - * This parameter is only used for cards and other redirect-based payment methods. - */ - return_url?: string; - } - - namespace SetupIntentConfirmParams { - interface MandateData1 { - /** - * This hash contains details about the customer acceptance of the Mandate. - */ - customer_acceptance: MandateData1.CustomerAcceptance; - } - - namespace MandateData1 { - interface CustomerAcceptance { - /** - * The time at which the customer accepted the Mandate. - */ - accepted_at?: number; - - /** - * If this is a Mandate accepted offline, this hash contains details about the offline acceptance. - */ - offline?: CustomerAcceptance.Offline; - - /** - * If this is a Mandate accepted online, this hash contains details about the online acceptance. - */ - online?: CustomerAcceptance.Online; - - /** - * The type of customer acceptance information included with the Mandate. One of `online` or `offline`. - */ - type: CustomerAcceptance.Type; - } - - namespace CustomerAcceptance { - interface Offline {} - - interface Online { - /** - * The IP address from which the Mandate was accepted by the customer. - */ - ip_address: string; - - /** - * The user agent of the browser from which the Mandate was accepted by the customer. - */ - user_agent: string; - } - - type Type = 'offline' | 'online'; - } - } - - interface MandateData2 { - /** - * This hash contains details about the customer acceptance of the Mandate. - */ - customer_acceptance: MandateData2.CustomerAcceptance; - } - - namespace MandateData2 { - interface CustomerAcceptance { - /** - * If this is a Mandate accepted online, this hash contains details about the online acceptance. - */ - online: CustomerAcceptance.Online; - - /** - * The type of customer acceptance information included with the Mandate. - */ - type: 'online'; - } - - namespace CustomerAcceptance { - interface Online { - /** - * The IP address from which the Mandate was accepted by the customer. - */ - ip_address?: string; - - /** - * The user agent of the browser from which the Mandate was accepted by the customer. - */ - user_agent?: string; - } - } - } - - interface PaymentMethodOptions { - /** - * Configuration for any card setup attempted on this SetupIntent. - */ - card?: PaymentMethodOptions.Card; - - /** - * If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options. - */ - sepa_debit?: PaymentMethodOptions.SepaDebit; - } - - namespace PaymentMethodOptions { - interface Card { - /** - * When specified, this parameter signals that a card has been collected - * as MOTO (Mail Order Telephone Order) and thus out of scope for SCA. This - * parameter can only be provided during confirmation. - */ - moto?: boolean; - - /** - * We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. Permitted values include: `automatic` or `any`. If not provided, defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine. - */ - request_three_d_secure?: Card.RequestThreeDSecure; - } - - namespace Card { - type RequestThreeDSecure = 'any' | 'automatic'; - } - - interface SepaDebit { - /** - * Additional fields for Mandate creation - */ - mandate_options?: SepaDebit.MandateOptions; - } - - namespace SepaDebit { - interface MandateOptions {} - } - } - } - - class SetupIntentsResource { - /** - * Creates a SetupIntent object. - * - * After the SetupIntent is created, attach a payment method and [confirm](https://stripe.com/docs/api/setup_intents/confirm) - * to collect any required permissions to charge the payment method later. - */ - create( - params?: SetupIntentCreateParams, - options?: RequestOptions - ): Promise>; - create( - options?: RequestOptions - ): Promise>; - - /** - * Retrieves the details of a SetupIntent that has previously been created. - * - * Client-side retrieval using a publishable key is allowed when the client_secret is provided in the query string. - * - * When retrieved with a publishable key, only a subset of properties will be returned. Please refer to the [SetupIntent](https://stripe.com/docs/api#setup_intent_object) object reference for more details. - */ - retrieve( - id: string, - params?: SetupIntentRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates a SetupIntent object. - */ - update( - id: string, - params?: SetupIntentUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of SetupIntents. - */ - list( - params?: SetupIntentListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - - /** - * A SetupIntent object can be canceled when it is in one of these statuses: requires_payment_method, requires_confirmation, or requires_action. - * - * Once canceled, setup is abandoned and any operations on the SetupIntent will fail with an error. - */ - cancel( - id: string, - params?: SetupIntentCancelParams, - options?: RequestOptions - ): Promise>; - cancel( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Confirm that your customer intends to set up the current or - * provided payment method. For example, you would confirm a SetupIntent - * when a customer hits the “Save” button on a payment method management - * page on your website. - * - * If the selected payment method does not require any additional - * steps from the customer, the SetupIntent will transition to the - * succeeded status. - * - * Otherwise, it will transition to the requires_action status and - * suggest additional actions via next_action. If setup fails, - * the SetupIntent will transition to the - * requires_payment_method status. - */ - confirm( - id: string, - params?: SetupIntentConfirmParams, - options?: RequestOptions - ): Promise>; - confirm( - id: string, - options?: RequestOptions - ): Promise>; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Sigma/ScheduledQueryRuns.d.ts b/node_modules/stripe/types/2020-08-27/Sigma/ScheduledQueryRuns.d.ts deleted file mode 100644 index 38be001e..00000000 --- a/node_modules/stripe/types/2020-08-27/Sigma/ScheduledQueryRuns.d.ts +++ /dev/null @@ -1,112 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - namespace Sigma { - /** - * The ScheduledQueryRun object. - */ - interface ScheduledQueryRun { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'scheduled_query_run'; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * When the query was run, Sigma contained a snapshot of your Stripe data at this time. - */ - data_load_time: number; - - error?: ScheduledQueryRun.Error; - - /** - * The file object representing the results of the query. - */ - file: Stripe.File | null; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Time at which the result expires and is no longer available for download. - */ - result_available_until: number; - - /** - * SQL for the query. - */ - sql: string; - - /** - * The query's execution status, which will be `completed` for successful runs, and `canceled`, `failed`, or `timed_out` otherwise. - */ - status: string; - - /** - * Title of the query. - */ - title: string; - } - - namespace ScheduledQueryRun { - interface Error { - /** - * Information about the run failure. - */ - message: string; - } - } - - interface ScheduledQueryRunRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface ScheduledQueryRunListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - class ScheduledQueryRunsResource { - /** - * Retrieves the details of an scheduled query run. - */ - retrieve( - id: string, - params?: ScheduledQueryRunRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of scheduled query runs. - */ - list( - params?: ScheduledQueryRunListParams, - options?: RequestOptions - ): ApiListPromise; - list( - options?: RequestOptions - ): ApiListPromise; - } - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/SourceMandateNotifications.d.ts b/node_modules/stripe/types/2020-08-27/SourceMandateNotifications.d.ts deleted file mode 100644 index eb213b88..00000000 --- a/node_modules/stripe/types/2020-08-27/SourceMandateNotifications.d.ts +++ /dev/null @@ -1,98 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The SourceMandateNotification object. - */ - interface SourceMandateNotification { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'source_mandate_notification'; - - acss_debit?: SourceMandateNotification.AcssDebit; - - /** - * A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the amount associated with the mandate notification. The amount is expressed in the currency of the underlying source. Required if the notification type is `debit_initiated`. - */ - amount: number | null; - - bacs_debit?: SourceMandateNotification.BacsDebit; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * The reason of the mandate notification. Valid reasons are `mandate_confirmed` or `debit_initiated`. - */ - reason: string; - - sepa_debit?: SourceMandateNotification.SepaDebit; - - /** - * `Source` objects allow you to accept a variety of payment methods. They - * represent a customer's payment instrument, and can be used with the Stripe API - * just like a `Card` object: once chargeable, they can be charged, or can be - * attached to customers. - * - * Related guides: [Sources API](https://stripe.com/docs/sources) and [Sources & Customers](https://stripe.com/docs/sources/customers). - */ - source: Stripe.Source; - - /** - * The status of the mandate notification. Valid statuses are `pending` or `submitted`. - */ - status: string; - - /** - * The type of source this mandate notification is attached to. Should be the source type identifier code for the payment method, such as `three_d_secure`. - */ - type: string; - } - - namespace SourceMandateNotification { - interface AcssDebit { - /** - * The statement descriptor associate with the debit. - */ - statement_descriptor?: string; - } - - interface BacsDebit { - /** - * Last 4 digits of the account number associated with the debit. - */ - last4?: string; - } - - interface SepaDebit { - /** - * SEPA creditor ID. - */ - creditor_identifier?: string; - - /** - * Last 4 digits of the account number associated with the debit. - */ - last4?: string; - - /** - * Mandate reference associated with the debit. - */ - mandate_reference?: string; - } - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/SourceTransactions.d.ts b/node_modules/stripe/types/2020-08-27/SourceTransactions.d.ts deleted file mode 100644 index 10a93775..00000000 --- a/node_modules/stripe/types/2020-08-27/SourceTransactions.d.ts +++ /dev/null @@ -1,199 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The SourceTransaction object. - */ - interface SourceTransaction { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'source_transaction'; - - ach_credit_transfer?: SourceTransaction.AchCreditTransfer; - - /** - * A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the amount your customer has pushed to the receiver. - */ - amount: number; - - chf_credit_transfer?: SourceTransaction.ChfCreditTransfer; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - gbp_credit_transfer?: SourceTransaction.GbpCreditTransfer; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - paper_check?: SourceTransaction.PaperCheck; - - sepa_credit_transfer?: SourceTransaction.SepaCreditTransfer; - - /** - * The ID of the source this transaction is attached to. - */ - source: string; - - /** - * The status of the transaction, one of `succeeded`, `pending`, or `failed`. - */ - status: string; - - /** - * The type of source this transaction is attached to. - */ - type: SourceTransaction.Type; - } - - namespace SourceTransaction { - interface AchCreditTransfer { - /** - * Customer data associated with the transfer. - */ - customer_data?: string; - - /** - * Bank account fingerprint associated with the transfer. - */ - fingerprint?: string; - - /** - * Last 4 digits of the account number associated with the transfer. - */ - last4?: string; - - /** - * Routing number associated with the transfer. - */ - routing_number?: string; - } - - interface ChfCreditTransfer { - /** - * Reference associated with the transfer. - */ - reference?: string; - - /** - * Sender's country address. - */ - sender_address_country?: string; - - /** - * Sender's line 1 address. - */ - sender_address_line1?: string; - - /** - * Sender's bank account IBAN. - */ - sender_iban?: string; - - /** - * Sender's name. - */ - sender_name?: string; - } - - interface GbpCreditTransfer { - /** - * Bank account fingerprint associated with the Stripe owned bank account receiving the transfer. - */ - fingerprint?: string; - - /** - * The credit transfer rails the sender used to push this transfer. The possible rails are: Faster Payments, BACS, CHAPS, and wire transfers. Currently only Faster Payments is supported. - */ - funding_method?: string; - - /** - * Last 4 digits of sender account number associated with the transfer. - */ - last4?: string; - - /** - * Sender entered arbitrary information about the transfer. - */ - reference?: string; - - /** - * Sender account number associated with the transfer. - */ - sender_account_number?: string; - - /** - * Sender name associated with the transfer. - */ - sender_name?: string; - - /** - * Sender sort code associated with the transfer. - */ - sender_sort_code?: string; - } - - interface PaperCheck { - /** - * Time at which the deposited funds will be available for use. Measured in seconds since the Unix epoch. - */ - available_at?: string; - - /** - * Comma-separated list of invoice IDs associated with the paper check. - */ - invoices?: string; - } - - interface SepaCreditTransfer { - /** - * Reference associated with the transfer. - */ - reference?: string; - - /** - * Sender's bank account IBAN. - */ - sender_iban?: string; - - /** - * Sender's name. - */ - sender_name?: string; - } - - type Type = - | 'ach_credit_transfer' - | 'ach_debit' - | 'alipay' - | 'bancontact' - | 'card' - | 'card_present' - | 'eps' - | 'giropay' - | 'ideal' - | 'klarna' - | 'multibanco' - | 'p24' - | 'sepa_debit' - | 'sofort' - | 'three_d_secure' - | 'wechat'; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Sources.d.ts b/node_modules/stripe/types/2020-08-27/Sources.d.ts deleted file mode 100644 index 7abe6c33..00000000 --- a/node_modules/stripe/types/2020-08-27/Sources.d.ts +++ /dev/null @@ -1,1403 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Source object. - */ - interface Source { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'source'; - - ach_credit_transfer?: Source.AchCreditTransfer; - - ach_debit?: Source.AchDebit; - - acss_debit?: Source.AcssDebit; - - alipay?: Source.Alipay; - - /** - * A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount associated with the source. This is the amount for which the source will be chargeable once ready. Required for `single_use` sources. - */ - amount: number | null; - - au_becs_debit?: Source.AuBecsDebit; - - bancontact?: Source.Bancontact; - - card?: Source.Card; - - card_present?: Source.CardPresent; - - /** - * The client secret of the source. Used for client-side retrieval using a publishable key. - */ - client_secret: string; - - code_verification?: Source.CodeVerification; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) associated with the source. This is the currency for which the source will be chargeable once ready. Required for `single_use` sources. - */ - currency: string | null; - - /** - * The ID of the customer to which this source is attached. This will not be present when the source has not been attached to a customer. - */ - customer?: string; - - eps?: Source.Eps; - - /** - * The authentication `flow` of the source. `flow` is one of `redirect`, `receiver`, `code_verification`, `none`. - */ - flow: string; - - giropay?: Source.Giropay; - - ideal?: Source.Ideal; - - klarna?: Source.Klarna; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata | null; - - multibanco?: Source.Multibanco; - - /** - * Information about the owner of the payment instrument that may be used or required by particular source types. - */ - owner: Source.Owner | null; - - p24?: Source.P24; - - receiver?: Source.Receiver; - - redirect?: Source.Redirect; - - sepa_credit_transfer?: Source.SepaCreditTransfer; - - sepa_debit?: Source.SepaDebit; - - sofort?: Source.Sofort; - - source_order?: Source.SourceOrder; - - /** - * Extra information about a source. This will appear on your customer's statement every time you charge the source. - */ - statement_descriptor: string | null; - - /** - * The status of the source, one of `canceled`, `chargeable`, `consumed`, `failed`, or `pending`. Only `chargeable` sources can be used to create a charge. - */ - status: string; - - three_d_secure?: Source.ThreeDSecure; - - /** - * The `type` of the source. The `type` is a payment method, one of `ach_credit_transfer`, `ach_debit`, `alipay`, `bancontact`, `card`, `card_present`, `eps`, `giropay`, `ideal`, `multibanco`, `klarna`, `p24`, `sepa_debit`, `sofort`, `three_d_secure`, or `wechat`. An additional hash is included on the source with a name matching this value. It contains additional information specific to the [payment method](https://stripe.com/docs/sources) used. - */ - type: Source.Type; - - /** - * Either `reusable` or `single_use`. Whether this source should be reusable or not. Some source types may or may not be reusable by construction, while others may leave the option at creation. If an incompatible value is passed, an error will be returned. - */ - usage: string | null; - - wechat?: Source.Wechat; - } - - namespace Source { - interface AchCreditTransfer { - account_number?: string | null; - - bank_name?: string | null; - - fingerprint?: string | null; - - refund_account_holder_name?: string | null; - - refund_account_holder_type?: string | null; - - refund_routing_number?: string | null; - - routing_number?: string | null; - - swift_code?: string | null; - } - - interface AchDebit { - bank_name?: string | null; - - country?: string | null; - - fingerprint?: string | null; - - last4?: string | null; - - routing_number?: string | null; - - type?: string | null; - } - - interface AcssDebit { - bank_address_city?: string | null; - - bank_address_line_1?: string | null; - - bank_address_line_2?: string | null; - - bank_address_postal_code?: string | null; - - bank_name?: string | null; - - category?: string | null; - - country?: string | null; - - fingerprint?: string | null; - - last4?: string | null; - - routing_number?: string | null; - } - - interface Alipay { - data_string?: string | null; - - native_url?: string | null; - - statement_descriptor?: string | null; - } - - interface AuBecsDebit { - bsb_number?: string | null; - - fingerprint?: string | null; - - last4?: string | null; - } - - interface Bancontact { - bank_code?: string | null; - - bank_name?: string | null; - - bic?: string | null; - - iban_last4?: string | null; - - preferred_language?: string | null; - - statement_descriptor?: string | null; - } - - interface Card { - address_line1_check?: string | null; - - address_zip_check?: string | null; - - brand?: string | null; - - country?: string | null; - - cvc_check?: string | null; - - description?: string; - - dynamic_last4?: string | null; - - exp_month?: number | null; - - exp_year?: number | null; - - fingerprint?: string; - - funding?: string | null; - - iin?: string; - - issuer?: string; - - last4?: string | null; - - name?: string | null; - - three_d_secure?: string; - - tokenization_method?: string | null; - } - - interface CardPresent { - application_cryptogram?: string; - - application_preferred_name?: string; - - authorization_code?: string | null; - - authorization_response_code?: string; - - brand?: string | null; - - country?: string | null; - - cvm_type?: string; - - data_type?: string | null; - - dedicated_file_name?: string; - - description?: string; - - emv_auth_data?: string; - - evidence_customer_signature?: string | null; - - evidence_transaction_certificate?: string | null; - - exp_month?: number | null; - - exp_year?: number | null; - - fingerprint?: string; - - funding?: string | null; - - iin?: string; - - issuer?: string; - - last4?: string | null; - - pos_device_id?: string | null; - - pos_entry_mode?: string; - - read_method?: string | null; - - reader?: string | null; - - terminal_verification_results?: string; - - transaction_status_information?: string; - } - - interface CodeVerification { - /** - * The number of attempts remaining to authenticate the source object with a verification code. - */ - attempts_remaining: number; - - /** - * The status of the code verification, either `pending` (awaiting verification, `attempts_remaining` should be greater than 0), `succeeded` (successful verification) or `failed` (failed verification, cannot be verified anymore as `attempts_remaining` should be 0). - */ - status: string; - } - - interface Eps { - reference?: string | null; - - statement_descriptor?: string | null; - } - - interface Giropay { - bank_code?: string | null; - - bank_name?: string | null; - - bic?: string | null; - - statement_descriptor?: string | null; - } - - interface Ideal { - bank?: string | null; - - bic?: string | null; - - iban_last4?: string | null; - - statement_descriptor?: string | null; - } - - interface Klarna { - background_image_url?: string; - - client_token?: string | null; - - first_name?: string; - - last_name?: string; - - locale?: string; - - logo_url?: string; - - page_title?: string; - - pay_later_asset_urls_descriptive?: string; - - pay_later_asset_urls_standard?: string; - - pay_later_name?: string; - - pay_later_redirect_url?: string; - - pay_now_asset_urls_descriptive?: string; - - pay_now_asset_urls_standard?: string; - - pay_now_name?: string; - - pay_now_redirect_url?: string; - - pay_over_time_asset_urls_descriptive?: string; - - pay_over_time_asset_urls_standard?: string; - - pay_over_time_name?: string; - - pay_over_time_redirect_url?: string; - - payment_method_categories?: string; - - purchase_country?: string; - - purchase_type?: string; - - redirect_url?: string; - - shipping_delay?: number; - - shipping_first_name?: string; - - shipping_last_name?: string; - } - - interface Multibanco { - entity?: string | null; - - reference?: string | null; - - refund_account_holder_address_city?: string | null; - - refund_account_holder_address_country?: string | null; - - refund_account_holder_address_line1?: string | null; - - refund_account_holder_address_line2?: string | null; - - refund_account_holder_address_postal_code?: string | null; - - refund_account_holder_address_state?: string | null; - - refund_account_holder_name?: string | null; - - refund_iban?: string | null; - } - - interface Owner { - /** - * Owner's address. - */ - address: Stripe.Address | null; - - /** - * Owner's email address. - */ - email: string | null; - - /** - * Owner's full name. - */ - name: string | null; - - /** - * Owner's phone number (including extension). - */ - phone: string | null; - - /** - * Verified owner's address. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - verified_address: Stripe.Address | null; - - /** - * Verified owner's email address. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - verified_email: string | null; - - /** - * Verified owner's full name. Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - verified_name: string | null; - - /** - * Verified owner's phone number (including extension). Verified values are verified or provided by the payment method directly (and if supported) at the time of authorization or settlement. They cannot be set or mutated. - */ - verified_phone: string | null; - } - - interface P24 { - reference?: string | null; - } - - interface Receiver { - /** - * The address of the receiver source. This is the value that should be communicated to the customer to send their funds to. - */ - address: string | null; - - /** - * The total amount that was moved to your balance. This is almost always equal to the amount charged. In rare cases when customers deposit excess funds and we are unable to refund those, those funds get moved to your balance and show up in amount_charged as well. The amount charged is expressed in the source's currency. - */ - amount_charged: number; - - /** - * The total amount received by the receiver source. `amount_received = amount_returned + amount_charged` should be true for consumed sources unless customers deposit excess funds. The amount received is expressed in the source's currency. - */ - amount_received: number; - - /** - * The total amount that was returned to the customer. The amount returned is expressed in the source's currency. - */ - amount_returned: number; - - /** - * Type of refund attribute method, one of `email`, `manual`, or `none`. - */ - refund_attributes_method: string; - - /** - * Type of refund attribute status, one of `missing`, `requested`, or `available`. - */ - refund_attributes_status: string; - } - - interface Redirect { - /** - * The failure reason for the redirect, either `user_abort` (the customer aborted or dropped out of the redirect flow), `declined` (the authentication failed or the transaction was declined), or `processing_error` (the redirect failed due to a technical error). Present only if the redirect status is `failed`. - */ - failure_reason: string | null; - - /** - * The URL you provide to redirect the customer to after they authenticated their payment. - */ - return_url: string; - - /** - * The status of the redirect, either `pending` (ready to be used by your customer to authenticate the transaction), `succeeded` (succesful authentication, cannot be reused) or `not_required` (redirect should not be used) or `failed` (failed authentication, cannot be reused). - */ - status: string; - - /** - * The URL provided to you to redirect a customer to as part of a `redirect` authentication flow. - */ - url: string; - } - - interface SepaCreditTransfer { - bank_name?: string | null; - - bic?: string | null; - - iban?: string | null; - - refund_account_holder_address_city?: string | null; - - refund_account_holder_address_country?: string | null; - - refund_account_holder_address_line1?: string | null; - - refund_account_holder_address_line2?: string | null; - - refund_account_holder_address_postal_code?: string | null; - - refund_account_holder_address_state?: string | null; - - refund_account_holder_name?: string | null; - - refund_iban?: string | null; - } - - interface SepaDebit { - bank_code?: string | null; - - branch_code?: string | null; - - country?: string | null; - - fingerprint?: string | null; - - last4?: string | null; - - mandate_reference?: string | null; - - mandate_url?: string | null; - } - - interface Sofort { - bank_code?: string | null; - - bank_name?: string | null; - - bic?: string | null; - - country?: string | null; - - iban_last4?: string | null; - - preferred_language?: string | null; - - statement_descriptor?: string | null; - } - - interface SourceOrder { - /** - * A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount for the order. - */ - amount: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * The email address of the customer placing the order. - */ - email?: string; - - /** - * List of items constituting the order. - */ - items: Array | null; - - shipping?: SourceOrder.Shipping; - } - - namespace SourceOrder { - interface Item { - /** - * The amount (price) for this order item. - */ - amount: number | null; - - /** - * This currency of this order item. Required when `amount` is present. - */ - currency: string | null; - - /** - * Human-readable description for this order item. - */ - description: string | null; - - /** - * The ID of the associated object for this line item. Expandable if not null (e.g., expandable to a SKU). - */ - parent: string | null; - - /** - * The quantity of this order item. When type is `sku`, this is the number of instances of the SKU to be ordered. - */ - quantity?: number; - - /** - * The type of this order item. Must be `sku`, `tax`, or `shipping`. - */ - type: string | null; - } - - interface Shipping { - address?: Stripe.Address; - - /** - * The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. - */ - carrier?: string | null; - - /** - * Recipient name. - */ - name?: string | null; - - /** - * Recipient phone (including extension). - */ - phone?: string | null; - - /** - * The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. - */ - tracking_number?: string | null; - } - } - - interface ThreeDSecure { - address_line1_check?: string | null; - - address_zip_check?: string | null; - - authenticated?: boolean | null; - - brand?: string | null; - - card?: string | null; - - country?: string | null; - - customer?: string | null; - - cvc_check?: string | null; - - description?: string; - - dynamic_last4?: string | null; - - exp_month?: number | null; - - exp_year?: number | null; - - fingerprint?: string; - - funding?: string | null; - - iin?: string; - - issuer?: string; - - last4?: string | null; - - name?: string | null; - - three_d_secure?: string; - - tokenization_method?: string | null; - } - - type Type = - | 'ach_credit_transfer' - | 'ach_debit' - | 'acss_debit' - | 'alipay' - | 'au_becs_debit' - | 'bancontact' - | 'card' - | 'card_present' - | 'eps' - | 'giropay' - | 'ideal' - | 'klarna' - | 'multibanco' - | 'p24' - | 'sepa_credit_transfer' - | 'sepa_debit' - | 'sofort' - | 'three_d_secure' - | 'wechat'; - - interface Wechat { - prepay_id?: string; - - qr_code_url?: string | null; - - statement_descriptor?: string; - } - } - - interface SourceCreateParams { - /** - * Amount associated with the source. This is the amount for which the source will be chargeable once ready. Required for `single_use` sources. Not supported for `receiver` type sources, where charge amount may not be specified until funds land. - */ - amount?: number; - - /** - * Three-letter [ISO code for the currency](https://stripe.com/docs/currencies) associated with the source. This is the currency for which the source will be chargeable once ready. - */ - currency?: string; - - /** - * The `Customer` to whom the original source is attached to. Must be set when the original source is not a `Source` (e.g., `Card`). - */ - customer?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * The authentication `flow` of the source to create. `flow` is one of `redirect`, `receiver`, `code_verification`, `none`. It is generally inferred unless a type supports multiple flows. - */ - flow?: SourceCreateParams.Flow; - - /** - * Information about a mandate possibility attached to a source object (generally for bank debits) as well as its acceptance status. - */ - mandate?: SourceCreateParams.Mandate; - - metadata?: Stripe.MetadataParam; - - /** - * The source to share. - */ - original_source?: string; - - /** - * Information about the owner of the payment instrument that may be used or required by particular source types. - */ - owner?: SourceCreateParams.Owner; - - /** - * Optional parameters for the receiver flow. Can be set only if the source is a receiver (`flow` is `receiver`). - */ - receiver?: SourceCreateParams.Receiver; - - /** - * Parameters required for the redirect flow. Required if the source is authenticated by a redirect (`flow` is `redirect`). - */ - redirect?: SourceCreateParams.Redirect; - - /** - * Information about the items and shipping associated with the source. Required for transactional credit (for example Klarna) sources before you can charge it. - */ - source_order?: SourceCreateParams.SourceOrder; - - /** - * An arbitrary string to be displayed on your customer's statement. As an example, if your website is `RunClub` and the item you're charging for is a race ticket, you may want to specify a `statement_descriptor` of `RunClub 5K race ticket.` While many payment types will display this information, some may not display it at all. - */ - statement_descriptor?: string; - - /** - * An optional token used to create the source. When passed, token properties will override source parameters. - */ - token?: string; - - /** - * The `type` of the source to create. Required unless `customer` and `original_source` are specified (see the [Cloning card Sources](https://stripe.com/docs/sources/connect#cloning-card-sources) guide) - */ - type?: string; - - usage?: SourceCreateParams.Usage; - } - - namespace SourceCreateParams { - type Flow = 'code_verification' | 'none' | 'receiver' | 'redirect'; - - interface Mandate { - /** - * The parameters required to notify Stripe of a mandate acceptance or refusal by the customer. - */ - acceptance?: Mandate.Acceptance; - - /** - * The amount specified by the mandate. (Leave null for a mandate covering all amounts) - */ - amount?: Stripe.Emptyable; - - /** - * The currency specified by the mandate. (Must match `currency` of the source) - */ - currency?: string; - - /** - * The interval of debits permitted by the mandate. Either `one_time` (just permitting a single debit), `scheduled` (with debits on an agreed schedule or for clearly-defined events), or `variable`(for debits with any frequency) - */ - interval?: Mandate.Interval; - - /** - * The method Stripe should use to notify the customer of upcoming debit instructions and/or mandate confirmation as required by the underlying debit network. Either `email` (an email is sent directly to the customer), `manual` (a `source.mandate_notification` event is sent to your webhooks endpoint and you should handle the notification) or `none` (the underlying debit network does not require any notification). - */ - notification_method?: Mandate.NotificationMethod; - } - - namespace Mandate { - interface Acceptance { - /** - * The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer. - */ - date?: number; - - /** - * The IP address from which the mandate was accepted or refused by the customer. - */ - ip?: string; - - /** - * The parameters required to store a mandate accepted offline. Should only be set if `mandate[type]` is `offline` - */ - offline?: Acceptance.Offline; - - /** - * The parameters required to store a mandate accepted online. Should only be set if `mandate[type]` is `online` - */ - online?: Acceptance.Online; - - /** - * The status of the mandate acceptance. Either `accepted` (the mandate was accepted) or `refused` (the mandate was refused). - */ - status: Acceptance.Status; - - /** - * The type of acceptance information included with the mandate. Either `online` or `offline` - */ - type?: Acceptance.Type; - - /** - * The user agent of the browser from which the mandate was accepted or refused by the customer. - */ - user_agent?: string; - } - - namespace Acceptance { - interface Offline { - /** - * An email to contact you with if a copy of the mandate is requested, required if `type` is `offline`. - */ - contact_email: string; - } - - interface Online { - /** - * The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer. - */ - date?: number; - - /** - * The IP address from which the mandate was accepted or refused by the customer. - */ - ip?: string; - - /** - * The user agent of the browser from which the mandate was accepted or refused by the customer. - */ - user_agent?: string; - } - - type Status = 'accepted' | 'pending' | 'refused' | 'revoked'; - - type Type = 'offline' | 'online'; - } - - type Interval = 'one_time' | 'scheduled' | 'variable'; - - type NotificationMethod = - | 'deprecated_none' - | 'email' - | 'manual' - | 'none' - | 'stripe_email'; - } - - interface Owner { - /** - * Owner's address. - */ - address?: Owner.Address; - - /** - * Owner's email address. - */ - email?: string; - - /** - * Owner's full name. - */ - name?: string; - - /** - * Owner's phone number. - */ - phone?: string; - } - - namespace Owner { - interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - } - } - - interface Receiver { - /** - * The method Stripe should use to request information needed to process a refund or mispayment. Either `email` (an email is sent directly to the customer) or `manual` (a `source.refund_attributes_required` event is sent to your webhooks endpoint). Refer to each payment method's documentation to learn which refund attributes may be required. - */ - refund_attributes_method?: Receiver.RefundAttributesMethod; - } - - namespace Receiver { - type RefundAttributesMethod = 'email' | 'manual' | 'none'; - } - - interface Redirect { - /** - * The URL you provide to redirect the customer back to you after they authenticated their payment. It can use your application URI scheme in the context of a mobile application. - */ - return_url: string; - } - - interface SourceOrder { - /** - * List of items constituting the order. - */ - items?: Array; - - /** - * Shipping address for the order. Required if any of the SKUs are for products that have `shippable` set to true. - */ - shipping?: SourceOrder.Shipping; - } - - namespace SourceOrder { - interface Item { - amount?: number; - - currency?: string; - - description?: string; - - /** - * The ID of the SKU being ordered. - */ - parent?: string; - - /** - * The quantity of this order item. When type is `sku`, this is the number of instances of the SKU to be ordered. - */ - quantity?: number; - - type?: Item.Type; - } - - namespace Item { - type Type = 'discount' | 'shipping' | 'sku' | 'tax'; - } - - interface Shipping { - /** - * Shipping address. - */ - address: Stripe.AddressParam; - - /** - * The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. - */ - carrier?: string; - - /** - * Recipient name. - */ - name?: string; - - /** - * Recipient phone (including extension). - */ - phone?: string; - - /** - * The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. - */ - tracking_number?: string; - } - } - - type Usage = 'reusable' | 'single_use'; - } - - interface SourceRetrieveParams { - /** - * The client secret of the source. Required if a publishable key is used to retrieve the source. - */ - client_secret?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface SourceUpdateParams { - /** - * Amount associated with the source. - */ - amount?: number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Information about a mandate possibility attached to a source object (generally for bank debits) as well as its acceptance status. - */ - mandate?: SourceUpdateParams.Mandate; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * Information about the owner of the payment instrument that may be used or required by particular source types. - */ - owner?: SourceUpdateParams.Owner; - - /** - * Information about the items and shipping associated with the source. Required for transactional credit (for example Klarna) sources before you can charge it. - */ - source_order?: SourceUpdateParams.SourceOrder; - } - - namespace SourceUpdateParams { - interface Mandate { - /** - * The parameters required to notify Stripe of a mandate acceptance or refusal by the customer. - */ - acceptance?: Mandate.Acceptance; - - /** - * The amount specified by the mandate. (Leave null for a mandate covering all amounts) - */ - amount?: Stripe.Emptyable; - - /** - * The currency specified by the mandate. (Must match `currency` of the source) - */ - currency?: string; - - /** - * The interval of debits permitted by the mandate. Either `one_time` (just permitting a single debit), `scheduled` (with debits on an agreed schedule or for clearly-defined events), or `variable`(for debits with any frequency) - */ - interval?: Mandate.Interval; - - /** - * The method Stripe should use to notify the customer of upcoming debit instructions and/or mandate confirmation as required by the underlying debit network. Either `email` (an email is sent directly to the customer), `manual` (a `source.mandate_notification` event is sent to your webhooks endpoint and you should handle the notification) or `none` (the underlying debit network does not require any notification). - */ - notification_method?: Mandate.NotificationMethod; - } - - namespace Mandate { - interface Acceptance { - /** - * The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer. - */ - date?: number; - - /** - * The IP address from which the mandate was accepted or refused by the customer. - */ - ip?: string; - - /** - * The parameters required to store a mandate accepted offline. Should only be set if `mandate[type]` is `offline` - */ - offline?: Acceptance.Offline; - - /** - * The parameters required to store a mandate accepted online. Should only be set if `mandate[type]` is `online` - */ - online?: Acceptance.Online; - - /** - * The status of the mandate acceptance. Either `accepted` (the mandate was accepted) or `refused` (the mandate was refused). - */ - status: Acceptance.Status; - - /** - * The type of acceptance information included with the mandate. Either `online` or `offline` - */ - type?: Acceptance.Type; - - /** - * The user agent of the browser from which the mandate was accepted or refused by the customer. - */ - user_agent?: string; - } - - namespace Acceptance { - interface Offline { - /** - * An email to contact you with if a copy of the mandate is requested, required if `type` is `offline`. - */ - contact_email: string; - } - - interface Online { - /** - * The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer. - */ - date?: number; - - /** - * The IP address from which the mandate was accepted or refused by the customer. - */ - ip?: string; - - /** - * The user agent of the browser from which the mandate was accepted or refused by the customer. - */ - user_agent?: string; - } - - type Status = 'accepted' | 'pending' | 'refused' | 'revoked'; - - type Type = 'offline' | 'online'; - } - - type Interval = 'one_time' | 'scheduled' | 'variable'; - - type NotificationMethod = - | 'deprecated_none' - | 'email' - | 'manual' - | 'none' - | 'stripe_email'; - } - - interface Owner { - /** - * Owner's address. - */ - address?: Owner.Address; - - /** - * Owner's email address. - */ - email?: string; - - /** - * Owner's full name. - */ - name?: string; - - /** - * Owner's phone number. - */ - phone?: string; - } - - namespace Owner { - interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - } - } - - interface SourceOrder { - /** - * List of items constituting the order. - */ - items?: Array; - - /** - * Shipping address for the order. Required if any of the SKUs are for products that have `shippable` set to true. - */ - shipping?: SourceOrder.Shipping; - } - - namespace SourceOrder { - interface Item { - amount?: number; - - currency?: string; - - description?: string; - - /** - * The ID of the SKU being ordered. - */ - parent?: string; - - /** - * The quantity of this order item. When type is `sku`, this is the number of instances of the SKU to be ordered. - */ - quantity?: number; - - type?: Item.Type; - } - - namespace Item { - type Type = 'discount' | 'shipping' | 'sku' | 'tax'; - } - - interface Shipping { - /** - * Shipping address. - */ - address: Stripe.AddressParam; - - /** - * The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc. - */ - carrier?: string; - - /** - * Recipient name. - */ - name?: string; - - /** - * Recipient phone (including extension). - */ - phone?: string; - - /** - * The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas. - */ - tracking_number?: string; - } - } - } - - interface SourceListSourceTransactionsParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface SourceVerifyParams { - /** - * The values needed to verify the source. - */ - values: Array; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - class SourcesResource { - /** - * Creates a new source object. - */ - create( - params?: SourceCreateParams, - options?: RequestOptions - ): Promise>; - create(options?: RequestOptions): Promise>; - - /** - * Retrieves an existing source object. Supply the unique source ID from a source creation request and Stripe will return the corresponding up-to-date source object information. - */ - retrieve( - id: string, - params?: SourceRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates the specified source by setting the values of the parameters passed. Any parameters not provided will be left unchanged. - * - * This request accepts the metadata and owner as arguments. It is also possible to update type specific information for selected payment methods. Please refer to our [payment method guides](https://stripe.com/docs/sources) for more detail. - */ - update( - id: string, - params?: SourceUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * List source transactions for a given source. - */ - listSourceTransactions( - id: string, - params?: SourceListSourceTransactionsParams, - options?: RequestOptions - ): ApiListPromise; - listSourceTransactions( - id: string, - options?: RequestOptions - ): ApiListPromise; - - /** - * Verify a given source. - */ - verify( - id: string, - params: SourceVerifyParams, - options?: RequestOptions - ): Promise>; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/SubscriptionItems.d.ts b/node_modules/stripe/types/2020-08-27/SubscriptionItems.d.ts deleted file mode 100644 index e205438d..00000000 --- a/node_modules/stripe/types/2020-08-27/SubscriptionItems.d.ts +++ /dev/null @@ -1,495 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The SubscriptionItem object. - */ - interface SubscriptionItem { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'subscription_item'; - - /** - * Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period - */ - billing_thresholds: SubscriptionItem.BillingThresholds | null; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - deleted?: void; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata; - - /** - * You can now model subscriptions more flexibly using the [Prices API](https://stripe.com/docs/api#prices). It replaces the Plans API and is backwards compatible to simplify your migration. - * - * Plans define the base price, currency, and billing cycle for recurring purchases of products. - * [Products](https://stripe.com/docs/api#products) help you track inventory or provisioning, and plans help you track pricing. Different physical goods or levels of service should be represented by products, and pricing options should be represented by plans. This approach lets you change prices without having to change your provisioning scheme. - * - * For example, you might have a single "gold" product that has plans for $10/month, $100/year, €9/month, and €90/year. - * - * Related guides: [Set up a subscription](https://stripe.com/docs/billing/subscriptions/set-up-subscription) and more about [products and prices](https://stripe.com/docs/billing/prices-guide). - */ - plan: Stripe.Plan; - - /** - * Prices define the unit cost, currency, and (optional) billing cycle for both recurring and one-time purchases of products. - * [Products](https://stripe.com/docs/api#products) help you track inventory or provisioning, and prices help you track payment terms. Different physical goods or levels of service should be represented by products, and pricing options should be represented by prices. This approach lets you change prices without having to change your provisioning scheme. - * - * For example, you might have a single "gold" product that has prices for $10/month, $100/year, and €9 once. - * - * Related guides: [Set up a subscription](https://stripe.com/docs/billing/subscriptions/set-up-subscription), [create an invoice](https://stripe.com/docs/billing/invoices/create), and more about [products and prices](https://stripe.com/docs/billing/prices-guide). - */ - price: Stripe.Price; - - /** - * The [quantity](https://stripe.com/docs/subscriptions/quantities) of the plan to which the customer should be subscribed. - */ - quantity?: number; - - /** - * The `subscription` this `subscription_item` belongs to. - */ - subscription: string; - - /** - * The tax rates which apply to this `subscription_item`. When set, the `default_tax_rates` on the subscription do not apply to this `subscription_item`. - */ - tax_rates: Array | null; - } - - namespace SubscriptionItem { - interface BillingThresholds { - /** - * Usage threshold that triggers the subscription to create an invoice - */ - usage_gte: number | null; - } - } - - /** - * The DeletedSubscriptionItem object. - */ - interface DeletedSubscriptionItem { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'subscription_item'; - - /** - * Always true for a deleted object - */ - deleted: true; - } - - interface SubscriptionItemCreateParams { - /** - * The identifier of the subscription to modify. - */ - subscription: string; - - /** - * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds. - */ - billing_thresholds?: Stripe.Emptyable< - SubscriptionItemCreateParams.BillingThresholds - >; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * Use `allow_incomplete` to transition the subscription to `status=past_due` if a payment is required but cannot be paid. This allows you to manage scenarios where additional user actions are needed to pay a subscription's invoice. For example, SCA regulation may require 3DS authentication to complete payment. See the [SCA Migration Guide](https://stripe.com/docs/billing/migration/strong-customer-authentication) for Billing to learn more. This is the default behavior. - * - * Use `pending_if_incomplete` to update the subscription using [pending updates](https://stripe.com/docs/billing/subscriptions/pending-updates). When you use `pending_if_incomplete` you can only pass the parameters [supported by pending updates](https://stripe.com/docs/billing/pending-updates-reference#supported-attributes). - * - * Use `error_if_incomplete` if you want Stripe to return an HTTP 402 status code if a subscription's invoice cannot be paid. For example, if a payment method requires 3DS authentication due to SCA regulation and further user action is needed, this parameter does not update the subscription and returns an error instead. This was the default behavior for API versions prior to 2019-03-14. See the [changelog](https://stripe.com/docs/upgrades#2019-03-14) to learn more. - */ - payment_behavior?: SubscriptionItemCreateParams.PaymentBehavior; - - /** - * The identifier of the plan to add to the subscription. - */ - plan?: string; - - /** - * The ID of the price object. - */ - price?: string; - - /** - * Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. - */ - price_data?: SubscriptionItemCreateParams.PriceData; - - /** - * Determines how to handle [prorations](https://stripe.com/docs/subscriptions/billing-cycle#prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. Valid values are `create_prorations`, `none`, or `always_invoice`. - * - * Passing `create_prorations` will cause proration invoice items to be created when applicable. These proration items will only be invoiced immediately under [certain conditions](https://stripe.com/docs/subscriptions/upgrading-downgrading#immediate-payment). In order to always invoice immediately for prorations, pass `always_invoice`. - * - * Prorations can be disabled by passing `none`. - */ - proration_behavior?: SubscriptionItemCreateParams.ProrationBehavior; - - /** - * If set, the proration will be calculated as though the subscription was updated at the given time. This can be used to apply the same proration that was previewed with the [upcoming invoice](https://stripe.com/docs/api#retrieve_customer_invoice) endpoint. - */ - proration_date?: number; - - /** - * The quantity you'd like to apply to the subscription item you're creating. - */ - quantity?: number; - - /** - * A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates. - */ - tax_rates?: Stripe.Emptyable>; - } - - namespace SubscriptionItemCreateParams { - interface BillingThresholds { - /** - * Usage threshold that triggers the subscription to advance to a new billing period - */ - usage_gte: number; - } - - type PaymentBehavior = - | 'allow_incomplete' - | 'error_if_incomplete' - | 'pending_if_incomplete'; - - interface PriceData { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * The ID of the product that this price will belong to. - */ - product: string; - - /** - * The recurring components of a price such as `interval` and `usage_type`. - */ - recurring: PriceData.Recurring; - - /** - * A positive integer in %s (or 0 for a free price) representing how much to charge. - */ - unit_amount?: number; - - /** - * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. - */ - unit_amount_decimal?: string; - } - - namespace PriceData { - interface Recurring { - /** - * Specifies billing frequency. Either `day`, `week`, `month` or `year`. - */ - interval: Recurring.Interval; - - /** - * The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). - */ - interval_count?: number; - } - - namespace Recurring { - type Interval = 'day' | 'month' | 'week' | 'year'; - } - } - - type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none'; - } - - interface SubscriptionItemRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface SubscriptionItemUpdateParams { - /** - * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds. - */ - billing_thresholds?: Stripe.Emptyable< - SubscriptionItemUpdateParams.BillingThresholds - >; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * Indicates if a customer is on or off-session while an invoice payment is attempted. - */ - off_session?: boolean; - - /** - * Use `allow_incomplete` to transition the subscription to `status=past_due` if a payment is required but cannot be paid. This allows you to manage scenarios where additional user actions are needed to pay a subscription's invoice. For example, SCA regulation may require 3DS authentication to complete payment. See the [SCA Migration Guide](https://stripe.com/docs/billing/migration/strong-customer-authentication) for Billing to learn more. This is the default behavior. - * - * Use `pending_if_incomplete` to update the subscription using [pending updates](https://stripe.com/docs/billing/subscriptions/pending-updates). When you use `pending_if_incomplete` you can only pass the parameters [supported by pending updates](https://stripe.com/docs/billing/pending-updates-reference#supported-attributes). - * - * Use `error_if_incomplete` if you want Stripe to return an HTTP 402 status code if a subscription's invoice cannot be paid. For example, if a payment method requires 3DS authentication due to SCA regulation and further user action is needed, this parameter does not update the subscription and returns an error instead. This was the default behavior for API versions prior to 2019-03-14. See the [changelog](https://stripe.com/docs/upgrades#2019-03-14) to learn more. - */ - payment_behavior?: SubscriptionItemUpdateParams.PaymentBehavior; - - /** - * The identifier of the new plan for this subscription item. - */ - plan?: string; - - /** - * The ID of the price object. - */ - price?: string; - - /** - * Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. - */ - price_data?: SubscriptionItemUpdateParams.PriceData; - - /** - * Determines how to handle [prorations](https://stripe.com/docs/subscriptions/billing-cycle#prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. Valid values are `create_prorations`, `none`, or `always_invoice`. - * - * Passing `create_prorations` will cause proration invoice items to be created when applicable. These proration items will only be invoiced immediately under [certain conditions](https://stripe.com/docs/subscriptions/upgrading-downgrading#immediate-payment). In order to always invoice immediately for prorations, pass `always_invoice`. - * - * Prorations can be disabled by passing `none`. - */ - proration_behavior?: SubscriptionItemUpdateParams.ProrationBehavior; - - /** - * If set, the proration will be calculated as though the subscription was updated at the given time. This can be used to apply the same proration that was previewed with the [upcoming invoice](https://stripe.com/docs/api#retrieve_customer_invoice) endpoint. - */ - proration_date?: number; - - /** - * The quantity you'd like to apply to the subscription item you're creating. - */ - quantity?: number; - - /** - * A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates. - */ - tax_rates?: Stripe.Emptyable>; - } - - namespace SubscriptionItemUpdateParams { - interface BillingThresholds { - /** - * Usage threshold that triggers the subscription to advance to a new billing period - */ - usage_gte: number; - } - - type PaymentBehavior = - | 'allow_incomplete' - | 'error_if_incomplete' - | 'pending_if_incomplete'; - - interface PriceData { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * The ID of the product that this price will belong to. - */ - product: string; - - /** - * The recurring components of a price such as `interval` and `usage_type`. - */ - recurring: PriceData.Recurring; - - /** - * A positive integer in %s (or 0 for a free price) representing how much to charge. - */ - unit_amount?: number; - - /** - * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. - */ - unit_amount_decimal?: string; - } - - namespace PriceData { - interface Recurring { - /** - * Specifies billing frequency. Either `day`, `week`, `month` or `year`. - */ - interval: Recurring.Interval; - - /** - * The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). - */ - interval_count?: number; - } - - namespace Recurring { - type Interval = 'day' | 'month' | 'week' | 'year'; - } - } - - type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none'; - } - - interface SubscriptionItemListParams extends PaginationParams { - /** - * The ID of the subscription whose items will be retrieved. - */ - subscription: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface SubscriptionItemDeleteParams { - /** - * Delete all usage for the given subscription item. Allowed only when the current plan's `usage_type` is `metered`. - */ - clear_usage?: boolean; - - /** - * Determines how to handle [prorations](https://stripe.com/docs/subscriptions/billing-cycle#prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. Valid values are `create_prorations`, `none`, or `always_invoice`. - * - * Passing `create_prorations` will cause proration invoice items to be created when applicable. These proration items will only be invoiced immediately under [certain conditions](https://stripe.com/docs/subscriptions/upgrading-downgrading#immediate-payment). In order to always invoice immediately for prorations, pass `always_invoice`. - * - * Prorations can be disabled by passing `none`. - */ - proration_behavior?: SubscriptionItemDeleteParams.ProrationBehavior; - - /** - * If set, the proration will be calculated as though the subscription was updated at the given time. This can be used to apply the same proration that was previewed with the [upcoming invoice](https://stripe.com/docs/api#retrieve_customer_invoice) endpoint. - */ - proration_date?: number; - } - - namespace SubscriptionItemDeleteParams { - type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none'; - } - - class SubscriptionItemsResource { - /** - * Adds a new item to an existing subscription. No existing items will be changed or replaced. - */ - create( - params: SubscriptionItemCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves the subscription item with the given ID. - */ - retrieve( - id: string, - params?: SubscriptionItemRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates the plan or quantity of an item on a current subscription. - */ - update( - id: string, - params?: SubscriptionItemUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of your subscription items for a given subscription. - */ - list( - params: SubscriptionItemListParams, - options?: RequestOptions - ): ApiListPromise; - - /** - * Deletes an item from the subscription. Removing a subscription item from a subscription will not cancel the subscription. - */ - del( - id: string, - params?: SubscriptionItemDeleteParams, - options?: RequestOptions - ): Promise>; - del( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Creates a usage record for a specified subscription item and date, and fills it with a quantity. - * - * Usage records provide quantity information that Stripe uses to track how much a customer is using your service. With usage information and the pricing model set up by the [metered billing](https://stripe.com/docs/billing/subscriptions/metered-billing) plan, Stripe helps you send accurate invoices to your customers. - * - * The default calculation for usage is to add up all the quantity values of the usage records within a billing period. You can change this default behavior with the billing plan's aggregate_usage [parameter](https://stripe.com/docs/api/plans/create#create_plan-aggregate_usage). When there is more than one usage record with the same timestamp, Stripe adds the quantity values together. In most cases, this is the desired resolution, however, you can change this behavior with the action parameter. - * - * The default pricing model for metered billing is [per-unit pricing. For finer granularity, you can configure metered billing to have a tiered pricing](https://stripe.com/docs/api/plans/object#plan_object-billing_scheme) model. - */ - createUsageRecord( - id: string, - params: UsageRecordCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * For the specified subscription item, returns a list of summary objects. Each object in the list provides usage information that's been summarized from multiple usage records and over a subscription billing period (e.g., 15 usage records in the month of September). - * - * The list is sorted in reverse-chronological order (newest first). The first list item represents the most current usage period that hasn't ended yet. Since new usage records can still be added, the returned summary information for the subscription item's ID should be seen as unstable until the subscription billing period ends. - */ - listUsageRecordSummaries( - id: string, - params?: UsageRecordSummaryListParams, - options?: RequestOptions - ): ApiListPromise; - listUsageRecordSummaries( - id: string, - options?: RequestOptions - ): ApiListPromise; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/SubscriptionSchedules.d.ts b/node_modules/stripe/types/2020-08-27/SubscriptionSchedules.d.ts deleted file mode 100644 index 1076edff..00000000 --- a/node_modules/stripe/types/2020-08-27/SubscriptionSchedules.d.ts +++ /dev/null @@ -1,1238 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The SubscriptionSchedule object. - */ - interface SubscriptionSchedule { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'subscription_schedule'; - - /** - * Time at which the subscription schedule was canceled. Measured in seconds since the Unix epoch. - */ - canceled_at: number | null; - - /** - * Time at which the subscription schedule was completed. Measured in seconds since the Unix epoch. - */ - completed_at: number | null; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Object representing the start and end dates for the current phase of the subscription schedule, if it is `active`. - */ - current_phase: SubscriptionSchedule.CurrentPhase | null; - - /** - * ID of the customer who owns the subscription schedule. - */ - customer: string | Stripe.Customer | DeletedCustomer; - - default_settings: SubscriptionSchedule.DefaultSettings; - - /** - * Behavior of the subscription schedule and underlying subscription when it ends. Possible values are `release` and `cancel`. - */ - end_behavior: SubscriptionSchedule.EndBehavior; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata | null; - - /** - * Configuration for the subscription schedule's phases. - */ - phases: Array; - - /** - * Time at which the subscription schedule was released. Measured in seconds since the Unix epoch. - */ - released_at: number | null; - - /** - * ID of the subscription once managed by the subscription schedule (if it is released). - */ - released_subscription: string | null; - - /** - * The present status of the subscription schedule. Possible values are `not_started`, `active`, `completed`, `released`, and `canceled`. You can read more about the different states in our [behavior guide](https://stripe.com/docs/billing/subscriptions/subscription-schedules). - */ - status: SubscriptionSchedule.Status; - - /** - * ID of the subscription managed by the subscription schedule. - */ - subscription: string | Stripe.Subscription | null; - } - - namespace SubscriptionSchedule { - interface CurrentPhase { - /** - * The end of this phase of the subscription schedule. - */ - end_date: number; - - /** - * The start of this phase of the subscription schedule. - */ - start_date: number; - } - - interface DefaultSettings { - /** - * Possible values are `phase_start` or `automatic`. If `phase_start` then billing cycle anchor of the subscription is set to the start of the phase when entering the phase. If `automatic` then the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle). - */ - billing_cycle_anchor: DefaultSettings.BillingCycleAnchor; - - /** - * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period - */ - billing_thresholds: DefaultSettings.BillingThresholds | null; - - /** - * Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay the underlying subscription at the end of each billing cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions. - */ - collection_method: DefaultSettings.CollectionMethod | null; - - /** - * ID of the default payment method for the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings. - */ - default_payment_method: string | Stripe.PaymentMethod | null; - - /** - * The subscription schedule's default invoice settings. - */ - invoice_settings: DefaultSettings.InvoiceSettings | null; - - /** - * The account (if any) the associated subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices. - */ - transfer_data: DefaultSettings.TransferData | null; - } - - namespace DefaultSettings { - type BillingCycleAnchor = 'automatic' | 'phase_start'; - - interface BillingThresholds { - /** - * Monetary threshold that triggers the subscription to create an invoice - */ - amount_gte: number | null; - - /** - * Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not be `true` if the subscription contains items with plans that have `aggregate_usage=last_ever`. - */ - reset_billing_cycle_anchor: boolean | null; - } - - type CollectionMethod = 'charge_automatically' | 'send_invoice'; - - interface InvoiceSettings { - /** - * Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`. - */ - days_until_due: number | null; - } - - interface TransferData { - /** - * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the destination account. By default, the entire amount is transferred to the destination. - */ - amount_percent: number | null; - - /** - * The account where funds from the payment will be transferred to upon payment success. - */ - destination: string | Stripe.Account; - } - } - - type EndBehavior = 'cancel' | 'none' | 'release' | 'renew'; - - interface Phase { - /** - * A list of prices and quantities that will generate invoice items appended to the first invoice for this phase. - */ - add_invoice_items: Array; - - /** - * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account during this phase of the schedule. - */ - application_fee_percent: number | null; - - /** - * Possible values are `phase_start` or `automatic`. If `phase_start` then billing cycle anchor of the subscription is set to the start of the phase when entering the phase. If `automatic` then the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle). - */ - billing_cycle_anchor: Phase.BillingCycleAnchor | null; - - /** - * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period - */ - billing_thresholds: Phase.BillingThresholds | null; - - /** - * Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay the underlying subscription at the end of each billing cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions. - */ - collection_method: Phase.CollectionMethod | null; - - /** - * ID of the coupon to use during this phase of the subscription schedule. - */ - coupon: string | Stripe.Coupon | DeletedCoupon | null; - - /** - * ID of the default payment method for the subscription schedule. It must belong to the customer associated with the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings. - */ - default_payment_method: string | Stripe.PaymentMethod | null; - - /** - * The default tax rates to apply to the subscription during this phase of the subscription schedule. - */ - default_tax_rates?: Array | null; - - /** - * The end of this phase of the subscription schedule. - */ - end_date: number; - - /** - * The subscription schedule's default invoice settings. - */ - invoice_settings: Phase.InvoiceSettings | null; - - /** - * Subscription items to configure the subscription to during this phase of the subscription schedule. - */ - items: Array; - - /** - * If the subscription schedule will prorate when transitioning to this phase. Possible values are `create_prorations` and `none`. - */ - proration_behavior: Phase.ProrationBehavior; - - /** - * The start of this phase of the subscription schedule. - */ - start_date: number; - - /** - * The account (if any) the associated subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices. - */ - transfer_data: Phase.TransferData | null; - - /** - * When the trial ends within the phase. - */ - trial_end: number | null; - } - - namespace Phase { - interface AddInvoiceItem { - /** - * ID of the price used to generate the invoice item. - */ - price: string | Stripe.Price | DeletedPrice; - - /** - * The quantity of the invoice item. - */ - quantity: number | null; - - /** - * The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item. - */ - tax_rates?: Array | null; - } - - type BillingCycleAnchor = 'automatic' | 'phase_start'; - - interface BillingThresholds { - /** - * Monetary threshold that triggers the subscription to create an invoice - */ - amount_gte: number | null; - - /** - * Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not be `true` if the subscription contains items with plans that have `aggregate_usage=last_ever`. - */ - reset_billing_cycle_anchor: boolean | null; - } - - type CollectionMethod = 'charge_automatically' | 'send_invoice'; - - interface InvoiceSettings { - /** - * Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`. - */ - days_until_due: number | null; - } - - interface Item { - /** - * Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period - */ - billing_thresholds: Item.BillingThresholds | null; - - /** - * ID of the plan to which the customer should be subscribed. - */ - plan: string | Stripe.Plan | DeletedPlan; - - /** - * ID of the price to which the customer should be subscribed. - */ - price: string | Stripe.Price | DeletedPrice; - - /** - * Quantity of the plan to which the customer should be subscribed. - */ - quantity?: number; - - /** - * The tax rates which apply to this `phase_item`. When set, the `default_tax_rates` on the phase do not apply to this `phase_item`. - */ - tax_rates?: Array | null; - } - - namespace Item { - interface BillingThresholds { - /** - * Usage threshold that triggers the subscription to create an invoice - */ - usage_gte: number | null; - } - } - - type ProrationBehavior = - | 'always_invoice' - | 'create_prorations' - | 'none'; - - interface TransferData { - /** - * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the destination account. By default, the entire amount is transferred to the destination. - */ - amount_percent: number | null; - - /** - * The account where funds from the payment will be transferred to upon payment success. - */ - destination: string | Stripe.Account; - } - } - - type Status = - | 'active' - | 'canceled' - | 'completed' - | 'not_started' - | 'released'; - } - - interface SubscriptionScheduleCreateParams { - /** - * The identifier of the customer to create the subscription schedule for. - */ - customer?: string; - - /** - * Object representing the subscription schedule's default settings. - */ - default_settings?: SubscriptionScheduleCreateParams.DefaultSettings; - - /** - * Configures how the subscription schedule behaves when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running.`cancel` will end the subscription schedule and cancel the underlying subscription. - */ - end_behavior?: SubscriptionScheduleCreateParams.EndBehavior; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Migrate an existing subscription to be managed by a subscription schedule. If this parameter is set, a subscription schedule will be created using the subscription's item(s), set to auto-renew using the subscription's interval. When using this parameter, other parameters (such as phase values) cannot be set. To create a subscription schedule with other modifications, we recommend making two separate API calls. - */ - from_subscription?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * List representing phases of the subscription schedule. Each phase can be customized to have different durations, plans, and coupons. If there are multiple phases, the `end_date` of one phase will always equal the `start_date` of the next phase. - */ - phases?: Array; - - /** - * When the subscription schedule starts. We recommend using `now` so that it starts the subscription immediately. You can also use a Unix timestamp to backdate the subscription so that it starts on a past date, or set a future date for the subscription to start on. - */ - start_date?: number | 'now'; - } - - namespace SubscriptionScheduleCreateParams { - interface DefaultSettings { - /** - * Can be set to `phase_start` to set the anchor to the start of the phase or `automatic` to automatically change it if needed. Cannot be set to `phase_start` if this phase specifies a trial. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle). - */ - billing_cycle_anchor?: DefaultSettings.BillingCycleAnchor; - - /** - * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds. - */ - billing_thresholds?: Stripe.Emptyable< - DefaultSettings.BillingThresholds - >; - - /** - * Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay the underlying subscription at the end of each billing cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions. Defaults to `charge_automatically` on creation. - */ - collection_method?: DefaultSettings.CollectionMethod; - - /** - * ID of the default payment method for the subscription schedule. It must belong to the customer associated with the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings. - */ - default_payment_method?: string; - - /** - * All invoices will be billed using the specified settings. - */ - invoice_settings?: DefaultSettings.InvoiceSettings; - - /** - * The data with which to automatically create a Transfer for each of the associated subscription's invoices. - */ - transfer_data?: Stripe.Emptyable; - } - - namespace DefaultSettings { - type BillingCycleAnchor = 'automatic' | 'phase_start'; - - interface BillingThresholds { - /** - * Monetary threshold that triggers the subscription to advance to a new billing period - */ - amount_gte?: number; - - /** - * Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. - */ - reset_billing_cycle_anchor?: boolean; - } - - type CollectionMethod = 'charge_automatically' | 'send_invoice'; - - interface InvoiceSettings { - /** - * Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`. - */ - days_until_due?: number; - } - - interface TransferData { - /** - * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the destination account. By default, the entire amount is transferred to the destination. - */ - amount_percent?: number; - - /** - * ID of an existing, connected Stripe account. - */ - destination: string; - } - } - - type EndBehavior = 'cancel' | 'none' | 'release' | 'renew'; - - interface Phase { - /** - * A list of prices and quantities that will generate invoice items appended to the next invoice. You may pass up to 10 items. - */ - add_invoice_items?: Array; - - /** - * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions). - */ - application_fee_percent?: number; - - /** - * Can be set to `phase_start` to set the anchor to the start of the phase or `automatic` to automatically change it if needed. Cannot be set to `phase_start` if this phase specifies a trial. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle). - */ - billing_cycle_anchor?: Phase.BillingCycleAnchor; - - /** - * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds. - */ - billing_thresholds?: Stripe.Emptyable; - - /** - * Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay the underlying subscription at the end of each billing cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions. Defaults to `charge_automatically` on creation. - */ - collection_method?: Phase.CollectionMethod; - - /** - * The identifier of the coupon to apply to this phase of the subscription schedule. - */ - coupon?: string; - - /** - * ID of the default payment method for the subscription schedule. It must belong to the customer associated with the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings. - */ - default_payment_method?: string; - - /** - * A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will set the Subscription's [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates), which means they will be the Invoice's [`default_tax_rates`](https://stripe.com/docs/api/invoices/create#create_invoice-default_tax_rates) for any Invoices issued by the Subscription during this Phase. - */ - default_tax_rates?: Stripe.Emptyable>; - - /** - * The date at which this phase of the subscription schedule ends. If set, `iterations` must not be set. - */ - end_date?: number; - - /** - * All invoices will be billed using the specified settings. - */ - invoice_settings?: Phase.InvoiceSettings; - - /** - * List of configuration items, each with an attached price, to apply during this phase of the subscription schedule. - */ - items: Array; - - /** - * Integer representing the multiplier applied to the price interval. For example, `iterations=2` applied to a price with `interval=month` and `interval_count=3` results in a phase of duration `2 * 3 months = 6 months`. If set, `end_date` must not be set. - */ - iterations?: number; - - /** - * If a subscription schedule will create prorations when transitioning to this phase. Possible values are `create_prorations` or `none`, and the default value is `create_prorations`. See [Prorations](https://stripe.com/docs/billing/subscriptions/prorations). - */ - proration_behavior?: Phase.ProrationBehavior; - - /** - * The data with which to automatically create a Transfer for each of the associated subscription's invoices. - */ - transfer_data?: Phase.TransferData; - - /** - * If set to true the entire phase is counted as a trial and the customer will not be charged for any fees. - */ - trial?: boolean; - - /** - * Sets the phase to trialing from the start date to this date. Must be before the phase end date, can not be combined with `trial` - */ - trial_end?: number; - } - - namespace Phase { - interface AddInvoiceItem { - /** - * The ID of the price object. - */ - price?: string; - - /** - * Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. - */ - price_data?: AddInvoiceItem.PriceData; - - /** - * Quantity for this item. Defaults to 1. - */ - quantity?: number; - - /** - * The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item. - */ - tax_rates?: Stripe.Emptyable>; - } - - namespace AddInvoiceItem { - interface PriceData { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * The ID of the product that this price will belong to. - */ - product: string; - - /** - * A positive integer in %s (or 0 for a free price) representing how much to charge. - */ - unit_amount?: number; - - /** - * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. - */ - unit_amount_decimal?: string; - } - } - - type BillingCycleAnchor = 'automatic' | 'phase_start'; - - interface BillingThresholds { - /** - * Monetary threshold that triggers the subscription to advance to a new billing period - */ - amount_gte?: number; - - /** - * Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. - */ - reset_billing_cycle_anchor?: boolean; - } - - type CollectionMethod = 'charge_automatically' | 'send_invoice'; - - interface InvoiceSettings { - /** - * Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`. - */ - days_until_due?: number; - } - - interface Item { - /** - * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds. - */ - billing_thresholds?: Stripe.Emptyable; - - /** - * The plan ID to subscribe to. You may specify the same ID in `plan` and `price`. - */ - plan?: string; - - /** - * The ID of the price object. - */ - price?: string; - - /** - * Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. - */ - price_data?: Item.PriceData; - - /** - * Quantity for the given price. Can be set only if the price's `usage_type` is `licensed` and not `metered`. - */ - quantity?: number; - - /** - * A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates. - */ - tax_rates?: Stripe.Emptyable>; - } - - namespace Item { - interface BillingThresholds { - /** - * Usage threshold that triggers the subscription to advance to a new billing period - */ - usage_gte: number; - } - - interface PriceData { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * The ID of the product that this price will belong to. - */ - product: string; - - /** - * The recurring components of a price such as `interval` and `usage_type`. - */ - recurring: PriceData.Recurring; - - /** - * A positive integer in %s (or 0 for a free price) representing how much to charge. - */ - unit_amount?: number; - - /** - * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. - */ - unit_amount_decimal?: string; - } - - namespace PriceData { - interface Recurring { - /** - * Specifies billing frequency. Either `day`, `week`, `month` or `year`. - */ - interval: Recurring.Interval; - - /** - * The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). - */ - interval_count?: number; - } - - namespace Recurring { - type Interval = 'day' | 'month' | 'week' | 'year'; - } - } - } - - type ProrationBehavior = - | 'always_invoice' - | 'create_prorations' - | 'none'; - - interface TransferData { - /** - * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the destination account. By default, the entire amount is transferred to the destination. - */ - amount_percent?: number; - - /** - * ID of an existing, connected Stripe account. - */ - destination: string; - } - } - } - - interface SubscriptionScheduleRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface SubscriptionScheduleUpdateParams { - /** - * Object representing the subscription schedule's default settings. - */ - default_settings?: SubscriptionScheduleUpdateParams.DefaultSettings; - - /** - * Configures how the subscription schedule behaves when it ends. Possible values are `release` or `cancel` with the default being `release`. `release` will end the subscription schedule and keep the underlying subscription running.`cancel` will end the subscription schedule and cancel the underlying subscription. - */ - end_behavior?: SubscriptionScheduleUpdateParams.EndBehavior; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * List representing phases of the subscription schedule. Each phase can be customized to have different durations, plans, and coupons. If there are multiple phases, the `end_date` of one phase will always equal the `start_date` of the next phase. Note that past phases can be omitted. - */ - phases?: Array; - - /** - * If the update changes the current phase, indicates if the changes should be prorated. Possible values are `create_prorations` or `none`, and the default value is `create_prorations`. - */ - proration_behavior?: SubscriptionScheduleUpdateParams.ProrationBehavior; - } - - namespace SubscriptionScheduleUpdateParams { - interface DefaultSettings { - /** - * Can be set to `phase_start` to set the anchor to the start of the phase or `automatic` to automatically change it if needed. Cannot be set to `phase_start` if this phase specifies a trial. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle). - */ - billing_cycle_anchor?: DefaultSettings.BillingCycleAnchor; - - /** - * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds. - */ - billing_thresholds?: Stripe.Emptyable< - DefaultSettings.BillingThresholds - >; - - /** - * Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay the underlying subscription at the end of each billing cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions. Defaults to `charge_automatically` on creation. - */ - collection_method?: DefaultSettings.CollectionMethod; - - /** - * ID of the default payment method for the subscription schedule. It must belong to the customer associated with the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings. - */ - default_payment_method?: string; - - /** - * All invoices will be billed using the specified settings. - */ - invoice_settings?: DefaultSettings.InvoiceSettings; - - /** - * The data with which to automatically create a Transfer for each of the associated subscription's invoices. - */ - transfer_data?: Stripe.Emptyable; - } - - namespace DefaultSettings { - type BillingCycleAnchor = 'automatic' | 'phase_start'; - - interface BillingThresholds { - /** - * Monetary threshold that triggers the subscription to advance to a new billing period - */ - amount_gte?: number; - - /** - * Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. - */ - reset_billing_cycle_anchor?: boolean; - } - - type CollectionMethod = 'charge_automatically' | 'send_invoice'; - - interface InvoiceSettings { - /** - * Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`. - */ - days_until_due?: number; - } - - interface TransferData { - /** - * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the destination account. By default, the entire amount is transferred to the destination. - */ - amount_percent?: number; - - /** - * ID of an existing, connected Stripe account. - */ - destination: string; - } - } - - type EndBehavior = 'cancel' | 'none' | 'release' | 'renew'; - - interface Phase { - /** - * A list of prices and quantities that will generate invoice items appended to the next invoice. You may pass up to 10 items. - */ - add_invoice_items?: Array; - - /** - * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions). - */ - application_fee_percent?: number; - - /** - * Can be set to `phase_start` to set the anchor to the start of the phase or `automatic` to automatically change it if needed. Cannot be set to `phase_start` if this phase specifies a trial. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle). - */ - billing_cycle_anchor?: Phase.BillingCycleAnchor; - - /** - * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds. - */ - billing_thresholds?: Stripe.Emptyable; - - /** - * Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay the underlying subscription at the end of each billing cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions. Defaults to `charge_automatically` on creation. - */ - collection_method?: Phase.CollectionMethod; - - /** - * The identifier of the coupon to apply to this phase of the subscription schedule. - */ - coupon?: string; - - /** - * ID of the default payment method for the subscription schedule. It must belong to the customer associated with the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings. - */ - default_payment_method?: string; - - /** - * A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will set the Subscription's [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates), which means they will be the Invoice's [`default_tax_rates`](https://stripe.com/docs/api/invoices/create#create_invoice-default_tax_rates) for any Invoices issued by the Subscription during this Phase. - */ - default_tax_rates?: Stripe.Emptyable>; - - /** - * The date at which this phase of the subscription schedule ends. If set, `iterations` must not be set. - */ - end_date?: number | 'now'; - - /** - * All invoices will be billed using the specified settings. - */ - invoice_settings?: Phase.InvoiceSettings; - - /** - * List of configuration items, each with an attached price, to apply during this phase of the subscription schedule. - */ - items: Array; - - /** - * Integer representing the multiplier applied to the price interval. For example, `iterations=2` applied to a price with `interval=month` and `interval_count=3` results in a phase of duration `2 * 3 months = 6 months`. If set, `end_date` must not be set. - */ - iterations?: number; - - /** - * If a subscription schedule will create prorations when transitioning to this phase. Possible values are `create_prorations` or `none`, and the default value is `create_prorations`. See [Prorations](https://stripe.com/docs/billing/subscriptions/prorations). - */ - proration_behavior?: Phase.ProrationBehavior; - - /** - * The date at which this phase of the subscription schedule starts or `now`. Must be set on the first phase. - */ - start_date?: number | 'now'; - - /** - * The data with which to automatically create a Transfer for each of the associated subscription's invoices. - */ - transfer_data?: Phase.TransferData; - - /** - * If set to true the entire phase is counted as a trial and the customer will not be charged for any fees. - */ - trial?: boolean; - - /** - * Sets the phase to trialing from the start date to this date. Must be before the phase end date, can not be combined with `trial` - */ - trial_end?: number | 'now'; - } - - namespace Phase { - interface AddInvoiceItem { - /** - * The ID of the price object. - */ - price?: string; - - /** - * Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. - */ - price_data?: AddInvoiceItem.PriceData; - - /** - * Quantity for this item. Defaults to 1. - */ - quantity?: number; - - /** - * The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item. - */ - tax_rates?: Stripe.Emptyable>; - } - - namespace AddInvoiceItem { - interface PriceData { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * The ID of the product that this price will belong to. - */ - product: string; - - /** - * A positive integer in %s (or 0 for a free price) representing how much to charge. - */ - unit_amount?: number; - - /** - * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. - */ - unit_amount_decimal?: string; - } - } - - type BillingCycleAnchor = 'automatic' | 'phase_start'; - - interface BillingThresholds { - /** - * Monetary threshold that triggers the subscription to advance to a new billing period - */ - amount_gte?: number; - - /** - * Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. - */ - reset_billing_cycle_anchor?: boolean; - } - - type CollectionMethod = 'charge_automatically' | 'send_invoice'; - - interface InvoiceSettings { - /** - * Number of days within which a customer must pay invoices generated by this subscription schedule. This value will be `null` for subscription schedules where `billing=charge_automatically`. - */ - days_until_due?: number; - } - - interface Item { - /** - * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds. - */ - billing_thresholds?: Stripe.Emptyable; - - /** - * The plan ID to subscribe to. You may specify the same ID in `plan` and `price`. - */ - plan?: string; - - /** - * The ID of the price object. - */ - price?: string; - - /** - * Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. - */ - price_data?: Item.PriceData; - - /** - * Quantity for the given price. Can be set only if the price's `usage_type` is `licensed` and not `metered`. - */ - quantity?: number; - - /** - * A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates. - */ - tax_rates?: Stripe.Emptyable>; - } - - namespace Item { - interface BillingThresholds { - /** - * Usage threshold that triggers the subscription to advance to a new billing period - */ - usage_gte: number; - } - - interface PriceData { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * The ID of the product that this price will belong to. - */ - product: string; - - /** - * The recurring components of a price such as `interval` and `usage_type`. - */ - recurring: PriceData.Recurring; - - /** - * A positive integer in %s (or 0 for a free price) representing how much to charge. - */ - unit_amount?: number; - - /** - * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. - */ - unit_amount_decimal?: string; - } - - namespace PriceData { - interface Recurring { - /** - * Specifies billing frequency. Either `day`, `week`, `month` or `year`. - */ - interval: Recurring.Interval; - - /** - * The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). - */ - interval_count?: number; - } - - namespace Recurring { - type Interval = 'day' | 'month' | 'week' | 'year'; - } - } - } - - type ProrationBehavior = - | 'always_invoice' - | 'create_prorations' - | 'none'; - - interface TransferData { - /** - * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the destination account. By default, the entire amount is transferred to the destination. - */ - amount_percent?: number; - - /** - * ID of an existing, connected Stripe account. - */ - destination: string; - } - } - - type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none'; - } - - interface SubscriptionScheduleListParams extends PaginationParams { - /** - * Only return subscription schedules that were created canceled the given date interval. - */ - canceled_at?: Stripe.RangeQueryParam | number; - - /** - * Only return subscription schedules that completed during the given date interval. - */ - completed_at?: Stripe.RangeQueryParam | number; - - /** - * Only return subscription schedules that were created during the given date interval. - */ - created?: Stripe.RangeQueryParam | number; - - /** - * Only return subscription schedules for the given customer. - */ - customer?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Only return subscription schedules that were released during the given date interval. - */ - released_at?: Stripe.RangeQueryParam | number; - - /** - * Only return subscription schedules that have not started yet. - */ - scheduled?: boolean; - } - - interface SubscriptionScheduleCancelParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * If the subscription schedule is `active`, indicates if a final invoice will be generated that contains any un-invoiced metered usage and new/pending proration invoice items. Defaults to `true`. - */ - invoice_now?: boolean; - - /** - * If the subscription schedule is `active`, indicates if the cancellation should be prorated. Defaults to `true`. - */ - prorate?: boolean; - } - - interface SubscriptionScheduleReleaseParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Keep any cancellation on the subscription that the schedule has set - */ - preserve_cancel_date?: boolean; - } - - class SubscriptionSchedulesResource { - /** - * Creates a new subscription schedule object. Each customer can have up to 500 active or scheduled subscriptions. - */ - create( - params?: SubscriptionScheduleCreateParams, - options?: RequestOptions - ): Promise>; - create( - options?: RequestOptions - ): Promise>; - - /** - * Retrieves the details of an existing subscription schedule. You only need to supply the unique subscription schedule identifier that was returned upon subscription schedule creation. - */ - retrieve( - id: string, - params?: SubscriptionScheduleRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates an existing subscription schedule. - */ - update( - id: string, - params?: SubscriptionScheduleUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves the list of your subscription schedules. - */ - list( - params?: SubscriptionScheduleListParams, - options?: RequestOptions - ): ApiListPromise; - list( - options?: RequestOptions - ): ApiListPromise; - - /** - * Cancels a subscription schedule and its associated subscription immediately (if the subscription schedule has an active subscription). A subscription schedule can only be canceled if its status is not_started or active. - */ - cancel( - id: string, - params?: SubscriptionScheduleCancelParams, - options?: RequestOptions - ): Promise>; - cancel( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Releases the subscription schedule immediately, which will stop scheduling of its phases, but leave any existing subscription in place. A schedule can only be released if its status is not_started or active. If the subscription schedule is currently associated with a subscription, releasing it will remove its subscription property and set the subscription's ID to the released_subscription property. - */ - release( - id: string, - params?: SubscriptionScheduleReleaseParams, - options?: RequestOptions - ): Promise>; - release( - id: string, - options?: RequestOptions - ): Promise>; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Subscriptions.d.ts b/node_modules/stripe/types/2020-08-27/Subscriptions.d.ts deleted file mode 100644 index 46c8edf8..00000000 --- a/node_modules/stripe/types/2020-08-27/Subscriptions.d.ts +++ /dev/null @@ -1,1125 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Subscription object. - */ - interface Subscription { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'subscription'; - - /** - * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account. - */ - application_fee_percent: number | null; - - /** - * Determines the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. - */ - billing_cycle_anchor: number; - - /** - * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period - */ - billing_thresholds: Subscription.BillingThresholds | null; - - /** - * A date in the future at which the subscription will automatically get canceled - */ - cancel_at: number | null; - - /** - * If the subscription has been canceled with the `at_period_end` flag set to `true`, `cancel_at_period_end` on the subscription will be true. You can use this attribute to determine whether a subscription that has a status of active is scheduled to be canceled at the end of the current period. - */ - cancel_at_period_end: boolean; - - /** - * If the subscription has been canceled, the date of that cancellation. If the subscription was canceled with `cancel_at_period_end`, `canceled_at` will reflect the time of the most recent update request, not the end of the subscription period when the subscription is automatically moved to a canceled state. - */ - canceled_at: number | null; - - /** - * Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this subscription at the end of the cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions. - */ - collection_method: Subscription.CollectionMethod | null; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * End of the current period that the subscription has been invoiced for. At the end of this period, a new invoice will be created. - */ - current_period_end: number; - - /** - * Start of the current period that the subscription has been invoiced for. - */ - current_period_start: number; - - /** - * ID of the customer who owns the subscription. - */ - customer: string | Stripe.Customer | DeletedCustomer; - - /** - * Number of days a customer has to pay invoices generated by this subscription. This value will be `null` for subscriptions where `collection_method=charge_automatically`. - */ - days_until_due: number | null; - - /** - * ID of the default payment method for the subscription. It must belong to the customer associated with the subscription. This takes precedence over `default_source`. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source). - */ - default_payment_method: string | Stripe.PaymentMethod | null; - - /** - * ID of the default payment source for the subscription. It must belong to the customer associated with the subscription and be in a chargeable state. If `default_payment_method` is also set, `default_payment_method` will take precedence. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source). - */ - default_source: string | Stripe.CustomerSource | null; - - /** - * The tax rates that will apply to any subscription item that does not have `tax_rates` set. Invoices created will have their `default_tax_rates` populated from the subscription. - */ - default_tax_rates?: Array | null; - - /** - * Describes the current discount applied to this subscription, if there is one. When billing, a discount applied to a subscription overrides a discount applied on a customer-wide basis. - */ - discount: Stripe.Discount | null; - - /** - * If the subscription has ended, the date the subscription ended. - */ - ended_at: number | null; - - /** - * List of subscription items, each with an attached price. - */ - items: ApiList; - - /** - * The most recent invoice this subscription has generated. - */ - latest_invoice: string | Stripe.Invoice | null; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata; - - /** - * Specifies the approximate timestamp on which any pending invoice items will be billed according to the schedule provided at `pending_invoice_item_interval`. - */ - next_pending_invoice_item_invoice: number | null; - - /** - * If specified, payment collection for this subscription will be paused. - */ - pause_collection: Subscription.PauseCollection | null; - - /** - * Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://stripe.com/docs/api#create_invoice) for the given subscription at the specified interval. - */ - pending_invoice_item_interval: Subscription.PendingInvoiceItemInterval | null; - - /** - * You can use this [SetupIntent](https://stripe.com/docs/api/setup_intents) to collect user authentication when creating a subscription without immediate payment or updating a subscription's payment method, allowing you to optimize for off-session payments. Learn more in the [SCA Migration Guide](https://stripe.com/docs/billing/migration/strong-customer-authentication#scenario-2). - */ - pending_setup_intent: string | Stripe.SetupIntent | null; - - /** - * If specified, [pending updates](https://stripe.com/docs/billing/subscriptions/pending-updates) that will be applied to the subscription once the `latest_invoice` has been paid. - */ - pending_update: Subscription.PendingUpdate | null; - - /** - * The schedule attached to the subscription - */ - schedule: string | Stripe.SubscriptionSchedule | null; - - /** - * Date when the subscription was first created. The date might differ from the `created` date due to backdating. - */ - start_date: number; - - /** - * Possible values are `incomplete`, `incomplete_expired`, `trialing`, `active`, `past_due`, `canceled`, or `unpaid`. - * - * For `collection_method=charge_automatically` a subscription moves into `incomplete` if the initial payment attempt fails. A subscription in this state can only have metadata and default_source updated. Once the first invoice is paid, the subscription moves into an `active` state. If the first invoice is not paid within 23 hours, the subscription transitions to `incomplete_expired`. This is a terminal state, the open invoice will be voided and no further invoices will be generated. - * - * A subscription that is currently in a trial period is `trialing` and moves to `active` when the trial period is over. - * - * If subscription `collection_method=charge_automatically` it becomes `past_due` when payment to renew it fails and `canceled` or `unpaid` (depending on your subscriptions settings) when Stripe has exhausted all payment retry attempts. - * - * If subscription `collection_method=send_invoice` it becomes `past_due` when its invoice is not paid by the due date, and `canceled` or `unpaid` if it is still not paid by an additional deadline after that. Note that when a subscription has a status of `unpaid`, no subsequent invoices will be attempted (invoices will be created, but then immediately automatically closed). After receiving updated payment information from a customer, you may choose to reopen and pay their closed invoices. - */ - status: Subscription.Status; - - /** - * The account (if any) the subscription's payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription's invoices. - */ - transfer_data: Subscription.TransferData | null; - - /** - * If the subscription has a trial, the end of that trial. - */ - trial_end: number | null; - - /** - * If the subscription has a trial, the beginning of that trial. - */ - trial_start: number | null; - } - - namespace Subscription { - interface BillingThresholds { - /** - * Monetary threshold that triggers the subscription to create an invoice - */ - amount_gte: number | null; - - /** - * Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. This value may not be `true` if the subscription contains items with plans that have `aggregate_usage=last_ever`. - */ - reset_billing_cycle_anchor: boolean | null; - } - - type CollectionMethod = 'charge_automatically' | 'send_invoice'; - - interface PauseCollection { - /** - * The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. - */ - behavior: PauseCollection.Behavior; - - /** - * The time after which the subscription will resume collecting payments. - */ - resumes_at: number | null; - } - - namespace PauseCollection { - type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void'; - } - - interface PendingInvoiceItemInterval { - /** - * Specifies invoicing frequency. Either `day`, `week`, `month` or `year`. - */ - interval: PendingInvoiceItemInterval.Interval; - - /** - * The number of intervals between invoices. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). - */ - interval_count: number; - } - - namespace PendingInvoiceItemInterval { - type Interval = 'day' | 'month' | 'week' | 'year'; - } - - interface PendingUpdate { - /** - * If the update is applied, determines the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. - */ - billing_cycle_anchor: number | null; - - /** - * The point after which the changes reflected by this update will be discarded and no longer applied. - */ - expires_at: number; - - /** - * List of subscription items, each with an attached plan, that will be set if the update is applied. - */ - subscription_items: Array | null; - - /** - * Unix timestamp representing the end of the trial period the customer will get before being charged for the first time, if the update is applied. - */ - trial_end: number | null; - - /** - * Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `trial_end` per subscription is preferred, and this defaults to `false`. Setting this flag to `true` together with `trial_end` is not allowed. - */ - trial_from_plan: boolean | null; - } - - type Status = - | 'active' - | 'canceled' - | 'incomplete' - | 'incomplete_expired' - | 'past_due' - | 'trialing' - | 'unpaid'; - - interface TransferData { - /** - * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the destination account. By default, the entire amount is transferred to the destination. - */ - amount_percent: number | null; - - /** - * The account where funds from the payment will be transferred to upon payment success. - */ - destination: string | Stripe.Account; - } - } - - interface SubscriptionCreateParams { - /** - * The identifier of the customer to subscribe. - */ - customer: string; - - /** - * A list of prices and quantities that will generate invoice items appended to the first invoice for this subscription. You may pass up to 10 items. - */ - add_invoice_items?: Array; - - /** - * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions). - */ - application_fee_percent?: number; - - /** - * For new subscriptions, a past timestamp to backdate the subscription's start date to. If set, the first invoice will contain a proration for the timespan between the start date and the current time. Can be combined with trials and the billing cycle anchor. - */ - backdate_start_date?: number; - - /** - * A future timestamp to anchor the subscription's [billing cycle](https://stripe.com/docs/subscriptions/billing-cycle). This is used to determine the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. - */ - billing_cycle_anchor?: number; - - /** - * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds. - */ - billing_thresholds?: Stripe.Emptyable< - SubscriptionCreateParams.BillingThresholds - >; - - /** - * A timestamp at which the subscription should cancel. If set to a date before the current period ends, this will cause a proration if prorations have been enabled using `proration_behavior`. If set during a future period, this will always cause a proration for that period. - */ - cancel_at?: number; - - /** - * Boolean indicating whether this subscription should cancel at the end of the current period. - */ - cancel_at_period_end?: boolean; - - /** - * Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this subscription at the end of the cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions. Defaults to `charge_automatically`. - */ - collection_method?: SubscriptionCreateParams.CollectionMethod; - - /** - * The code of the coupon to apply to this subscription. A coupon applied to a subscription will only affect invoices created for that particular subscription. - */ - coupon?: string; - - /** - * Number of days a customer has to pay invoices generated by this subscription. Valid only for subscriptions where `collection_method` is set to `send_invoice`. - */ - days_until_due?: number; - - /** - * ID of the default payment method for the subscription. It must belong to the customer associated with the subscription. This takes precedence over `default_source`. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source). - */ - default_payment_method?: string; - - /** - * ID of the default payment source for the subscription. It must belong to the customer associated with the subscription and be in a chargeable state. If `default_payment_method` is also set, `default_payment_method` will take precedence. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source). - */ - default_source?: string; - - /** - * The tax rates that will apply to any subscription item that does not have `tax_rates` set. Invoices created will have their `default_tax_rates` populated from the subscription. - */ - default_tax_rates?: Stripe.Emptyable>; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * A list of up to 20 subscription items, each with an attached price. - */ - items?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * Indicates if a customer is on or off-session while an invoice payment is attempted. - */ - off_session?: boolean; - - /** - * Use `allow_incomplete` to create subscriptions with `status=incomplete` if the first invoice cannot be paid. Creating subscriptions with this status allows you to manage scenarios where additional user actions are needed to pay a subscription's invoice. For example, SCA regulation may require 3DS authentication to complete payment. See the [SCA Migration Guide](https://stripe.com/docs/billing/migration/strong-customer-authentication) for Billing to learn more. This is the default behavior. - * - * Use `error_if_incomplete` if you want Stripe to return an HTTP 402 status code if a subscription's first invoice cannot be paid. For example, if a payment method requires 3DS authentication due to SCA regulation and further user action is needed, this parameter does not create a subscription and returns an error instead. This was the default behavior for API versions prior to 2019-03-14. See the [changelog](https://stripe.com/docs/upgrades#2019-03-14) to learn more. - * - * `pending_if_incomplete` is only used with updates and cannot be passed when creating a subscription. - */ - payment_behavior?: SubscriptionCreateParams.PaymentBehavior; - - /** - * Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://stripe.com/docs/api#create_invoice) for the given subscription at the specified interval. - */ - pending_invoice_item_interval?: Stripe.Emptyable< - SubscriptionCreateParams.PendingInvoiceItemInterval - >; - - /** - * The API ID of a promotion code to apply to this subscription. A promotion code applied to a subscription will only affect invoices created for that particular subscription. - */ - promotion_code?: string; - - /** - * Determines how to handle [prorations](https://stripe.com/docs/subscriptions/billing-cycle#prorations) resulting from the `billing_cycle_anchor`. Valid values are `create_prorations` or `none`. - * - * Passing `create_prorations` will cause proration invoice items to be created when applicable. Prorations can be disabled by passing `none`. If no value is passed, the default is `create_prorations`. - */ - proration_behavior?: SubscriptionCreateParams.ProrationBehavior; - - /** - * If specified, the funds from the subscription's invoices will be transferred to the destination and the ID of the resulting transfers will be found on the resulting charges. - */ - transfer_data?: SubscriptionCreateParams.TransferData; - - /** - * Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. This will always overwrite any trials that might apply via a subscribed plan. If set, trial_end will override the default trial period of the plan the customer is being subscribed to. The special value `now` can be provided to end the customer's trial immediately. Can be at most two years from `billing_cycle_anchor`. - */ - trial_end?: 'now' | number; - - /** - * Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `trial_end` per subscription is preferred, and this defaults to `false`. Setting this flag to `true` together with `trial_end` is not allowed. - */ - trial_from_plan?: boolean; - - /** - * Integer representing the number of trial period days before the customer is charged for the first time. This will always overwrite any trials that might apply via a subscribed plan. - */ - trial_period_days?: number; - } - - namespace SubscriptionCreateParams { - interface AddInvoiceItem { - /** - * The ID of the price object. - */ - price?: string; - - /** - * Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. - */ - price_data?: AddInvoiceItem.PriceData; - - /** - * Quantity for this item. Defaults to 1. - */ - quantity?: number; - - /** - * The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item. - */ - tax_rates?: Stripe.Emptyable>; - } - - namespace AddInvoiceItem { - interface PriceData { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * The ID of the product that this price will belong to. - */ - product: string; - - /** - * A positive integer in %s (or 0 for a free price) representing how much to charge. - */ - unit_amount?: number; - - /** - * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. - */ - unit_amount_decimal?: string; - } - } - - interface BillingThresholds { - /** - * Monetary threshold that triggers the subscription to advance to a new billing period - */ - amount_gte?: number; - - /** - * Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. - */ - reset_billing_cycle_anchor?: boolean; - } - - type CollectionMethod = 'charge_automatically' | 'send_invoice'; - - interface Item { - /** - * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds. - */ - billing_thresholds?: Stripe.Emptyable; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * Plan ID for this item, as a string. - */ - plan?: string; - - /** - * The ID of the price object. - */ - price?: string; - - /** - * Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. - */ - price_data?: Item.PriceData; - - /** - * Quantity for this item. - */ - quantity?: number; - - /** - * A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates. - */ - tax_rates?: Stripe.Emptyable>; - } - - namespace Item { - interface BillingThresholds { - /** - * Usage threshold that triggers the subscription to advance to a new billing period - */ - usage_gte: number; - } - - interface PriceData { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * The ID of the product that this price will belong to. - */ - product: string; - - /** - * The recurring components of a price such as `interval` and `usage_type`. - */ - recurring: PriceData.Recurring; - - /** - * A positive integer in %s (or 0 for a free price) representing how much to charge. - */ - unit_amount?: number; - - /** - * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. - */ - unit_amount_decimal?: string; - } - - namespace PriceData { - interface Recurring { - /** - * Specifies billing frequency. Either `day`, `week`, `month` or `year`. - */ - interval: Recurring.Interval; - - /** - * The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). - */ - interval_count?: number; - } - - namespace Recurring { - type Interval = 'day' | 'month' | 'week' | 'year'; - } - } - } - - type PaymentBehavior = - | 'allow_incomplete' - | 'error_if_incomplete' - | 'pending_if_incomplete'; - - interface PendingInvoiceItemInterval { - /** - * Specifies invoicing frequency. Either `day`, `week`, `month` or `year`. - */ - interval: PendingInvoiceItemInterval.Interval; - - /** - * The number of intervals between invoices. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). - */ - interval_count?: number; - } - - namespace PendingInvoiceItemInterval { - type Interval = 'day' | 'month' | 'week' | 'year'; - } - - type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none'; - - interface TransferData { - /** - * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the destination account. By default, the entire amount is transferred to the destination. - */ - amount_percent?: number; - - /** - * ID of an existing, connected Stripe account. - */ - destination: string; - } - } - - interface SubscriptionRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface SubscriptionUpdateParams { - /** - * A list of prices and quantities that will generate invoice items appended to the first invoice for this subscription. You may pass up to 10 items. - */ - add_invoice_items?: Array; - - /** - * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the application owner's Stripe account. The request must be made by a platform account on a connected account in order to set an application fee percentage. For more information, see the application fees [documentation](https://stripe.com/docs/connect/subscriptions#collecting-fees-on-subscriptions). - */ - application_fee_percent?: number; - - /** - * Either `now` or `unchanged`. Setting the value to `now` resets the subscription's billing cycle anchor to the current time. For more information, see the billing cycle [documentation](https://stripe.com/docs/billing/subscriptions/billing-cycle). - */ - billing_cycle_anchor?: SubscriptionUpdateParams.BillingCycleAnchor; - - /** - * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds. - */ - billing_thresholds?: Stripe.Emptyable< - SubscriptionUpdateParams.BillingThresholds - >; - - /** - * A timestamp at which the subscription should cancel. If set to a date before the current period ends, this will cause a proration if prorations have been enabled using `proration_behavior`. If set during a future period, this will always cause a proration for that period. - */ - cancel_at?: Stripe.Emptyable; - - /** - * Boolean indicating whether this subscription should cancel at the end of the current period. - */ - cancel_at_period_end?: boolean; - - /** - * Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay this subscription at the end of the cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions. Defaults to `charge_automatically`. - */ - collection_method?: SubscriptionUpdateParams.CollectionMethod; - - /** - * The code of the coupon to apply to this subscription. A coupon applied to a subscription will only affect invoices created for that particular subscription. - */ - coupon?: string; - - /** - * Number of days a customer has to pay invoices generated by this subscription. Valid only for subscriptions where `collection_method` is set to `send_invoice`. - */ - days_until_due?: number; - - /** - * ID of the default payment method for the subscription. It must belong to the customer associated with the subscription. This takes precedence over `default_source`. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source). - */ - default_payment_method?: string; - - /** - * ID of the default payment source for the subscription. It must belong to the customer associated with the subscription and be in a chargeable state. If `default_payment_method` is also set, `default_payment_method` will take precedence. If neither are set, invoices will use the customer's [invoice_settings.default_payment_method](https://stripe.com/docs/api/customers/object#customer_object-invoice_settings-default_payment_method) or [default_source](https://stripe.com/docs/api/customers/object#customer_object-default_source). - */ - default_source?: string; - - /** - * The tax rates that will apply to any subscription item that does not have `tax_rates` set. Invoices created will have their `default_tax_rates` populated from the subscription. Pass an empty string to remove previously-defined tax rates. - */ - default_tax_rates?: Stripe.Emptyable>; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * A list of up to 20 subscription items, each with an attached price. - */ - items?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * Indicates if a customer is on or off-session while an invoice payment is attempted. - */ - off_session?: boolean; - - /** - * If specified, payment collection for this subscription will be paused. - */ - pause_collection?: Stripe.Emptyable< - SubscriptionUpdateParams.PauseCollection - >; - - /** - * Use `allow_incomplete` to transition the subscription to `status=past_due` if a payment is required but cannot be paid. This allows you to manage scenarios where additional user actions are needed to pay a subscription's invoice. For example, SCA regulation may require 3DS authentication to complete payment. See the [SCA Migration Guide](https://stripe.com/docs/billing/migration/strong-customer-authentication) for Billing to learn more. This is the default behavior. - * - * Use `pending_if_incomplete` to update the subscription using [pending updates](https://stripe.com/docs/billing/subscriptions/pending-updates). When you use `pending_if_incomplete` you can only pass the parameters [supported by pending updates](https://stripe.com/docs/billing/pending-updates-reference#supported-attributes). - * - * Use `error_if_incomplete` if you want Stripe to return an HTTP 402 status code if a subscription's invoice cannot be paid. For example, if a payment method requires 3DS authentication due to SCA regulation and further user action is needed, this parameter does not update the subscription and returns an error instead. This was the default behavior for API versions prior to 2019-03-14. See the [changelog](https://stripe.com/docs/upgrades#2019-03-14) to learn more. - */ - payment_behavior?: SubscriptionUpdateParams.PaymentBehavior; - - /** - * Specifies an interval for how often to bill for any pending invoice items. It is analogous to calling [Create an invoice](https://stripe.com/docs/api#create_invoice) for the given subscription at the specified interval. - */ - pending_invoice_item_interval?: Stripe.Emptyable< - SubscriptionUpdateParams.PendingInvoiceItemInterval - >; - - /** - * The promotion code to apply to this subscription. A promotion code applied to a subscription will only affect invoices created for that particular subscription. - */ - promotion_code?: string; - - /** - * Determines how to handle [prorations](https://stripe.com/docs/subscriptions/billing-cycle#prorations) when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. Valid values are `create_prorations`, `none`, or `always_invoice`. - * - * Passing `create_prorations` will cause proration invoice items to be created when applicable. These proration items will only be invoiced immediately under [certain conditions](https://stripe.com/docs/subscriptions/upgrading-downgrading#immediate-payment). In order to always invoice immediately for prorations, pass `always_invoice`. - * - * Prorations can be disabled by passing `none`. - */ - proration_behavior?: SubscriptionUpdateParams.ProrationBehavior; - - /** - * If set, the proration will be calculated as though the subscription was updated at the given time. This can be used to apply exactly the same proration that was previewed with [upcoming invoice](https://stripe.com/docs/api#retrieve_customer_invoice) endpoint. It can also be used to implement custom proration logic, such as prorating by day instead of by second, by providing the time that you wish to use for proration calculations. - */ - proration_date?: number; - - /** - * If specified, the funds from the subscription's invoices will be transferred to the destination and the ID of the resulting transfers will be found on the resulting charges. This will be unset if you POST an empty value. - */ - transfer_data?: Stripe.Emptyable; - - /** - * Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. This will always overwrite any trials that might apply via a subscribed plan. If set, trial_end will override the default trial period of the plan the customer is being subscribed to. The special value `now` can be provided to end the customer's trial immediately. Can be at most two years from `billing_cycle_anchor`. - */ - trial_end?: 'now' | number; - - /** - * Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `trial_end` per subscription is preferred, and this defaults to `false`. Setting this flag to `true` together with `trial_end` is not allowed. - */ - trial_from_plan?: boolean; - } - - namespace SubscriptionUpdateParams { - interface AddInvoiceItem { - /** - * The ID of the price object. - */ - price?: string; - - /** - * Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. - */ - price_data?: AddInvoiceItem.PriceData; - - /** - * Quantity for this item. Defaults to 1. - */ - quantity?: number; - - /** - * The tax rates which apply to the item. When set, the `default_tax_rates` do not apply to this item. - */ - tax_rates?: Stripe.Emptyable>; - } - - namespace AddInvoiceItem { - interface PriceData { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * The ID of the product that this price will belong to. - */ - product: string; - - /** - * A positive integer in %s (or 0 for a free price) representing how much to charge. - */ - unit_amount?: number; - - /** - * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. - */ - unit_amount_decimal?: string; - } - } - - type BillingCycleAnchor = 'now' | 'unchanged'; - - interface BillingThresholds { - /** - * Monetary threshold that triggers the subscription to advance to a new billing period - */ - amount_gte?: number; - - /** - * Indicates if the `billing_cycle_anchor` should be reset when a threshold is reached. If true, `billing_cycle_anchor` will be updated to the date/time the threshold was last reached; otherwise, the value will remain unchanged. - */ - reset_billing_cycle_anchor?: boolean; - } - - type CollectionMethod = 'charge_automatically' | 'send_invoice'; - - interface Item { - /** - * Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. When updating, pass an empty string to remove previously-defined thresholds. - */ - billing_thresholds?: Stripe.Emptyable; - - /** - * Delete all usage for a given subscription item. Allowed only when `deleted` is set to `true` and the current plan's `usage_type` is `metered`. - */ - clear_usage?: boolean; - - /** - * A flag that, if set to `true`, will delete the specified item. - */ - deleted?: boolean; - - /** - * Subscription item to update. - */ - id?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * Plan ID for this item, as a string. - */ - plan?: string; - - /** - * The ID of the price object. - */ - price?: string; - - /** - * Data used to generate a new [Price](https://stripe.com/docs/api/prices) object inline. - */ - price_data?: Item.PriceData; - - /** - * Quantity for this item. - */ - quantity?: number; - - /** - * A list of [Tax Rate](https://stripe.com/docs/api/tax_rates) ids. These Tax Rates will override the [`default_tax_rates`](https://stripe.com/docs/api/subscriptions/create#create_subscription-default_tax_rates) on the Subscription. When updating, pass an empty string to remove previously-defined tax rates. - */ - tax_rates?: Stripe.Emptyable>; - } - - namespace Item { - interface BillingThresholds { - /** - * Usage threshold that triggers the subscription to advance to a new billing period - */ - usage_gte: number; - } - - interface PriceData { - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * The ID of the product that this price will belong to. - */ - product: string; - - /** - * The recurring components of a price such as `interval` and `usage_type`. - */ - recurring: PriceData.Recurring; - - /** - * A positive integer in %s (or 0 for a free price) representing how much to charge. - */ - unit_amount?: number; - - /** - * Same as `unit_amount`, but accepts a decimal value in %s with at most 12 decimal places. Only one of `unit_amount` and `unit_amount_decimal` can be set. - */ - unit_amount_decimal?: string; - } - - namespace PriceData { - interface Recurring { - /** - * Specifies billing frequency. Either `day`, `week`, `month` or `year`. - */ - interval: Recurring.Interval; - - /** - * The number of intervals between subscription billings. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). - */ - interval_count?: number; - } - - namespace Recurring { - type Interval = 'day' | 'month' | 'week' | 'year'; - } - } - } - - interface PauseCollection { - /** - * The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`. - */ - behavior: PauseCollection.Behavior; - - /** - * The time after which the subscription will resume collecting payments. - */ - resumes_at?: number; - } - - namespace PauseCollection { - type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void'; - } - - type PaymentBehavior = - | 'allow_incomplete' - | 'error_if_incomplete' - | 'pending_if_incomplete'; - - interface PendingInvoiceItemInterval { - /** - * Specifies invoicing frequency. Either `day`, `week`, `month` or `year`. - */ - interval: PendingInvoiceItemInterval.Interval; - - /** - * The number of intervals between invoices. For example, `interval=month` and `interval_count=3` bills every 3 months. Maximum of one year interval allowed (1 year, 12 months, or 52 weeks). - */ - interval_count?: number; - } - - namespace PendingInvoiceItemInterval { - type Interval = 'day' | 'month' | 'week' | 'year'; - } - - type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none'; - - interface TransferData { - /** - * A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice subtotal that will be transferred to the destination account. By default, the entire amount is transferred to the destination. - */ - amount_percent?: number; - - /** - * ID of an existing, connected Stripe account. - */ - destination: string; - } - } - - interface SubscriptionListParams extends PaginationParams { - /** - * The collection method of the subscriptions to retrieve. Either `charge_automatically` or `send_invoice`. - */ - collection_method?: SubscriptionListParams.CollectionMethod; - - created?: Stripe.RangeQueryParam | number; - - current_period_end?: Stripe.RangeQueryParam | number; - - current_period_start?: Stripe.RangeQueryParam | number; - - /** - * The ID of the customer whose subscriptions will be retrieved. - */ - customer?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * The ID of the plan whose subscriptions will be retrieved. - */ - plan?: string; - - /** - * Filter for subscriptions that contain this recurring price ID. - */ - price?: string; - - /** - * The status of the subscriptions to retrieve. Passing in a value of `canceled` will return all canceled subscriptions, including those belonging to deleted customers. Pass `ended` to find subscriptions that are canceled and subscriptions that are expired due to [incomplete payment](https://stripe.com/docs/billing/subscriptions/overview#subscription-statuses). Passing in a value of `all` will return subscriptions of all statuses. - */ - status?: SubscriptionListParams.Status; - } - - namespace SubscriptionListParams { - type CollectionMethod = 'charge_automatically' | 'send_invoice'; - - type Status = - | 'active' - | 'all' - | 'canceled' - | 'ended' - | 'incomplete' - | 'incomplete_expired' - | 'past_due' - | 'trialing' - | 'unpaid'; - } - - interface SubscriptionDeleteParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Will generate a final invoice that invoices for any un-invoiced metered usage and new/pending proration invoice items. - */ - invoice_now?: boolean; - - /** - * Will generate a proration invoice item that credits remaining unused time until the subscription period end. - */ - prorate?: boolean; - } - - interface SubscriptionDeleteDiscountParams {} - - class SubscriptionsResource { - /** - * Creates a new subscription on an existing customer. Each customer can have up to 500 active or scheduled subscriptions. - */ - create( - params: SubscriptionCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves the subscription with the given ID. - */ - retrieve( - id: string, - params?: SubscriptionRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates an existing subscription on a customer to match the specified parameters. When changing plans or quantities, we will optionally prorate the price we charge next month to make up for any price changes. To preview how the proration will be calculated, use the [upcoming invoice](https://stripe.com/docs/api#upcoming_invoice) endpoint. - */ - update( - id: string, - params?: SubscriptionUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * By default, returns a list of subscriptions that have not been canceled. In order to list canceled subscriptions, specify status=canceled. - */ - list( - params?: SubscriptionListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - - /** - * Cancels a customer's subscription immediately. The customer will not be charged again for the subscription. - * - * Note, however, that any pending invoice items that you've created will still be charged for at the end of the period, unless manually [deleted](https://stripe.com/docs/api#delete_invoiceitem). If you've set the subscription to cancel at the end of the period, any pending prorations will also be left in place and collected at the end of the period. But if the subscription is set to cancel immediately, pending prorations will be removed. - * - * By default, upon subscription cancellation, Stripe will stop automatic collection of all finalized invoices for the customer. This is intended to prevent unexpected payment attempts after the customer has canceled a subscription. However, you can resume automatic collection of the invoices manually after subscription cancellation to have us proceed. Or, you could check for unpaid invoices before allowing the customer to cancel the subscription at all. - */ - del( - id: string, - params?: SubscriptionDeleteParams, - options?: RequestOptions - ): Promise>; - del( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Removes the currently applied discount on a subscription. - */ - deleteDiscount( - id: string, - params?: SubscriptionDeleteDiscountParams, - options?: RequestOptions - ): Promise>; - deleteDiscount( - id: string, - options?: RequestOptions - ): Promise>; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/TaxDeductedAtSources.d.ts b/node_modules/stripe/types/2020-08-27/TaxDeductedAtSources.d.ts deleted file mode 100644 index 527c461f..00000000 --- a/node_modules/stripe/types/2020-08-27/TaxDeductedAtSources.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The TaxDeductedAtSource object. - */ - interface TaxDeductedAtSource { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'tax_deducted_at_source'; - - /** - * The end of the invoicing period. This TDS applies to Stripe fees collected during this invoicing period. - */ - period_end: number; - - /** - * The start of the invoicing period. This TDS applies to Stripe fees collected during this invoicing period. - */ - period_start: number; - - /** - * The TAN that was supplied to Stripe when TDS was assessed - */ - tax_deduction_account_number: string; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/TaxIds.d.ts b/node_modules/stripe/types/2020-08-27/TaxIds.d.ts deleted file mode 100644 index 68224886..00000000 --- a/node_modules/stripe/types/2020-08-27/TaxIds.d.ts +++ /dev/null @@ -1,203 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The TaxId object. - */ - interface TaxId { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'tax_id'; - - /** - * Two-letter ISO code representing the country of the tax ID. - */ - country: string | null; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * ID of the customer. - */ - customer: string | Stripe.Customer | null; - - deleted?: void; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Type of the tax ID, one of `ae_trn`, `au_abn`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_vat`, `hk_br`, `id_npwp`, `in_gst`, `jp_cn`, `jp_rn`, `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `th_vat`, `tw_vat`, `us_ein`, or `za_vat`. Note that some legacy tax IDs have type `unknown` - */ - type: TaxId.Type; - - /** - * Value of the tax ID. - */ - value: string; - - /** - * Tax ID verification information. - */ - verification: TaxId.Verification | null; - } - - namespace TaxId { - type Type = - | 'ae_trn' - | 'au_abn' - | 'br_cnpj' - | 'br_cpf' - | 'ca_bn' - | 'ca_qst' - | 'ch_vat' - | 'cl_tin' - | 'es_cif' - | 'eu_vat' - | 'hk_br' - | 'id_npwp' - | 'in_gst' - | 'jp_cn' - | 'jp_rn' - | 'kr_brn' - | 'li_uid' - | 'mx_rfc' - | 'my_frp' - | 'my_itn' - | 'my_sst' - | 'no_vat' - | 'nz_gst' - | 'ru_inn' - | 'ru_kpp' - | 'sa_vat' - | 'sg_gst' - | 'sg_uen' - | 'th_vat' - | 'tw_vat' - | 'unknown' - | 'us_ein' - | 'za_vat'; - - interface Verification { - /** - * Verification status, one of `pending`, `verified`, `unverified`, or `unavailable`. - */ - status: Verification.Status; - - /** - * Verified address. - */ - verified_address: string | null; - - /** - * Verified name. - */ - verified_name: string | null; - } - - namespace Verification { - type Status = 'pending' | 'unavailable' | 'unverified' | 'verified'; - } - } - - /** - * The DeletedTaxId object. - */ - interface DeletedTaxId { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'tax_id'; - - /** - * Always true for a deleted object - */ - deleted: true; - } - - interface TaxIdCreateParams { - /** - * Type of the tax ID, one of `ae_trn`, `au_abn`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_vat`, `hk_br`, `id_npwp`, `in_gst`, `jp_cn`, `jp_rn`, `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `th_vat`, `tw_vat`, `us_ein`, or `za_vat` - */ - type: TaxIdCreateParams.Type; - - /** - * Value of the tax ID. - */ - value: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - namespace TaxIdCreateParams { - type Type = - | 'ae_trn' - | 'au_abn' - | 'br_cnpj' - | 'br_cpf' - | 'ca_bn' - | 'ca_qst' - | 'ch_vat' - | 'cl_tin' - | 'es_cif' - | 'eu_vat' - | 'hk_br' - | 'id_npwp' - | 'in_gst' - | 'jp_cn' - | 'jp_rn' - | 'kr_brn' - | 'li_uid' - | 'mx_rfc' - | 'my_frp' - | 'my_itn' - | 'my_sst' - | 'no_vat' - | 'nz_gst' - | 'ru_inn' - | 'ru_kpp' - | 'sa_vat' - | 'sg_gst' - | 'sg_uen' - | 'th_vat' - | 'tw_vat' - | 'us_ein' - | 'za_vat'; - } - - interface TaxIdRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface TaxIdListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface TaxIdDeleteParams {} - } -} diff --git a/node_modules/stripe/types/2020-08-27/TaxRates.d.ts b/node_modules/stripe/types/2020-08-27/TaxRates.d.ts deleted file mode 100644 index b1fa1f2a..00000000 --- a/node_modules/stripe/types/2020-08-27/TaxRates.d.ts +++ /dev/null @@ -1,208 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The TaxRate object. - */ - interface TaxRate { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'tax_rate'; - - /** - * Defaults to `true`. When set to `false`, this tax rate cannot be used with new applications or Checkout Sessions, but will still work for subscriptions and invoices that already have it set. - */ - active: boolean; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers. - */ - description: string | null; - - /** - * The display name of the tax rates as it will appear to your customer on their receipt email, PDF, and the hosted invoice page. - */ - display_name: string; - - /** - * This specifies if the tax rate is inclusive or exclusive. - */ - inclusive: boolean; - - /** - * The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer's invoice. - */ - jurisdiction: string | null; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata | null; - - /** - * This represents the tax rate percent out of 100. - */ - percentage: number; - } - - interface TaxRateCreateParams { - /** - * The display name of the tax rate, which will be shown to users. - */ - display_name: string; - - /** - * This specifies if the tax rate is inclusive or exclusive. - */ - inclusive: boolean; - - /** - * This represents the tax rate percent out of 100. - */ - percentage: number; - - /** - * Flag determining whether the tax rate is active or inactive (archived). Inactive tax rates cannot be used with new applications or Checkout Sessions, but will still work for subscriptions and invoices that already have it set. - */ - active?: boolean; - - /** - * An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers. - */ - description?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer's invoice. - */ - jurisdiction?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - } - - interface TaxRateRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface TaxRateUpdateParams { - /** - * Flag determining whether the tax rate is active or inactive (archived). Inactive tax rates cannot be used with new applications or Checkout Sessions, but will still work for subscriptions and invoices that already have it set. - */ - active?: boolean; - - /** - * An arbitrary string attached to the tax rate for your internal use only. It will not be visible to your customers. - */ - description?: string; - - /** - * The display name of the tax rate, which will be shown to users. - */ - display_name?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer's invoice. - */ - jurisdiction?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - } - - interface TaxRateListParams extends PaginationParams { - /** - * Optional flag to filter by tax rates that are either active or inactive (archived). - */ - active?: boolean; - - /** - * Optional range for filtering created date. - */ - created?: Stripe.RangeQueryParam | number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Optional flag to filter by tax rates that are inclusive (or those that are not inclusive). - */ - inclusive?: boolean; - } - - class TaxRatesResource { - /** - * Creates a new tax rate. - */ - create( - params: TaxRateCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves a tax rate with the given ID - */ - retrieve( - id: string, - params?: TaxRateRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates an existing tax rate. - */ - update( - id: string, - params?: TaxRateUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of your tax rates. Tax rates are returned sorted by creation date, with the most recently created tax rates appearing first. - */ - list( - params?: TaxRateListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Terminal/ConnectionTokens.d.ts b/node_modules/stripe/types/2020-08-27/Terminal/ConnectionTokens.d.ts deleted file mode 100644 index 1cad50e9..00000000 --- a/node_modules/stripe/types/2020-08-27/Terminal/ConnectionTokens.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - namespace Terminal { - /** - * The ConnectionToken object. - */ - interface ConnectionToken { - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'terminal.connection_token'; - - /** - * The id of the location that this connection token is scoped to. - */ - location?: string; - - /** - * Your application should pass this token to the Stripe Terminal SDK. - */ - secret: string; - } - - interface ConnectionTokenCreateParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * The id of the location that this connection token is scoped to. If specified the connection token will only be usable with readers assigned to that location, otherwise the connection token will be usable with all readers. - */ - location?: string; - } - - class ConnectionTokensResource { - /** - * To connect to a reader the Stripe Terminal SDK needs to retrieve a short-lived connection token from Stripe, proxied through your server. On your backend, add an endpoint that creates and returns a connection token. - */ - create( - params?: ConnectionTokenCreateParams, - options?: RequestOptions - ): Promise>; - create( - options?: RequestOptions - ): Promise>; - } - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Terminal/Locations.d.ts b/node_modules/stripe/types/2020-08-27/Terminal/Locations.d.ts deleted file mode 100644 index c6344be0..00000000 --- a/node_modules/stripe/types/2020-08-27/Terminal/Locations.d.ts +++ /dev/null @@ -1,244 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - namespace Terminal { - /** - * The Location object. - */ - interface Location { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'terminal.location'; - - address: Stripe.Address; - - deleted?: void; - - /** - * The display name of the location. - */ - display_name: string; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata; - } - - /** - * The DeletedLocation object. - */ - interface DeletedLocation { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'terminal.location'; - - /** - * Always true for a deleted object - */ - deleted: true; - } - - interface LocationCreateParams { - /** - * The full address of the location. - */ - address: LocationCreateParams.Address; - - /** - * A name for the location. - */ - display_name: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - } - - namespace LocationCreateParams { - interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - } - } - - interface LocationRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface LocationUpdateParams { - /** - * The full address of the location. - */ - address?: LocationUpdateParams.Address; - - /** - * A name for the location. - */ - display_name?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - } - - namespace LocationUpdateParams { - interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - } - } - - interface LocationListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface LocationDeleteParams {} - - class LocationsResource { - /** - * Creates a new Location object. - */ - create( - params: LocationCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves a Location object. - */ - retrieve( - id: string, - params?: LocationRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates a Location object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. - */ - update( - id: string, - params?: LocationUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of Location objects. - */ - list( - params?: LocationListParams, - options?: RequestOptions - ): ApiListPromise; - list( - options?: RequestOptions - ): ApiListPromise; - - /** - * Deletes a Location object. - */ - del( - id: string, - params?: LocationDeleteParams, - options?: RequestOptions - ): Promise>; - del( - id: string, - options?: RequestOptions - ): Promise>; - } - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Terminal/Readers.d.ts b/node_modules/stripe/types/2020-08-27/Terminal/Readers.d.ts deleted file mode 100644 index ef9ecc2e..00000000 --- a/node_modules/stripe/types/2020-08-27/Terminal/Readers.d.ts +++ /dev/null @@ -1,227 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - namespace Terminal { - /** - * The Reader object. - */ - interface Reader { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'terminal.reader'; - - deleted?: void; - - /** - * The current software version of the reader. - */ - device_sw_version: string | null; - - /** - * Type of reader, one of `bbpos_chipper2x` or `verifone_P400`. - */ - device_type: Reader.DeviceType; - - /** - * The local IP address of the reader. - */ - ip_address: string | null; - - /** - * Custom label given to the reader for easier identification. - */ - label: string; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * The location identifier of the reader. - */ - location: string | null; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata; - - /** - * Serial number of the reader. - */ - serial_number: string; - - /** - * The networking status of the reader. - */ - status: string | null; - } - - namespace Reader { - type DeviceType = 'bbpos_chipper2x' | 'verifone_P400'; - } - - /** - * The DeletedReader object. - */ - interface DeletedReader { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'terminal.reader'; - - /** - * Always true for a deleted object - */ - deleted: true; - } - - interface ReaderCreateParams { - /** - * A code generated by the reader used for registering to an account. - */ - registration_code: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Custom label given to the reader for easier identification. If no label is specified, the registration code will be used. - */ - label?: string; - - /** - * The location to assign the reader to. If no location is specified, the reader will be assigned to the account's default location. - */ - location?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - } - - interface ReaderRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface ReaderUpdateParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * The new label of the reader. - */ - label?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - } - - interface ReaderListParams extends PaginationParams { - /** - * Filters readers by device type - */ - device_type?: ReaderListParams.DeviceType; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * A location ID to filter the response list to only readers at the specific location - */ - location?: string; - - /** - * A status filter to filter readers to only offline or online readers - */ - status?: ReaderListParams.Status; - } - - namespace ReaderListParams { - type DeviceType = 'bbpos_chipper2x' | 'verifone_P400'; - - type Status = 'offline' | 'online'; - } - - interface ReaderDeleteParams {} - - class ReadersResource { - /** - * Creates a new Reader object. - */ - create( - params: ReaderCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves a Reader object. - */ - retrieve( - id: string, - params?: ReaderRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates a Reader object by setting the values of the parameters passed. Any parameters not provided will be left unchanged. - */ - update( - id: string, - params?: ReaderUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of Reader objects. - */ - list( - params?: ReaderListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - - /** - * Deletes a Reader object. - */ - del( - id: string, - params?: ReaderDeleteParams, - options?: RequestOptions - ): Promise>; - del( - id: string, - options?: RequestOptions - ): Promise>; - } - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Tokens.d.ts b/node_modules/stripe/types/2020-08-27/Tokens.d.ts deleted file mode 100644 index c146bd78..00000000 --- a/node_modules/stripe/types/2020-08-27/Tokens.d.ts +++ /dev/null @@ -1,808 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Token object. - */ - interface Token { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'token'; - - /** - * These bank accounts are payment methods on `Customer` objects. - * - * On the other hand [External Accounts](https://stripe.com/docs/api#external_accounts) are transfer - * destinations on `Account` objects for [Custom accounts](https://stripe.com/docs/connect/custom-accounts). - * They can be bank accounts or debit cards as well, and are documented in the links above. - * - * Related guide: [Bank Debits and Transfers](https://stripe.com/docs/payments/bank-debits-transfers). - */ - bank_account?: Stripe.BankAccount; - - /** - * You can store multiple cards on a customer in order to charge the customer - * later. You can also store multiple debit cards on a recipient in order to - * transfer to those cards later. - * - * Related guide: [Card Payments with Sources](https://stripe.com/docs/sources/cards). - */ - card?: Stripe.Card; - - /** - * IP address of the client that generated the token. - */ - client_ip: string | null; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Type of the token: `account`, `bank_account`, `card`, or `pii`. - */ - type: string; - - /** - * Whether this token has already been used (tokens can be used only once). - */ - used: boolean; - } - - interface TokenCreateParams { - /** - * Information for the account this token will represent. - */ - account?: TokenCreateParams.Account; - - /** - * The bank account this token will represent. - */ - bank_account?: string | TokenCreateParams.BankAccount; - - card?: TokenCreateParams.Card | string; - - /** - * The customer (owned by the application's account) for which to create a token. This can be used only with an [OAuth access token](https://stripe.com/docs/connect/standard-accounts) or [Stripe-Account header](https://stripe.com/docs/connect/authentication). For more details, see [Cloning Saved Payment Methods](https://stripe.com/docs/connect/cloning-saved-payment-methods). - */ - customer?: string; - - /** - * The updated CVC value this token will represent. - */ - cvc_update?: TokenCreateParams.CvcUpdate; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Information for the person this token will represent. - */ - person?: TokenCreateParams.Person; - - /** - * The PII this token will represent. - */ - pii?: TokenCreateParams.Pii; - } - - namespace TokenCreateParams { - interface Account { - /** - * The business type. - */ - business_type?: Account.BusinessType; - - /** - * Information about the company or business. - */ - company?: Account.Company; - - /** - * Information about the person represented by the account. - */ - individual?: Account.Individual; - - /** - * Whether the user described by the data in the token has been shown [the Stripe Connected Account Agreement](https://stripe.com/docs/connect/account-tokens#stripe-connected-account-agreement). When creating an account token to create a new Connect account, this value must be `true`. - */ - tos_shown_and_accepted?: boolean; - } - - namespace Account { - type BusinessType = - | 'company' - | 'government_entity' - | 'individual' - | 'non_profit'; - - interface Company { - /** - * The company's primary address. - */ - address?: Company.Address; - - /** - * The Kana variation of the company's primary address (Japan only). - */ - address_kana?: Stripe.JapanAddressParam; - - /** - * The Kanji variation of the company's primary address (Japan only). - */ - address_kanji?: Stripe.JapanAddressParam; - - /** - * Whether the company's directors have been provided. Set this Boolean to `true` after creating all the company's directors with [the Persons API](https://stripe.com/docs/api/persons) for accounts with a `relationship.director` requirement. This value is not automatically set to `true` after creating directors, so it needs to be updated to indicate all directors have been provided. - */ - directors_provided?: boolean; - - /** - * Whether the company's executives have been provided. Set this Boolean to `true` after creating all the company's executives with [the Persons API](https://stripe.com/docs/api/persons) for accounts with a `relationship.executive` requirement. - */ - executives_provided?: boolean; - - /** - * The company's legal name. - */ - name?: string; - - /** - * The Kana variation of the company's legal name (Japan only). - */ - name_kana?: string; - - /** - * The Kanji variation of the company's legal name (Japan only). - */ - name_kanji?: string; - - /** - * Whether the company's owners have been provided. Set this Boolean to `true` after creating all the company's owners with [the Persons API](https://stripe.com/docs/api/persons) for accounts with a `relationship.owner` requirement. - */ - owners_provided?: boolean; - - /** - * The company's phone number (used for verification). - */ - phone?: string; - - /** - * The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong). - */ - registration_number?: string; - - /** - * The category identifying the legal structure of the company or legal entity. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details. - */ - structure?: Stripe.Emptyable; - - /** - * The business ID number of the company, as appropriate for the company's country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.) - */ - tax_id?: string; - - /** - * The jurisdiction in which the `tax_id` is registered (Germany-based companies only). - */ - tax_id_registrar?: string; - - /** - * The VAT number of the company. - */ - vat_id?: string; - - /** - * Information on the verification state of the company. - */ - verification?: Company.Verification; - } - - namespace Company { - interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - } - - type Structure = - | 'government_instrumentality' - | 'governmental_unit' - | 'incorporated_non_profit' - | 'limited_liability_partnership' - | 'multi_member_llc' - | 'private_company' - | 'private_corporation' - | 'private_partnership' - | 'public_company' - | 'public_corporation' - | 'public_partnership' - | 'sole_proprietorship' - | 'tax_exempt_government_instrumentality' - | 'unincorporated_association' - | 'unincorporated_non_profit'; - - interface Verification { - /** - * A document verifying the business. - */ - document?: Verification.Document; - } - - namespace Verification { - interface Document { - /** - * The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; - - /** - * The front of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front?: string; - } - } - } - - interface Individual { - /** - * The individual's primary address. - */ - address?: Individual.Address; - - /** - * The Kana variation of the the individual's primary address (Japan only). - */ - address_kana?: Stripe.JapanAddressParam; - - /** - * The Kanji variation of the the individual's primary address (Japan only). - */ - address_kanji?: Stripe.JapanAddressParam; - - /** - * The individual's date of birth. - */ - dob?: Stripe.Emptyable; - - /** - * The individual's email address. - */ - email?: string; - - /** - * The individual's first name. - */ - first_name?: string; - - /** - * The Kana variation of the the individual's first name (Japan only). - */ - first_name_kana?: string; - - /** - * The Kanji variation of the individual's first name (Japan only). - */ - first_name_kanji?: string; - - /** - * The individual's gender (International regulations require either "male" or "female"). - */ - gender?: string; - - /** - * The government-issued ID number of the individual, as appropriate for the representative's country. (Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada). Instead of the number itself, you can also provide a [PII token created with Stripe.js](https://stripe.com/docs/stripe.js#collecting-pii-data). - */ - id_number?: string; - - /** - * The individual's last name. - */ - last_name?: string; - - /** - * The Kana varation of the individual's last name (Japan only). - */ - last_name_kana?: string; - - /** - * The Kanji varation of the individual's last name (Japan only). - */ - last_name_kanji?: string; - - /** - * The individual's maiden name. - */ - maiden_name?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * The individual's phone number. - */ - phone?: string; - - /** - * Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction. - */ - political_exposure?: Individual.PoliticalExposure; - - /** - * The last four digits of the individual's Social Security Number (U.S. only). - */ - ssn_last_4?: string; - - /** - * The individual's verification document information. - */ - verification?: Individual.Verification; - } - - namespace Individual { - interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - } - - interface Dob { - /** - * The day of birth, between 1 and 31. - */ - day: number; - - /** - * The month of birth, between 1 and 12. - */ - month: number; - - /** - * The four-digit year of birth. - */ - year: number; - } - - type PoliticalExposure = 'existing' | 'none'; - - interface Verification { - /** - * A document showing address, either a passport, local ID card, or utility bill from a well-known utility company. - */ - additional_document?: Verification.AdditionalDocument; - - /** - * An identifying document, either a passport or local ID card. - */ - document?: Verification.Document; - } - - namespace Verification { - interface AdditionalDocument { - /** - * The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; - - /** - * The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front?: string; - } - - interface Document { - /** - * The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; - - /** - * The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front?: string; - } - } - } - } - - interface BankAccount { - /** - * The name of the person or business that owns the bank account.This field is required when attaching the bank account to a `Customer` object. - */ - account_holder_name?: string; - - /** - * The type of entity that holds the account. It can be `company` or `individual`. This field is required when attaching the bank account to a `Customer` object. - */ - account_holder_type?: BankAccount.AccountHolderType; - - /** - * The account number for the bank account, in string form. Must be a checking account. - */ - account_number: string; - - /** - * The country in which the bank account is located. - */ - country: string; - - /** - * The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](https://stripe.com/docs/payouts) - */ - currency?: string; - - /** - * The routing number, sort code, or other country-appropriateinstitution number for the bank account. For US bank accounts, this is required and should bethe ACH routing number, not the wire routing number. If you are providing an IBAN for`account_number`, this field is not required. - */ - routing_number?: string; - } - - namespace BankAccount { - type AccountHolderType = 'company' | 'individual'; - } - - interface Card { - address_city?: string; - - address_country?: string; - - address_line1?: string; - - address_line2?: string; - - address_state?: string; - - address_zip?: string; - - currency?: string; - - cvc?: string; - - exp_month: string; - - exp_year: string; - - name?: string; - - number: string; - } - - interface CvcUpdate { - /** - * The CVC value, in string form. - */ - cvc: string; - } - - interface Person { - /** - * The person's address. - */ - address?: Person.Address; - - /** - * The Kana variation of the person's address (Japan only). - */ - address_kana?: Stripe.JapanAddressParam; - - /** - * The Kanji variation of the person's address (Japan only). - */ - address_kanji?: Stripe.JapanAddressParam; - - /** - * The person's date of birth. - */ - dob?: Stripe.Emptyable; - - /** - * The person's email address. - */ - email?: string; - - /** - * The person's first name. - */ - first_name?: string; - - /** - * The Kana variation of the person's first name (Japan only). - */ - first_name_kana?: string; - - /** - * The Kanji variation of the person's first name (Japan only). - */ - first_name_kanji?: string; - - /** - * The person's gender (International regulations require either "male" or "female"). - */ - gender?: string; - - /** - * The person's ID number, as appropriate for their country. For example, a social security number in the U.S., social insurance number in Canada, etc. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/stripe.js#collecting-pii-data). - */ - id_number?: string; - - /** - * The person's last name. - */ - last_name?: string; - - /** - * The Kana variation of the person's last name (Japan only). - */ - last_name_kana?: string; - - /** - * The Kanji variation of the person's last name (Japan only). - */ - last_name_kanji?: string; - - /** - * The person's maiden name. - */ - maiden_name?: string; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * The person's phone number. - */ - phone?: string; - - /** - * Indicates if the person or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction. - */ - political_exposure?: string; - - /** - * The relationship that this person has with the account's legal entity. - */ - relationship?: Person.Relationship; - - /** - * The last four digits of the person's Social Security number (U.S. only). - */ - ssn_last_4?: string; - - /** - * The person's verification status. - */ - verification?: Person.Verification; - } - - namespace Person { - interface Address { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - } - - interface Dob { - /** - * The day of birth, between 1 and 31. - */ - day: number; - - /** - * The month of birth, between 1 and 12. - */ - month: number; - - /** - * The four-digit year of birth. - */ - year: number; - } - - interface Relationship { - /** - * Whether the person is a director of the account's legal entity. Currently only required for accounts in the EU. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations. - */ - director?: boolean; - - /** - * Whether the person has significant responsibility to control, manage, or direct the organization. - */ - executive?: boolean; - - /** - * Whether the person is an owner of the account's legal entity. - */ - owner?: boolean; - - /** - * The percent owned by the person of the account's legal entity. - */ - percent_ownership?: Stripe.Emptyable; - - /** - * Whether the person is authorized as the primary representative of the account. This is the person nominated by the business to provide information about themselves, and general information about the account. There can only be one representative at any given time. At the time the account is created, this person should be set to the person responsible for opening the account. - */ - representative?: boolean; - - /** - * The person's title (e.g., CEO, Support Engineer). - */ - title?: string; - } - - interface Verification { - /** - * A document showing address, either a passport, local ID card, or utility bill from a well-known utility company. - */ - additional_document?: Verification.AdditionalDocument; - - /** - * An identifying document, either a passport or local ID card. - */ - document?: Verification.Document; - } - - namespace Verification { - interface AdditionalDocument { - /** - * The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; - - /** - * The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front?: string; - } - - interface Document { - /** - * The back of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - back?: string; - - /** - * The front of an ID returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size. - */ - front?: string; - } - } - } - - interface Pii { - /** - * The `id_number` for the PII, in string form. - */ - id_number?: string; - } - } - - interface TokenRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - class TokensResource { - /** - * Creates a single-use token that represents a bank account's details. - * This token can be used with any API method in place of a bank account dictionary. This token can be used only once, by attaching it to a [Custom account](https://stripe.com/docs/api#accounts). - */ - create( - params?: TokenCreateParams, - options?: RequestOptions - ): Promise>; - create(options?: RequestOptions): Promise>; - - /** - * Retrieves the token with the given ID. - */ - retrieve( - id: string, - params?: TokenRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Topups.d.ts b/node_modules/stripe/types/2020-08-27/Topups.d.ts deleted file mode 100644 index edecfad2..00000000 --- a/node_modules/stripe/types/2020-08-27/Topups.d.ts +++ /dev/null @@ -1,256 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Topup object. - */ - interface Topup { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'topup'; - - /** - * Amount transferred. - */ - amount: number; - - /** - * ID of the balance transaction that describes the impact of this top-up on your account balance. May not be specified depending on status of top-up. - */ - balance_transaction: string | Stripe.BalanceTransaction | null; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description: string | null; - - /** - * Date the funds are expected to arrive in your Stripe account for payouts. This factors in delays like weekends or bank holidays. May not be specified depending on status of top-up. - */ - expected_availability_date: number | null; - - /** - * Error code explaining reason for top-up failure if available (see [the errors section](https://stripe.com/docs/api#errors) for a list of codes). - */ - failure_code: string | null; - - /** - * Message to user further explaining reason for top-up failure if available. - */ - failure_message: string | null; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata; - - /** - * `Source` objects allow you to accept a variety of payment methods. They - * represent a customer's payment instrument, and can be used with the Stripe API - * just like a `Card` object: once chargeable, they can be charged, or can be - * attached to customers. - * - * Related guides: [Sources API](https://stripe.com/docs/sources) and [Sources & Customers](https://stripe.com/docs/sources/customers). - */ - source: Stripe.Source; - - /** - * Extra information about a top-up. This will appear on your source's bank statement. It must contain at least one letter. - */ - statement_descriptor: string | null; - - /** - * The status of the top-up is either `canceled`, `failed`, `pending`, `reversed`, or `succeeded`. - */ - status: Topup.Status; - - /** - * A string that identifies this top-up as part of a group. - */ - transfer_group: string | null; - } - - namespace Topup { - type Status = - | 'canceled' - | 'failed' - | 'pending' - | 'reversed' - | 'succeeded'; - } - - interface TopupCreateParams { - /** - * A positive integer representing how much to transfer. - */ - amount: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * The ID of a source to transfer funds from. For most users, this should be left unspecified which will use the bank account that was set up in the dashboard for the specified currency. In test mode, this can be a test bank token (see [Testing Top-ups](https://stripe.com/docs/connect/testing#testing-top-ups)). - */ - source?: string; - - /** - * Extra information about a top-up for the source's bank statement. Limited to 15 ASCII characters. - */ - statement_descriptor?: string; - - /** - * A string that identifies this top-up as part of a group. - */ - transfer_group?: string; - } - - interface TopupRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface TopupUpdateParams { - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - } - - interface TopupListParams extends PaginationParams { - /** - * A positive integer representing how much to transfer. - */ - amount?: Stripe.RangeQueryParam | number; - - /** - * A filter on the list, based on the object `created` field. The value can be a string with an integer Unix timestamp, or it can be a dictionary with a number of different query options. - */ - created?: Stripe.RangeQueryParam | number; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Only return top-ups that have the given status. One of `canceled`, `failed`, `pending` or `succeeded`. - */ - status?: TopupListParams.Status; - } - - namespace TopupListParams { - type Status = 'canceled' | 'failed' | 'pending' | 'succeeded'; - } - - interface TopupCancelParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - class TopupsResource { - /** - * Top up the balance of an account - */ - create( - params: TopupCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves the details of a top-up that has previously been created. Supply the unique top-up ID that was returned from your previous request, and Stripe will return the corresponding top-up information. - */ - retrieve( - id: string, - params?: TopupRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates the metadata of a top-up. Other top-up details are not editable by design. - */ - update( - id: string, - params?: TopupUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of top-ups. - */ - list( - params?: TopupListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - - /** - * Cancels a top-up. Only pending top-ups can be canceled. - */ - cancel( - id: string, - params?: TopupCancelParams, - options?: RequestOptions - ): Promise>; - cancel( - id: string, - options?: RequestOptions - ): Promise>; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/TransferReversals.d.ts b/node_modules/stripe/types/2020-08-27/TransferReversals.d.ts deleted file mode 100644 index c75b3bc4..00000000 --- a/node_modules/stripe/types/2020-08-27/TransferReversals.d.ts +++ /dev/null @@ -1,112 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The TransferReversal object. - */ - interface TransferReversal { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'transfer_reversal'; - - /** - * Amount, in %s. - */ - amount: number; - - /** - * Balance transaction that describes the impact on your account balance. - */ - balance_transaction: string | Stripe.BalanceTransaction | null; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * Linked payment refund for the transfer reversal. - */ - destination_payment_refund: string | Stripe.Refund | null; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata | null; - - /** - * ID of the refund responsible for the transfer reversal. - */ - source_refund: string | Stripe.Refund | null; - - /** - * ID of the transfer that was reversed. - */ - transfer: string | Stripe.Transfer; - } - - interface TransferReversalCreateParams { - /** - * A positive integer in %s representing how much of this transfer to reverse. Can only reverse up to the unreversed amount remaining of the transfer. Partial transfer reversals are only allowed for transfers to Stripe Accounts. Defaults to the entire transfer amount. - */ - amount?: number; - - /** - * An arbitrary string which you can attach to a reversal object. It is displayed alongside the reversal in the Dashboard. This will be unset if you POST an empty value. - */ - description?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * Boolean indicating whether the application fee should be refunded when reversing this transfer. If a full transfer reversal is given, the full application fee will be refunded. Otherwise, the application fee will be refunded with an amount proportional to the amount of the transfer reversed. - */ - refund_application_fee?: boolean; - } - - interface TransferReversalRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface TransferReversalUpdateParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - } - - interface TransferReversalListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/Transfers.d.ts b/node_modules/stripe/types/2020-08-27/Transfers.d.ts deleted file mode 100644 index 37e880b4..00000000 --- a/node_modules/stripe/types/2020-08-27/Transfers.d.ts +++ /dev/null @@ -1,288 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The Transfer object. - */ - interface Transfer { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'transfer'; - - /** - * Amount in %s to be transferred. - */ - amount: number; - - /** - * Amount in %s reversed (can be less than the amount attribute on the transfer if a partial reversal was issued). - */ - amount_reversed: number; - - /** - * Balance transaction that describes the impact of this transfer on your account balance. - */ - balance_transaction: string | Stripe.BalanceTransaction | null; - - /** - * Time that this record of the transfer was first created. - */ - created: number; - - /** - * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies). - */ - currency: string; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description: string | null; - - /** - * ID of the Stripe account the transfer was sent to. - */ - destination: string | Stripe.Account | null; - - /** - * If the destination is a Stripe account, this will be the ID of the payment that the destination account received for the transfer. - */ - destination_payment?: string | Stripe.Charge; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata; - - /** - * A list of reversals that have been applied to the transfer. - */ - reversals: ApiList; - - /** - * Whether the transfer has been fully reversed. If the transfer is only partially reversed, this attribute will still be false. - */ - reversed: boolean; - - /** - * ID of the charge or payment that was used to fund the transfer. If null, the transfer was funded from the available balance. - */ - source_transaction: string | Stripe.Charge | null; - - /** - * The source balance this transfer came from. One of `card`, `fpx`, or `bank_account`. - */ - source_type: string | null; - - /** - * A string that identifies this transaction as part of a group. See the [Connect documentation](https://stripe.com/docs/connect/charges-transfers#transfer-options) for details. - */ - transfer_group: string | null; - } - - interface TransferCreateParams { - /** - * 3-letter [ISO code for currency](https://stripe.com/docs/payouts). - */ - currency: string; - - /** - * The ID of a connected Stripe account. [See the Connect documentation](https://stripe.com/docs/connect/charges-transfers) for details. - */ - destination: string; - - /** - * A positive integer in %s representing how much to transfer. - */ - amount?: number; - - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.MetadataParam; - - /** - * You can use this parameter to transfer funds from a charge before they are added to your available balance. A pending balance will transfer immediately but the funds will not become available until the original charge becomes available. [See the Connect documentation](https://stripe.com/docs/connect/charges-transfers#transfer-availability) for details. - */ - source_transaction?: string; - - /** - * The source balance to use for this transfer. One of `bank_account`, `card`, or `fpx`. For most users, this will default to `card`. - */ - source_type?: TransferCreateParams.SourceType; - - /** - * A string that identifies this transaction as part of a group. See the [Connect documentation](https://stripe.com/docs/connect/charges-transfers#transfer-options) for details. - */ - transfer_group?: string; - } - - namespace TransferCreateParams { - type SourceType = 'bank_account' | 'card' | 'fpx'; - } - - interface TransferRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface TransferUpdateParams { - /** - * An arbitrary string attached to the object. Often useful for displaying to users. - */ - description?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - } - - interface TransferListParams extends PaginationParams { - created?: Stripe.RangeQueryParam | number; - - /** - * Only return transfers for the destination specified by this account ID. - */ - destination?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Only return transfers with the specified transfer group. - */ - transfer_group?: string; - } - - class TransfersResource { - /** - * To send funds from your Stripe account to a connected account, you create a new transfer object. Your [Stripe balance](https://stripe.com/docs/api#balance) must be able to cover the transfer amount, or you'll receive an “Insufficient Funds” error. - */ - create( - params: TransferCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves the details of an existing transfer. Supply the unique transfer ID from either a transfer creation request or the transfer list, and Stripe will return the corresponding transfer information. - */ - retrieve( - id: string, - params?: TransferRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates the specified transfer by setting the values of the parameters passed. Any parameters not provided will be left unchanged. - * - * This request accepts only metadata as an argument. - */ - update( - id: string, - params?: TransferUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of existing transfers sent to connected accounts. The transfers are returned in sorted order, with the most recently created transfers appearing first. - */ - list( - params?: TransferListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - - /** - * When you create a new reversal, you must specify a transfer to create it on. - * - * When reversing transfers, you can optionally reverse part of the transfer. You can do so as many times as you wish until the entire transfer has been reversed. - * - * Once entirely reversed, a transfer can't be reversed again. This method will return an error when called on an already-reversed transfer, or when trying to reverse more money than is left on a transfer. - */ - createReversal( - id: string, - params?: TransferReversalCreateParams, - options?: RequestOptions - ): Promise>; - createReversal( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * By default, you can see the 10 most recent reversals stored directly on the transfer object, but you can also retrieve details about a specific reversal stored on the transfer. - */ - retrieveReversal( - idId: string, - id: string, - params?: TransferReversalRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieveReversal( - idId: string, - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates the specified reversal by setting the values of the parameters passed. Any parameters not provided will be left unchanged. - * - * This request only accepts metadata and description as arguments. - */ - updateReversal( - idId: string, - id: string, - params?: TransferReversalUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * You can see a list of the reversals belonging to a specific transfer. Note that the 10 most recent reversals are always available by default on the transfer object. If you need more than those 10, you can use this API method and the limit and starting_after parameters to page through additional reversals. - */ - listReversals( - id: string, - params?: TransferReversalListParams, - options?: RequestOptions - ): ApiListPromise; - listReversals( - id: string, - options?: RequestOptions - ): ApiListPromise; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/UsageRecordSummaries.d.ts b/node_modules/stripe/types/2020-08-27/UsageRecordSummaries.d.ts deleted file mode 100644 index 5ad13045..00000000 --- a/node_modules/stripe/types/2020-08-27/UsageRecordSummaries.d.ts +++ /dev/null @@ -1,62 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The UsageRecordSummary object. - */ - interface UsageRecordSummary { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'usage_record_summary'; - - /** - * The invoice in which this usage period has been billed for. - */ - invoice: string | null; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - period: UsageRecordSummary.Period; - - /** - * The ID of the subscription item this summary is describing. - */ - subscription_item: string; - - /** - * The total usage within this usage period. - */ - total_usage: number; - } - - namespace UsageRecordSummary { - interface Period { - /** - * The end date of this usage period. All usage up to and including this point in time is included. - */ - end: number | null; - - /** - * The start date of this usage period. All usage after this point in time is included. - */ - start: number | null; - } - } - - interface UsageRecordSummaryListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/UsageRecords.d.ts b/node_modules/stripe/types/2020-08-27/UsageRecords.d.ts deleted file mode 100644 index 039ff4d9..00000000 --- a/node_modules/stripe/types/2020-08-27/UsageRecords.d.ts +++ /dev/null @@ -1,65 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The UsageRecord object. - */ - interface UsageRecord { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'usage_record'; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * The usage quantity for the specified date. - */ - quantity: number; - - /** - * The ID of the subscription item this usage record contains data for. - */ - subscription_item: string; - - /** - * The timestamp when this usage occurred. - */ - timestamp: number; - } - - interface UsageRecordCreateParams { - /** - * The usage quantity for the specified timestamp. - */ - quantity: number; - - /** - * The timestamp for the usage event. This timestamp must be within the current billing period of the subscription of the provided `subscription_item`. - */ - timestamp: number; - - /** - * Valid values are `increment` (default) or `set`. When using `increment` the specified `quantity` will be added to the usage at the specified timestamp. The `set` action will overwrite the usage quantity at that timestamp. If the subscription has [billing thresholds](https://stripe.com/docs/api/subscriptions/object#subscription_object-billing_thresholds), `increment` is the only allowed value. - */ - action?: UsageRecordCreateParams.Action; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - namespace UsageRecordCreateParams { - type Action = 'increment' | 'set'; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/WebhookEndpoints.d.ts b/node_modules/stripe/types/2020-08-27/WebhookEndpoints.d.ts deleted file mode 100644 index 9fad39ca..00000000 --- a/node_modules/stripe/types/2020-08-27/WebhookEndpoints.d.ts +++ /dev/null @@ -1,666 +0,0 @@ -// File generated from our OpenAPI spec -declare module 'stripe' { - namespace Stripe { - /** - * The WebhookEndpoint object. - */ - interface WebhookEndpoint { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'webhook_endpoint'; - - /** - * The API version events are rendered as for this webhook endpoint. - */ - api_version: string | null; - - /** - * The ID of the associated Connect application. - */ - application: string | null; - - /** - * Time at which the object was created. Measured in seconds since the Unix epoch. - */ - created: number; - - deleted?: void; - - /** - * An optional description of what the webhook is used for. - */ - description: string | null; - - /** - * The list of events to enable for this endpoint. `['*']` indicates that all events are enabled, except those that require explicit selection. - */ - enabled_events: Array; - - /** - * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. - */ - livemode: boolean; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - metadata: Stripe.Metadata; - - /** - * The endpoint's secret, used to generate [webhook signatures](https://stripe.com/docs/webhooks/signatures). Only returned at creation. - */ - secret?: string; - - /** - * The status of the webhook. It can be `enabled` or `disabled`. - */ - status: string; - - /** - * The URL of the webhook endpoint. - */ - url: string; - } - - /** - * The DeletedWebhookEndpoint object. - */ - interface DeletedWebhookEndpoint { - /** - * Unique identifier for the object. - */ - id: string; - - /** - * String representing the object's type. Objects of the same type share the same value. - */ - object: 'webhook_endpoint'; - - /** - * Always true for a deleted object - */ - deleted: true; - } - - interface WebhookEndpointCreateParams { - /** - * The list of events to enable for this endpoint. You may specify `['*']` to enable all events, except those that require explicit selection. - */ - enabled_events: Array; - - /** - * The URL of the webhook endpoint. - */ - url: string; - - /** - * Events sent to this endpoint will be generated with this Stripe Version instead of your account's default Stripe Version. - */ - api_version?: WebhookEndpointCreateParams.ApiVersion; - - /** - * Whether this endpoint should receive events from connected accounts (`true`), or from your account (`false`). Defaults to `false`. - */ - connect?: boolean; - - /** - * An optional description of what the webhook is used for. - */ - description?: string; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - } - - namespace WebhookEndpointCreateParams { - type ApiVersion = - | '2011-01-01' - | '2011-06-21' - | '2011-06-28' - | '2011-08-01' - | '2011-09-15' - | '2011-11-17' - | '2012-02-23' - | '2012-03-25' - | '2012-06-18' - | '2012-06-28' - | '2012-07-09' - | '2012-09-24' - | '2012-10-26' - | '2012-11-07' - | '2013-02-11' - | '2013-02-13' - | '2013-07-05' - | '2013-08-12' - | '2013-08-13' - | '2013-10-29' - | '2013-12-03' - | '2014-01-31' - | '2014-03-13' - | '2014-03-28' - | '2014-05-19' - | '2014-06-13' - | '2014-06-17' - | '2014-07-22' - | '2014-07-26' - | '2014-08-04' - | '2014-08-20' - | '2014-09-08' - | '2014-10-07' - | '2014-11-05' - | '2014-11-20' - | '2014-12-08' - | '2014-12-17' - | '2014-12-22' - | '2015-01-11' - | '2015-01-26' - | '2015-02-10' - | '2015-02-16' - | '2015-02-18' - | '2015-03-24' - | '2015-04-07' - | '2015-06-15' - | '2015-07-07' - | '2015-07-13' - | '2015-07-28' - | '2015-08-07' - | '2015-08-19' - | '2015-09-03' - | '2015-09-08' - | '2015-09-23' - | '2015-10-01' - | '2015-10-12' - | '2015-10-16' - | '2016-02-03' - | '2016-02-19' - | '2016-02-22' - | '2016-02-23' - | '2016-02-29' - | '2016-03-07' - | '2016-06-15' - | '2016-07-06' - | '2016-10-19' - | '2017-01-27' - | '2017-02-14' - | '2017-04-06' - | '2017-05-25' - | '2017-06-05' - | '2017-08-15' - | '2017-12-14' - | '2018-01-23' - | '2018-02-05' - | '2018-02-06' - | '2018-02-28' - | '2018-05-21' - | '2018-07-27' - | '2018-08-23' - | '2018-09-06' - | '2018-09-24' - | '2018-10-31' - | '2018-11-08' - | '2019-02-11' - | '2019-02-19' - | '2019-03-14' - | '2019-05-16' - | '2019-08-14' - | '2019-09-09' - | '2019-10-08' - | '2019-10-17' - | '2019-11-05' - | '2019-12-03' - | '2020-03-02' - | '2020-08-27'; - - type EnabledEvent = - | '*' - | 'account.application.authorized' - | 'account.application.deauthorized' - | 'account.external_account.created' - | 'account.external_account.deleted' - | 'account.external_account.updated' - | 'account.updated' - | 'application_fee.created' - | 'application_fee.refund.updated' - | 'application_fee.refunded' - | 'balance.available' - | 'capability.updated' - | 'charge.captured' - | 'charge.dispute.closed' - | 'charge.dispute.created' - | 'charge.dispute.funds_reinstated' - | 'charge.dispute.funds_withdrawn' - | 'charge.dispute.updated' - | 'charge.expired' - | 'charge.failed' - | 'charge.pending' - | 'charge.refund.updated' - | 'charge.refunded' - | 'charge.succeeded' - | 'charge.updated' - | 'checkout.session.async_payment_failed' - | 'checkout.session.async_payment_succeeded' - | 'checkout.session.completed' - | 'coupon.created' - | 'coupon.deleted' - | 'coupon.updated' - | 'credit_note.created' - | 'credit_note.updated' - | 'credit_note.voided' - | 'customer.created' - | 'customer.deleted' - | 'customer.discount.created' - | 'customer.discount.deleted' - | 'customer.discount.updated' - | 'customer.source.created' - | 'customer.source.deleted' - | 'customer.source.expiring' - | 'customer.source.updated' - | 'customer.subscription.created' - | 'customer.subscription.deleted' - | 'customer.subscription.pending_update_applied' - | 'customer.subscription.pending_update_expired' - | 'customer.subscription.trial_will_end' - | 'customer.subscription.updated' - | 'customer.tax_id.created' - | 'customer.tax_id.deleted' - | 'customer.tax_id.updated' - | 'customer.updated' - | 'file.created' - | 'invoice.created' - | 'invoice.deleted' - | 'invoice.finalization_failed' - | 'invoice.finalized' - | 'invoice.marked_uncollectible' - | 'invoice.paid' - | 'invoice.payment_action_required' - | 'invoice.payment_failed' - | 'invoice.payment_succeeded' - | 'invoice.sent' - | 'invoice.upcoming' - | 'invoice.updated' - | 'invoice.voided' - | 'invoiceitem.created' - | 'invoiceitem.deleted' - | 'invoiceitem.updated' - | 'issuing_authorization.created' - | 'issuing_authorization.request' - | 'issuing_authorization.updated' - | 'issuing_card.created' - | 'issuing_card.updated' - | 'issuing_cardholder.created' - | 'issuing_cardholder.updated' - | 'issuing_dispute.closed' - | 'issuing_dispute.created' - | 'issuing_dispute.funds_reinstated' - | 'issuing_dispute.submitted' - | 'issuing_dispute.updated' - | 'issuing_transaction.created' - | 'issuing_transaction.updated' - | 'mandate.updated' - | 'order.created' - | 'order.payment_failed' - | 'order.payment_succeeded' - | 'order.updated' - | 'order_return.created' - | 'payment_intent.amount_capturable_updated' - | 'payment_intent.canceled' - | 'payment_intent.created' - | 'payment_intent.payment_failed' - | 'payment_intent.processing' - | 'payment_intent.requires_action' - | 'payment_intent.succeeded' - | 'payment_method.attached' - | 'payment_method.automatically_updated' - | 'payment_method.detached' - | 'payment_method.updated' - | 'payout.canceled' - | 'payout.created' - | 'payout.failed' - | 'payout.paid' - | 'payout.updated' - | 'person.created' - | 'person.deleted' - | 'person.updated' - | 'plan.created' - | 'plan.deleted' - | 'plan.updated' - | 'price.created' - | 'price.deleted' - | 'price.updated' - | 'product.created' - | 'product.deleted' - | 'product.updated' - | 'promotion_code.created' - | 'promotion_code.updated' - | 'radar.early_fraud_warning.created' - | 'radar.early_fraud_warning.updated' - | 'recipient.created' - | 'recipient.deleted' - | 'recipient.updated' - | 'reporting.report_run.failed' - | 'reporting.report_run.succeeded' - | 'reporting.report_type.updated' - | 'review.closed' - | 'review.opened' - | 'setup_intent.canceled' - | 'setup_intent.created' - | 'setup_intent.requires_action' - | 'setup_intent.setup_failed' - | 'setup_intent.succeeded' - | 'sigma.scheduled_query_run.created' - | 'sku.created' - | 'sku.deleted' - | 'sku.updated' - | 'source.canceled' - | 'source.chargeable' - | 'source.failed' - | 'source.mandate_notification' - | 'source.refund_attributes_required' - | 'source.transaction.created' - | 'source.transaction.updated' - | 'subscription_schedule.aborted' - | 'subscription_schedule.canceled' - | 'subscription_schedule.completed' - | 'subscription_schedule.created' - | 'subscription_schedule.expiring' - | 'subscription_schedule.released' - | 'subscription_schedule.updated' - | 'tax_rate.created' - | 'tax_rate.updated' - | 'topup.canceled' - | 'topup.created' - | 'topup.failed' - | 'topup.reversed' - | 'topup.succeeded' - | 'transfer.created' - | 'transfer.failed' - | 'transfer.paid' - | 'transfer.reversed' - | 'transfer.updated'; - } - - interface WebhookEndpointRetrieveParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface WebhookEndpointUpdateParams { - /** - * An optional description of what the webhook is used for. - */ - description?: string; - - /** - * Disable the webhook endpoint if set to true. - */ - disabled?: boolean; - - /** - * The list of events to enable for this endpoint. You may specify `['*']` to enable all events, except those that require explicit selection. - */ - enabled_events?: Array; - - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - - /** - * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. - */ - metadata?: Stripe.Emptyable; - - /** - * The URL of the webhook endpoint. - */ - url?: string; - } - - namespace WebhookEndpointUpdateParams { - type EnabledEvent = - | '*' - | 'account.application.authorized' - | 'account.application.deauthorized' - | 'account.external_account.created' - | 'account.external_account.deleted' - | 'account.external_account.updated' - | 'account.updated' - | 'application_fee.created' - | 'application_fee.refund.updated' - | 'application_fee.refunded' - | 'balance.available' - | 'capability.updated' - | 'charge.captured' - | 'charge.dispute.closed' - | 'charge.dispute.created' - | 'charge.dispute.funds_reinstated' - | 'charge.dispute.funds_withdrawn' - | 'charge.dispute.updated' - | 'charge.expired' - | 'charge.failed' - | 'charge.pending' - | 'charge.refund.updated' - | 'charge.refunded' - | 'charge.succeeded' - | 'charge.updated' - | 'checkout.session.async_payment_failed' - | 'checkout.session.async_payment_succeeded' - | 'checkout.session.completed' - | 'coupon.created' - | 'coupon.deleted' - | 'coupon.updated' - | 'credit_note.created' - | 'credit_note.updated' - | 'credit_note.voided' - | 'customer.created' - | 'customer.deleted' - | 'customer.discount.created' - | 'customer.discount.deleted' - | 'customer.discount.updated' - | 'customer.source.created' - | 'customer.source.deleted' - | 'customer.source.expiring' - | 'customer.source.updated' - | 'customer.subscription.created' - | 'customer.subscription.deleted' - | 'customer.subscription.pending_update_applied' - | 'customer.subscription.pending_update_expired' - | 'customer.subscription.trial_will_end' - | 'customer.subscription.updated' - | 'customer.tax_id.created' - | 'customer.tax_id.deleted' - | 'customer.tax_id.updated' - | 'customer.updated' - | 'file.created' - | 'invoice.created' - | 'invoice.deleted' - | 'invoice.finalization_failed' - | 'invoice.finalized' - | 'invoice.marked_uncollectible' - | 'invoice.paid' - | 'invoice.payment_action_required' - | 'invoice.payment_failed' - | 'invoice.payment_succeeded' - | 'invoice.sent' - | 'invoice.upcoming' - | 'invoice.updated' - | 'invoice.voided' - | 'invoiceitem.created' - | 'invoiceitem.deleted' - | 'invoiceitem.updated' - | 'issuing_authorization.created' - | 'issuing_authorization.request' - | 'issuing_authorization.updated' - | 'issuing_card.created' - | 'issuing_card.updated' - | 'issuing_cardholder.created' - | 'issuing_cardholder.updated' - | 'issuing_dispute.closed' - | 'issuing_dispute.created' - | 'issuing_dispute.funds_reinstated' - | 'issuing_dispute.submitted' - | 'issuing_dispute.updated' - | 'issuing_transaction.created' - | 'issuing_transaction.updated' - | 'mandate.updated' - | 'order.created' - | 'order.payment_failed' - | 'order.payment_succeeded' - | 'order.updated' - | 'order_return.created' - | 'payment_intent.amount_capturable_updated' - | 'payment_intent.canceled' - | 'payment_intent.created' - | 'payment_intent.payment_failed' - | 'payment_intent.processing' - | 'payment_intent.requires_action' - | 'payment_intent.succeeded' - | 'payment_method.attached' - | 'payment_method.automatically_updated' - | 'payment_method.detached' - | 'payment_method.updated' - | 'payout.canceled' - | 'payout.created' - | 'payout.failed' - | 'payout.paid' - | 'payout.updated' - | 'person.created' - | 'person.deleted' - | 'person.updated' - | 'plan.created' - | 'plan.deleted' - | 'plan.updated' - | 'price.created' - | 'price.deleted' - | 'price.updated' - | 'product.created' - | 'product.deleted' - | 'product.updated' - | 'promotion_code.created' - | 'promotion_code.updated' - | 'radar.early_fraud_warning.created' - | 'radar.early_fraud_warning.updated' - | 'recipient.created' - | 'recipient.deleted' - | 'recipient.updated' - | 'reporting.report_run.failed' - | 'reporting.report_run.succeeded' - | 'reporting.report_type.updated' - | 'review.closed' - | 'review.opened' - | 'setup_intent.canceled' - | 'setup_intent.created' - | 'setup_intent.requires_action' - | 'setup_intent.setup_failed' - | 'setup_intent.succeeded' - | 'sigma.scheduled_query_run.created' - | 'sku.created' - | 'sku.deleted' - | 'sku.updated' - | 'source.canceled' - | 'source.chargeable' - | 'source.failed' - | 'source.mandate_notification' - | 'source.refund_attributes_required' - | 'source.transaction.created' - | 'source.transaction.updated' - | 'subscription_schedule.aborted' - | 'subscription_schedule.canceled' - | 'subscription_schedule.completed' - | 'subscription_schedule.created' - | 'subscription_schedule.expiring' - | 'subscription_schedule.released' - | 'subscription_schedule.updated' - | 'tax_rate.created' - | 'tax_rate.updated' - | 'topup.canceled' - | 'topup.created' - | 'topup.failed' - | 'topup.reversed' - | 'topup.succeeded' - | 'transfer.created' - | 'transfer.failed' - | 'transfer.paid' - | 'transfer.reversed' - | 'transfer.updated'; - } - - interface WebhookEndpointListParams extends PaginationParams { - /** - * Specifies which fields in the response should be expanded. - */ - expand?: Array; - } - - interface WebhookEndpointDeleteParams {} - - class WebhookEndpointsResource { - /** - * A webhook endpoint must have a url and a list of enabled_events. You may optionally specify the Boolean connect parameter. If set to true, then a Connect webhook endpoint that notifies the specified url about events from all connected accounts is created; otherwise an account webhook endpoint that notifies the specified url only about events from your account is created. You can also create webhook endpoints in the [webhooks settings](https://dashboard.stripe.com/account/webhooks) section of the Dashboard. - */ - create( - params: WebhookEndpointCreateParams, - options?: RequestOptions - ): Promise>; - - /** - * Retrieves the webhook endpoint with the given ID. - */ - retrieve( - id: string, - params?: WebhookEndpointRetrieveParams, - options?: RequestOptions - ): Promise>; - retrieve( - id: string, - options?: RequestOptions - ): Promise>; - - /** - * Updates the webhook endpoint. You may edit the url, the list of enabled_events, and the status of your endpoint. - */ - update( - id: string, - params?: WebhookEndpointUpdateParams, - options?: RequestOptions - ): Promise>; - - /** - * Returns a list of your webhook endpoints. - */ - list( - params?: WebhookEndpointListParams, - options?: RequestOptions - ): ApiListPromise; - list(options?: RequestOptions): ApiListPromise; - - /** - * You can also delete webhook endpoints via the [webhook endpoint management](https://dashboard.stripe.com/account/webhooks) page of the Stripe dashboard. - */ - del( - id: string, - params?: WebhookEndpointDeleteParams, - options?: RequestOptions - ): Promise>; - del( - id: string, - options?: RequestOptions - ): Promise>; - } - } -} diff --git a/node_modules/stripe/types/2020-08-27/index.d.ts b/node_modules/stripe/types/2020-08-27/index.d.ts deleted file mode 100644 index 4dc03032..00000000 --- a/node_modules/stripe/types/2020-08-27/index.d.ts +++ /dev/null @@ -1,231 +0,0 @@ -// File generated from our OpenAPI spec -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// -/// - -declare module 'stripe' { - // Added to in other modules, referenced above. - export namespace Stripe {} - - export class Stripe { - static Stripe: typeof Stripe; - - constructor(apiKey: string, config: Stripe.StripeConfig); - - setAppInfo(info: Stripe.AppInfo): void; - - StripeResource: Stripe.StripeResource; - - /** - * Top Level Resources - */ - accounts: Stripe.AccountsResource; - accountLinks: Stripe.AccountLinksResource; - applePayDomains: Stripe.ApplePayDomainsResource; - applicationFees: Stripe.ApplicationFeesResource; - balance: Stripe.BalanceResource; - balanceTransactions: Stripe.BalanceTransactionsResource; - charges: Stripe.ChargesResource; - countrySpecs: Stripe.CountrySpecsResource; - coupons: Stripe.CouponsResource; - creditNotes: Stripe.CreditNotesResource; - customers: Stripe.CustomersResource; - disputes: Stripe.DisputesResource; - ephemeralKeys: Stripe.EphemeralKeysResource; - events: Stripe.EventsResource; - exchangeRates: Stripe.ExchangeRatesResource; - files: Stripe.FilesResource; - fileLinks: Stripe.FileLinksResource; - invoices: Stripe.InvoicesResource; - invoiceItems: Stripe.InvoiceItemsResource; - issuerFraudRecords: Stripe.IssuerFraudRecordsResource; - mandates: Stripe.MandatesResource; - orders: Stripe.OrdersResource; - orderReturns: Stripe.OrderReturnsResource; - paymentIntents: Stripe.PaymentIntentsResource; - paymentMethods: Stripe.PaymentMethodsResource; - payouts: Stripe.PayoutsResource; - plans: Stripe.PlansResource; - prices: Stripe.PricesResource; - products: Stripe.ProductsResource; - promotionCodes: Stripe.PromotionCodesResource; - refunds: Stripe.RefundsResource; - reviews: Stripe.ReviewsResource; - setupAttempts: Stripe.SetupAttemptsResource; - setupIntents: Stripe.SetupIntentsResource; - skus: Stripe.SkusResource; - sources: Stripe.SourcesResource; - subscriptions: Stripe.SubscriptionsResource; - subscriptionItems: Stripe.SubscriptionItemsResource; - subscriptionSchedules: Stripe.SubscriptionSchedulesResource; - taxRates: Stripe.TaxRatesResource; - tokens: Stripe.TokensResource; - topups: Stripe.TopupsResource; - transfers: Stripe.TransfersResource; - webhookEndpoints: Stripe.WebhookEndpointsResource; - webhooks: Stripe.Webhooks; - oauth: Stripe.OAuthResource; - - /** - * Namespaced Resources - */ - billingPortal: {sessions: Stripe.BillingPortal.SessionsResource}; - checkout: {sessions: Stripe.Checkout.SessionsResource}; - issuing: { - authorizations: Stripe.Issuing.AuthorizationsResource; - cards: Stripe.Issuing.CardsResource; - cardholders: Stripe.Issuing.CardholdersResource; - disputes: Stripe.Issuing.DisputesResource; - transactions: Stripe.Issuing.TransactionsResource; - }; - radar: { - earlyFraudWarnings: Stripe.Radar.EarlyFraudWarningsResource; - valueLists: Stripe.Radar.ValueListsResource; - valueListItems: Stripe.Radar.ValueListItemsResource; - }; - reporting: { - reportRuns: Stripe.Reporting.ReportRunsResource; - reportTypes: Stripe.Reporting.ReportTypesResource; - }; - sigma: {scheduledQueryRuns: Stripe.Sigma.ScheduledQueryRunsResource}; - terminal: { - connectionTokens: Stripe.Terminal.ConnectionTokensResource; - locations: Stripe.Terminal.LocationsResource; - readers: Stripe.Terminal.ReadersResource; - }; - - /** - * API Errors - */ - static errors: Stripe.Errors; - errors: Stripe.Errors; - - on(event: 'request', handler: (event: Stripe.RequestEvent) => void): void; - on(event: 'response', handler: (event: Stripe.ResponseEvent) => void): void; - once(event: 'request', handler: (event: Stripe.RequestEvent) => void): void; - once( - event: 'response', - handler: (event: Stripe.ResponseEvent) => void - ): void; - off(event: 'request', handler: (event: Stripe.RequestEvent) => void): void; - off( - event: 'response', - handler: (event: Stripe.ResponseEvent) => void - ): void; - - setProtocol(protocol: string): void; - - /** @deprecated Please use the StripeConfig object instead. */ - setHost(host: string, port?: string | number, protocol?: string): void; - - /** @deprecated Please use the StripeConfig object instead. */ - setPort(port: string | number): void; - /** @deprecated Please use the StripeConfig object instead. */ - setApiVersion(version: Stripe.LatestApiVersion): void; - /** @deprecated Please use the StripeConfig object instead. */ - setApiKey(key: string): void; - - /** @deprecated Please use the StripeConfig object instead. */ - setTimeout(timeout?: number): void; - /** @deprecated Please use the StripeConfig object instead. */ - setMaxNetworkRetries(maxNetworkRetries: number): void; - /** @deprecated Please use the StripeConfig object instead. */ - setTelemetryEnabled(enabled: boolean): void; - /** @deprecated Please use the StripeConfig object instead. */ - setHttpAgent(agent: Stripe.HttpAgent): void; - } - - export default Stripe; -} diff --git a/node_modules/stripe/types/Errors.d.ts b/node_modules/stripe/types/Errors.d.ts deleted file mode 100644 index fba17b00..00000000 --- a/node_modules/stripe/types/Errors.d.ts +++ /dev/null @@ -1,230 +0,0 @@ -declare module 'stripe' { - namespace Stripe { - export type Errors = { - generate: typeof StripeError.generate; - StripeError: typeof StripeError; - StripeCardError: typeof StripeCardError; - StripeInvalidRequestError: typeof StripeInvalidRequestError; - StripeAPIError: typeof StripeAPIError; - StripeAuthenticationError: typeof StripeAuthenticationError; - StripePermissionError: typeof StripePermissionError; - StripeRateLimitError: typeof StripeRateLimitError; - StripeConnectionError: typeof StripeConnectionError; - StripeSignatureVerificationError: typeof StripeSignatureVerificationError; - StripeIdempotencyError: typeof StripeIdempotencyError; - StripeInvalidGrantError: typeof StripeInvalidGrantError; - }; - - export type RawErrorType = - | 'card_error' - | 'invalid_request_error' - | 'api_error' - | 'idempotency_error' - | 'rate_limit_error' - | 'authentication_error' - | 'invalid_grant'; - - type StripeRawError = { - message?: string; - - type: RawErrorType; - - headers?: {[header: string]: string}; - statusCode?: number; - requestId?: string; - - code?: string; - doc_code?: string; - decline_code?: string; - param?: string; - detail?: string; - - charge?: string; - payment_intent?: Stripe.PaymentIntent; - payment_method?: Stripe.PaymentMethod; - setup_intent?: Stripe.SetupIntent; - source?: Stripe.Source; - }; - - class StripeError extends Error { - constructor(rawError: StripeRawError); - - static generate( - rawError: StripeRawError & {type: 'card_error'} - ): StripeCardError; - static generate( - rawError: StripeRawError & {type: 'invalid_request_error'} - ): StripeInvalidRequestError; - static generate( - rawError: StripeRawError & {type: 'api_error'} - ): StripeAPIError; - static generate( - rawError: StripeRawError & {type: 'authentication_error'} - ): StripeAuthenticationError; - static generate( - rawError: StripeRawError & {type: 'rate_limit_error'} - ): StripeRateLimitError; - static generate( - rawError: StripeRawError & {type: 'idempotency_error'} - ): StripeIdempotencyError; - static generate( - rawError: StripeRawError & {type: 'invalid_grant'} - ): StripeInvalidGrantError; - static generate( - rawError: StripeRawError & {type: RawErrorType} - ): StripeError; - - /** - * A human-readable message giving more details about the error. For card errors, these messages can - * be shown to your users. - */ - readonly message: string; - - readonly type: keyof Errors; - - /** - * See the "error types" section at https://stripe.com/docs/api/errors - */ - readonly rawType: RawErrorType; - - /** - * For card errors, a short string describing the kind of card error that occurred. - * - * @docs https://stripe.com/docs/error-codes - */ - readonly code?: string; - - /** - * A URL to more information about the error code reported. - * - * @docs https://stripe.com/docs/error-codes - */ - readonly doc_url?: string; - - /** - * Typically a 4xx or 5xx. - */ - readonly statusCode?: number; - - readonly raw: unknown; - - readonly headers: { - [key: string]: string; - }; - - readonly requestId: string; - - /** - * The parameter the error relates to if the error is parameter-specific. You can use this to display a - * message near the correct form field, for example. - */ - readonly param?: string; - - /** @deprecated */ - readonly detail?: unknown; - - readonly charge?: string; - readonly decline_code?: string; - readonly payment_intent?: PaymentIntent; - readonly payment_method?: PaymentMethod; - readonly payment_method_type?: string; - readonly setup_intent?: SetupIntent; - readonly source?: Source; - } - - /** - * Card errors are the most common type of error you should expect to handle. - * They result when the user enters a card that can't be charged for some reason. - */ - class StripeCardError extends StripeError { - readonly type: 'StripeCardError'; - readonly rawType: 'card_error'; - - /** - * @docs https://stripe.com/docs/declines/codes - */ - readonly decline_code: string; - } - - /** - * Invalid request errors arise when your request has invalid parameters. - */ - class StripeInvalidRequestError extends StripeError { - readonly type: 'StripeInvalidRequestError'; - readonly rawType: 'invalid_request_error'; - } - - /** - * API errors cover any other type of problem (e.g., a temporary problem with Stripe's servers), - * and are extremely uncommon. - * - * It could also be raised in the case that a new error has been introduced in the API, - * but this version of the library doesn't know how to handle it. - */ - class StripeAPIError extends StripeError { - readonly type: 'StripeAPIError'; - readonly rawType: 'api_error'; - } - - /** - * Failure to properly authenticate yourself in the request. - */ - class StripeAuthenticationError extends StripeError { - readonly type: 'StripeAuthenticationError'; - readonly rawType: 'authentication_error'; - } - - /** - * Access was attempted on a resource that wasn't allowed. - */ - class StripePermissionError extends StripeError { - readonly type: 'StripePermissionError'; - } - - /** - * Too many requests hit the API too quickly. - * @docs https://stripe.com/docs/rate-limits - */ - class StripeRateLimitError extends StripeError { - readonly type: 'StripeRateLimitError'; - readonly rawType: 'rate_limit_error'; - } - - /** - * The library cannot connect to Stripe. - * This can happen for a variety of reasons, - * such as loss of network connectivity or a bad TLS certificate. - */ - class StripeConnectionError extends StripeError { - readonly type: 'StripeConnectionError'; - } - - /** - * The signature verification for a webhook failed. - * @docs https://stripe.com/docs/webhooks/signatures - */ - class StripeSignatureVerificationError extends StripeError { - readonly type: 'StripeSignatureVerificationError'; - } - - /** - * Idempotency errors occur when an `Idempotency-Key` is re-used on a request that does not match the first request's API endpoint and parameters. - * @docs https://stripe.com/docs/api/idempotent_requests?lang=node - */ - class StripeIdempotencyError extends StripeError { - readonly type: 'StripeIdempotencyError'; - readonly rawType: 'idempotency_error'; - } - - /** - * InvalidGrantError is raised when a specified code doesn't exist, is - * expired, has been used, or doesn't belong to you; a refresh token doesn't - * exist, or doesn't belong to you; or if an API key's mode (live or test) - * doesn't match the mode of a code or refresh token. - */ - class StripeInvalidGrantError extends StripeError { - readonly type: 'StripeInvalidGrantError'; - readonly rawType: 'invalid_grant'; - } - } -} diff --git a/node_modules/stripe/types/OAuth.d.ts b/node_modules/stripe/types/OAuth.d.ts deleted file mode 100644 index 11cb5ebb..00000000 --- a/node_modules/stripe/types/OAuth.d.ts +++ /dev/null @@ -1,355 +0,0 @@ -declare module 'stripe' { - namespace Stripe { - interface OAuthToken { - /** - * The access token you can use to make requests on behalf of this Stripe account. Use it as you would any Stripe secret API key. - * This key does not expire, but may be revoked by the user at any time (you'll get a account.application.deauthorized webhook event when this happens). - */ - access_token?: string; - - /** - * The scope granted to the access token, depending on the scope of the authorization code and scope parameter. - */ - scope?: string; - - /** - * The live mode indicator for the token. If true, the access_token can be used as a live secret key. If false, the access_token can be used as a test secret key. - * Depends on the mode of the secret API key used to make the request. - */ - livemode?: boolean; - - /** - * Will always have a value of bearer. - */ - token_type?: 'bearer'; - - /** - * Can be used to get a new access token of an equal or lesser scope, or of a different live mode (where applicable). - */ - refresh_token?: string; - - /** - * The unique id of the account you have been granted access to, as a string. - */ - stripe_user_id?: string; - - /** - * A publishable key that can be used with this account. Matches the mode—live or test—of the token. - */ - stripe_publishable_key?: string; - } - - interface OAuthDeauthorization { - /** - * The unique id of the account you have revoked access to, as a string. - * This is the same as the stripe_user_id you passed in. - * If this is returned, the revocation was successful. - */ - stripe_user_id: string; - } - - interface OAuthAuthorizeUrlParams { - /** - * The unique identifier provided to your application, found in your application settings. - */ - client_id: string; - - /** - * The only option at the moment is `'code'`. - */ - response_type: 'code'; - - /** - * The URL for the authorize response redirect. If provided, this must exactly match one of the comma-separated redirect_uri values in your application settings. - * To protect yourself from certain forms of man-in-the-middle attacks, the live mode redirect_uri must use a secure HTTPS connection. - * Defaults to the redirect_uri in your application settings if not provided. - */ - redirect_uri?: string; - - /** - * read_write or read_only, depending on the level of access you need. - * - * Defaults to read_only. - */ - scope?: string; - - /** - * An arbitrary string value we will pass back to you, useful for CSRF protection. - */ - state?: string; - - /** - * login or register, depending on what type of screen you want your users to see. Only override this to be login if you expect all your users to have Stripe accounts already (e.g., most read-only applications, like analytics dashboards or accounting software). - * Defaults to login for scope read_only and register for scope read_write. - */ - stripe_landing?: string; - - /** - * Boolean to indicate that the user should always be asked to connect, even if they're already connected. - * Defaults to false. - */ - always_prompt?: boolean; - - /** - * Express only - * An array of capabilities to apply to the connected account. - */ - suggested_capabilities?: Array; - - /** - * Stripe will use these to prefill details in the account form for new users. - * Some prefilled fields (e.g., URL or product category) may be automatically hidden from the user's view. - * Any parameters with invalid values will be silently ignored. - */ - stripe_user?: OAuthAuthorizeUrlParams.StripeUser; - } - - namespace OAuthAuthorizeUrlParams { - interface StripeUser { - /** - * Recommended - * The user's email address. Must be a valid email format. - */ - email?: string; - - /** - * Recommended - * The URL for the user's business. This may be the user's website, a profile page within your application, or another publicly available profile for the business, such as a LinkedIn or Facebook profile. - * Must be URL-encoded and include a scheme (http or https). - * If you will be prefilling this field, we highly recommend that the linked page contain a description of the user's products or services and their contact information. If we don't have enough information, we'll have to reach out to the user directly before initiating payouts. - */ - url?: string; - - /** - * Two-letter country code (e.g., US or CA). - * Must be a country that Stripe currently supports. - */ - country?: string; - - /** - * The business phone number. Must be 10 digits only. - * Must also prefill stripe_user[country] with the corresponding country. - */ - phone_number?: string; - - /** - * The legal name of the business, also used for the statement descriptor. - */ - business_name?: string; - - /** - * The type of the business. - * Must be one of sole_prop, corporation, non_profit, partnership, or llc. - */ - business_type?: string; - - /** - * First name of the person who will be filling out a Stripe application. - */ - first_name?: string; - - /** - * Last name of the person who will be filling out a Stripe application. - */ - last_name?: string; - - /** - * Day (0-31), month (1-12), and year (YYYY, greater than 1900) for the birth date of the person who will be filling out a Stripe application. - * If you choose to pass these parameters, you must pass all three. - */ - dob_day?: string; - - /** - * Day (0-31), month (1-12), and year (YYYY, greater than 1900) for the birth date of the person who will be filling out a Stripe application. - * If you choose to pass these parameters, you must pass all three. - */ - dob_month?: string; - - /** - * Day (0-31), month (1-12), and year (YYYY, greater than 1900) for the birth date of the person who will be filling out a Stripe application. - * If you choose to pass these parameters, you must pass all three. - */ - dob_year?: string; - - /** - * Standard only - * Street address of the business. - */ - street_address?: string; - - /** - * Standard only - * Address city of the business. - * We highly recommend that you also prefill stripe_user[country] with the corresponding country. - */ - city?: string; - - /** - * Standard only - * Address state of the business. Must be the two-letter state or province code (e.g., NY for a U.S. business or AB for a Canadian one). - * Must also prefill stripe_user[country] with the corresponding country. - */ - state?: string; - - /** - * Standard only - * Address ZIP code of the business. Must be a string. - * We highly recommend that you also prefill stripe_user[country] with the corresponding country. - */ - zip?: string; - - /** - * Standard only - * A string: true if the user sells a physical product, false otherwise. - */ - physical_product?: string; - - /** - * A description of what the business is accepting payments for. - */ - product_description?: string; - - /** - * Standard only - * Three-letter ISO code representing currency, in lowercase (e.g., usd or cad). - * Must be a valid country and currency combination that Stripe supports. - * Must prefill stripe_user[country] with the corresponding country. - */ - currency?: string; - - /** - * The Kana variation of the first name of the person who will be filling out a Stripe application. - * Must prefill stripe_user[country] with JP, as this parameter is only relevant for Japan. - */ - first_name_kana?: string; - - /** - * The Kanji variation of the first name of the person who will be filling out a Stripe application. - * Must prefill stripe_user[country] with JP, as this parameter is only relevant for Japan. - */ - first_name_kanji?: string; - - /** - * The Kana variation of the last name of the person who will be filling out a Stripe application. - * Must prefill stripe_user[country] with JP, as this parameter is only relevant for Japan. - */ - last_name_kana?: string; - - /** - * The Kanji variation of the last name of the person who will be filling out a Stripe application. - * Must prefill stripe_user[country] with JP, as this parameter is only relevant for Japan. - */ - last_name_kanji?: string; - - /** - * The gender of the person who will be filling out a Stripe application. (International regulations require either male or female.) - * Must prefill stripe_user[country] with JP, as this parameter is only relevant for Japan. - */ - gender?: string; - - /** - * Standard only - * The Kana variation of the address block. - * This parameter is only relevant for Japan. You must prefill stripe_user[country] with JP and stripe_user[zip] with a valid Japanese postal code to use this parameter. - */ - block_kana?: string; - - /** - * Standard only - * The Kanji variation of the address block. - * This parameter is only relevant for Japan. You must prefill stripe_user[country] with JP and stripe_user[zip] with a valid Japanese postal code to use this parameter. - */ - block_kanji?: string; - - /** - * Standard only - * The Kana variation of the address building. - * This parameter is only relevant for Japan. You must prefill stripe_user[country] with JP and stripe_user[zip] with a valid Japanese postal code to use this parameter. - */ - building_kana?: string; - - /** - * Standard only - * The Kanji variation of the address building. - * This parameter is only relevant for Japan. You must prefill stripe_user[country] with JP and stripe_user[zip] with a valid Japanese postal code to use this parameter. - */ - building_kanji?: string; - } - } - - interface OAuthAuthorizeUrlOptions { - express?: boolean; - } - - interface OAuthDeauthorizeParams { - /** - * The client_id of the application that you'd like to disconnect the account from. - * The account must be connected to this application. - */ - client_id: string; - - /** - * The account you'd like to disconnect from. - */ - stripe_user_id: string; - } - - interface OAuthTokenParams { - /** - * `'authorization_code'` when turning an authorization code into an access token, or `'refresh_token'` when using a refresh token to get a new access token. - */ - grant_type: 'authorization_code' | 'refresh_token'; - - /** - * The value of the code or refresh_token, depending on the grant_type. - */ - code?: string; - - /** - * The value of the code or refresh_token, depending on the grant_type. - */ - refresh_token?: string; - - /** - * When requesting a new access token from a refresh token, any scope that has an equal or lesser scope as the refresh token. Has no effect when requesting an access token from an authorization code. - * Defaults to the scope of the refresh token. - */ - scope?: string; - - /** - * Express only - * Check whether the suggested_capabilities were applied to the connected account. - */ - assert_capabilities?: Array; - } - - export class OAuthResource { - /** - * Get a URL to which you can send a user to complete the OAuth flow to authorize their account. - * @docs https://stripe.com/docs/connect/oauth-reference#get-authorize - */ - authorizeUrl( - params?: OAuthAuthorizeUrlParams, - options?: OAuthAuthorizeUrlOptions - ): string; - - /** - * Used for revoking access to an account. - * @docs https://stripe.com/docs/connect/oauth-reference#post-deauthorize - */ - deauthorize( - params: OAuthDeauthorizeParams, - options?: Stripe.RequestOptions - ): Promise; - - /** - * Turning an authorization_code into an access_token, or get a new access token using a refresh_token. - * @docs https://stripe.com/docs/connect/oauth-reference#post-token - */ - token( - params: OAuthTokenParams, - options?: Stripe.RequestOptions - ): Promise; - } - } -} diff --git a/node_modules/stripe/types/Webhooks.d.ts b/node_modules/stripe/types/Webhooks.d.ts deleted file mode 100644 index ab713531..00000000 --- a/node_modules/stripe/types/Webhooks.d.ts +++ /dev/null @@ -1,94 +0,0 @@ -/// - -declare module 'stripe' { - namespace Stripe { - export class Webhooks { - /** - * Constructs and verifies the signature of an Event from the provided details. - * - * @throws Stripe.errors.StripeSignatureVerificationError - */ - constructEvent( - /** - * Raw text body payload received from Stripe. - */ - payload: string | Buffer, - - /** - * Value of the `stripe-signature` header from Stripe. - * Typically a string. - * - * Note that this is typed to accept an array of strings - * so that it works seamlessly with express's types, - * but will throw if an array is passed in practice - * since express should never return this header as an array, - * only a string. - */ - header: string | Buffer | Array, - - /** - * Your Webhook Signing Secret for this endpoint (e.g., 'whsec_...'). - * You can get this [in your dashboard](https://dashboard.stripe.com/webhooks). - */ - secret: string, - - /** - * Seconds of tolerance on timestamps. - */ - tolerance?: number - ): Stripe.Event; - - /** - * Generates a header to be used for webhook mocking - */ - generateTestHeaderString(opts: { - /** - * JSON stringified payload object, containing the 'id' and 'object' parameters. - */ - payload: string; - - /** - * Timestamp of the header. Defaults to Date.now(). - */ - timestamp?: number; - - /** - * Stripe webhook secret, e.g., 'whsec_...'. - */ - secret: string; - - /** - * Version of API to hit. Defaults to 'v1'. - */ - scheme?: string; - - /** - * Computed webhook signature. - */ - signature?: string; - }): string; - - signature: Signature; - } - - export class Signature { - EXPECTED_SCHEME: 'v1'; - - _computeSignature(payload: string, secret: string): string; - verifyHeader( - payload: string, - header: string, - secret: string, - tolerance?: number - ): void; - parseHeader( - header: string, - scheme?: string - ): { - t: number; - v0: string; - v1: string; - }; - } - } -} diff --git a/node_modules/stripe/types/lib.d.ts b/node_modules/stripe/types/lib.d.ts deleted file mode 100644 index a1198326..00000000 --- a/node_modules/stripe/types/lib.d.ts +++ /dev/null @@ -1,239 +0,0 @@ -/// -/// - -import {Agent} from 'http'; - -declare module 'stripe' { - namespace Stripe { - export class StripeResource { - static extend< - // eslint-disable-next-line @typescript-eslint/no-explicit-any - T extends {[prop: string]: any} & { - includeBasic?: Array< - 'create' | 'retrieve' | 'update' | 'list' | 'del' - >; - } - >(spec: T): StripeResource & T; - static method(spec: { - method: string; - path: string; - methodType?: 'list'; - }): (...args: any[]) => object; //eslint-disable-line @typescript-eslint/no-explicit-any - static BASIC_METHODS: { - create( - params: CouponCreateParams, - options?: RequestOptions - ): Promise; - retrieve( - id: string, - params?: CouponRetrieveParams, - options?: RequestOptions - ): Promise; - update( - id: string, - params?: CouponUpdateParams, - options?: RequestOptions - ): Promise; - list( - params?: CouponListParams, - options?: RequestOptions - ): ApiListPromise; - del(id: string, options?: RequestOptions): Promise; - }; - static MAX_BUFFERED_REQUEST_METRICS: number; - } - export type LatestApiVersion = '2020-08-27'; - export type HttpAgent = Agent; - - export interface StripeConfig { - /** - * This library's types only reflect the latest API version. - * - * We recommend upgrading your account's API Version to the latest version - * if you wish to use TypeScript with this library. - * - * If you wish to remain on your account's default API version, - * you may pass `null` or another version instead of the latest version, - * and add a `@ts-ignore` comment here and anywhere the types differ between API versions. - * - * @docs https://stripe.com/docs/api/versioning - */ - apiVersion: LatestApiVersion; - - /** - * Optionally indicate that you are using TypeScript. - * This currently has no runtime effect other than adding "TypeScript" to your user-agent. - */ - typescript?: true; - - /** - * Enables automatic network retries with exponential backoff, up to the specified number of retries (default 0). - * Idempotency keys](https://stripe.com/docs/api/idempotent_requests) are added where appropriate to prevent duplication. - * @docs https://github.com/stripe/stripe-node#network-retries - */ - maxNetworkRetries?: number; - - /** - * Use a custom http(s) agent. - * Useful for making requests through a proxy. - */ - httpAgent?: HttpAgent; - - /** - * Request timeout in milliseconds. - * The default is 80000 - */ - timeout?: number; - - host?: string; - - port?: string | number; - - protocol?: 'https' | 'http'; - - /** - * Pass `telemetry: false` to disable headers that provide Stripe - * with data about usage of the API. - * Currently, the only telemetry we send is latency metrics. - */ - telemetry?: boolean; - - /** - * For plugin authors to identify their code. - * @docs https://stripe.com/docs/building-plugins?lang=node#setappinfo - */ - appInfo?: AppInfo; - } - - export interface RequestOptions { - /** - * Use a specific API Key for this request. - * For Connect, we recommend using `stripeAccount` instead. - */ - apiKey?: string; - /** @deprecated Please use apiKey instead. */ - api_key?: string; - - /** - * See the [idempotency key docs](https://stripe.com/docs/api/idempotency). - */ - idempotencyKey?: string; - /** @deprecated Please use idempotencyKey instead. */ - idempotency_key?: string; - - /** - * An account id on whose behalf you wish to make a request. - */ - stripeAccount?: string; - /** @deprecated Please use stripeAccount instead. */ - stripe_account?: string; - - /** - * The [API Version](https://stripe.com/docs/upgrades) to use for a given request (e.g., '2020-03-02'). - */ - apiVersion?: string; - /** @deprecated Please use apiVersion instead. */ - stripeVersion?: string; - /** @deprecated Please use stripeVersion instead. */ - stripe_version?: string; - - /** - * Specify the number of requests to retry in event of error. - * This overrides a default set on the Stripe object's config argument. - */ - maxNetworkRetries?: number; - - /** - * Specify a timeout for this request in milliseconds. - */ - timeout?: number; - } - - export type Response = T & { - headers: {[key: string]: string}; - lastResponse: { - requestId: string; - statusCode: number; - apiVersion?: string; - idempotencyKey?: string; - stripeAccount?: string; - }; - }; - - /** - * A container for paginated lists of objects. - * The array of objects is on the `.data` property, - * and `.has_more` indicates whether there are additional objects beyond the end of this list. - * - * Learn more in Stripe's [pagination docs](https://stripe.com/docs/api/pagination?lang=node) - * or, when iterating over many items, try [auto-pagination](https://github.com/stripe/stripe-node#auto-pagination) instead. - */ - export interface ApiList { - object: 'list'; - - data: Array; - - /** - * True if this list has another page of items after this one that can be fetched. - */ - has_more: boolean; - - /** - * The URL where this list can be accessed. - */ - url: string; - - // Looking for `total_count`? It is deprecated; please do not use it. - } - - export interface ApiListPromise - extends Promise>>, - AsyncIterableIterator { - autoPagingEach( - handler: (item: T) => boolean | void | Promise - ): Promise; - - autoPagingToArray(opts: {limit: number}): Promise>; - } - - /** - * The Stripe API uses url-encoding for requests, and stripe-node encodes a - * `null` param as an empty string, because there is no concept of `null` - * in url-encoding. Both `null` and `''` behave identically. - */ - export type Emptyable = null | '' | T; - - export interface RequestEvent { - api_version: string; - account?: string; - idempotency_key?: string; - method: string; - path: string; - request_start_time: number; - } - - export interface ResponseEvent { - api_version: string; - account?: string; - idempotency_key?: string; - method: string; - path: string; - status: number; - request_id: string; - elapsed: number; - request_start_time: number; - request_end_time: number; - } - - /** - * Identify your plugin. - * @docs https://stripe.com/docs/building-plugins?lang=node#setappinfo - */ - export interface AppInfo { - name: string; - partner_id?: string; - url?: string; - version?: string; - } - } -} diff --git a/node_modules/stripe/types/shared.d.ts b/node_modules/stripe/types/shared.d.ts deleted file mode 100644 index d343ebdd..00000000 --- a/node_modules/stripe/types/shared.d.ts +++ /dev/null @@ -1,224 +0,0 @@ -declare module 'stripe' { - namespace Stripe { - /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - */ - interface Metadata { - [name: string]: string; - } - - /** - * Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. - * While you can send values as numbers, they will be returned as strings. - */ - interface MetadataParam { - [name: string]: string | number | null; - } - - /** - * The Address object. - */ - interface Address { - /** - * City/District/Suburb/Town/Village. - */ - city: string | null; - - /** - * 2-letter country code. - */ - country: string | null; - - /** - * Address line 1 (Street address/PO Box/Company name). - */ - line1: string | null; - - /** - * Address line 2 (Apartment/Suite/Unit/Building). - */ - line2: string | null; - - /** - * ZIP or postal code. - */ - postal_code: string | null; - - /** - * State/County/Province/Region. - */ - state: string | null; - } - - interface JapanAddress { - /** - * City/Ward. - */ - city: string | null; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country: string | null; - - /** - * Block/Building number. - */ - line1: string | null; - - /** - * Building details. - */ - line2: string | null; - - /** - * Zip/Postal Code. - */ - postal_code: string | null; - - /** - * Prefecture. - */ - state: string | null; - - /** - * Town/cho-me. - */ - town: string | null; - } - - interface AccountAddressParam { - /** - * City, district, suburb, town, or village. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1?: string; - - /** - * Address line 2 (e.g., apartment, suite, unit, or building). - */ - line2?: string; - - /** - * ZIP or postal code. - */ - postal_code?: string; - - /** - * State, county, province, or region. - */ - state?: string; - } - - interface AddressParam extends AccountAddressParam { - /** - * Address line 1 (e.g., street, PO Box, or company name). - */ - line1: string; - } - - interface JapanAddressParam { - /** - * City or ward. - */ - city?: string; - - /** - * Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)). - */ - country?: string; - - /** - * Block or building number. - */ - line1?: string; - - /** - * Building details. - */ - line2?: string; - - /** - * Postal code. - */ - postal_code?: string; - - /** - * Prefecture. - */ - state?: string; - - /** - * Town or cho-me. - */ - town?: string; - } - - /** - * The resulting source of [a Connect platform debiting a connected account](https://stripe.com/docs/connect/account-debits#charging-a-connected-account). - */ - type AccountDebitSource = { - id: string; - object: 'account'; - }; - - type CustomerSource = - | AccountDebitSource - | AlipayAccount - | BankAccount - | BitcoinReceiver - | Card - | Source; - - interface RangeQueryParam { - /** - * Minimum value to filter by (exclusive) - */ - gt?: number; - - /** - * Minimum value to filter by (inclusive) - */ - gte?: number; - - /** - * Maximum value to filter by (exclusive) - */ - lt?: number; - - /** - * Maximum value to filter by (inclusive) - */ - lte?: number; - } - - /** - * @docs https://stripe.com/docs/api/pagination - */ - interface PaginationParams { - /** - * A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. - */ - ending_before?: string; - - /** - * A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. - */ - limit?: number; - - /** - * A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. - */ - starting_after?: string; - } - } -} diff --git a/node_modules/stripe/types/test/tsconfig.json b/node_modules/stripe/types/test/tsconfig.json deleted file mode 100644 index cc54eb65..00000000 --- a/node_modules/stripe/types/test/tsconfig.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "files": ["./typescriptTest.ts"], - "compilerOptions": { - /* Basic Options */ - "incremental": false /* Enable incremental compilation */, - "target": "es5" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */, - "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */, - "lib": ["esnext"], - // "allowJs": true, /* Allow javascript files to be compiled. */ - // "checkJs": true, /* Report errors in .js files. */ - // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ - // "declaration": true, /* Generates corresponding '.d.ts' file. */ - // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */ - // "sourceMap": true, /* Generates corresponding '.map' file. */ - // "outFile": "./", /* Concatenate and emit output to single file. */ - // "outDir": "./", /* Redirect output structure to the directory. */ - "rootDir": "./" /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */, - // "composite": true, /* Enable project compilation */ - // "tsBuildInfoFile": "./", /* Specify file to store incremental compilation information */ - // "removeComments": true, /* Do not emit comments to output. */ - "noEmit": true /* Do not emit outputs. */, - // "importHelpers": true, /* Import emit helpers from 'tslib'. */ - // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */ - // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */ - - /* Strict Type-Checking Options */ - "strict": true /* Enable all strict type-checking options. */, - "noImplicitAny": true /* Raise error on expressions and declarations with an implied 'any' type. */, - "strictNullChecks": true /* Enable strict null checks. */, - "strictFunctionTypes": true /* Enable strict checking of function types. */, - "strictBindCallApply": true /* Enable strict 'bind', 'call', and 'apply' methods on functions. */, - "strictPropertyInitialization": true /* Enable strict checking of property initialization in classes. */, - "noImplicitThis": true /* Raise error on 'this' expressions with an implied 'any' type. */, - "alwaysStrict": true /* Parse in strict mode and emit "use strict" for each source file. */, - - /* Additional Checks */ - // "noUnusedLocals": true, /* Report errors on unused locals. */ - // "noUnusedParameters": true, /* Report errors on unused parameters. */ - // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ - // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ - - /* Module Resolution Options */ - // "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ - // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */ - // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ - // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ - // "typeRoots": [], /* List of folders to include type definitions from. */ - // "types": [], /* Type declaration files to be included in compilation. */ - // "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ - // "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */, - // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */ - // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ - - /* Source Map Options */ - // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */ - // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ - // "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */ - // "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */ - - /* Experimental Options */ - // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */ - // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */ - - /* Advanced Options */ - "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ - } -} diff --git a/node_modules/stripe/types/test/typescriptTest.ts b/node_modules/stripe/types/test/typescriptTest.ts deleted file mode 100644 index d93e3bde..00000000 --- a/node_modules/stripe/types/test/typescriptTest.ts +++ /dev/null @@ -1,186 +0,0 @@ -/** - * This file does not exist to be executed, just compiled, - * so that we can ensure that the definition files - * only reference names that exist, - * and to perform a basic sanity check that types are exported as intended. - */ - -/// -import Stripe from 'stripe'; - -let stripe = new Stripe('sk_test_123', { - apiVersion: '2020-08-27', -}); - -// @ts-ignore lazily ignore apiVersion requirement. -stripe = new Stripe('sk_test_123'); - -stripe = new Stripe('sk_test_123', { - // @ts-ignore ignore specific apiVersion. - apiVersion: '2019-11-05', -}); - -stripe = new Stripe('sk_test_123', { - // @ts-ignore ignore default apiVersion. - apiVersion: null, -}); - -// Check config object. -stripe = new Stripe('sk_test_123', { - apiVersion: '2020-08-27', - typescript: true, - maxNetworkRetries: 1, - timeout: 1000, - host: 'api.example.com', - port: 123, - telemetry: true, -}); - -stripe.setTimeout(3000); -stripe.setAppInfo({ - name: 'my-wordpress-plugin', -}); - -stripe.setHost('host', 'port', 'protocol'); - -(async (): Promise => { - const params: Stripe.CustomerCreateParams = { - description: 'test', - }; - const opts: Stripe.RequestOptions = { - apiVersion: '2020-08-27', - }; - const customer: Stripe.Customer = await stripe.customers.create(params, opts); - - const address: Stripe.Address | null = customer.address; - - if (!address) return; - const city: string | null = address.city; - - // Check no opts: - await stripe.customers.create(params); - - // Check multiple dispatch: - let product = await stripe.products.retrieve('prod_123', opts); - product = await stripe.products.retrieve('prod_123', {expand: []}, opts); - - const charge: Stripe.Charge = await stripe.charges.retrieve('ch_123', { - expand: ['customer'], - }); - - // Ignore null case. - if (!charge.customer) throw Error('guard'); - - // Check you can cast an expandable field to the object: - const cusEmail: string | null = (charge.customer as Stripe.Customer).email; - // Check you can cast an expandable field to a string: - const btId: string = charge.balance_transaction as string; - - // Check you can deal with deleted: - if ( - typeof charge.customer !== 'string' && - // Not sure why `!charge.customer.deleted` doesn't work, it seems to in a playground: - // https://www.typescriptlang.org/play/index.html#code/JYOwLgpgTgZghgYwgAgGIHt3IN4ChnJwBcyAzmFKAOYDc+yADpQgNYA2AnieZSLfXABGiFtwrVkAH2QgArmzZSZsgLaDodAmA4MIJAOQxM+zcgAmENhEhmA-CQBu6YGboBfXKEixEKACKW1hBmGFh4Wjp6yIbGphZWNiQUshDuuLjausgAsnAc6qHIALxomEoBCcGh6RYIbHBQKAjoIOTIAB4kufkQ1Z4wyAAUAITtAHTxQWYAlDj0za1ghGK8VMUdY3C4Hri19Y3IC21cpVjSFVOF0jwS0nIK6cADgxzIAGRvyJkQ6AOvw0USvobnx9O9PsMOBNAjZZuFDi02sQyOI+OsoVsPEA - // Might be a complexity limit with our resources: https://github.com/microsoft/TypeScript/pull/30779/files#diff-c3ed224e4daa84352f7f1abcd23e8ccaR13219 - !('deleted' in charge.customer) - ) { - const created: number = charge.customer.created; - } - const r = Math.random() - 0.5; - // Okay, this is how I hope people can deal with deleted: - const maybeCoupon: Stripe.Coupon | Stripe.DeletedCoupon = await (r - ? stripe.coupons.retrieve('25_off') - : stripe.coupons.del('25_off')); - if (maybeCoupon.deleted) { - const d: true = maybeCoupon.deleted; - } else { - // Here, TS knows it's a full Coupon. - const created: number = maybeCoupon.created; - } - - for await (const customer of stripe.customers.list()) { - const {id} = customer as Stripe.Customer; - if (id === 'hi') { - break; - } - } - - const cusList: Stripe.ApiList = await stripe.customers.list(); - - const aThousandCustomers: Array = await stripe.customers - .list() - .autoPagingToArray({limit: 1000}); - - const nothing: void = await stripe.customers - .list() - .autoPagingEach((customer: Stripe.Customer) => { - if (customer.id === 'one') { - return false; - } - if (customer.id === 'two') { - return Promise.resolve(false); - } - if (customer.id === 'three') { - return Promise.resolve(); - } - return undefined; - }); - - try { - await stripe.paymentIntents.create({amount: 100, currency: 'USD'}); - } catch (err) { - if (err instanceof stripe.errors.StripeCardError) { - const declineCode: string = err.decline_code; - } - if (err instanceof Stripe.errors.StripeCardError) { - const declineCode: string = err.decline_code; - } - } - - { - const custs = await stripe.customers.list(); - const lr = custs.lastResponse; - const requestId: string = lr.requestId; - const statusCode: number = lr.statusCode; - const apiVersion: string | undefined = lr.apiVersion; - const idempotencyKey: string | undefined = lr.idempotencyKey; - const headers = custs.headers; - const header: string | undefined = custs.headers['request-id']; - } - - { - const cust = await stripe.customers.retrieve('foo'); - const lr = cust.lastResponse; - const requestId: string = lr.requestId; - const statusCode: number = lr.statusCode; - const apiVersion: string | undefined = lr.apiVersion; - const idempotencyKey: string | undefined = lr.idempotencyKey; - const headers = cust.headers; - const header: string | undefined = cust.headers['request-id']; - } - { - const acct = await stripe.accounts.createExternalAccount('foo', { - ['external_account']: 'foo', - }); - if (acct.object === 'card') { - const rid: string = acct.lastResponse.requestId; - } - } -})(); - -const stripeCardError: Stripe.StripeCardError = Stripe.errors.generate({ - type: 'card_error', - code: 'card_declined', - charge: 'ch_123', -}); - -Stripe.StripeResource.extend({ - includeBasic: ['retrieve'], - foo: Stripe.StripeResource.method({ - method: 'create', - path: 'foo', - }), -}); - -const maxBufferedRequestMetrics: number = - Stripe.StripeResource.MAX_BUFFERED_REQUEST_METRICS; diff --git a/package-lock.json b/package-lock.json index abad6c1d..74438031 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,25 +1,6705 @@ { - "requires": true, - "lockfileVersion": 1, - "dependencies": { - "@types/node": { - "version": "14.14.10", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.10.tgz", - "integrity": "sha512-J32dgx2hw8vXrSbu4ZlVhn1Nm3GbeCFNw2FWL8S5QKucHGY0cyNwjdQdO+KMBZ4wpmC7KhLCiNsdk1RFRIYUQQ==" - }, - "qs": { - "version": "6.9.4", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.4.tgz", - "integrity": "sha512-A1kFqHekCTM7cz0udomYUoYNWjBebHm/5wzU/XqrBRBNWectVH0QIiN+NEcZ0Dte5hvzHwbr8+XQmguPhJ6WdQ==" - }, - "stripe": { - "version": "8.126.0", - "resolved": "https://registry.npmjs.org/stripe/-/stripe-8.126.0.tgz", - "integrity": "sha512-AQai9rEi6JYE3BY/favh5mkxedmpsYp+M7y90Fj6CGKYGkTKmtOkgNqs0MQTMGgrJlzMlpJjOYkQxpxb4t84KQ==", - "requires": { - "@types/node": ">=8.1.0", - "qs": "^6.6.0" - } + "name": "identity-landing-page", + "version": "1.0.2", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@nodelib/fs.scandir": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz", + "integrity": "sha512-33g3pMJk3bg5nXbL/+CY6I2eJDzZAni49PfJnL5fghPTggPvBd/pFNSgJsdAgWptuFu7qq/ERvOYFlhvsLTCKA==", + "dev": true, + "requires": { + "@nodelib/fs.stat": "2.0.4", + "run-parallel": "^1.1.9" + } + }, + "@nodelib/fs.stat": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.4.tgz", + "integrity": "sha512-IYlHJA0clt2+Vg7bccq+TzRdJvv19c2INqBSsoOLp1je7xjtr7J26+WXR72MCdvU9q1qTzIWDfhMf+DRvQJK4Q==", + "dev": true + }, + "@nodelib/fs.walk": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.6.tgz", + "integrity": "sha512-8Broas6vTtW4GIXTAHDoE32hnN2M5ykgCpWGbuXHQ15vEMqr23pB76e/GZcYsZCHALv50ktd24qhEyKr6wBtow==", + "dev": true, + "requires": { + "@nodelib/fs.scandir": "2.1.4", + "fastq": "^1.6.0" + } + }, + "@types/glob": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.3.tgz", + "integrity": "sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w==", + "dev": true, + "requires": { + "@types/minimatch": "*", + "@types/node": "*" + } + }, + "@types/minimatch": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz", + "integrity": "sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==", + "dev": true + }, + "@types/node": { + "version": "14.14.20", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.20.tgz", + "integrity": "sha512-Y93R97Ouif9JEOWPIUyU+eyIdyRqQR0I8Ez1dzku4hDx34NWh4HbtIc3WNzwB1Y9ULvNGeu5B8h8bVL5cAk4/A==", + "dev": true + }, + "abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", + "dev": true + }, + "accepts": { + "version": "1.3.7", + "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", + "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", + "dev": true, + "requires": { + "mime-types": "~2.1.24", + "negotiator": "0.6.2" + } + }, + "after": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/after/-/after-0.8.2.tgz", + "integrity": "sha1-/ts5T58OAqqXaOcCvaI7UF+ufh8=", + "dev": true + }, + "aggregate-error": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", + "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", + "dev": true, + "requires": { + "clean-stack": "^2.0.0", + "indent-string": "^4.0.0" + } + }, + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "amdefine": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", + "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", + "dev": true + }, + "ansi-colors": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-1.1.0.tgz", + "integrity": "sha512-SFKX67auSNoVR38N3L+nvsPjOE0bybKTYbkf5tRvushrAPQ9V75huw0ZxBkKVeRU9kqH3d6HA4xTckbwZ4ixmA==", + "dev": true, + "requires": { + "ansi-wrap": "^0.1.0" + } + }, + "ansi-cyan": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/ansi-cyan/-/ansi-cyan-0.1.1.tgz", + "integrity": "sha1-U4rlKK+JgvKK4w2G8vF0VtJgmHM=", + "dev": true, + "requires": { + "ansi-wrap": "0.1.0" + } + }, + "ansi-gray": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/ansi-gray/-/ansi-gray-0.1.1.tgz", + "integrity": "sha1-KWLPVOyXksSFEKPetSRDaGHvclE=", + "dev": true, + "requires": { + "ansi-wrap": "0.1.0" + } + }, + "ansi-red": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/ansi-red/-/ansi-red-0.1.1.tgz", + "integrity": "sha1-jGOPnRCAgAo1PJwoyKgcpHBdlGw=", + "dev": true, + "requires": { + "ansi-wrap": "0.1.0" + } + }, + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", + "dev": true + }, + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "dev": true + }, + "ansi-wrap": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/ansi-wrap/-/ansi-wrap-0.1.0.tgz", + "integrity": "sha1-qCJQ3bABXponyoLoLqYDu/pF768=", + "dev": true + }, + "anymatch": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz", + "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==", + "dev": true, + "requires": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + } + }, + "append-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/append-buffer/-/append-buffer-1.0.2.tgz", + "integrity": "sha1-2CIM9GYIFSXv6lBhTz3mUU36WPE=", + "dev": true, + "requires": { + "buffer-equal": "^1.0.0" + } + }, + "aproba": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", + "dev": true + }, + "archy": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz", + "integrity": "sha1-+cjBN1fMHde8N5rHeyxipcKGjEA=", + "dev": true + }, + "are-we-there-yet": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", + "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", + "dev": true, + "requires": { + "delegates": "^1.0.0", + "readable-stream": "^2.0.6" + } + }, + "arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", + "dev": true + }, + "arr-filter": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/arr-filter/-/arr-filter-1.1.2.tgz", + "integrity": "sha1-Q/3d0JHo7xGqTEXZzcGOLf8XEe4=", + "dev": true, + "requires": { + "make-iterator": "^1.0.0" + } + }, + "arr-flatten": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", + "dev": true + }, + "arr-map": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/arr-map/-/arr-map-2.0.2.tgz", + "integrity": "sha1-Onc0X/wc814qkYJWAfnljy4kysQ=", + "dev": true, + "requires": { + "make-iterator": "^1.0.0" + } + }, + "arr-union": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", + "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", + "dev": true + }, + "array-each": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/array-each/-/array-each-1.0.1.tgz", + "integrity": "sha1-p5SvDAWrF1KEbudTofIRoFugxE8=", + "dev": true + }, + "array-find-index": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", + "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=", + "dev": true + }, + "array-initial": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/array-initial/-/array-initial-1.1.0.tgz", + "integrity": "sha1-L6dLJnOTccOUe9enrcc74zSz15U=", + "dev": true, + "requires": { + "array-slice": "^1.0.0", + "is-number": "^4.0.0" + }, + "dependencies": { + "is-number": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz", + "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==", + "dev": true + } + } + }, + "array-last": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/array-last/-/array-last-1.3.0.tgz", + "integrity": "sha512-eOCut5rXlI6aCOS7Z7kCplKRKyiFQ6dHFBem4PwlwKeNFk2/XxTrhRh5T9PyaEWGy/NHTZWbY+nsZlNFJu9rYg==", + "dev": true, + "requires": { + "is-number": "^4.0.0" + }, + "dependencies": { + "is-number": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz", + "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==", + "dev": true + } + } + }, + "array-slice": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/array-slice/-/array-slice-1.1.0.tgz", + "integrity": "sha512-B1qMD3RBP7O8o0H2KbrXDyB0IccejMF15+87Lvlor12ONPRHP6gTjXMNkt/d3ZuOGbAe66hFmaCfECI24Ufp6w==", + "dev": true + }, + "array-sort": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-sort/-/array-sort-1.0.0.tgz", + "integrity": "sha512-ihLeJkonmdiAsD7vpgN3CRcx2J2S0TiYW+IS/5zHBI7mKUq3ySvBdzzBfD236ubDBQFiiyG3SWCPc+msQ9KoYg==", + "dev": true, + "requires": { + "default-compare": "^1.0.0", + "get-value": "^2.0.6", + "kind-of": "^5.0.2" + }, + "dependencies": { + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + } + } + }, + "array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "dev": true + }, + "array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", + "dev": true + }, + "arraybuffer.slice": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/arraybuffer.slice/-/arraybuffer.slice-0.0.7.tgz", + "integrity": "sha512-wGUIVQXuehL5TCqQun8OW81jGzAWycqzFF8lFp+GOM5BXLYj3bKNsYC4daB7n6XjCqxQA/qgTJ+8ANR3acjrog==", + "dev": true + }, + "asn1": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "dev": true, + "requires": { + "safer-buffer": "~2.1.0" + } + }, + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", + "dev": true + }, + "assign-symbols": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", + "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", + "dev": true + }, + "async": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/async/-/async-1.5.2.tgz", + "integrity": "sha1-7GphrlZIDAw8skHJVhjiCJL5Zyo=", + "dev": true + }, + "async-done": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/async-done/-/async-done-1.3.2.tgz", + "integrity": "sha512-uYkTP8dw2og1tu1nmza1n1CMW0qb8gWWlwqMmLb7MhBVs4BXrFziT6HXUd+/RlRA/i4H9AkofYloUbs1fwMqlw==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.2", + "process-nextick-args": "^2.0.0", + "stream-exhaust": "^1.0.1" + } + }, + "async-each": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz", + "integrity": "sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==", + "dev": true + }, + "async-each-series": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/async-each-series/-/async-each-series-0.1.1.tgz", + "integrity": "sha1-dhfBkXQB/Yykooqtzj266Yr+tDI=", + "dev": true + }, + "async-foreach": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/async-foreach/-/async-foreach-0.1.3.tgz", + "integrity": "sha1-NhIfhFwFeBct5Bmpfb6x0W7DRUI=", + "dev": true + }, + "async-limiter": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", + "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==", + "dev": true + }, + "async-settle": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/async-settle/-/async-settle-1.0.0.tgz", + "integrity": "sha1-HQqRS7Aldb7IqPOnTlCA9yssDGs=", + "dev": true, + "requires": { + "async-done": "^1.2.2" + } + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "dev": true + }, + "atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", + "dev": true + }, + "autoprefixer": { + "version": "9.8.6", + "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.8.6.tgz", + "integrity": "sha512-XrvP4VVHdRBCdX1S3WXVD8+RyG9qeb1D5Sn1DeLiG2xfSpzellk5k54xbUERJ3M5DggQxes39UGOTP8CFrEGbg==", + "dev": true, + "requires": { + "browserslist": "^4.12.0", + "caniuse-lite": "^1.0.30001109", + "colorette": "^1.2.1", + "normalize-range": "^0.1.2", + "num2fraction": "^1.2.2", + "postcss": "^7.0.32", + "postcss-value-parser": "^4.1.0" + } + }, + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", + "dev": true + }, + "aws4": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", + "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==", + "dev": true + }, + "axios": { + "version": "0.21.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.1.tgz", + "integrity": "sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==", + "dev": true, + "requires": { + "follow-redirects": "^1.10.0" + } + }, + "bach": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/bach/-/bach-1.2.0.tgz", + "integrity": "sha1-Szzpa/JxNPeaG0FKUcFONMO9mIA=", + "dev": true, + "requires": { + "arr-filter": "^1.1.1", + "arr-flatten": "^1.0.1", + "arr-map": "^2.0.0", + "array-each": "^1.0.0", + "array-initial": "^1.0.0", + "array-last": "^1.1.1", + "async-done": "^1.2.2", + "async-settle": "^1.0.0", + "now-and-later": "^2.0.0" + } + }, + "backo2": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz", + "integrity": "sha1-MasayLEpNjRj41s+u2n038+6eUc=", + "dev": true + }, + "balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "dev": true + }, + "base": { + "version": "0.11.2", + "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", + "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", + "dev": true, + "requires": { + "cache-base": "^1.0.1", + "class-utils": "^0.3.5", + "component-emitter": "^1.2.1", + "define-property": "^1.0.0", + "isobject": "^3.0.1", + "mixin-deep": "^1.2.0", + "pascalcase": "^0.1.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "base64-arraybuffer": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.4.tgz", + "integrity": "sha1-mBjHngWbE1X5fgQooBfIOOkLqBI=", + "dev": true + }, + "base64id": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/base64id/-/base64id-1.0.0.tgz", + "integrity": "sha1-R2iMuZu2gE8OBtPnY7HDLlfY5rY=", + "dev": true + }, + "batch": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz", + "integrity": "sha1-3DQxT05nkxgJP8dgJyUl+UvyXBY=", + "dev": true + }, + "bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "dev": true, + "requires": { + "tweetnacl": "^0.14.3" + } + }, + "better-assert": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/better-assert/-/better-assert-1.0.2.tgz", + "integrity": "sha1-QIZrnhueC1W0gYlDEeaPr/rrxSI=", + "dev": true, + "requires": { + "callsite": "1.0.0" + } + }, + "binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true + }, + "blob": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/blob/-/blob-0.0.5.tgz", + "integrity": "sha512-gaqbzQPqOoamawKg0LGVd7SzLgXS+JH61oWprSLH+P+abTczqJbhTR8CmJ2u9/bUYNmHTGJx/UEmn6doAvvuig==", + "dev": true + }, + "block-stream": { + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz", + "integrity": "sha1-E+v+d4oDIFz+A3UUgeu0szAMEmo=", + "dev": true, + "requires": { + "inherits": "~2.0.0" + } + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "requires": { + "fill-range": "^7.0.1" + } + }, + "browser-sync": { + "version": "2.26.13", + "resolved": "https://registry.npmjs.org/browser-sync/-/browser-sync-2.26.13.tgz", + "integrity": "sha512-JPYLTngIzI+Dzx+StSSlMtF+Q9yjdh58HW6bMFqkFXuzQkJL8FCvp4lozlS6BbECZcsM2Gmlgp0uhEjvl18X4w==", + "dev": true, + "requires": { + "browser-sync-client": "^2.26.13", + "browser-sync-ui": "^2.26.13", + "bs-recipes": "1.3.4", + "bs-snippet-injector": "^2.0.1", + "chokidar": "^3.4.1", + "connect": "3.6.6", + "connect-history-api-fallback": "^1", + "dev-ip": "^1.0.1", + "easy-extender": "^2.3.4", + "eazy-logger": "3.1.0", + "etag": "^1.8.1", + "fresh": "^0.5.2", + "fs-extra": "3.0.1", + "http-proxy": "^1.18.1", + "immutable": "^3", + "localtunnel": "^2.0.0", + "micromatch": "^4.0.2", + "opn": "5.3.0", + "portscanner": "2.1.1", + "qs": "6.2.3", + "raw-body": "^2.3.2", + "resp-modifier": "6.0.2", + "rx": "4.1.0", + "send": "0.16.2", + "serve-index": "1.9.1", + "serve-static": "1.13.2", + "server-destroy": "1.0.1", + "socket.io": "2.1.1", + "ua-parser-js": "^0.7.18", + "yargs": "^15.4.1" + } + }, + "browser-sync-client": { + "version": "2.26.13", + "resolved": "https://registry.npmjs.org/browser-sync-client/-/browser-sync-client-2.26.13.tgz", + "integrity": "sha512-p2VbZoYrpuDhkreq+/Sv1MkToHklh7T1OaIntDwpG6Iy2q/XkBcgwPcWjX+WwRNiZjN8MEehxIjEUh12LweLmQ==", + "dev": true, + "requires": { + "etag": "1.8.1", + "fresh": "0.5.2", + "mitt": "^1.1.3", + "rxjs": "^5.5.6" + } + }, + "browser-sync-ui": { + "version": "2.26.13", + "resolved": "https://registry.npmjs.org/browser-sync-ui/-/browser-sync-ui-2.26.13.tgz", + "integrity": "sha512-6NJ/pCnhCnBMzaty1opWo7ipDmFAIk8U71JMQGKJxblCUaGfdsbF2shf6XNZSkXYia1yS0vwKu9LIOzpXqQZCA==", + "dev": true, + "requires": { + "async-each-series": "0.1.1", + "connect-history-api-fallback": "^1", + "immutable": "^3", + "server-destroy": "1.0.1", + "socket.io-client": "^2.0.4", + "stream-throttle": "^0.1.3" + } + }, + "browserslist": { + "version": "4.16.1", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.1.tgz", + "integrity": "sha512-UXhDrwqsNcpTYJBTZsbGATDxZbiVDsx6UjpmRUmtnP10pr8wAYr5LgFoEFw9ixriQH2mv/NX2SfGzE/o8GndLA==", + "dev": true, + "requires": { + "caniuse-lite": "^1.0.30001173", + "colorette": "^1.2.1", + "electron-to-chromium": "^1.3.634", + "escalade": "^3.1.1", + "node-releases": "^1.1.69" + } + }, + "bs-recipes": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/bs-recipes/-/bs-recipes-1.3.4.tgz", + "integrity": "sha1-DS1NSKcYyMBEdp/cT4lZLci2lYU=", + "dev": true + }, + "bs-snippet-injector": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/bs-snippet-injector/-/bs-snippet-injector-2.0.1.tgz", + "integrity": "sha1-YbU5PxH1JVntEgaTEANDtu2wTdU=", + "dev": true + }, + "buffer-equal": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/buffer-equal/-/buffer-equal-1.0.0.tgz", + "integrity": "sha1-WWFrSYME1Var1GaWayLu2j7KX74=", + "dev": true + }, + "buffer-from": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", + "dev": true + }, + "bytes": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", + "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==", + "dev": true + }, + "cache-base": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", + "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", + "dev": true, + "requires": { + "collection-visit": "^1.0.0", + "component-emitter": "^1.2.1", + "get-value": "^2.0.6", + "has-value": "^1.0.0", + "isobject": "^3.0.1", + "set-value": "^2.0.0", + "to-object-path": "^0.3.0", + "union-value": "^1.0.0", + "unset-value": "^1.0.0" + } + }, + "call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dev": true, + "requires": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + } + }, + "callsite": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/callsite/-/callsite-1.0.0.tgz", + "integrity": "sha1-KAOY5dZkvXQDi28JBRU+borxvCA=", + "dev": true + }, + "camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true + }, + "camelcase-keys": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz", + "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=", + "dev": true, + "requires": { + "camelcase": "^2.0.0", + "map-obj": "^1.0.0" + }, + "dependencies": { + "camelcase": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz", + "integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=", + "dev": true + } + } + }, + "caniuse-lite": { + "version": "1.0.30001174", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001174.tgz", + "integrity": "sha512-tqClL/4ThQq6cfFXH3oJL4rifFBeM6gTkphjao5kgwMaW9yn0tKgQLAEfKzDwj6HQWCB/aWo8kTFlSvIN8geEA==", + "dev": true + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "dev": true + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, + "requires": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + } + }, + "chokidar": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.0.tgz", + "integrity": "sha512-JgQM9JS92ZbFR4P90EvmzNpSGhpPBGBSj10PILeDyYFwp4h2/D9OM03wsJ4zW1fEp4ka2DGrnUeD7FuvQ2aZ2Q==", + "dev": true, + "requires": { + "anymatch": "~3.1.1", + "braces": "~3.0.2", + "fsevents": "~2.3.1", + "glob-parent": "~5.1.0", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.5.0" + } + }, + "class-utils": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", + "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", + "dev": true, + "requires": { + "arr-union": "^3.1.0", + "define-property": "^0.2.5", + "isobject": "^3.0.0", + "static-extend": "^0.1.1" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + } + } + }, + "clean-css": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.3.tgz", + "integrity": "sha512-VcMWDN54ZN/DS+g58HYL5/n4Zrqe8vHJpGA8KdgUXFU4fuP/aHNw8eld9SyEIyabIMJX/0RaY/fplOo5hYLSFA==", + "dev": true, + "requires": { + "source-map": "~0.6.0" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "clean-stack": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", + "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", + "dev": true + }, + "cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true + }, + "strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.0" + } + } + } + }, + "clone": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", + "integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=", + "dev": true + }, + "clone-buffer": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/clone-buffer/-/clone-buffer-1.0.0.tgz", + "integrity": "sha1-4+JbIHrE5wGvch4staFnksrD3Fg=", + "dev": true + }, + "clone-stats": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/clone-stats/-/clone-stats-1.0.0.tgz", + "integrity": "sha1-s3gt/4u1R04Yuba/D9/ngvh3doA=", + "dev": true + }, + "cloneable-readable": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/cloneable-readable/-/cloneable-readable-1.1.3.tgz", + "integrity": "sha512-2EF8zTQOxYq70Y4XKtorQupqF0m49MBz2/yf5Bj+MHjvpG3Hy7sImifnqD6UA+TKYxeSV+u6qqQPawN5UvnpKQ==", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "process-nextick-args": "^2.0.0", + "readable-stream": "^2.3.5" + } + }, + "code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", + "dev": true + }, + "collection-map": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/collection-map/-/collection-map-1.0.0.tgz", + "integrity": "sha1-rqDwb40mx4DCt1SUOFVEsiVa8Yw=", + "dev": true, + "requires": { + "arr-map": "^2.0.2", + "for-own": "^1.0.0", + "make-iterator": "^1.0.0" + } + }, + "collection-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", + "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", + "dev": true, + "requires": { + "map-visit": "^1.0.0", + "object-visit": "^1.0.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "color-support": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", + "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", + "dev": true + }, + "colorette": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.2.1.tgz", + "integrity": "sha512-puCDz0CzydiSYOrnXpz/PKd69zRrribezjtE9yd4zvytoRc8+RY/KJPvtPFKZS3E3wP6neGyMe0vOTlHO5L3Pw==", + "dev": true + }, + "combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, + "requires": { + "delayed-stream": "~1.0.0" + } + }, + "commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "component-bind": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/component-bind/-/component-bind-1.0.0.tgz", + "integrity": "sha1-AMYIq33Nk4l8AAllGx06jh5zu9E=", + "dev": true + }, + "component-emitter": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", + "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==", + "dev": true + }, + "component-inherit": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/component-inherit/-/component-inherit-0.0.3.tgz", + "integrity": "sha1-ZF/ErfWLcrZJ1crmUTVhnbJv8UM=", + "dev": true + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true + }, + "concat-stream": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "dev": true, + "requires": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "concat-with-sourcemaps": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/concat-with-sourcemaps/-/concat-with-sourcemaps-1.1.0.tgz", + "integrity": "sha512-4gEjHJFT9e+2W/77h/DS5SGUgwDaOwprX8L/gl5+3ixnzkVJJsZWDSelmN3Oilw3LNDZjZV0yqH1hLG3k6nghg==", + "dev": true, + "requires": { + "source-map": "^0.6.1" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + } + } + }, + "connect": { + "version": "3.6.6", + "resolved": "https://registry.npmjs.org/connect/-/connect-3.6.6.tgz", + "integrity": "sha1-Ce/2xVr3I24TcTWnJXSFi2eG9SQ=", + "dev": true, + "requires": { + "debug": "2.6.9", + "finalhandler": "1.1.0", + "parseurl": "~1.3.2", + "utils-merge": "1.0.1" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + } + } + }, + "connect-history-api-fallback": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz", + "integrity": "sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg==", + "dev": true + }, + "console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", + "dev": true + }, + "convert-source-map": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", + "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.1" + } + }, + "cookie": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz", + "integrity": "sha1-5+Ch+e9DtMi6klxcWpboBtFoc7s=", + "dev": true + }, + "copy-descriptor": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", + "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", + "dev": true + }, + "copy-props": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/copy-props/-/copy-props-2.0.4.tgz", + "integrity": "sha512-7cjuUME+p+S3HZlbllgsn2CDwS+5eCCX16qBgNC4jgSTf49qR1VKy/Zhl400m0IQXl/bPGEVqncgUUMjrr4s8A==", + "dev": true, + "requires": { + "each-props": "^1.3.0", + "is-plain-object": "^2.0.1" + } + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "dev": true + }, + "cross-spawn": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-3.0.1.tgz", + "integrity": "sha1-ElYDfsufDF9549bvE14wdwGEuYI=", + "dev": true, + "requires": { + "lru-cache": "^4.0.1", + "which": "^1.2.9" + } + }, + "currently-unhandled": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz", + "integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=", + "dev": true, + "requires": { + "array-find-index": "^1.0.1" + } + }, + "d": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz", + "integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==", + "dev": true, + "requires": { + "es5-ext": "^0.10.50", + "type": "^1.0.1" + } + }, + "dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0" + } + }, + "debug": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", + "dev": true + }, + "decode-uri-component": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", + "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", + "dev": true + }, + "default-compare": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/default-compare/-/default-compare-1.0.0.tgz", + "integrity": "sha512-QWfXlM0EkAbqOCbD/6HjdwT19j7WCkMyiRhWilc4H9/5h/RzTF9gv5LYh1+CmDV5d1rki6KAWLtQale0xt20eQ==", + "dev": true, + "requires": { + "kind-of": "^5.0.2" + }, + "dependencies": { + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + } + } + }, + "default-resolution": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/default-resolution/-/default-resolution-2.0.0.tgz", + "integrity": "sha1-vLgrqnKtebQmp2cy8aga1t8m1oQ=", + "dev": true + }, + "define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "dev": true, + "requires": { + "object-keys": "^1.0.12" + } + }, + "define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "requires": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "dependencies": { + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "del": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/del/-/del-5.1.0.tgz", + "integrity": "sha512-wH9xOVHnczo9jN2IW68BabcecVPxacIA3g/7z6vhSU/4stOKQzeCRK0yD0A24WiAAUJmmVpWqrERcTxnLo3AnA==", + "dev": true, + "requires": { + "globby": "^10.0.1", + "graceful-fs": "^4.2.2", + "is-glob": "^4.0.1", + "is-path-cwd": "^2.2.0", + "is-path-inside": "^3.0.1", + "p-map": "^3.0.0", + "rimraf": "^3.0.0", + "slash": "^3.0.0" + } + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true + }, + "delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", + "dev": true + }, + "depd": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", + "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", + "dev": true + }, + "destroy": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", + "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=", + "dev": true + }, + "detect-file": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz", + "integrity": "sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc=", + "dev": true + }, + "dev-ip": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dev-ip/-/dev-ip-1.0.1.tgz", + "integrity": "sha1-p2o+0YVb56ASu4rBbLgPPADcKPA=", + "dev": true + }, + "dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "dev": true, + "requires": { + "path-type": "^4.0.0" + } + }, + "dlv": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", + "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==", + "dev": true + }, + "duplexify": { + "version": "3.7.1", + "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.7.1.tgz", + "integrity": "sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==", + "dev": true, + "requires": { + "end-of-stream": "^1.0.0", + "inherits": "^2.0.1", + "readable-stream": "^2.0.0", + "stream-shift": "^1.0.0" + } + }, + "each-props": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/each-props/-/each-props-1.3.2.tgz", + "integrity": "sha512-vV0Hem3zAGkJAyU7JSjixeU66rwdynTAa1vofCrSA5fEln+m67Az9CcnkVD776/fsN/UjIWmBDoNRS6t6G9RfA==", + "dev": true, + "requires": { + "is-plain-object": "^2.0.1", + "object.defaults": "^1.1.0" + } + }, + "easy-extender": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/easy-extender/-/easy-extender-2.3.4.tgz", + "integrity": "sha512-8cAwm6md1YTiPpOvDULYJL4ZS6WfM5/cTeVVh4JsvyYZAoqlRVUpHL9Gr5Fy7HA6xcSZicUia3DeAgO3Us8E+Q==", + "dev": true, + "requires": { + "lodash": "^4.17.10" + } + }, + "eazy-logger": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/eazy-logger/-/eazy-logger-3.1.0.tgz", + "integrity": "sha512-/snsn2JqBtUSSstEl4R0RKjkisGHAhvYj89i7r3ytNUKW12y178KDZwXLXIgwDqLW6E/VRMT9qfld7wvFae8bQ==", + "dev": true, + "requires": { + "tfunk": "^4.0.0" + } + }, + "ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "dev": true, + "requires": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "ee-first": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", + "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=", + "dev": true + }, + "electron-to-chromium": { + "version": "1.3.636", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.636.tgz", + "integrity": "sha512-Adcvng33sd3gTjNIDNXGD1G4H6qCImIy2euUJAQHtLNplEKU5WEz5KRJxupRNIIT8sD5oFZLTKBWAf12Bsz24A==", + "dev": true + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", + "dev": true + }, + "end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dev": true, + "requires": { + "once": "^1.4.0" + } + }, + "engine.io": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-3.2.1.tgz", + "integrity": "sha512-+VlKzHzMhaU+GsCIg4AoXF1UdDFjHHwMmMKqMJNDNLlUlejz58FCy4LBqB2YVJskHGYl06BatYWKP2TVdVXE5w==", + "dev": true, + "requires": { + "accepts": "~1.3.4", + "base64id": "1.0.0", + "cookie": "0.3.1", + "debug": "~3.1.0", + "engine.io-parser": "~2.1.0", + "ws": "~3.3.1" + }, + "dependencies": { + "base64-arraybuffer": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz", + "integrity": "sha1-c5JncZI7Whl0etZmqlzUv5xunOg=", + "dev": true + }, + "engine.io-parser": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-2.1.3.tgz", + "integrity": "sha512-6HXPre2O4Houl7c4g7Ic/XzPnHBvaEmN90vtRO9uLmwtRqQmTOw0QMevL1TOfL2Cpu1VzsaTmMotQgMdkzGkVA==", + "dev": true, + "requires": { + "after": "0.8.2", + "arraybuffer.slice": "~0.0.7", + "base64-arraybuffer": "0.1.5", + "blob": "0.0.5", + "has-binary2": "~1.0.2" + } + }, + "ws": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-3.3.3.tgz", + "integrity": "sha512-nnWLa/NwZSt4KQJu51MYlCcSQ5g7INpOrOMt4XV8j4dqTXdmlUmSHQ8/oLC069ckre0fRsgfvsKwbTdtKLCDkA==", + "dev": true, + "requires": { + "async-limiter": "~1.0.0", + "safe-buffer": "~5.1.0", + "ultron": "~1.1.0" + } + } + } + }, + "engine.io-client": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-3.5.0.tgz", + "integrity": "sha512-12wPRfMrugVw/DNyJk34GQ5vIVArEcVMXWugQGGuw2XxUSztFNmJggZmv8IZlLyEdnpO1QB9LkcjeWewO2vxtA==", + "dev": true, + "requires": { + "component-emitter": "~1.3.0", + "component-inherit": "0.0.3", + "debug": "~3.1.0", + "engine.io-parser": "~2.2.0", + "has-cors": "1.1.0", + "indexof": "0.0.1", + "parseqs": "0.0.6", + "parseuri": "0.0.6", + "ws": "~7.4.2", + "xmlhttprequest-ssl": "~1.5.4", + "yeast": "0.1.2" + } + }, + "engine.io-parser": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-2.2.1.tgz", + "integrity": "sha512-x+dN/fBH8Ro8TFwJ+rkB2AmuVw9Yu2mockR/p3W8f8YtExwFgDvBDi0GWyb4ZLkpahtDGZgtr3zLovanJghPqg==", + "dev": true, + "requires": { + "after": "0.8.2", + "arraybuffer.slice": "~0.0.7", + "base64-arraybuffer": "0.1.4", + "blob": "0.0.5", + "has-binary2": "~1.0.2" + } + }, + "error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "requires": { + "is-arrayish": "^0.2.1" + } + }, + "es5-ext": { + "version": "0.10.53", + "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.53.tgz", + "integrity": "sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q==", + "dev": true, + "requires": { + "es6-iterator": "~2.0.3", + "es6-symbol": "~3.1.3", + "next-tick": "~1.0.0" + } + }, + "es6-iterator": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", + "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", + "dev": true, + "requires": { + "d": "1", + "es5-ext": "^0.10.35", + "es6-symbol": "^3.1.1" + } + }, + "es6-symbol": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz", + "integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==", + "dev": true, + "requires": { + "d": "^1.0.1", + "ext": "^1.1.2" + } + }, + "es6-weak-map": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/es6-weak-map/-/es6-weak-map-2.0.3.tgz", + "integrity": "sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==", + "dev": true, + "requires": { + "d": "1", + "es5-ext": "^0.10.46", + "es6-iterator": "^2.0.3", + "es6-symbol": "^3.1.1" + } + }, + "escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "dev": true + }, + "escape-html": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", + "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=", + "dev": true + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true + }, + "etag": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", + "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", + "dev": true + }, + "eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "dev": true + }, + "expand-brackets": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", + "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", + "dev": true, + "requires": { + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "expand-tilde": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz", + "integrity": "sha1-l+gBqgUt8CRU3kawK/YhZCzchQI=", + "dev": true, + "requires": { + "homedir-polyfill": "^1.0.1" + } + }, + "ext": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/ext/-/ext-1.4.0.tgz", + "integrity": "sha512-Key5NIsUxdqKg3vIsdw9dSuXpPCQ297y6wBjL30edxwPgt2E44WcWBZey/ZvUc6sERLTxKdyCu4gZFmUbk1Q7A==", + "dev": true, + "requires": { + "type": "^2.0.0" + }, + "dependencies": { + "type": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/type/-/type-2.1.0.tgz", + "integrity": "sha512-G9absDWvhAWCV2gmF1zKud3OyC61nZDwWvBL2DApaVFogI07CprggiQAOOjvp2NRjYWFzPyu7vwtDrQFq8jeSA==", + "dev": true + } + } + }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", + "dev": true + }, + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "dev": true, + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "^2.0.4" + } + } + } + }, + "extglob": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", + "dev": true, + "requires": { + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", + "dev": true + }, + "fancy-log": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/fancy-log/-/fancy-log-1.3.3.tgz", + "integrity": "sha512-k9oEhlyc0FrVh25qYuSELjr8oxsCoc4/LEZfg2iJJrfEk/tZL9bCoJE47gqAvI2m/AUjluCS4+3I0eTx8n3AEw==", + "dev": true, + "requires": { + "ansi-gray": "^0.1.1", + "color-support": "^1.1.3", + "parse-node-version": "^1.0.0", + "time-stamp": "^1.0.0" + } + }, + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "fast-glob": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.4.tgz", + "integrity": "sha512-kr/Oo6PX51265qeuCYsyGypiO5uJFgBS0jksyG7FUeCyQzNwYnzrNIMR1NXfkZXsMYXYLRAHgISHBz8gQcxKHQ==", + "dev": true, + "requires": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.0", + "merge2": "^1.3.0", + "micromatch": "^4.0.2", + "picomatch": "^2.2.1" + } + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "fast-levenshtein": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-1.1.4.tgz", + "integrity": "sha1-5qdUzI8V5YmHqpy9J69m/W9OWvk=", + "dev": true + }, + "fastq": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.10.0.tgz", + "integrity": "sha512-NL2Qc5L3iQEsyYzweq7qfgy5OtXCmGzGvhElGEd/SoFWEMOEczNh5s5ocaF01HDetxz+p8ecjNPA6cZxxIHmzA==", + "dev": true, + "requires": { + "reusify": "^1.0.4" + } + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "finalhandler": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.0.tgz", + "integrity": "sha1-zgtoVbRYU+eRsvzGgARtiCU91/U=", + "dev": true, + "requires": { + "debug": "2.6.9", + "encodeurl": "~1.0.1", + "escape-html": "~1.0.3", + "on-finished": "~2.3.0", + "parseurl": "~1.3.2", + "statuses": "~1.3.1", + "unpipe": "~1.0.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + } + } + }, + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "findup-sync": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-3.0.0.tgz", + "integrity": "sha512-YbffarhcicEhOrm4CtrwdKBdCuz576RLdhJDsIfvNtxUuhdRet1qZcsMjqbePtAseKdAnDyM/IyXbu7PRPRLYg==", + "dev": true, + "requires": { + "detect-file": "^1.0.0", + "is-glob": "^4.0.0", + "micromatch": "^3.0.4", + "resolve-dir": "^1.0.1" + }, + "dependencies": { + "braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "requires": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + } + }, + "to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "dev": true, + "requires": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + } + } + } + }, + "fined": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/fined/-/fined-1.2.0.tgz", + "integrity": "sha512-ZYDqPLGxDkDhDZBjZBb+oD1+j0rA4E0pXY50eplAAOPg2N/gUBSSk5IM1/QhPfyVo19lJ+CvXpqfvk+b2p/8Ng==", + "dev": true, + "requires": { + "expand-tilde": "^2.0.2", + "is-plain-object": "^2.0.3", + "object.defaults": "^1.1.0", + "object.pick": "^1.2.0", + "parse-filepath": "^1.0.1" + } + }, + "flagged-respawn": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/flagged-respawn/-/flagged-respawn-1.0.1.tgz", + "integrity": "sha512-lNaHNVymajmk0OJMBn8fVUAU1BtDeKIqKoVhk4xAALB57aALg6b4W0MfJ/cUE0g9YBXy5XhSlPIpYIJ7HaY/3Q==", + "dev": true + }, + "flush-write-stream": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.1.tgz", + "integrity": "sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "readable-stream": "^2.3.6" + } + }, + "follow-redirects": { + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.1.tgz", + "integrity": "sha512-SSG5xmZh1mkPGyKzjZP8zLjltIfpW32Y5QpdNJyjcfGxK3qo3NDDkZOZSFiGn1A6SclQxY9GzEwAHQ3dmYRWpg==", + "dev": true + }, + "for-in": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", + "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", + "dev": true + }, + "for-own": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/for-own/-/for-own-1.0.0.tgz", + "integrity": "sha1-xjMy9BXO3EsE2/5wz4NklMU8tEs=", + "dev": true, + "requires": { + "for-in": "^1.0.1" + } + }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", + "dev": true + }, + "form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "dev": true, + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + } + }, + "fragment-cache": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", + "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", + "dev": true, + "requires": { + "map-cache": "^0.2.2" + } + }, + "fresh": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", + "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", + "dev": true + }, + "fs-extra": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-3.0.1.tgz", + "integrity": "sha1-N5TzeMWLNC6n27sjCVEJxLO2IpE=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "jsonfile": "^3.0.0", + "universalify": "^0.1.0" + } + }, + "fs-mkdirp-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-mkdirp-stream/-/fs-mkdirp-stream-1.0.0.tgz", + "integrity": "sha1-C3gV/DIBxqaeFNuYzgmMFpNSWes=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.11", + "through2": "^2.0.3" + } + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true + }, + "fsevents": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.1.tgz", + "integrity": "sha512-YR47Eg4hChJGAB1O3yEAOkGO+rlzutoICGqGo9EZ4lKWokzZRSyIW1QmTzqjtw8MJdj9srP869CuWw/hyzSiBw==", + "dev": true, + "optional": true + }, + "fstream": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/fstream/-/fstream-1.0.12.tgz", + "integrity": "sha512-WvJ193OHa0GHPEL+AycEJgxvBEwyfRkN1vhjca23OaPVMCaLCXTd5qAu82AjTcgP1UJmytkOKb63Ypde7raDIg==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "inherits": "~2.0.0", + "mkdirp": ">=0.5 0", + "rimraf": "2" + }, + "dependencies": { + "rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + } + } + }, + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + }, + "gauge": { + "version": "2.7.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", + "dev": true, + "requires": { + "aproba": "^1.0.3", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.0", + "object-assign": "^4.1.0", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wide-align": "^1.1.0" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + } + } + } + }, + "gaze": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/gaze/-/gaze-1.1.3.tgz", + "integrity": "sha512-BRdNm8hbWzFzWHERTrejLqwHDfS4GibPoq5wjTPIoJHoBtKGPg3xAFfxmM+9ztbXelxcf2hwQcaz1PtmFeue8g==", + "dev": true, + "requires": { + "globule": "^1.0.0" + } + }, + "get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true + }, + "get-intrinsic": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.0.2.tgz", + "integrity": "sha512-aeX0vrFm21ILl3+JpFFRNe9aUvp6VFZb2/CTbgLb8j75kOhvoNYjt9d8KA/tJG4gSo8nzEDedRl0h7vDmBYRVg==", + "dev": true, + "requires": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + } + }, + "get-stdin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz", + "integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=", + "dev": true + }, + "get-value": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", + "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", + "dev": true + }, + "getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0" + } + }, + "glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "glob-parent": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz", + "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==", + "dev": true, + "requires": { + "is-glob": "^4.0.1" + } + }, + "glob-stream": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/glob-stream/-/glob-stream-6.1.0.tgz", + "integrity": "sha1-cEXJlBOz65SIjYOrRtC0BMx73eQ=", + "dev": true, + "requires": { + "extend": "^3.0.0", + "glob": "^7.1.1", + "glob-parent": "^3.1.0", + "is-negated-glob": "^1.0.0", + "ordered-read-streams": "^1.0.0", + "pumpify": "^1.3.5", + "readable-stream": "^2.1.5", + "remove-trailing-separator": "^1.0.1", + "to-absolute-glob": "^2.0.0", + "unique-stream": "^2.0.2" + }, + "dependencies": { + "glob-parent": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", + "dev": true, + "requires": { + "is-glob": "^3.1.0", + "path-dirname": "^1.0.0" + } + }, + "is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "dev": true, + "requires": { + "is-extglob": "^2.1.0" + } + } + } + }, + "glob-watcher": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/glob-watcher/-/glob-watcher-5.0.5.tgz", + "integrity": "sha512-zOZgGGEHPklZNjZQaZ9f41i7F2YwE+tS5ZHrDhbBCk3stwahn5vQxnFmBJZHoYdusR6R1bLSXeGUy/BhctwKzw==", + "dev": true, + "requires": { + "anymatch": "^2.0.0", + "async-done": "^1.2.0", + "chokidar": "^2.0.0", + "is-negated-glob": "^1.0.0", + "just-debounce": "^1.0.0", + "normalize-path": "^3.0.0", + "object.defaults": "^1.1.0" + }, + "dependencies": { + "anymatch": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", + "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", + "dev": true, + "requires": { + "micromatch": "^3.1.4", + "normalize-path": "^2.1.1" + }, + "dependencies": { + "normalize-path": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", + "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", + "dev": true, + "requires": { + "remove-trailing-separator": "^1.0.1" + } + } + } + }, + "binary-extensions": { + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz", + "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==", + "dev": true + }, + "braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "requires": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "chokidar": { + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz", + "integrity": "sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==", + "dev": true, + "requires": { + "anymatch": "^2.0.0", + "async-each": "^1.0.1", + "braces": "^2.3.2", + "fsevents": "^1.2.7", + "glob-parent": "^3.1.0", + "inherits": "^2.0.3", + "is-binary-path": "^1.0.0", + "is-glob": "^4.0.0", + "normalize-path": "^3.0.0", + "path-is-absolute": "^1.0.0", + "readdirp": "^2.2.1", + "upath": "^1.1.1" + } + }, + "fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "fsevents": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz", + "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==", + "dev": true, + "optional": true, + "requires": { + "nan": "^2.12.1" + } + }, + "glob-parent": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", + "dev": true, + "requires": { + "is-glob": "^3.1.0", + "path-dirname": "^1.0.0" + }, + "dependencies": { + "is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "dev": true, + "requires": { + "is-extglob": "^2.1.0" + } + } + } + }, + "is-binary-path": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", + "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", + "dev": true, + "requires": { + "binary-extensions": "^1.0.0" + } + }, + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + } + }, + "readdirp": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz", + "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.11", + "micromatch": "^3.1.10", + "readable-stream": "^2.0.2" + } + }, + "to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "dev": true, + "requires": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + } + } + } + }, + "global-modules": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-1.0.0.tgz", + "integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==", + "dev": true, + "requires": { + "global-prefix": "^1.0.1", + "is-windows": "^1.0.1", + "resolve-dir": "^1.0.0" + } + }, + "global-prefix": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-1.0.2.tgz", + "integrity": "sha1-2/dDxsFJklk8ZVVoy2btMsASLr4=", + "dev": true, + "requires": { + "expand-tilde": "^2.0.2", + "homedir-polyfill": "^1.0.1", + "ini": "^1.3.4", + "is-windows": "^1.0.1", + "which": "^1.2.14" + } + }, + "globby": { + "version": "10.0.2", + "resolved": "https://registry.npmjs.org/globby/-/globby-10.0.2.tgz", + "integrity": "sha512-7dUi7RvCoT/xast/o/dLN53oqND4yk0nsHkhRgn9w65C4PofCLOoJ39iSOg+qVDdWQPIEj+eszMHQ+aLVwwQSg==", + "dev": true, + "requires": { + "@types/glob": "^7.1.1", + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.0.3", + "glob": "^7.1.3", + "ignore": "^5.1.1", + "merge2": "^1.2.3", + "slash": "^3.0.0" + } + }, + "globule": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/globule/-/globule-1.3.2.tgz", + "integrity": "sha512-7IDTQTIu2xzXkT+6mlluidnWo+BypnbSoEVVQCGfzqnl5Ik8d3e1d4wycb8Rj9tWW+Z39uPWsdlquqiqPCd/pA==", + "dev": true, + "requires": { + "glob": "~7.1.1", + "lodash": "~4.17.10", + "minimatch": "~3.0.2" + } + }, + "glogg": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/glogg/-/glogg-1.0.2.tgz", + "integrity": "sha512-5mwUoSuBk44Y4EshyiqcH95ZntbDdTQqA3QYSrxmzj28Ai0vXBGMH1ApSANH14j2sIRtqCEyg6PfsuP7ElOEDA==", + "dev": true, + "requires": { + "sparkles": "^1.0.0" + } + }, + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true + }, + "growly": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz", + "integrity": "sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE=", + "dev": true + }, + "gulp": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/gulp/-/gulp-4.0.2.tgz", + "integrity": "sha512-dvEs27SCZt2ibF29xYgmnwwCYZxdxhQ/+LFWlbAW8y7jt68L/65402Lz3+CKy0Ov4rOs+NERmDq7YlZaDqUIfA==", + "dev": true, + "requires": { + "glob-watcher": "^5.0.3", + "gulp-cli": "^2.2.0", + "undertaker": "^1.2.1", + "vinyl-fs": "^3.0.0" + }, + "dependencies": { + "camelcase": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz", + "integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=", + "dev": true + }, + "cliui": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-3.2.0.tgz", + "integrity": "sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=", + "dev": true, + "requires": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wrap-ansi": "^2.0.0" + } + }, + "get-caller-file": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz", + "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==", + "dev": true + }, + "gulp-cli": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/gulp-cli/-/gulp-cli-2.3.0.tgz", + "integrity": "sha512-zzGBl5fHo0EKSXsHzjspp3y5CONegCm8ErO5Qh0UzFzk2y4tMvzLWhoDokADbarfZRL2pGpRp7yt6gfJX4ph7A==", + "dev": true, + "requires": { + "ansi-colors": "^1.0.1", + "archy": "^1.0.0", + "array-sort": "^1.0.0", + "color-support": "^1.1.3", + "concat-stream": "^1.6.0", + "copy-props": "^2.0.1", + "fancy-log": "^1.3.2", + "gulplog": "^1.0.0", + "interpret": "^1.4.0", + "isobject": "^3.0.1", + "liftoff": "^3.1.0", + "matchdep": "^2.0.0", + "mute-stdout": "^1.0.0", + "pretty-hrtime": "^1.0.0", + "replace-homedir": "^1.0.0", + "semver-greatest-satisfied-range": "^1.1.0", + "v8flags": "^3.2.0", + "yargs": "^7.1.0" + } + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "dev": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "require-main-filename": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", + "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", + "dev": true + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "dev": true, + "requires": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + } + }, + "which-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz", + "integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=", + "dev": true + }, + "wrap-ansi": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", + "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", + "dev": true, + "requires": { + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1" + } + }, + "y18n": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.2.tgz", + "integrity": "sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ==", + "dev": true + }, + "yargs": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-7.1.1.tgz", + "integrity": "sha512-huO4Fr1f9PmiJJdll5kwoS2e4GqzGSsMT3PPMpOwoVkOK8ckqAewMTZyA6LXVQWflleb/Z8oPBEvNsMft0XE+g==", + "dev": true, + "requires": { + "camelcase": "^3.0.0", + "cliui": "^3.2.0", + "decamelize": "^1.1.1", + "get-caller-file": "^1.0.1", + "os-locale": "^1.4.0", + "read-pkg-up": "^1.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^1.0.1", + "set-blocking": "^2.0.0", + "string-width": "^1.0.2", + "which-module": "^1.0.0", + "y18n": "^3.2.1", + "yargs-parser": "5.0.0-security.0" + } + }, + "yargs-parser": { + "version": "5.0.0-security.0", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-5.0.0-security.0.tgz", + "integrity": "sha512-T69y4Ps64LNesYxeYGYPvfoMTt/7y1XtfpIslUeK4um+9Hu7hlGoRtaDLvdXb7+/tfq4opVa2HRY5xGip022rQ==", + "dev": true, + "requires": { + "camelcase": "^3.0.0", + "object.assign": "^4.1.0" + } + } + } + }, + "gulp-autoprefixer": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/gulp-autoprefixer/-/gulp-autoprefixer-7.0.1.tgz", + "integrity": "sha512-QJGEmHw+bEt7FSqvmbAUTxbCuNLJYx4sz3ox9WouYqT/7j5FH5CQ8ZnpL1M7H5npX1bUJa7lUVY1w20jXxhOxg==", + "dev": true, + "requires": { + "autoprefixer": "^9.6.1", + "fancy-log": "^1.3.2", + "plugin-error": "^1.0.1", + "postcss": "^7.0.17", + "through2": "^3.0.1", + "vinyl-sourcemaps-apply": "^0.2.1" + }, + "dependencies": { + "through2": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.2.tgz", + "integrity": "sha512-enaDQ4MUyP2W6ZyT6EsMzqBPZaM/avg8iuo+l2d3QCs0J+6RaqkHV/2/lOwDTueBHeJ/2LG9lrLW3d5rWPucuQ==", + "dev": true, + "requires": { + "inherits": "^2.0.4", + "readable-stream": "2 || 3" + } + } + } + }, + "gulp-clean-css": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/gulp-clean-css/-/gulp-clean-css-4.3.0.tgz", + "integrity": "sha512-mGyeT3qqFXTy61j0zOIciS4MkYziF2U594t2Vs9rUnpkEHqfu6aDITMp8xOvZcvdX61Uz3y1mVERRYmjzQF5fg==", + "dev": true, + "requires": { + "clean-css": "4.2.3", + "plugin-error": "1.0.1", + "through2": "3.0.1", + "vinyl-sourcemaps-apply": "0.2.1" + }, + "dependencies": { + "through2": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/through2/-/through2-3.0.1.tgz", + "integrity": "sha512-M96dvTalPT3YbYLaKaCuwu+j06D/8Jfib0o/PxbVt6Amhv3dUAtW6rTV1jPgJSBG83I/e04Y6xkVdVhSRhi0ww==", + "dev": true, + "requires": { + "readable-stream": "2 || 3" + } + } + } + }, + "gulp-concat": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/gulp-concat/-/gulp-concat-2.6.1.tgz", + "integrity": "sha1-Yz0WyV2IUEYorQJmVmPO5aR5M1M=", + "dev": true, + "requires": { + "concat-with-sourcemaps": "^1.0.0", + "through2": "^2.0.0", + "vinyl": "^2.0.0" + } + }, + "gulp-notify": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/gulp-notify/-/gulp-notify-3.2.0.tgz", + "integrity": "sha512-qEocs1UVoDKKUjfsxJNMNwkRla0PbsyJwsqNNXpzYWsLQ29LhxRMY3wnTGZcc4hMHtalnvah/Dwlwb4NijH/0A==", + "dev": true, + "requires": { + "ansi-colors": "^1.0.1", + "fancy-log": "^1.3.2", + "lodash.template": "^4.4.0", + "node-notifier": "^5.2.1", + "node.extend": "^2.0.0", + "plugin-error": "^0.1.2", + "through2": "^2.0.3" + }, + "dependencies": { + "arr-diff": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-1.1.0.tgz", + "integrity": "sha1-aHwydYFjWI/vfeezb6vklesaOZo=", + "dev": true, + "requires": { + "arr-flatten": "^1.0.1", + "array-slice": "^0.2.3" + } + }, + "arr-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-2.1.0.tgz", + "integrity": "sha1-IPnqtexw9cfSFbEHexw5Fh0pLH0=", + "dev": true + }, + "array-slice": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/array-slice/-/array-slice-0.2.3.tgz", + "integrity": "sha1-3Tz7gO15c6dRF82sabC5nshhhvU=", + "dev": true + }, + "extend-shallow": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-1.1.4.tgz", + "integrity": "sha1-Gda/lN/AnXa6cR85uHLSH/TdkHE=", + "dev": true, + "requires": { + "kind-of": "^1.1.0" + } + }, + "kind-of": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-1.1.0.tgz", + "integrity": "sha1-FAo9LUGjbS78+pN3tiwk+ElaXEQ=", + "dev": true + }, + "plugin-error": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/plugin-error/-/plugin-error-0.1.2.tgz", + "integrity": "sha1-O5uzM1zPAPQl4HQ34ZJ2ln2kes4=", + "dev": true, + "requires": { + "ansi-cyan": "^0.1.1", + "ansi-red": "^0.1.1", + "arr-diff": "^1.0.1", + "arr-union": "^2.0.1", + "extend-shallow": "^1.1.2" + } + } + } + }, + "gulp-plumber": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/gulp-plumber/-/gulp-plumber-1.2.1.tgz", + "integrity": "sha512-mctAi9msEAG7XzW5ytDVZ9PxWMzzi1pS2rBH7lA095DhMa6KEXjm+St0GOCc567pJKJ/oCvosVAZEpAey0q2eQ==", + "dev": true, + "requires": { + "chalk": "^1.1.3", + "fancy-log": "^1.3.2", + "plugin-error": "^0.1.2", + "through2": "^2.0.3" + }, + "dependencies": { + "arr-diff": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-1.1.0.tgz", + "integrity": "sha1-aHwydYFjWI/vfeezb6vklesaOZo=", + "dev": true, + "requires": { + "arr-flatten": "^1.0.1", + "array-slice": "^0.2.3" + } + }, + "arr-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-2.1.0.tgz", + "integrity": "sha1-IPnqtexw9cfSFbEHexw5Fh0pLH0=", + "dev": true + }, + "array-slice": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/array-slice/-/array-slice-0.2.3.tgz", + "integrity": "sha1-3Tz7gO15c6dRF82sabC5nshhhvU=", + "dev": true + }, + "extend-shallow": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-1.1.4.tgz", + "integrity": "sha1-Gda/lN/AnXa6cR85uHLSH/TdkHE=", + "dev": true, + "requires": { + "kind-of": "^1.1.0" + } + }, + "kind-of": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-1.1.0.tgz", + "integrity": "sha1-FAo9LUGjbS78+pN3tiwk+ElaXEQ=", + "dev": true + }, + "plugin-error": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/plugin-error/-/plugin-error-0.1.2.tgz", + "integrity": "sha1-O5uzM1zPAPQl4HQ34ZJ2ln2kes4=", + "dev": true, + "requires": { + "ansi-cyan": "^0.1.1", + "ansi-red": "^0.1.1", + "arr-diff": "^1.0.1", + "arr-union": "^2.0.1", + "extend-shallow": "^1.1.2" + } + } + } + }, + "gulp-rename": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/gulp-rename/-/gulp-rename-2.0.0.tgz", + "integrity": "sha512-97Vba4KBzbYmR5VBs9mWmK+HwIf5mj+/zioxfZhOKeXtx5ZjBk57KFlePf5nxq9QsTtFl0ejnHE3zTC9MHXqyQ==", + "dev": true + }, + "gulp-sass": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/gulp-sass/-/gulp-sass-4.1.0.tgz", + "integrity": "sha512-xIiwp9nkBLcJDpmYHbEHdoWZv+j+WtYaKD6Zil/67F3nrAaZtWYN5mDwerdo7EvcdBenSAj7Xb2hx2DqURLGdA==", + "dev": true, + "requires": { + "chalk": "^2.3.0", + "lodash": "^4.17.11", + "node-sass": "^4.8.3", + "plugin-error": "^1.0.1", + "replace-ext": "^1.0.0", + "strip-ansi": "^4.0.0", + "through2": "^2.0.0", + "vinyl-sourcemaps-apply": "^0.2.0" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "^3.0.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "gulp-uglify": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/gulp-uglify/-/gulp-uglify-3.0.2.tgz", + "integrity": "sha512-gk1dhB74AkV2kzqPMQBLA3jPoIAPd/nlNzP2XMDSG8XZrqnlCiDGAqC+rZOumzFvB5zOphlFh6yr3lgcAb/OOg==", + "dev": true, + "requires": { + "array-each": "^1.0.1", + "extend-shallow": "^3.0.2", + "gulplog": "^1.0.0", + "has-gulplog": "^0.1.0", + "isobject": "^3.0.1", + "make-error-cause": "^1.1.1", + "safe-buffer": "^5.1.2", + "through2": "^2.0.0", + "uglify-js": "^3.0.5", + "vinyl-sourcemaps-apply": "^0.2.0" + } + }, + "gulplog": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/gulplog/-/gulplog-1.0.0.tgz", + "integrity": "sha1-4oxNRdBey77YGDY86PnFkmIp/+U=", + "dev": true, + "requires": { + "glogg": "^1.0.0" + } + }, + "har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", + "dev": true + }, + "har-validator": { + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", + "dev": true, + "requires": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + } + }, + "has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, + "requires": { + "function-bind": "^1.1.1" + } + }, + "has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "has-binary2": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-binary2/-/has-binary2-1.0.3.tgz", + "integrity": "sha512-G1LWKhDSvhGeAQ8mPVQlqNcOB2sJdwATtZKl2pDKKHfpf/rYj24lkinxf69blJbnsvtqqNU+L3SL50vzZhXOnw==", + "dev": true, + "requires": { + "isarray": "2.0.1" + } + }, + "has-cors": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-cors/-/has-cors-1.1.0.tgz", + "integrity": "sha1-XkdHk/fqmEPRu5nCPu9J/xJv/zk=", + "dev": true + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true + }, + "has-gulplog": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/has-gulplog/-/has-gulplog-0.1.0.tgz", + "integrity": "sha1-ZBTIKRNpfaUVkDl9r7EvIpZ4Ec4=", + "dev": true, + "requires": { + "sparkles": "^1.0.0" + } + }, + "has-symbols": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", + "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", + "dev": true + }, + "has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", + "dev": true + }, + "has-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", + "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", + "dev": true, + "requires": { + "get-value": "^2.0.6", + "has-values": "^1.0.0", + "isobject": "^3.0.0" + } + }, + "has-values": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", + "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", + "dev": true, + "requires": { + "is-number": "^3.0.0", + "kind-of": "^4.0.0" + }, + "dependencies": { + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "kind-of": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", + "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "homedir-polyfill": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", + "integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==", + "dev": true, + "requires": { + "parse-passwd": "^1.0.0" + } + }, + "hosted-git-info": { + "version": "2.8.8", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz", + "integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==", + "dev": true + }, + "http-errors": { + "version": "1.7.3", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.3.tgz", + "integrity": "sha512-ZTTX0MWrsQ2ZAhA1cejAwDLycFsd7I7nVtnkT3Ol0aqodaKW+0CTZDQ1uBv5whptCnc8e8HeRRJxRs0kmm/Qfw==", + "dev": true, + "requires": { + "depd": "~1.1.2", + "inherits": "2.0.4", + "setprototypeof": "1.1.1", + "statuses": ">= 1.5.0 < 2", + "toidentifier": "1.0.0" + }, + "dependencies": { + "statuses": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", + "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=", + "dev": true + } + } + }, + "http-proxy": { + "version": "1.18.1", + "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.1.tgz", + "integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==", + "dev": true, + "requires": { + "eventemitter3": "^4.0.0", + "follow-redirects": "^1.0.0", + "requires-port": "^1.0.0" + } + }, + "http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + } + }, + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "ignore": { + "version": "5.1.8", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz", + "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==", + "dev": true + }, + "immutable": { + "version": "3.8.2", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-3.8.2.tgz", + "integrity": "sha1-wkOZUUVbs5kT2vKBN28VMOEErfM=", + "dev": true + }, + "in-publish": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.1.tgz", + "integrity": "sha512-oDM0kUSNFC31ShNxHKUyfZKy8ZeXZBWMjMdZHKLOk13uvT27VTL/QzRGfRUcevJhpkZAvlhPYuXkF7eNWrtyxQ==", + "dev": true + }, + "indent-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "dev": true + }, + "indexof": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/indexof/-/indexof-0.0.1.tgz", + "integrity": "sha1-gtwzbSMrkGIXnQWrMpOmYFn9Q10=", + "dev": true + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + }, + "ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "dev": true + }, + "interpret": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz", + "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==", + "dev": true + }, + "invert-kv": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", + "integrity": "sha1-EEqOSqym09jNFXqO+L+rLXo//bY=", + "dev": true + }, + "is": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/is/-/is-3.3.0.tgz", + "integrity": "sha512-nW24QBoPcFGGHJGUwnfpI7Yc5CdqWNdsyHQszVE/z2pKHXzh7FZ5GWhJqSyaQ9wMkQnsTx+kAI8bHlCX4tKdbg==", + "dev": true + }, + "is-absolute": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-absolute/-/is-absolute-1.0.0.tgz", + "integrity": "sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA==", + "dev": true, + "requires": { + "is-relative": "^1.0.0", + "is-windows": "^1.0.1" + } + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "dev": true + }, + "is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "requires": { + "binary-extensions": "^2.0.0" + } + }, + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, + "is-core-module": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.2.0.tgz", + "integrity": "sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ==", + "dev": true, + "requires": { + "has": "^1.0.3" + } + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "dependencies": { + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + } + } + }, + "is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true + }, + "is-finite": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz", + "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true + }, + "is-glob": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", + "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", + "dev": true, + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-negated-glob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-negated-glob/-/is-negated-glob-1.0.0.tgz", + "integrity": "sha1-aRC8pdqMleeEtXUbl2z1oQ/uNtI=", + "dev": true + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true + }, + "is-number-like": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/is-number-like/-/is-number-like-1.0.8.tgz", + "integrity": "sha512-6rZi3ezCyFcn5L71ywzz2bS5b2Igl1En3eTlZlvKjpz1n3IZLAYMbKYAIQgFmEu0GENg92ziU/faEOA/aixjbA==", + "dev": true, + "requires": { + "lodash.isfinite": "^3.3.2" + } + }, + "is-path-cwd": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-2.2.0.tgz", + "integrity": "sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ==", + "dev": true + }, + "is-path-inside": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.2.tgz", + "integrity": "sha512-/2UGPSgmtqwo1ktx8NDHjuPwZWmHhO+gj0f93EkhLB5RgW9RZevWYYlIkS6zePc6U2WpOdQYIwHe9YC4DWEBVg==", + "dev": true + }, + "is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "requires": { + "isobject": "^3.0.1" + } + }, + "is-relative": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-relative/-/is-relative-1.0.0.tgz", + "integrity": "sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==", + "dev": true, + "requires": { + "is-unc-path": "^1.0.0" + } + }, + "is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", + "dev": true + }, + "is-unc-path": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-unc-path/-/is-unc-path-1.0.0.tgz", + "integrity": "sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==", + "dev": true, + "requires": { + "unc-path-regex": "^0.1.2" + } + }, + "is-utf8": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", + "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=", + "dev": true + }, + "is-valid-glob": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-valid-glob/-/is-valid-glob-1.0.0.tgz", + "integrity": "sha1-Kb8+/3Ab4tTTFdusw5vDn+j2Aao=", + "dev": true + }, + "is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "dev": true + }, + "is-wsl": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", + "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=", + "dev": true + }, + "isarray": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.1.tgz", + "integrity": "sha1-o32U7ZzaLVmGXJ92/llu4fM4dB4=", + "dev": true + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "dev": true + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + }, + "isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", + "dev": true + }, + "js-base64": { + "version": "2.6.4", + "resolved": "https://registry.npmjs.org/js-base64/-/js-base64-2.6.4.tgz", + "integrity": "sha512-pZe//GGmwJndub7ZghVHz7vjb2LgC1m8B07Au3eYqeqv9emhESByMXxaEgkUkEqJe87oBbSniGYoQNIBklc7IQ==", + "dev": true + }, + "jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=", + "dev": true + }, + "json-schema": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", + "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=", + "dev": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", + "dev": true + }, + "json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=", + "dev": true + }, + "jsonfile": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-3.0.1.tgz", + "integrity": "sha1-pezG9l9T9mLEQVx2daAzHQmS7GY=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.6" + } + }, + "jsprim": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", + "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", + "dev": true, + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.2.3", + "verror": "1.10.0" + } + }, + "just-debounce": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/just-debounce/-/just-debounce-1.0.0.tgz", + "integrity": "sha1-h/zPrv/AtozRnVX2cilD+SnqNeo=", + "dev": true + }, + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true + }, + "last-run": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/last-run/-/last-run-1.1.1.tgz", + "integrity": "sha1-RblpQsF7HHnHchmCWbqUO+v4yls=", + "dev": true, + "requires": { + "default-resolution": "^2.0.0", + "es6-weak-map": "^2.0.1" + } + }, + "lazystream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.0.tgz", + "integrity": "sha1-9plf4PggOS9hOWvolGJAe7dxaOQ=", + "dev": true, + "requires": { + "readable-stream": "^2.0.5" + } + }, + "lcid": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/lcid/-/lcid-1.0.0.tgz", + "integrity": "sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=", + "dev": true, + "requires": { + "invert-kv": "^1.0.0" + } + }, + "lead": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/lead/-/lead-1.0.0.tgz", + "integrity": "sha1-bxT5mje+Op3XhPVJVpDlkDRm7kI=", + "dev": true, + "requires": { + "flush-write-stream": "^1.0.2" + } + }, + "liftoff": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/liftoff/-/liftoff-3.1.0.tgz", + "integrity": "sha512-DlIPlJUkCV0Ips2zf2pJP0unEoT1kwYhiiPUGF3s/jtxTCjziNLoiVVh+jqWOWeFi6mmwQ5fNxvAUyPad4Dfog==", + "dev": true, + "requires": { + "extend": "^3.0.0", + "findup-sync": "^3.0.0", + "fined": "^1.0.1", + "flagged-respawn": "^1.0.0", + "is-plain-object": "^2.0.4", + "object.map": "^1.0.0", + "rechoir": "^0.6.2", + "resolve": "^1.1.7" + } + }, + "limiter": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/limiter/-/limiter-1.1.5.tgz", + "integrity": "sha512-FWWMIEOxz3GwUI4Ts/IvgVy6LPvoMPgjMdQ185nN6psJyBJ4yOpzqm695/h5umdLJg2vW3GR5iG11MAkR2AzJA==", + "dev": true + }, + "load-json-file": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", + "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0", + "strip-bom": "^2.0.0" + } + }, + "localtunnel": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/localtunnel/-/localtunnel-2.0.1.tgz", + "integrity": "sha512-LiaI5wZdz0xFkIQpXbNI62ZnNn8IMsVhwxHmhA+h4vj8R9JG/07bQHWwQlyy7b95/5fVOCHJfIHv+a5XnkvaJA==", + "dev": true, + "requires": { + "axios": "0.21.1", + "debug": "4.3.1", + "openurl": "1.1.1", + "yargs": "16.2.0" + }, + "dependencies": { + "debug": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", + "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", + "dev": true, + "requires": { + "ms": "2.1.2" + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + } + } + } + }, + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "requires": { + "p-locate": "^4.1.0" + } + }, + "lodash": { + "version": "4.17.20", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", + "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==", + "dev": true + }, + "lodash._reinterpolate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz", + "integrity": "sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0=", + "dev": true + }, + "lodash.isfinite": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/lodash.isfinite/-/lodash.isfinite-3.3.2.tgz", + "integrity": "sha1-+4m2WpqAKBgz8LdHizpRBPiY67M=", + "dev": true + }, + "lodash.template": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-4.5.0.tgz", + "integrity": "sha512-84vYFxIkmidUiFxidA/KjjH9pAycqW+h980j7Fuz5qxRtO9pgB7MDFTdys1N7A5mcucRiDyEq4fusljItR1T/A==", + "dev": true, + "requires": { + "lodash._reinterpolate": "^3.0.0", + "lodash.templatesettings": "^4.0.0" + } + }, + "lodash.templatesettings": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-4.2.0.tgz", + "integrity": "sha512-stgLz+i3Aa9mZgnjr/O+v9ruKZsPsndy7qPZOchbqk2cnTU1ZaldKK+v7m54WoKIyxiuMZTKT2H81F8BeAc3ZQ==", + "dev": true, + "requires": { + "lodash._reinterpolate": "^3.0.0" + } + }, + "loud-rejection": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", + "integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=", + "dev": true, + "requires": { + "currently-unhandled": "^0.4.1", + "signal-exit": "^3.0.0" + } + }, + "lru-cache": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", + "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", + "dev": true, + "requires": { + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" + } + }, + "make-error": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", + "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", + "dev": true + }, + "make-error-cause": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/make-error-cause/-/make-error-cause-1.2.2.tgz", + "integrity": "sha1-3wOI/NCzeBbf8KX7gQiTl3fcvJ0=", + "dev": true, + "requires": { + "make-error": "^1.2.0" + } + }, + "make-iterator": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/make-iterator/-/make-iterator-1.0.1.tgz", + "integrity": "sha512-pxiuXh0iVEq7VM7KMIhs5gxsfxCux2URptUQaXo4iZZJxBAzTPOLE2BumO5dbfVYq/hBJFBR/a1mFDmOx5AGmw==", + "dev": true, + "requires": { + "kind-of": "^6.0.2" + } + }, + "map-cache": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", + "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=", + "dev": true + }, + "map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=", + "dev": true + }, + "map-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", + "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", + "dev": true, + "requires": { + "object-visit": "^1.0.0" + } + }, + "matchdep": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/matchdep/-/matchdep-2.0.0.tgz", + "integrity": "sha1-xvNINKDY28OzfCfui7yyfHd1WC4=", + "dev": true, + "requires": { + "findup-sync": "^2.0.0", + "micromatch": "^3.0.4", + "resolve": "^1.4.0", + "stack-trace": "0.0.10" + }, + "dependencies": { + "braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "requires": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "findup-sync": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-2.0.0.tgz", + "integrity": "sha1-kyaxSIwi0aYIhlCoaQGy2akKLLw=", + "dev": true, + "requires": { + "detect-file": "^1.0.0", + "is-glob": "^3.1.0", + "micromatch": "^3.0.4", + "resolve-dir": "^1.0.1" + } + }, + "is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "dev": true, + "requires": { + "is-extglob": "^2.1.0" + } + }, + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + } + }, + "to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "dev": true, + "requires": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + } + } + } + }, + "meow": { + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz", + "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=", + "dev": true, + "requires": { + "camelcase-keys": "^2.0.0", + "decamelize": "^1.1.2", + "loud-rejection": "^1.0.0", + "map-obj": "^1.0.1", + "minimist": "^1.1.3", + "normalize-package-data": "^2.3.4", + "object-assign": "^4.0.1", + "read-pkg-up": "^1.0.1", + "redent": "^1.0.0", + "trim-newlines": "^1.0.0" + } + }, + "merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true + }, + "micromatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz", + "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==", + "dev": true, + "requires": { + "braces": "^3.0.1", + "picomatch": "^2.0.5" + } + }, + "mime": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz", + "integrity": "sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ==", + "dev": true + }, + "mime-db": { + "version": "1.45.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.45.0.tgz", + "integrity": "sha512-CkqLUxUk15hofLoLyljJSrukZi8mAtgd+yE5uO4tqRZsdsAJKv0O+rFMhVDRJgozy+yG6md5KwuXhD4ocIoP+w==", + "dev": true + }, + "mime-types": { + "version": "2.1.28", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.28.tgz", + "integrity": "sha512-0TO2yJ5YHYr7M2zzT7gDU1tbwHxEUWBCLt0lscSNpcdAfFyJOVEpRYNS7EXVcTLNj/25QO8gulHC5JtTzSE2UQ==", + "dev": true, + "requires": { + "mime-db": "1.45.0" + } + }, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", + "dev": true + }, + "mitt": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mitt/-/mitt-1.2.0.tgz", + "integrity": "sha512-r6lj77KlwqLhIUku9UWYes7KJtsczvolZkzp8hbaDPPaE24OmWl5s539Mytlj22siEQKosZ26qCBgda2PKwoJw==", + "dev": true + }, + "mixin-deep": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", + "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", + "dev": true, + "requires": { + "for-in": "^1.0.2", + "is-extendable": "^1.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "^2.0.4" + } + } + } + }, + "mkdirp": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "dev": true, + "requires": { + "minimist": "^1.2.5" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "mute-stdout": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/mute-stdout/-/mute-stdout-1.0.1.tgz", + "integrity": "sha512-kDcwXR4PS7caBpuRYYBUz9iVixUk3anO3f5OYFiIPwK/20vCzKCHyKoulbiDY1S53zD2bxUpxN/IJ+TnXjfvxg==", + "dev": true + }, + "nan": { + "version": "2.14.2", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz", + "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==", + "dev": true + }, + "nanomatch": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", + "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "fragment-cache": "^0.2.1", + "is-windows": "^1.0.2", + "kind-of": "^6.0.2", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + } + }, + "negotiator": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", + "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==", + "dev": true + }, + "next-tick": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz", + "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=", + "dev": true + }, + "node-gyp": { + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-3.8.0.tgz", + "integrity": "sha512-3g8lYefrRRzvGeSowdJKAKyks8oUpLEd/DyPV4eMhVlhJ0aNaZqIrNUIPuEWWTAoPqyFkfGrM67MC69baqn6vA==", + "dev": true, + "requires": { + "fstream": "^1.0.0", + "glob": "^7.0.3", + "graceful-fs": "^4.1.2", + "mkdirp": "^0.5.0", + "nopt": "2 || 3", + "npmlog": "0 || 1 || 2 || 3 || 4", + "osenv": "0", + "request": "^2.87.0", + "rimraf": "2", + "semver": "~5.3.0", + "tar": "^2.0.0", + "which": "1" + }, + "dependencies": { + "rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + }, + "semver": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz", + "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=", + "dev": true + } + } + }, + "node-notifier": { + "version": "5.4.3", + "resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-5.4.3.tgz", + "integrity": "sha512-M4UBGcs4jeOK9CjTsYwkvH6/MzuUmGCyTW+kCY7uO+1ZVr0+FHGdPdIf5CCLqAaxnRrWidyoQlNkMIIVwbKB8Q==", + "dev": true, + "requires": { + "growly": "^1.3.0", + "is-wsl": "^1.1.0", + "semver": "^5.5.0", + "shellwords": "^0.1.1", + "which": "^1.3.0" + } + }, + "node-releases": { + "version": "1.1.69", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.69.tgz", + "integrity": "sha512-DGIjo79VDEyAnRlfSqYTsy+yoHd2IOjJiKUozD2MV2D85Vso6Bug56mb9tT/fY5Urt0iqk01H7x+llAruDR2zA==", + "dev": true + }, + "node-sass": { + "version": "4.14.1", + "resolved": "https://registry.npmjs.org/node-sass/-/node-sass-4.14.1.tgz", + "integrity": "sha512-sjCuOlvGyCJS40R8BscF5vhVlQjNN069NtQ1gSxyK1u9iqvn6tf7O1R4GNowVZfiZUCRt5MmMs1xd+4V/7Yr0g==", + "dev": true, + "requires": { + "async-foreach": "^0.1.3", + "chalk": "^1.1.1", + "cross-spawn": "^3.0.0", + "gaze": "^1.0.0", + "get-stdin": "^4.0.1", + "glob": "^7.0.3", + "in-publish": "^2.0.0", + "lodash": "^4.17.15", + "meow": "^3.7.0", + "mkdirp": "^0.5.1", + "nan": "^2.13.2", + "node-gyp": "^3.8.0", + "npmlog": "^4.0.0", + "request": "^2.88.0", + "sass-graph": "2.2.5", + "stdout-stream": "^1.4.0", + "true-case-path": "^1.0.2" + } + }, + "node.extend": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/node.extend/-/node.extend-2.0.2.tgz", + "integrity": "sha512-pDT4Dchl94/+kkgdwyS2PauDFjZG0Hk0IcHIB+LkW27HLDtdoeMxHTxZh39DYbPP8UflWXWj9JcdDozF+YDOpQ==", + "dev": true, + "requires": { + "has": "^1.0.3", + "is": "^3.2.1" + } + }, + "nopt": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz", + "integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=", + "dev": true, + "requires": { + "abbrev": "1" + } + }, + "normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "requires": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true + }, + "normalize-range": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/normalize-range/-/normalize-range-0.1.2.tgz", + "integrity": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=", + "dev": true + }, + "now-and-later": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/now-and-later/-/now-and-later-2.0.1.tgz", + "integrity": "sha512-KGvQ0cB70AQfg107Xvs/Fbu+dGmZoTRJp2TaPwcwQm3/7PteUyN2BCgk8KBMPGBUXZdVwyWS8fDCGFygBm19UQ==", + "dev": true, + "requires": { + "once": "^1.3.2" + } + }, + "npmlog": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", + "dev": true, + "requires": { + "are-we-there-yet": "~1.1.2", + "console-control-strings": "~1.1.0", + "gauge": "~2.7.3", + "set-blocking": "~2.0.0" + } + }, + "num2fraction": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz", + "integrity": "sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=", + "dev": true + }, + "number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", + "dev": true + }, + "oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", + "dev": true + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "dev": true + }, + "object-component": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/object-component/-/object-component-0.0.3.tgz", + "integrity": "sha1-8MaapQ78lbhmwYb0AKM3acsvEpE=", + "dev": true + }, + "object-copy": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", + "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", + "dev": true, + "requires": { + "copy-descriptor": "^0.1.0", + "define-property": "^0.2.5", + "kind-of": "^3.0.3" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true + }, + "object-visit": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", + "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", + "dev": true, + "requires": { + "isobject": "^3.0.0" + } + }, + "object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + } + }, + "object.defaults": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/object.defaults/-/object.defaults-1.1.0.tgz", + "integrity": "sha1-On+GgzS0B96gbaFtiNXNKeQ1/s8=", + "dev": true, + "requires": { + "array-each": "^1.0.1", + "array-slice": "^1.0.0", + "for-own": "^1.0.0", + "isobject": "^3.0.0" + } + }, + "object.map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object.map/-/object.map-1.0.1.tgz", + "integrity": "sha1-z4Plncj8wK1fQlDh94s7gb2AHTc=", + "dev": true, + "requires": { + "for-own": "^1.0.0", + "make-iterator": "^1.0.0" + } + }, + "object.pick": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", + "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", + "dev": true, + "requires": { + "isobject": "^3.0.1" + } + }, + "object.reduce": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object.reduce/-/object.reduce-1.0.1.tgz", + "integrity": "sha1-b+NI8qx/oPlcpiEiZZkJaCW7A60=", + "dev": true, + "requires": { + "for-own": "^1.0.0", + "make-iterator": "^1.0.0" + } + }, + "on-finished": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", + "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", + "dev": true, + "requires": { + "ee-first": "1.1.1" + } + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, + "requires": { + "wrappy": "1" + } + }, + "openurl": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/openurl/-/openurl-1.1.1.tgz", + "integrity": "sha1-OHW0sO96UsFW8NtB1GCduw+Us4c=", + "dev": true + }, + "opn": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/opn/-/opn-5.3.0.tgz", + "integrity": "sha512-bYJHo/LOmoTd+pfiYhfZDnf9zekVJrY+cnS2a5F2x+w5ppvTqObojTP7WiFG+kVZs9Inw+qQ/lw7TroWwhdd2g==", + "dev": true, + "requires": { + "is-wsl": "^1.1.0" + } + }, + "ordered-read-streams": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/ordered-read-streams/-/ordered-read-streams-1.0.1.tgz", + "integrity": "sha1-d8DLN8QVJdZBZtmQ/61+xqDhNj4=", + "dev": true, + "requires": { + "readable-stream": "^2.0.1" + } + }, + "os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", + "dev": true + }, + "os-locale": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz", + "integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=", + "dev": true, + "requires": { + "lcid": "^1.0.0" + } + }, + "os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", + "dev": true + }, + "osenv": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", + "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", + "dev": true, + "requires": { + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.0" + } + }, + "p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "requires": { + "p-limit": "^2.2.0" + } + }, + "p-map": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-3.0.0.tgz", + "integrity": "sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==", + "dev": true, + "requires": { + "aggregate-error": "^3.0.0" + } + }, + "p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true + }, + "parse-filepath": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/parse-filepath/-/parse-filepath-1.0.2.tgz", + "integrity": "sha1-pjISf1Oq89FYdvWHLz/6x2PWyJE=", + "dev": true, + "requires": { + "is-absolute": "^1.0.0", + "map-cache": "^0.2.0", + "path-root": "^0.1.1" + } + }, + "parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "dev": true, + "requires": { + "error-ex": "^1.2.0" + } + }, + "parse-node-version": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parse-node-version/-/parse-node-version-1.0.1.tgz", + "integrity": "sha512-3YHlOa/JgH6Mnpr05jP9eDG254US9ek25LyIxZlDItp2iJtwyaXQb57lBYLdT3MowkUFYEV2XXNAYIPlESvJlA==", + "dev": true + }, + "parse-passwd": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz", + "integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=", + "dev": true + }, + "parseqs": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/parseqs/-/parseqs-0.0.6.tgz", + "integrity": "sha512-jeAGzMDbfSHHA091hr0r31eYfTig+29g3GKKE/PPbEQ65X0lmMwlEoqmhzu0iztID5uJpZsFlUPDP8ThPL7M8w==", + "dev": true + }, + "parseuri": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.6.tgz", + "integrity": "sha512-AUjen8sAkGgao7UyCX6Ahv0gIK2fABKmYjvP4xmy5JaKvcbTRueIqIPHLAfq30xJddqSE033IOMUSOMCcK3Sow==", + "dev": true + }, + "parseurl": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", + "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "dev": true + }, + "pascalcase": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", + "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", + "dev": true + }, + "path-dirname": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz", + "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=", + "dev": true + }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "dev": true + }, + "path-parse": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", + "dev": true + }, + "path-root": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/path-root/-/path-root-0.1.1.tgz", + "integrity": "sha1-mkpoFMrBwM1zNgqV8yCDyOpHRbc=", + "dev": true, + "requires": { + "path-root-regex": "^0.1.0" + } + }, + "path-root-regex": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/path-root-regex/-/path-root-regex-0.1.2.tgz", + "integrity": "sha1-v8zcjfWxLcUsi0PsONGNcsBLqW0=", + "dev": true + }, + "path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true + }, + "performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=", + "dev": true + }, + "picomatch": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", + "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==", + "dev": true + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + }, + "pinkie": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", + "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", + "dev": true + }, + "pinkie-promise": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", + "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", + "dev": true, + "requires": { + "pinkie": "^2.0.0" + } + }, + "plugin-error": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/plugin-error/-/plugin-error-1.0.1.tgz", + "integrity": "sha512-L1zP0dk7vGweZME2i+EeakvUNqSrdiI3F91TwEoYiGrAfUXmVv6fJIq4g82PAXxNsWOp0J7ZqQy/3Szz0ajTxA==", + "dev": true, + "requires": { + "ansi-colors": "^1.0.1", + "arr-diff": "^4.0.0", + "arr-union": "^3.1.0", + "extend-shallow": "^3.0.2" + } + }, + "portscanner": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/portscanner/-/portscanner-2.1.1.tgz", + "integrity": "sha1-6rtAnk3iSVD1oqUW01rnaTQ/u5Y=", + "dev": true, + "requires": { + "async": "1.5.2", + "is-number-like": "^1.0.3" + } + }, + "posix-character-classes": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", + "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", + "dev": true + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "dev": true, + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "postcss-value-parser": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz", + "integrity": "sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ==", + "dev": true + }, + "pretty-hrtime": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz", + "integrity": "sha1-t+PqQkNaTJsnWdmeDyAesZWALuE=", + "dev": true + }, + "process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", + "dev": true + }, + "pseudomap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", + "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", + "dev": true + }, + "psl": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==", + "dev": true + }, + "pump": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz", + "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "pumpify": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-1.5.1.tgz", + "integrity": "sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ==", + "dev": true, + "requires": { + "duplexify": "^3.6.0", + "inherits": "^2.0.3", + "pump": "^2.0.0" + } + }, + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true + }, + "qs": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.2.3.tgz", + "integrity": "sha1-HPyyXBCpsrSDBT/zn138kjOQjP4=", + "dev": true + }, + "range-parser": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", + "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "dev": true + }, + "raw-body": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.1.tgz", + "integrity": "sha512-9WmIKF6mkvA0SLmA2Knm9+qj89e+j1zqgyn8aXGd7+nAduPoqgI9lO57SAZNn/Byzo5P7JhXTyg9PzaJbH73bA==", + "dev": true, + "requires": { + "bytes": "3.1.0", + "http-errors": "1.7.3", + "iconv-lite": "0.4.24", + "unpipe": "1.0.0" + } + }, + "read-pkg": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", + "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", + "dev": true, + "requires": { + "load-json-file": "^1.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^1.0.0" + }, + "dependencies": { + "path-type": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", + "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "pify": "^2.0.0", + "pinkie-promise": "^2.0.0" + } + } + } + }, + "read-pkg-up": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", + "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", + "dev": true, + "requires": { + "find-up": "^1.0.0", + "read-pkg": "^1.0.0" + }, + "dependencies": { + "find-up": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", + "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", + "dev": true, + "requires": { + "path-exists": "^2.0.0", + "pinkie-promise": "^2.0.0" + } + }, + "path-exists": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", + "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", + "dev": true, + "requires": { + "pinkie-promise": "^2.0.0" + } + } + } + }, + "readable-stream": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + } + } + }, + "readdirp": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz", + "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==", + "dev": true, + "requires": { + "picomatch": "^2.2.1" + } + }, + "rechoir": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", + "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=", + "dev": true, + "requires": { + "resolve": "^1.1.6" + } + }, + "redent": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz", + "integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=", + "dev": true, + "requires": { + "indent-string": "^2.1.0", + "strip-indent": "^1.0.1" + }, + "dependencies": { + "indent-string": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz", + "integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=", + "dev": true, + "requires": { + "repeating": "^2.0.0" + } + } + } + }, + "regex-not": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", + "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", + "dev": true, + "requires": { + "extend-shallow": "^3.0.2", + "safe-regex": "^1.1.0" + } + }, + "remove-bom-buffer": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/remove-bom-buffer/-/remove-bom-buffer-3.0.0.tgz", + "integrity": "sha512-8v2rWhaakv18qcvNeli2mZ/TMTL2nEyAKRvzo1WtnZBl15SHyEhrCu2/xKlJyUFKHiHgfXIyuY6g2dObJJycXQ==", + "dev": true, + "requires": { + "is-buffer": "^1.1.5", + "is-utf8": "^0.2.1" + } + }, + "remove-bom-stream": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/remove-bom-stream/-/remove-bom-stream-1.2.0.tgz", + "integrity": "sha1-BfGlk/FuQuH7kOv1nejlaVJflSM=", + "dev": true, + "requires": { + "remove-bom-buffer": "^3.0.0", + "safe-buffer": "^5.1.0", + "through2": "^2.0.3" + } + }, + "remove-trailing-separator": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", + "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=", + "dev": true + }, + "repeat-element": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz", + "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==", + "dev": true + }, + "repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", + "dev": true + }, + "repeating": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", + "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", + "dev": true, + "requires": { + "is-finite": "^1.0.0" + } + }, + "replace-ext": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-1.0.1.tgz", + "integrity": "sha512-yD5BHCe7quCgBph4rMQ+0KkIRKwWCrHDOX1p1Gp6HwjPM5kVoCdKGNhN7ydqqsX6lJEnQDKZ/tFMiEdQ1dvPEw==", + "dev": true + }, + "replace-homedir": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/replace-homedir/-/replace-homedir-1.0.0.tgz", + "integrity": "sha1-6H9tUTuSjd6AgmDBK+f+xv9ueYw=", + "dev": true, + "requires": { + "homedir-polyfill": "^1.0.1", + "is-absolute": "^1.0.0", + "remove-trailing-separator": "^1.1.0" + } + }, + "request": { + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", + "dev": true, + "requires": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + }, + "dependencies": { + "qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", + "dev": true + } + } + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "dev": true + }, + "require-main-filename": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", + "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", + "dev": true + }, + "requires-port": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", + "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=", + "dev": true + }, + "resolve": { + "version": "1.19.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz", + "integrity": "sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==", + "dev": true, + "requires": { + "is-core-module": "^2.1.0", + "path-parse": "^1.0.6" + } + }, + "resolve-dir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/resolve-dir/-/resolve-dir-1.0.1.tgz", + "integrity": "sha1-eaQGRMNivoLybv/nOcm7U4IEb0M=", + "dev": true, + "requires": { + "expand-tilde": "^2.0.0", + "global-modules": "^1.0.0" + } + }, + "resolve-options": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/resolve-options/-/resolve-options-1.1.0.tgz", + "integrity": "sha1-MrueOcBtZzONyTeMDW1gdFZq0TE=", + "dev": true, + "requires": { + "value-or-function": "^3.0.0" + } + }, + "resolve-url": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", + "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", + "dev": true + }, + "resp-modifier": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/resp-modifier/-/resp-modifier-6.0.2.tgz", + "integrity": "sha1-sSTeXE+6/LpUH0j/pzlw9KpFa08=", + "dev": true, + "requires": { + "debug": "^2.2.0", + "minimatch": "^3.0.2" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + } + } + }, + "ret": { + "version": "0.1.15", + "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", + "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", + "dev": true + }, + "reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "dev": true + }, + "rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + }, + "run-parallel": { + "version": "1.1.10", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.1.10.tgz", + "integrity": "sha512-zb/1OuZ6flOlH6tQyMPUrE3x3Ulxjlo9WIVXR4yVYi4H9UXQaeIsPbLn2R3O3vQCnDKkAl2qHiuocKKX4Tz/Sw==", + "dev": true + }, + "rx": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/rx/-/rx-4.1.0.tgz", + "integrity": "sha1-pfE/957zt0D+MKqAP7CfmIBdR4I=", + "dev": true + }, + "rxjs": { + "version": "5.5.12", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-5.5.12.tgz", + "integrity": "sha512-xx2itnL5sBbqeeiVgNPVuQQ1nC8Jp2WfNJhXWHmElW9YmrpS9UVnNzhP3EH3HFqexO5Tlp8GhYY+WEcqcVMvGw==", + "dev": true, + "requires": { + "symbol-observable": "1.0.1" + } + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, + "safe-regex": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", + "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", + "dev": true, + "requires": { + "ret": "~0.1.10" + } + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true + }, + "sass-graph": { + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.5.tgz", + "integrity": "sha512-VFWDAHOe6mRuT4mZRd4eKE+d8Uedrk6Xnh7Sh9b4NGufQLQjOrvf/MQoOdx+0s92L89FeyUUNfU597j/3uNpag==", + "dev": true, + "requires": { + "glob": "^7.0.0", + "lodash": "^4.0.0", + "scss-tokenizer": "^0.2.3", + "yargs": "^13.3.2" + }, + "dependencies": { + "ansi-regex": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", + "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "cliui": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz", + "integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==", + "dev": true, + "requires": { + "string-width": "^3.1.0", + "strip-ansi": "^5.2.0", + "wrap-ansi": "^5.1.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "emoji-regex": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", + "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", + "dev": true + }, + "find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "dev": true, + "requires": { + "locate-path": "^3.0.0" + } + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "dev": true, + "requires": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + } + }, + "p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "dev": true, + "requires": { + "p-limit": "^2.0.0" + } + }, + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true + }, + "string-width": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", + "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", + "dev": true, + "requires": { + "emoji-regex": "^7.0.1", + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^5.1.0" + } + }, + "strip-ansi": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "dev": true, + "requires": { + "ansi-regex": "^4.1.0" + } + }, + "wrap-ansi": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz", + "integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.0", + "string-width": "^3.0.0", + "strip-ansi": "^5.0.0" + } + }, + "y18n": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.1.tgz", + "integrity": "sha512-wNcy4NvjMYL8gogWWYAO7ZFWFfHcbdbE57tZO8e4cbpj8tfUcwrwqSl3ad8HxpYWCdXcJUCeKKZS62Av1affwQ==", + "dev": true + }, + "yargs": { + "version": "13.3.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.2.tgz", + "integrity": "sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==", + "dev": true, + "requires": { + "cliui": "^5.0.0", + "find-up": "^3.0.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^3.0.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^13.1.2" + } + }, + "yargs-parser": { + "version": "13.1.2", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz", + "integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==", + "dev": true, + "requires": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + } + } + } + }, + "scss-tokenizer": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz", + "integrity": "sha1-jrBtualyMzOCTT9VMGQRSYR85dE=", + "dev": true, + "requires": { + "js-base64": "^2.1.8", + "source-map": "^0.4.2" + }, + "dependencies": { + "source-map": { + "version": "0.4.4", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", + "integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=", + "dev": true, + "requires": { + "amdefine": ">=0.0.4" + } + } + } + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + }, + "semver-greatest-satisfied-range": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/semver-greatest-satisfied-range/-/semver-greatest-satisfied-range-1.1.0.tgz", + "integrity": "sha1-E+jCZYq5aRywzXEJMkAoDTb3els=", + "dev": true, + "requires": { + "sver-compat": "^1.5.0" + } + }, + "send": { + "version": "0.16.2", + "resolved": "https://registry.npmjs.org/send/-/send-0.16.2.tgz", + "integrity": "sha512-E64YFPUssFHEFBvpbbjr44NCLtI1AohxQ8ZSiJjQLskAdKuriYEP6VyGEsRDH8ScozGpkaX1BGvhanqCwkcEZw==", + "dev": true, + "requires": { + "debug": "2.6.9", + "depd": "~1.1.2", + "destroy": "~1.0.4", + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "etag": "~1.8.1", + "fresh": "0.5.2", + "http-errors": "~1.6.2", + "mime": "1.4.1", + "ms": "2.0.0", + "on-finished": "~2.3.0", + "range-parser": "~1.2.0", + "statuses": "~1.4.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "http-errors": { + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", + "integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=", + "dev": true, + "requires": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.0", + "statuses": ">= 1.4.0 < 2" + } + }, + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "dev": true + }, + "setprototypeof": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", + "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==", + "dev": true + }, + "statuses": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz", + "integrity": "sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew==", + "dev": true + } + } + }, + "serve-index": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz", + "integrity": "sha1-03aNabHn2C5c4FD/9bRTvqEqkjk=", + "dev": true, + "requires": { + "accepts": "~1.3.4", + "batch": "0.6.1", + "debug": "2.6.9", + "escape-html": "~1.0.3", + "http-errors": "~1.6.2", + "mime-types": "~2.1.17", + "parseurl": "~1.3.2" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "http-errors": { + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", + "integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=", + "dev": true, + "requires": { + "depd": "~1.1.2", + "inherits": "2.0.3", + "setprototypeof": "1.1.0", + "statuses": ">= 1.4.0 < 2" + } + }, + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "dev": true + }, + "setprototypeof": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", + "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==", + "dev": true + }, + "statuses": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", + "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=", + "dev": true + } + } + }, + "serve-static": { + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.2.tgz", + "integrity": "sha512-p/tdJrO4U387R9oMjb1oj7qSMaMfmOyd4j9hOFoxZe2baQszgHcSWjuya/CiT5kgZZKRudHNOA0pYXOl8rQ5nw==", + "dev": true, + "requires": { + "encodeurl": "~1.0.2", + "escape-html": "~1.0.3", + "parseurl": "~1.3.2", + "send": "0.16.2" + } + }, + "server-destroy": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/server-destroy/-/server-destroy-1.0.1.tgz", + "integrity": "sha1-8Tv5KOQrnD55OD5hzDmYtdFObN0=", + "dev": true + }, + "set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "dev": true + }, + "set-value": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", + "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.3", + "split-string": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "setprototypeof": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", + "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==", + "dev": true + }, + "shellwords": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/shellwords/-/shellwords-0.1.1.tgz", + "integrity": "sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==", + "dev": true + }, + "signal-exit": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", + "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==", + "dev": true + }, + "slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true + }, + "snapdragon": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", + "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", + "dev": true, + "requires": { + "base": "^0.11.1", + "debug": "^2.2.0", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "map-cache": "^0.2.2", + "source-map": "^0.5.6", + "source-map-resolve": "^0.5.0", + "use": "^3.1.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "snapdragon-node": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", + "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", + "dev": true, + "requires": { + "define-property": "^1.0.0", + "isobject": "^3.0.0", + "snapdragon-util": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "snapdragon-util": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", + "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", + "dev": true, + "requires": { + "kind-of": "^3.2.0" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "socket.io": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/socket.io/-/socket.io-2.1.1.tgz", + "integrity": "sha512-rORqq9c+7W0DAK3cleWNSyfv/qKXV99hV4tZe+gGLfBECw3XEhBy7x85F3wypA9688LKjtwO9pX9L33/xQI8yA==", + "dev": true, + "requires": { + "debug": "~3.1.0", + "engine.io": "~3.2.0", + "has-binary2": "~1.0.2", + "socket.io-adapter": "~1.1.0", + "socket.io-client": "2.1.1", + "socket.io-parser": "~3.2.0" + }, + "dependencies": { + "base64-arraybuffer": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz", + "integrity": "sha1-c5JncZI7Whl0etZmqlzUv5xunOg=", + "dev": true + }, + "component-emitter": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz", + "integrity": "sha1-E3kY1teCg/ffemt8WmPhQOaUJeY=", + "dev": true + }, + "engine.io-client": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-3.2.1.tgz", + "integrity": "sha512-y5AbkytWeM4jQr7m/koQLc5AxpRKC1hEVUb/s1FUAWEJq5AzJJ4NLvzuKPuxtDi5Mq755WuDvZ6Iv2rXj4PTzw==", + "dev": true, + "requires": { + "component-emitter": "1.2.1", + "component-inherit": "0.0.3", + "debug": "~3.1.0", + "engine.io-parser": "~2.1.1", + "has-cors": "1.1.0", + "indexof": "0.0.1", + "parseqs": "0.0.5", + "parseuri": "0.0.5", + "ws": "~3.3.1", + "xmlhttprequest-ssl": "~1.5.4", + "yeast": "0.1.2" + } + }, + "engine.io-parser": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-2.1.3.tgz", + "integrity": "sha512-6HXPre2O4Houl7c4g7Ic/XzPnHBvaEmN90vtRO9uLmwtRqQmTOw0QMevL1TOfL2Cpu1VzsaTmMotQgMdkzGkVA==", + "dev": true, + "requires": { + "after": "0.8.2", + "arraybuffer.slice": "~0.0.7", + "base64-arraybuffer": "0.1.5", + "blob": "0.0.5", + "has-binary2": "~1.0.2" + } + }, + "parseqs": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/parseqs/-/parseqs-0.0.5.tgz", + "integrity": "sha1-1SCKNzjkZ2bikbouoXNoSSGouJ0=", + "dev": true, + "requires": { + "better-assert": "~1.0.0" + } + }, + "parseuri": { + "version": "0.0.5", + "resolved": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.5.tgz", + "integrity": "sha1-gCBKUNTbt3m/3G6+J3jZDkvOMgo=", + "dev": true, + "requires": { + "better-assert": "~1.0.0" + } + }, + "socket.io-client": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-2.1.1.tgz", + "integrity": "sha512-jxnFyhAuFxYfjqIgduQlhzqTcOEQSn+OHKVfAxWaNWa7ecP7xSNk2Dx/3UEsDcY7NcFafxvNvKPmmO7HTwTxGQ==", + "dev": true, + "requires": { + "backo2": "1.0.2", + "base64-arraybuffer": "0.1.5", + "component-bind": "1.0.0", + "component-emitter": "1.2.1", + "debug": "~3.1.0", + "engine.io-client": "~3.2.0", + "has-binary2": "~1.0.2", + "has-cors": "1.1.0", + "indexof": "0.0.1", + "object-component": "0.0.3", + "parseqs": "0.0.5", + "parseuri": "0.0.5", + "socket.io-parser": "~3.2.0", + "to-array": "0.1.4" + } + }, + "socket.io-parser": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-3.2.0.tgz", + "integrity": "sha512-FYiBx7rc/KORMJlgsXysflWx/RIvtqZbyGLlHZvjfmPTPeuD/I8MaW7cfFrj5tRltICJdgwflhfZ3NVVbVLFQA==", + "dev": true, + "requires": { + "component-emitter": "1.2.1", + "debug": "~3.1.0", + "isarray": "2.0.1" + } + }, + "ws": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-3.3.3.tgz", + "integrity": "sha512-nnWLa/NwZSt4KQJu51MYlCcSQ5g7INpOrOMt4XV8j4dqTXdmlUmSHQ8/oLC069ckre0fRsgfvsKwbTdtKLCDkA==", + "dev": true, + "requires": { + "async-limiter": "~1.0.0", + "safe-buffer": "~5.1.0", + "ultron": "~1.1.0" + } + } + } + }, + "socket.io-adapter": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/socket.io-adapter/-/socket.io-adapter-1.1.2.tgz", + "integrity": "sha512-WzZRUj1kUjrTIrUKpZLEzFZ1OLj5FwLlAFQs9kuZJzJi5DKdU7FsWc36SNmA8iDOtwBQyT8FkrriRM8vXLYz8g==", + "dev": true + }, + "socket.io-client": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/socket.io-client/-/socket.io-client-2.4.0.tgz", + "integrity": "sha512-M6xhnKQHuuZd4Ba9vltCLT9oa+YvTsP8j9NcEiLElfIg8KeYPyhWOes6x4t+LTAC8enQbE/995AdTem2uNyKKQ==", + "dev": true, + "requires": { + "backo2": "1.0.2", + "component-bind": "1.0.0", + "component-emitter": "~1.3.0", + "debug": "~3.1.0", + "engine.io-client": "~3.5.0", + "has-binary2": "~1.0.2", + "indexof": "0.0.1", + "parseqs": "0.0.6", + "parseuri": "0.0.6", + "socket.io-parser": "~3.3.0", + "to-array": "0.1.4" + } + }, + "socket.io-parser": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-3.3.2.tgz", + "integrity": "sha512-FJvDBuOALxdCI9qwRrO/Rfp9yfndRtc1jSgVgV8FDraihmSP/MLGD5PEuJrNfjALvcQ+vMDM/33AWOYP/JSjDg==", + "dev": true, + "requires": { + "component-emitter": "~1.3.0", + "debug": "~3.1.0", + "isarray": "2.0.1" + } + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true + }, + "source-map-resolve": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz", + "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==", + "dev": true, + "requires": { + "atob": "^2.1.2", + "decode-uri-component": "^0.2.0", + "resolve-url": "^0.2.1", + "source-map-url": "^0.4.0", + "urix": "^0.1.0" + } + }, + "source-map-url": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", + "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=", + "dev": true + }, + "sparkles": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/sparkles/-/sparkles-1.0.1.tgz", + "integrity": "sha512-dSO0DDYUahUt/0/pD/Is3VIm5TGJjludZ0HVymmhYF6eNA53PVLhnUk0znSYbH8IYBuJdCE+1luR22jNLMaQdw==", + "dev": true + }, + "spdx-correct": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", + "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", + "dev": true, + "requires": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-exceptions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", + "dev": true + }, + "spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "requires": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-license-ids": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.7.tgz", + "integrity": "sha512-U+MTEOO0AiDzxwFvoa4JVnMV6mZlJKk2sBLt90s7G0Gd0Mlknc7kxEn3nuDPNZRta7O2uy8oLcZLVT+4sqNZHQ==", + "dev": true + }, + "split-string": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", + "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", + "dev": true, + "requires": { + "extend-shallow": "^3.0.0" + } + }, + "sshpk": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", + "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", + "dev": true, + "requires": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + } + }, + "stack-trace": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/stack-trace/-/stack-trace-0.0.10.tgz", + "integrity": "sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA=", + "dev": true + }, + "static-extend": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", + "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", + "dev": true, + "requires": { + "define-property": "^0.2.5", + "object-copy": "^0.1.0" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + } + } + }, + "statuses": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.3.1.tgz", + "integrity": "sha1-+vUbnrdKrvOzrPStX2Gr8ky3uT4=", + "dev": true + }, + "stdout-stream": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/stdout-stream/-/stdout-stream-1.4.1.tgz", + "integrity": "sha512-j4emi03KXqJWcIeF8eIXkjMFN1Cmb8gUlDYGeBALLPo5qdyTfA9bOtl8m33lRoC+vFMkP3gl0WsDr6+gzxbbTA==", + "dev": true, + "requires": { + "readable-stream": "^2.0.1" + } + }, + "stream-exhaust": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/stream-exhaust/-/stream-exhaust-1.0.2.tgz", + "integrity": "sha512-b/qaq/GlBK5xaq1yrK9/zFcyRSTNxmcZwFLGSTG0mXgZl/4Z6GgiyYOXOvY7N3eEvFRAG1bkDRz5EPGSvPYQlw==", + "dev": true + }, + "stream-shift": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz", + "integrity": "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==", + "dev": true + }, + "stream-throttle": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/stream-throttle/-/stream-throttle-0.1.3.tgz", + "integrity": "sha1-rdV8jXzHOoFjDTHNVdOWHPr7qcM=", + "dev": true, + "requires": { + "commander": "^2.2.0", + "limiter": "^1.0.5" + } + }, + "string-width": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", + "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true + }, + "strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.0" + } + } + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.0" + } + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "strip-bom": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", + "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", + "dev": true, + "requires": { + "is-utf8": "^0.2.0" + } + }, + "strip-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz", + "integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=", + "dev": true, + "requires": { + "get-stdin": "^4.0.1" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true + }, + "sver-compat": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/sver-compat/-/sver-compat-1.5.0.tgz", + "integrity": "sha1-PPh9/rTQe0o/FIJ7wYaz/QxkXNg=", + "dev": true, + "requires": { + "es6-iterator": "^2.0.1", + "es6-symbol": "^3.1.1" + } + }, + "symbol-observable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.0.1.tgz", + "integrity": "sha1-g0D8RwLDEi310iKI+IKD9RPT/dQ=", + "dev": true + }, + "tar": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/tar/-/tar-2.2.2.tgz", + "integrity": "sha512-FCEhQ/4rE1zYv9rYXJw/msRqsnmlje5jHP6huWeBZ704jUTy02c5AZyWujpMR1ax6mVw9NyJMfuK2CMDWVIfgA==", + "dev": true, + "requires": { + "block-stream": "*", + "fstream": "^1.0.12", + "inherits": "2" + } + }, + "tfunk": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/tfunk/-/tfunk-4.0.0.tgz", + "integrity": "sha512-eJQ0dGfDIzWNiFNYFVjJ+Ezl/GmwHaFTBTjrtqNPW0S7cuVDBrZrmzUz6VkMeCR4DZFqhd4YtLwsw3i2wYHswQ==", + "dev": true, + "requires": { + "chalk": "^1.1.3", + "dlv": "^1.1.3" + } + }, + "through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "requires": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, + "through2-filter": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/through2-filter/-/through2-filter-3.0.0.tgz", + "integrity": "sha512-jaRjI2WxN3W1V8/FMZ9HKIBXixtiqs3SQSX4/YGIiP3gL6djW48VoZq9tDqeCWs3MT8YY5wb/zli8VW8snY1CA==", + "dev": true, + "requires": { + "through2": "~2.0.0", + "xtend": "~4.0.0" + } + }, + "time-stamp": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/time-stamp/-/time-stamp-1.1.0.tgz", + "integrity": "sha1-dkpaEa9QVhkhsTPztE5hhofg9cM=", + "dev": true + }, + "to-absolute-glob": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/to-absolute-glob/-/to-absolute-glob-2.0.2.tgz", + "integrity": "sha1-GGX0PZ50sIItufFFt4z/fQ98hJs=", + "dev": true, + "requires": { + "is-absolute": "^1.0.0", + "is-negated-glob": "^1.0.0" + } + }, + "to-array": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/to-array/-/to-array-0.1.4.tgz", + "integrity": "sha1-F+bBH3PdTz10zaek/zI46a2b+JA=", + "dev": true + }, + "to-object-path": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", + "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "to-regex": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", + "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", + "dev": true, + "requires": { + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "regex-not": "^1.0.2", + "safe-regex": "^1.1.0" + } + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "requires": { + "is-number": "^7.0.0" + } + }, + "to-through": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-through/-/to-through-2.0.0.tgz", + "integrity": "sha1-/JKtq6ByZHvAtn1rA2ZKoZUJOvY=", + "dev": true, + "requires": { + "through2": "^2.0.3" + } + }, + "toidentifier": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", + "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==", + "dev": true + }, + "tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "dev": true, + "requires": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + } + }, + "trim-newlines": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz", + "integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=", + "dev": true + }, + "true-case-path": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/true-case-path/-/true-case-path-1.0.3.tgz", + "integrity": "sha512-m6s2OdQe5wgpFMC+pAJ+q9djG82O2jcHPOI6RNg1yy9rCYR+WD6Nbpl32fDpfC56nirdRy+opFa/Vk7HYhqaew==", + "dev": true, + "requires": { + "glob": "^7.1.2" + } + }, + "tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "dev": true, + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=", + "dev": true + }, + "type": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz", + "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==", + "dev": true + }, + "typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", + "dev": true + }, + "ua-parser-js": { + "version": "0.7.23", + "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.23.tgz", + "integrity": "sha512-m4hvMLxgGHXG3O3fQVAyyAQpZzDOvwnhOTjYz5Xmr7r/+LpkNy3vJXdVRWgd1TkAb7NGROZuSy96CrlNVjA7KA==", + "dev": true + }, + "uglify-js": { + "version": "3.12.4", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.12.4.tgz", + "integrity": "sha512-L5i5jg/SHkEqzN18gQMTWsZk3KelRsfD1wUVNqtq0kzqWQqcJjyL8yc1o8hJgRrWqrAl2mUFbhfznEIoi7zi2A==", + "dev": true + }, + "ultron": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ultron/-/ultron-1.1.1.tgz", + "integrity": "sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og==", + "dev": true + }, + "unc-path-regex": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/unc-path-regex/-/unc-path-regex-0.1.2.tgz", + "integrity": "sha1-5z3T17DXxe2G+6xrCufYxqadUPo=", + "dev": true + }, + "undertaker": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/undertaker/-/undertaker-1.3.0.tgz", + "integrity": "sha512-/RXwi5m/Mu3H6IHQGww3GNt1PNXlbeCuclF2QYR14L/2CHPz3DFZkvB5hZ0N/QUkiXWCACML2jXViIQEQc2MLg==", + "dev": true, + "requires": { + "arr-flatten": "^1.0.1", + "arr-map": "^2.0.0", + "bach": "^1.0.0", + "collection-map": "^1.0.0", + "es6-weak-map": "^2.0.1", + "fast-levenshtein": "^1.0.0", + "last-run": "^1.1.0", + "object.defaults": "^1.0.0", + "object.reduce": "^1.0.0", + "undertaker-registry": "^1.0.0" + } + }, + "undertaker-registry": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/undertaker-registry/-/undertaker-registry-1.0.1.tgz", + "integrity": "sha1-XkvaMI5KiirlhPm5pDWaSZglzFA=", + "dev": true + }, + "union-value": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", + "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", + "dev": true, + "requires": { + "arr-union": "^3.1.0", + "get-value": "^2.0.6", + "is-extendable": "^0.1.1", + "set-value": "^2.0.1" + } + }, + "unique-stream": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/unique-stream/-/unique-stream-2.3.1.tgz", + "integrity": "sha512-2nY4TnBE70yoxHkDli7DMazpWiP7xMdCYqU2nBRO0UB+ZpEkGsSija7MvmvnZFUeC+mrgiUfcHSr3LmRFIg4+A==", + "dev": true, + "requires": { + "json-stable-stringify-without-jsonify": "^1.0.1", + "through2-filter": "^3.0.0" + } + }, + "universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true + }, + "unpipe": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", + "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", + "dev": true + }, + "unset-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", + "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", + "dev": true, + "requires": { + "has-value": "^0.3.1", + "isobject": "^3.0.0" + }, + "dependencies": { + "has-value": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", + "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", + "dev": true, + "requires": { + "get-value": "^2.0.3", + "has-values": "^0.1.4", + "isobject": "^2.0.0" + }, + "dependencies": { + "isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "dev": true, + "requires": { + "isarray": "1.0.0" + } + } + } + }, + "has-values": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", + "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=", + "dev": true + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + } + } + }, + "upath": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz", + "integrity": "sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==", + "dev": true + }, + "uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "requires": { + "punycode": "^2.1.0" + } + }, + "urix": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", + "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", + "dev": true + }, + "use": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", + "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", + "dev": true + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "dev": true + }, + "utils-merge": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", + "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", + "dev": true + }, + "uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "dev": true + }, + "v8flags": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/v8flags/-/v8flags-3.2.0.tgz", + "integrity": "sha512-mH8etigqMfiGWdeXpaaqGfs6BndypxusHHcv2qSHyZkGEznCd/qAXCWWRzeowtL54147cktFOC4P5y+kl8d8Jg==", + "dev": true, + "requires": { + "homedir-polyfill": "^1.0.1" + } + }, + "validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "requires": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "value-or-function": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/value-or-function/-/value-or-function-3.0.0.tgz", + "integrity": "sha1-HCQ6ULWVwb5Up1S/7OhWO5/42BM=", + "dev": true + }, + "verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "dev": true, + "requires": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "vinyl": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-2.2.1.tgz", + "integrity": "sha512-LII3bXRFBZLlezoG5FfZVcXflZgWP/4dCwKtxd5ky9+LOtM4CS3bIRQsmR1KMnMW07jpE8fqR2lcxPZ+8sJIcw==", + "dev": true, + "requires": { + "clone": "^2.1.1", + "clone-buffer": "^1.0.0", + "clone-stats": "^1.0.0", + "cloneable-readable": "^1.0.0", + "remove-trailing-separator": "^1.0.1", + "replace-ext": "^1.0.0" + } + }, + "vinyl-fs": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/vinyl-fs/-/vinyl-fs-3.0.3.tgz", + "integrity": "sha512-vIu34EkyNyJxmP0jscNzWBSygh7VWhqun6RmqVfXePrOwi9lhvRs//dOaGOTRUQr4tx7/zd26Tk5WeSVZitgng==", + "dev": true, + "requires": { + "fs-mkdirp-stream": "^1.0.0", + "glob-stream": "^6.1.0", + "graceful-fs": "^4.0.0", + "is-valid-glob": "^1.0.0", + "lazystream": "^1.0.0", + "lead": "^1.0.0", + "object.assign": "^4.0.4", + "pumpify": "^1.3.5", + "readable-stream": "^2.3.3", + "remove-bom-buffer": "^3.0.0", + "remove-bom-stream": "^1.2.0", + "resolve-options": "^1.1.0", + "through2": "^2.0.0", + "to-through": "^2.0.0", + "value-or-function": "^3.0.0", + "vinyl": "^2.0.0", + "vinyl-sourcemap": "^1.1.0" + } + }, + "vinyl-sourcemap": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/vinyl-sourcemap/-/vinyl-sourcemap-1.1.0.tgz", + "integrity": "sha1-kqgAWTo4cDqM2xHYswCtS+Y7PhY=", + "dev": true, + "requires": { + "append-buffer": "^1.0.2", + "convert-source-map": "^1.5.0", + "graceful-fs": "^4.1.6", + "normalize-path": "^2.1.1", + "now-and-later": "^2.0.0", + "remove-bom-buffer": "^3.0.0", + "vinyl": "^2.0.0" + }, + "dependencies": { + "normalize-path": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", + "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", + "dev": true, + "requires": { + "remove-trailing-separator": "^1.0.1" + } + } + } + }, + "vinyl-sourcemaps-apply": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/vinyl-sourcemaps-apply/-/vinyl-sourcemaps-apply-0.2.1.tgz", + "integrity": "sha1-q2VJ1h0XLCsbh75cUI0jnI74dwU=", + "dev": true, + "requires": { + "source-map": "^0.5.1" + } + }, + "which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + }, + "which-module": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", + "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", + "dev": true + }, + "wide-align": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", + "dev": true, + "requires": { + "string-width": "^1.0.2 || 2" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + } + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "^3.0.0" + } + } + } + }, + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.0" + } + } + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true + }, + "ws": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.2.tgz", + "integrity": "sha512-T4tewALS3+qsrpGI/8dqNMLIVdq/g/85U98HPMa6F0m6xTbvhXU6RCQLqPH3+SlomNV/LdY6RXEbBpMH6EOJnA==", + "dev": true + }, + "xmlhttprequest-ssl": { + "version": "1.5.5", + "resolved": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz", + "integrity": "sha1-wodrBhaKrcQOV9l+gRkayPQ5iz4=", + "dev": true + }, + "xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "dev": true + }, + "y18n": { + "version": "5.0.5", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.5.tgz", + "integrity": "sha512-hsRUr4FFrvhhRH12wOdfs38Gy7k2FFzB9qgN9v3aLykRq0dRcdcpz5C9FxdS2NuhOrI/628b/KSTJ3rwHysYSg==", + "dev": true + }, + "yallist": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", + "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", + "dev": true + }, + "yargs": { + "version": "15.4.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", + "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", + "dev": true, + "requires": { + "cliui": "^6.0.0", + "decamelize": "^1.2.0", + "find-up": "^4.1.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^4.2.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^18.1.2" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "cliui": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", + "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", + "dev": true, + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^6.2.0" + } + }, + "strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.0" + } + }, + "wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + }, + "y18n": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.1.tgz", + "integrity": "sha512-wNcy4NvjMYL8gogWWYAO7ZFWFfHcbdbE57tZO8e4cbpj8tfUcwrwqSl3ad8HxpYWCdXcJUCeKKZS62Av1affwQ==", + "dev": true + }, + "yargs-parser": { + "version": "18.1.3", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", + "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", + "dev": true, + "requires": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + } + } + } + }, + "yargs-parser": { + "version": "20.2.4", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", + "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", + "dev": true + }, + "yeast": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/yeast/-/yeast-0.1.2.tgz", + "integrity": "sha1-AI4G2AlDIMNy28L47XagymyKxBk=", + "dev": true + } } - } } diff --git a/package.json b/package.json new file mode 100644 index 00000000..09e07824 --- /dev/null +++ b/package.json @@ -0,0 +1,25 @@ +{ + "name": "identity-landing-page", + "version": "1.0.2", + "description": "", + "private": true, + "scripts": { + "dev": "gulp dev", + "build": "gulp build", + "clean": "gulp clean" + }, + "author": "Vantage Design", + "devDependencies": { + "browser-sync": "^2.26.7", + "del": "^5.1.0", + "gulp": "^4.0.2", + "gulp-autoprefixer": "^7.0.1", + "gulp-clean-css": "^4.2.0", + "gulp-concat": "^2.6.1", + "gulp-notify": "^3.2.0", + "gulp-plumber": "^1.2.1", + "gulp-rename": "^2.0.0", + "gulp-sass": "^4.0.2", + "gulp-uglify": "^3.0.2" + } +} diff --git a/quotetool.html b/quotetool.html deleted file mode 100644 index cefa2889..00000000 --- a/quotetool.html +++ /dev/null @@ -1,268 +0,0 @@ ---- -layout: sidbar_removed ---- - - - -
- Loading... -
- -

Levity Quote Tool

- -
-
-

-
-
- - - - -
-
-

Questions about your quote?

-

Shoot us an email and we can work with you to get a personalized quote.

-
-
-
-
-
-
-
    -
  • -
-
- -
-
- - - - diff --git a/src/css/identity.scss b/src/css/identity.scss new file mode 100644 index 00000000..d75c503f --- /dev/null +++ b/src/css/identity.scss @@ -0,0 +1,332 @@ +/* Import font */ +@font-face { + font-family: 'Poppins'; + src: url('../webfonts/Poppins-Bold.eot'); + src: url('../webfonts/Poppins-Bold.eot?#iefix') format('embedded-opentype'), + url('../webfonts/Poppins-Bold.woff2') format('woff2'), + url('../webfonts/Poppins-Bold.woff') format('woff'), + url('../webfonts/Poppins-Bold.ttf') format('truetype'), + url('../webfonts/Poppins-Bold.svg#Poppins-Bold') format('svg'); + font-weight: bold; + font-style: normal; +} + +@font-face { + font-family: 'Poppins'; + src: url('../webfonts/Poppins-Regular.eot'); + src: url('../webfonts/Poppins-Regular.eot?#iefix') format('embedded-opentype'), + url('../webfonts/Poppins-Regular.woff2') format('woff2'), + url('../webfonts/Poppins-Regular.woff') format('woff'), + url('../webfonts/Poppins-Regular.ttf') format('truetype'), + url('../webfonts/Poppins-Regular.svg#Poppins-Regular') format('svg'); + font-weight: normal; + font-style: normal; +} + +/* Set variables & load Bootstrap */ +$primary: #22d9e6; +$dark: #3f3d56; + +$border-radius: 3px; + +$enable-responsive-font-sizes: true; + +@import "../plugins/bootstrap/scss/bootstrap"; + +$font-family-paragraphs: $font-family-sans-serif; +$font-family-headings: 'Poppins', $font-family-sans-serif; + +h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6{ + color: $dark; + font-family: $font-family-headings; + font-weight: 800; + margin-bottom: 0; +} + +/* Improve animation performance */ +.collapse, .collapsing{ + will-change: height; +} + +.vh-100{ + height: 100vh !important; + height: calc(var(--vh, 1vh) * 100) !important; +} + +.btn-scroller{ + border-width: 2px; + height: 50px; + line-height:30px; + transition: all 0.2s ease; + &:hover{ + transform: translateY(5px); + } +} + +.dot{ + display: inline-block; + position: relative; + z-index: 1; + &:before{ + display: inline-block; + position: relative; + content: ''; + background-color: $primary; + height: 12px; + width: 12px; + margin-left: 2px; + border-radius: 100%; + } +} + + +.navbar-light .navbar-nav .nav-link{ + color: $dark; + &:hover{ + color: $dark; + } +} + +.navbar{ + .nav-link{ + position: relative; + margin: 0 5px; + display: inline-block; + padding-left: 5px !important; + opacity: 1; + &:before{ + display: inline-block; + position: absolute; + content: ''; + background-color: $primary; + height: 0; + width: 0; + left: 2px; + bottom: 17px; + border-radius: 100%; + transition: all 0.2s ease-out; + } + &:hover{ + &:before{ + left: -1px; + bottom: 14px; + height: 6px; + width: 6px; + } + } + } + .nav-link, .navbar-brand{ + color: $dark; + font-family: $font-family-headings; + } +} + +/* Styling for making background and shadow visible on collapse */ +.navbar-transparent{ + transition: background-color 0.15 ease-out, box-shadow 0.15 ease-out; + &:not(.show){ + background-color: transparent !important; + box-shadow: none !important; + } +} + +/* Styling for making background and shadow visible on scroll */ +.navbar-scrollstyle{ + transition: background-color 0.15s ease-out, box-shadow 0.15s ease-out; + .navbar-nav{ + transition: all 0.15s ease-out; + } + &:not(.scrolled):not(.show){ + background-color: transparent !important; + box-shadow: none !important; + .navbar-nav{ + padding-top: 10px; + padding-bottom: 10px; + } + } +} + +/* Animated navbar toggler, transforming from a hamburger to an X */ +.navbar-toggler{ + border:none; + & > .navbar-toggler-icon{ + position: relative; + background-image: none !important; + background: transparent; + height: 3px; + width: 18px; + &:before, &:after{ + background: $dark; + content: ''; + display: block; + height: 100%; + position: absolute; + top: 0; + transition: transform 0.15s ease-out; + will-change: transform; + width: 100%; + } + &:before{ + transform: rotate(45deg) translateY(0); + } + &:after{ + transform: rotate(-45deg) translateY(0); + } + } + &.collapsed{ + .navbar-toggler-icon{ + background-image: none !important; + background: $dark; + &:before{ + transform: translateY(-6px); + } + &:after{ + transform: translateY(6px); + } + } + &:hover{ + & > .navbar-toggler-icon:before{ + transform: translateY(-8px); + } + & > .navbar-toggler-icon:after{ + transform: translateY(8px); + } + } + } +} + +.btn{ + font-family: $font-family-headings; +} + +#typed{ + color: $primary; +} + +.hero-drawing{ + display: flex; + max-height: 400px; + max-width: 50%; + height: auto; + width: auto; +} + +.ball{ + position: absolute; + width: 200px; + height:200px; + right: -100px; + top: 100px; + border-radius: 100%; + background-color: $primary; + &.ball-alt{ + width:110px; + height:110px; + top: initial; + left: initial; + left: -40px; + bottom: 55px; + } +} + +.backdrop{ + position: relative; + z-index: 1; + border-radius: 6px; + img{ + border-radius: inherit; + } + &:before{ + position: absolute; + display: block; + content: ''; + height: 100%; + width: 100%; + background-color: $primary; + border-radius: inherit; + bottom: -7px; + right: -7px; + z-index: -1; + } + &.card{ + z-index: initial; + } +} + +.lm-images{ + max-width: 50%; + height: auto; + padding: 10px; +} + +#total-value{ + text-align: center; + font-size: 1.3em; +} + +#dropdown-options{ + margin: 10px; + display: grid; + grid-template-columns: auto auto auto auto; + text-align: center; +} + +.dropdown-box{ + width: min-content; + margin: auto; + border: none; + margin-block: inherit; +} + +.price-head{ + text-align: center; +} + +.dropdown-text{ + padding: .5em; + font-size: 1.3em; +} + +.dropdown-text::after{ + content: '?'; + display: inline-block; + font-family: san-serif; + font-weight: bold; + text-align: center; + font-size: 0.8em; + line-height: 0.8em; + border-radius: 50%; + margin-left: 6px; + padding: 0.13em 0.2em 0.09em 0.2em; + color: inherit; + border: 1px solid; + text-decoration: none; +} + +.popuptext{ + display: none; +} + +.popuptet-test{ + display: none; +} + +.dropdown-text:hover + .popuptext{ + display: block; + position: absolute; + background-color: #555; + color: #fff; + text-align: center; + border-radius: 1em; + margin: 1.5em; + font-size: 1.4em; +} + +.logo { + display: inline-block; + vertical-align: top; + width: 40px; + height: 40px; + margin-right: 5px; + margin-top: -3px; /* if you want it vertically middle of the navbar. */ +} diff --git a/src/css/site.css b/src/css/site.css new file mode 100644 index 00000000..cc70dabb --- /dev/null +++ b/src/css/site.css @@ -0,0 +1,12 @@ +img.team-picture { + object-fit: cover; + height: 20vh; +} + +img.picture-martin { + object-position: 10% 100%; +} + +img.picture-mitch { + object-position: 65% 100%; +} diff --git a/src/img/1606498645461.jpeg b/src/img/1606498645461.jpeg new file mode 100644 index 00000000..0b1c1ec3 Binary files /dev/null and b/src/img/1606498645461.jpeg differ diff --git a/src/img/161056959544493920.png b/src/img/161056959544493920.png new file mode 100644 index 00000000..a8bf912a Binary files /dev/null and b/src/img/161056959544493920.png differ diff --git a/images/team/Alyssa.JPG b/src/img/Alyssa.jpeg similarity index 100% rename from images/team/Alyssa.JPG rename to src/img/Alyssa.jpeg diff --git a/images/team/Cole.JPG b/src/img/Cole.jpeg similarity index 100% rename from images/team/Cole.JPG rename to src/img/Cole.jpeg diff --git a/images/team/Justin.JPG b/src/img/Justin.jpeg similarity index 100% rename from images/team/Justin.JPG rename to src/img/Justin.jpeg diff --git a/images/team/Michael.JPG b/src/img/Michael.jpeg similarity index 100% rename from images/team/Michael.JPG rename to src/img/Michael.jpeg diff --git a/src/img/Mitch.jpeg b/src/img/Mitch.jpeg new file mode 100644 index 00000000..6bc5f8d1 Binary files /dev/null and b/src/img/Mitch.jpeg differ diff --git a/src/img/Screenshot_2021-01-13 Little Rancher.jpg b/src/img/Screenshot_2021-01-13 Little Rancher.jpg new file mode 100644 index 00000000..82d2488f Binary files /dev/null and b/src/img/Screenshot_2021-01-13 Little Rancher.jpg differ diff --git a/src/img/Screenshot_2021-01-13 Match Learn Launch We help entrepreneurs launch successful businesses .jpg b/src/img/Screenshot_2021-01-13 Match Learn Launch We help entrepreneurs launch successful businesses .jpg new file mode 100644 index 00000000..d94898e4 Binary files /dev/null and b/src/img/Screenshot_2021-01-13 Match Learn Launch We help entrepreneurs launch successful businesses .jpg differ diff --git a/src/img/bazyl.jpg b/src/img/bazyl.jpg new file mode 100644 index 00000000..81804659 Binary files /dev/null and b/src/img/bazyl.jpg differ diff --git a/src/img/favicon-32x32.png b/src/img/favicon-32x32.png new file mode 100644 index 00000000..0c70235e Binary files /dev/null and b/src/img/favicon-32x32.png differ diff --git a/src/img/imageedit_5_6714446243.png b/src/img/imageedit_5_6714446243.png new file mode 100644 index 00000000..5418c505 Binary files /dev/null and b/src/img/imageedit_5_6714446243.png differ diff --git a/images/learnMore/in.JPG b/src/img/learnMore/in.JPG similarity index 100% rename from images/learnMore/in.JPG rename to src/img/learnMore/in.JPG diff --git a/images/learnMore/ps.JPG b/src/img/learnMore/ps.JPG similarity index 100% rename from images/learnMore/ps.JPG rename to src/img/learnMore/ps.JPG diff --git a/images/learnMore/ps_1.JPG b/src/img/learnMore/ps_1.JPG similarity index 100% rename from images/learnMore/ps_1.JPG rename to src/img/learnMore/ps_1.JPG diff --git a/images/learnMore/st.JPG b/src/img/learnMore/st.JPG similarity index 100% rename from images/learnMore/st.JPG rename to src/img/learnMore/st.JPG diff --git a/src/img/logo.png b/src/img/logo.png new file mode 100644 index 00000000..38252d15 Binary files /dev/null and b/src/img/logo.png differ diff --git a/src/img/undraw_Tree_swing_646s.svg b/src/img/undraw_Tree_swing_646s.svg new file mode 100644 index 00000000..3513e33c --- /dev/null +++ b/src/img/undraw_Tree_swing_646s.svg @@ -0,0 +1 @@ +Tree_swing \ No newline at end of file diff --git a/src/img/undraw_code_thinking_1jeh.svg b/src/img/undraw_code_thinking_1jeh.svg new file mode 100644 index 00000000..490ca4d3 --- /dev/null +++ b/src/img/undraw_code_thinking_1jeh.svg @@ -0,0 +1 @@ +code_thinking \ No newline at end of file diff --git a/src/img/undraw_contact_us_15o2.svg b/src/img/undraw_contact_us_15o2.svg new file mode 100644 index 00000000..d734cef7 --- /dev/null +++ b/src/img/undraw_contact_us_15o2.svg @@ -0,0 +1 @@ +contact us \ No newline at end of file diff --git a/src/img/vibe.png b/src/img/vibe.png new file mode 100644 index 00000000..6d42872e Binary files /dev/null and b/src/img/vibe.png differ diff --git a/src/index.html b/src/index.html new file mode 100644 index 00000000..4a17ce80 --- /dev/null +++ b/src/index.html @@ -0,0 +1,537 @@ + + + + + + + + + + + + + + + + + + Levity + + + + +
+ +
+ + +
+ + + +
+ +
+ +

+ We create awesome
+ +
+

web apps

+

mobile apps

+

AI-driven solutions

+

game development

+

MVP's

+

blockchain contracts

+

product development

+

virtual reality

+

augmented reality

+

machine learning

+

e-commerce

+
+

+

And we'd love to get to know you.

+ +
+ Drawing hero +
+ +
+
+ + + +
+ +
+ + + + + +
+ +
+ +
+ +
+ Drawing about +
+ +
+

About us

+

+ More than code, Levity is a software development firm focused on bringing earth-shattering products to market in 50% the time an average company will develop using their own recruited team. + +

What's more, we will help you manage the technology side of your project with intimate understanding and insight with your business. No CTO, no problem. Utilizing agile-fluent methods we will effeciently iterate your solution, providing you the steering wheel to drive the product in your direction as the owner. + +

Unsure of how to launch? Our experts in business development for SaaS products can collaborate your ideas and optimize revenue models based on your goals. + 87% of our clients agree that our business insight helped them produce a more effective product. +

+
+ +
+ +
+ +
+ + + + + +
+ +
+ +
+ +
+

Our projects

+

+ Check out our latest work below. Each project workflow is optimized for both quality and speed. From development analysis, to design-focused UI, to delivery and execution, we got you covered. +

+
+ +
+ +
+ +
+
+
+ Product image MLL +
+
+
Web App
+

+ Match Learn Launch +

+
+
+
+ +
+
+
+ Product image RB +
+
+
E-commerce
+

+ Ranch Baby +

+
+
+
+ +
+
+
+ Product image Solid +
+
+
Mobile App Protoype
+

+ Vibe +

+
+
+
+ +
+ +
+ +
+ + + +
+ + +
+ +
+ +
+

Meet the team

+

+ We've got an amazing team. With great character, bold mindsets, and care for the community; our team dynamics create an environment engineered for innovation. Each member is battle-tested executing tasks in a timely manner, all while making it fun. +

+
+ +
+ +
+ +
+
+
+ +
+
+

+ Bazyl Horsey +
CEO / Developer +

+

+ + I love creating awesome stuff. Making the products people crave and admire for their quality gives me fulfillment. My dream is to lead communities and create a better world. + +

+
+ +
+
+ +
+
+
+ +
+
+

+ Michael Martin +
CTO / Developer +

+

+ + I'm passionate about new technologies, always looking to learn something everyday and adapt to make dream projects a reality. + +

+
+ +
+
+
+
+
+ +
+
+

+ Cole Goslar +
Project Manager +

+

+ + I joined the Levity Tech team because I could tell that they were dedicated and wanted to make a difference. Outside of working I enjoy working out and expanding my cinematic knowledge. + +

+
+ +
+
+
+
+
+ +
+
+

+ Martin Lee +
Sales Manager +

+

+ + I'm passionate about gaming, memes, and dogs. I pause for a moment right before I say Worcestershire sauce. + +

+
+ +
+
+ +
+ +
+
+
+
+ +
+
+

+ Allyssa Ertz +
Designer +

+

+ + I believe in the power of story. I love that there are so many ways you can tell stories, giving them immense power to actually create a change in the world. + +

+
+ +
+
+ +
+
+
+ +
+
+

+ Justin Rubek +
Principal Developer +

+

+ + I want to do my part to empower humanity to thrive both on and off Earth by helping create powerful and long lasting tools. + If we get there in my life I'm running a space diner on the moon. + +

+
+ +
+
+ +
+
+
+ +
+
+

+ Mitch Hoeg +
Developer +

+

+ + Phrase goes here. + +

+
+ +
+
+
+ +
+ +
+ + + +
+ +
+ +
+
+ +

Get in touch

+ +
+
+
+
+

+ + Give us a call +

+
712 291 5252
+
+
+
+
+
+
+

+ + Shoot us a message +

+
bazyl@levitytech.net
+
+
+
+
+ +
+ +
+ + + +
+ +
+ +
+
+ + +
+

Or follow us on

+ + + Facebook + + + + GitHub + +
+ +
+ levitytech.net +
+
+
+ +
+ +
+ + + + +
+ +
+ +
+
+
Levity
+

+ We're a company located in Storm Lake, Iowa with the goal of igniting entrepreneurship through rapid prototyping using leading technologies. +

+
+
+
Links
+ +
+ +
+
+ +
+ +
+ +
+ © 2020 Copyright Levity, LLC +
+ +
+ +
+ + + + + + + + + + + + + + + + diff --git a/src/js/main.js b/src/js/main.js new file mode 100644 index 00000000..3d87dead --- /dev/null +++ b/src/js/main.js @@ -0,0 +1,83 @@ +$(document).ready(function(){ + + // Initialize icons + feather.replace() + + /* Initialize navbar style on scroll */ + scrollCheck($(window).scrollTop()); + + $(window).scroll(function() { + var scroll = $(window).scrollTop(); + scrollCheck(scroll); + }); + + function scrollCheck(scroll){ + if (scroll >= 100) { + $(".navbar-scrollstyle").addClass("scrolled"); + } else { + $(".navbar-scrollstyle").removeClass("scrolled"); + } + } + + /* If navbar is transparent unless scrolled, make it opaque when collapsing */ + $('.navbar-collapse').on('show.bs.collapse', function () { + $(this).parents('.navbar').addClass("show"); + }) + $('.navbar-collapse').on('hide.bs.collapse', function () { + $(this).parents('.navbar').removeClass("show"); + }) + + // Enable smooth scrolling + $('a[href*="#"]') + .not('[href="#"]') + .not('[href="#0"]') + .not("[data-toggle='tab']") + .not("[data-toggle='collapse']") + .click(function(event) { + if ( + location.pathname.replace(/^\//, '') == this.pathname.replace(/^\//, '') + && + location.hostname == this.hostname + ) { + var target = $(this.hash); + target = target.length ? target : $('[name=' + this.hash.slice(1) + ']'); + if (target.length) { + event.preventDefault(); + $('html, body').animate({ + scrollTop: target.offset().top + }, 1000, function() { + var $target = $(target); + $target.focus(); + if ($target.is(":focus")) { + return false; + } else { + $target.attr('tabindex','-1'); + $target.focus(); + }; + }); + } + }}); + + // Viewport height fix + var vh = window.innerHeight * 0.01; + document.documentElement.style.setProperty('--vh', "".concat(vh, "px")); + window.addEventListener('resize', function () { + var vh = window.innerHeight * 0.01; + document.documentElement.style.setProperty('--vh', "".concat(vh, "px")); + }); + + var typedoptions = { + stringsElement: '#typed-strings', + typeSpeed: 60, + backSpeed: 20, + backDelay: 3000, + startDelay: 0, + loop: true + }; + + if ($('#typed').length) { + var typed = new Typed('#typed', typedoptions); + } + + +}); \ No newline at end of file diff --git a/learnMore.html b/src/learnmore.html similarity index 70% rename from learnMore.html rename to src/learnmore.html index aa55e00d..9f998273 100644 --- a/learnMore.html +++ b/src/learnmore.html @@ -1,35 +1,26 @@ ---- -layout: default-lm ---- + + + - -
- Loading... -
+ + About + +
- - -

Product Solutions

We develop our client’s product at every step, so you don't have to! First, our team learns about your goals and works to understand your business as a whole. We use this knowledge to create a development plan that achieves each goal of your business. Next, our engineers dive into design, development, and finally a full-functioning deployment. With our top-notch engineering team, we take care of everything your CTO would.

- - + +

Innovation

- +

We don't expect you to have all the answers every time, so we will also be there as a collaborative force in your idea synthesization. Our diligent team will work with clients on projects that require an extreme level of time and care to accomplish. From mobile to full-stack, to artificial intelligence, we have team members ready to handle these opportunities.

@@ -38,7 +29,7 @@

Innovation

Strategy

Before we begin any development, we like to spend time discussing the challenges, goals, and ambitions our partners may face. As a consulting company, we understand the importance of truly aligning with our customers at multiple levels, rather than developing just to get it done quickly. By doing this, we set our partners up for long-term success. With an agile-fluent, and lean team means the product we build is always in the best interest of your business.

- +
diff --git a/src/lib/jquery.min.js b/src/lib/jquery.min.js new file mode 100644 index 00000000..4d9b3a25 --- /dev/null +++ b/src/lib/jquery.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.3.1 | (c) JS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=[],r=e.document,i=Object.getPrototypeOf,o=n.slice,a=n.concat,s=n.push,u=n.indexOf,l={},c=l.toString,f=l.hasOwnProperty,p=f.toString,d=p.call(Object),h={},g=function e(t){return"function"==typeof t&&"number"!=typeof t.nodeType},y=function e(t){return null!=t&&t===t.window},v={type:!0,src:!0,noModule:!0};function m(e,t,n){var i,o=(t=t||r).createElement("script");if(o.text=e,n)for(i in v)n[i]&&(o[i]=n[i]);t.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var b="3.3.1",w=function(e,t){return new w.fn.init(e,t)},T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;w.fn=w.prototype={jquery:"3.3.1",constructor:w,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n0&&t-1 in e)}var E=function(e){var t,n,r,i,o,a,s,u,l,c,f,p,d,h,g,y,v,m,x,b="sizzle"+1*new Date,w=e.document,T=0,C=0,E=ae(),k=ae(),S=ae(),D=function(e,t){return e===t&&(f=!0),0},N={}.hasOwnProperty,A=[],j=A.pop,q=A.push,L=A.push,H=A.slice,O=function(e,t){for(var n=0,r=e.length;n+~]|"+M+")"+M+"*"),z=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),X=new RegExp(W),U=new RegExp("^"+R+"$"),V={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){p()},ie=me(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{L.apply(A=H.call(w.childNodes),w.childNodes),A[w.childNodes.length].nodeType}catch(e){L={apply:A.length?function(e,t){q.apply(e,H.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function oe(e,t,r,i){var o,s,l,c,f,h,v,m=t&&t.ownerDocument,T=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==T&&9!==T&&11!==T)return r;if(!i&&((t?t.ownerDocument||t:w)!==d&&p(t),t=t||d,g)){if(11!==T&&(f=J.exec(e)))if(o=f[1]){if(9===T){if(!(l=t.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(m&&(l=m.getElementById(o))&&x(t,l)&&l.id===o)return r.push(l),r}else{if(f[2])return L.apply(r,t.getElementsByTagName(e)),r;if((o=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return L.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!S[e+" "]&&(!y||!y.test(e))){if(1!==T)m=t,v=e;else if("object"!==t.nodeName.toLowerCase()){(c=t.getAttribute("id"))?c=c.replace(te,ne):t.setAttribute("id",c=b),s=(h=a(e)).length;while(s--)h[s]="#"+c+" "+ve(h[s]);v=h.join(","),m=K.test(e)&&ge(t.parentNode)||t}if(v)try{return L.apply(r,m.querySelectorAll(v)),r}catch(e){}finally{c===b&&t.removeAttribute("id")}}}return u(e.replace(B,"$1"),t,r,i)}function ae(){var e=[];function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}return t}function se(e){return e[b]=!0,e}function ue(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function le(e,t){var n=e.split("|"),i=n.length;while(i--)r.attrHandle[n[i]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function de(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function he(e){return se(function(t){return t=+t,se(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function ge(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}n=oe.support={},o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},p=oe.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!==d&&9===a.nodeType&&a.documentElement?(d=a,h=d.documentElement,g=!o(d),w!==d&&(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(d.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(d.getElementsByClassName),n.getById=ue(function(e){return h.appendChild(e).id=b,!d.getElementsByName||!d.getElementsByName(b).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],y=[],(n.qsa=Q.test(d.querySelectorAll))&&(ue(function(e){h.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+M+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+b+"-]").length||y.push("~="),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||y.push(".#.+[+~]")}),ue(function(e){e.innerHTML="";var t=d.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(n.matchesSelector=Q.test(m=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=m.call(e,"*"),m.call(e,"[s!='']:x"),v.push("!=",W)}),y=y.length&&new RegExp(y.join("|")),v=v.length&&new RegExp(v.join("|")),t=Q.test(h.compareDocumentPosition),x=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===d||e.ownerDocument===w&&x(w,e)?-1:t===d||t.ownerDocument===w&&x(w,t)?1:c?O(c,e)-O(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===d?-1:t===d?1:i?-1:o?1:c?O(c,e)-O(c,t):0;if(i===o)return ce(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?ce(a[r],s[r]):a[r]===w?-1:s[r]===w?1:0},d):d},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==d&&p(e),t=t.replace(z,"='$1']"),n.matchesSelector&&g&&!S[t+" "]&&(!v||!v.test(t))&&(!y||!y.test(t)))try{var r=m.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return oe(t,d,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==d&&p(e),x(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!==d&&p(e);var i=r.attrHandle[t.toLowerCase()],o=i&&N.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},oe.escape=function(e){return(e+"").replace(te,ne)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(D),f){while(t=e[o++])t===e[o]&&(i=r.push(o));while(i--)e.splice(r[i],1)}return c=null,e},i=oe.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else while(t=e[r++])n+=i(t);return n},(r=oe.selectors={cacheLength:50,createPseudo:se,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Z,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||oe.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Z,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&E(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=oe.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace($," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,p,d,h,g=o!==a?"nextSibling":"previousSibling",y=t.parentNode,v=s&&t.nodeName.toLowerCase(),m=!u&&!s,x=!1;if(y){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?y.firstChild:y.lastChild],a&&m){x=(d=(l=(c=(f=(p=y)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1])&&l[2],p=d&&y.childNodes[d];while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if(1===p.nodeType&&++x&&p===t){c[e]=[T,d,x];break}}else if(m&&(x=d=(l=(c=(f=(p=t)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1]),!1===x)while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===v:1===p.nodeType)&&++x&&(m&&((c=(f=p[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]=[T,x]),p===t))break;return(x-=i)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){var r,o=i(e,t),a=o.length;while(a--)e[r=O(e,o[a])]=!(n[r]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:se(function(e){var t=[],n=[],r=s(e.replace(B,"$1"));return r[b]?se(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return oe(e,t).length>0}}),contains:se(function(e){return e=e.replace(Z,ee),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:se(function(e){return U.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(Z,ee).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:de(!1),disabled:de(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:he(function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function be(e,t,n){for(var r=0,i=t.length;r-1&&(o[l]=!(a[l]=f))}}else v=we(v===a?v.splice(h,v.length):v),i?i(null,a,v,u):L.apply(a,v)})}function Ce(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,c=me(function(e){return e===t},s,!0),f=me(function(e){return O(t,e)>-1},s,!0),p=[function(e,n,r){var i=!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,i}];u1&&xe(p),u>1&&ve(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(B,"$1"),n,u0,i=e.length>0,o=function(o,a,s,u,c){var f,h,y,v=0,m="0",x=o&&[],b=[],w=l,C=o||i&&r.find.TAG("*",c),E=T+=null==w?1:Math.random()||.1,k=C.length;for(c&&(l=a===d||a||c);m!==k&&null!=(f=C[m]);m++){if(i&&f){h=0,a||f.ownerDocument===d||(p(f),s=!g);while(y=e[h++])if(y(f,a||d,s)){u.push(f);break}c&&(T=E)}n&&((f=!y&&f)&&v--,o&&x.push(f))}if(v+=m,n&&m!==v){h=0;while(y=t[h++])y(x,b,a,s);if(o){if(v>0)while(m--)x[m]||b[m]||(b[m]=j.call(u));b=we(b)}L.apply(u,b),c&&!o&&b.length>0&&v+t.length>1&&oe.uniqueSort(u)}return c&&(T=E,l=w),x};return n?se(o):o}return s=oe.compile=function(e,t){var n,r=[],i=[],o=S[e+" "];if(!o){t||(t=a(e)),n=t.length;while(n--)(o=Ce(t[n]))[b]?r.push(o):i.push(o);(o=S(e,Ee(i,r))).selector=e}return o},u=oe.select=function(e,t,n,i){var o,u,l,c,f,p="function"==typeof e&&e,d=!i&&a(e=p.selector||e);if(n=n||[],1===d.length){if((u=d[0]=d[0].slice(0)).length>2&&"ID"===(l=u[0]).type&&9===t.nodeType&&g&&r.relative[u[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(Z,ee),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(u.shift().value.length)}o=V.needsContext.test(e)?0:u.length;while(o--){if(l=u[o],r.relative[c=l.type])break;if((f=r.find[c])&&(i=f(l.matches[0].replace(Z,ee),K.test(u[0].type)&&ge(t.parentNode)||t))){if(u.splice(o,1),!(e=i.length&&ve(u)))return L.apply(n,i),n;break}}}return(p||s(e,d))(i,t,!g,n,!t||K.test(e)&&ge(t.parentNode)||t),n},n.sortStable=b.split("").sort(D).join("")===b,n.detectDuplicates=!!f,p(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))}),ue(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||le("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||le("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||le(P,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),oe}(e);w.find=E,w.expr=E.selectors,w.expr[":"]=w.expr.pseudos,w.uniqueSort=w.unique=E.uniqueSort,w.text=E.getText,w.isXMLDoc=E.isXML,w.contains=E.contains,w.escapeSelector=E.escape;var k=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&w(e).is(n))break;r.push(e)}return r},S=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},D=w.expr.match.needsContext;function N(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var A=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,n){return g(t)?w.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?w.grep(e,function(e){return e===t!==n}):"string"!=typeof t?w.grep(e,function(e){return u.call(t,e)>-1!==n}):w.filter(t,e,n)}w.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,function(e){return 1===e.nodeType}))},w.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(w(e).filter(function(){for(t=0;t1?w.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&D.test(e)?w(e):e||[],!1).length}});var q,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:L.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:r,!0)),A.test(i[1])&&w.isPlainObject(t))for(i in t)g(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(o=r.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,q=w(r);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&w.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?w.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(w(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}w.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return k(e,"parentNode")},parentsUntil:function(e,t,n){return k(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return k(e,"nextSibling")},prevAll:function(e){return k(e,"previousSibling")},nextUntil:function(e,t,n){return k(e,"nextSibling",n)},prevUntil:function(e,t,n){return k(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){return N(e,"iframe")?e.contentDocument:(N(e,"template")&&(e=e.content||e),w.merge([],e.childNodes))}},function(e,t){w.fn[e]=function(n,r){var i=w.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=w.filter(r,i)),this.length>1&&(O[e]||w.uniqueSort(i),H.test(e)&&i.reverse()),this.pushStack(i)}});var M=/[^\x20\t\r\n\f]+/g;function R(e){var t={};return w.each(e.match(M)||[],function(e,n){t[n]=!0}),t}w.Callbacks=function(e){e="string"==typeof e?R(e):w.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1){n=a.shift();while(++s-1)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?w.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l};function I(e){return e}function W(e){throw e}function $(e,t,n,r){var i;try{e&&g(i=e.promise)?i.call(e).done(t).fail(n):e&&g(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}w.extend({Deferred:function(t){var n=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},"catch":function(e){return i.then(null,e)},pipe:function(){var e=arguments;return w.Deferred(function(t){w.each(n,function(n,r){var i=g(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&g(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){var o=0;function a(t,n,r,i){return function(){var s=this,u=arguments,l=function(){var e,l;if(!(t=o&&(r!==W&&(s=void 0,u=[e]),n.rejectWith(s,u))}};t?c():(w.Deferred.getStackHook&&(c.stackTrace=w.Deferred.getStackHook()),e.setTimeout(c))}}return w.Deferred(function(e){n[0][3].add(a(0,e,g(i)?i:I,e.notifyWith)),n[1][3].add(a(0,e,g(t)?t:I)),n[2][3].add(a(0,e,g(r)?r:W))}).promise()},promise:function(e){return null!=e?w.extend(e,i):i}},o={};return w.each(n,function(e,t){var a=t[2],s=t[5];i[t[1]]=a.add,s&&a.add(function(){r=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=o.call(arguments),a=w.Deferred(),s=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?o.call(arguments):n,--t||a.resolveWith(r,i)}};if(t<=1&&($(e,a.done(s(n)).resolve,a.reject,!t),"pending"===a.state()||g(i[n]&&i[n].then)))return a.then();while(n--)$(i[n],s(n),a.reject);return a.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&B.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},w.readyException=function(t){e.setTimeout(function(){throw t})};var F=w.Deferred();w.fn.ready=function(e){return F.then(e)["catch"](function(e){w.readyException(e)}),this},w.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0,!0!==e&&--w.readyWait>0||F.resolveWith(r,[w]))}}),w.ready.then=F.then;function _(){r.removeEventListener("DOMContentLoaded",_),e.removeEventListener("load",_),w.ready()}"complete"===r.readyState||"loading"!==r.readyState&&!r.documentElement.doScroll?e.setTimeout(w.ready):(r.addEventListener("DOMContentLoaded",_),e.addEventListener("load",_));var z=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n)){i=!0;for(s in n)z(e,t,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,g(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(w(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each(function(){K.remove(this,e)})}}),w.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=J.get(e,t),n&&(!r||Array.isArray(n)?r=J.access(e,t,w.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),r=n.length,i=n.shift(),o=w._queueHooks(e,t),a=function(){w.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:w.Callbacks("once memory").add(function(){J.remove(e,[t+"queue",n])})})}}),w.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]+)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};ge.optgroup=ge.option,ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td;function ye(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&N(e,t)?w.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n-1)i&&i.push(o);else if(l=w.contains(o.ownerDocument,o),a=ye(f.appendChild(o),"script"),l&&ve(a),n){c=0;while(o=a[c++])he.test(o.type||"")&&n.push(o)}return f}!function(){var e=r.createDocumentFragment().appendChild(r.createElement("div")),t=r.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),h.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="",h.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var be=r.documentElement,we=/^key/,Te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ce=/^([^.]*)(?:\.(.+)|)/;function Ee(){return!0}function ke(){return!1}function Se(){try{return r.activeElement}catch(e){}}function De(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)De(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=ke;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return w().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=w.guid++)),e.each(function(){w.event.add(this,t,i,r,n)})}w.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.get(e);if(y){n.handler&&(n=(o=n).handler,i=o.selector),i&&w.find.matchesSelector(be,i),n.guid||(n.guid=w.guid++),(u=y.events)||(u=y.events={}),(a=y.handle)||(a=y.handle=function(t){return"undefined"!=typeof w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(M)||[""]).length;while(l--)d=g=(s=Ce.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=w.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=w.event.special[d]||{},c=w.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&w.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),w.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.hasData(e)&&J.get(e);if(y&&(u=y.events)){l=(t=(t||"").match(M)||[""]).length;while(l--)if(s=Ce.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){f=w.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,y.handle)||w.removeEvent(e,d,y.handle),delete u[d])}else for(d in u)w.event.remove(e,d+t[l],n,r,!0);w.isEmptyObject(u)&&J.remove(e,"handle events")}},dispatch:function(e){var t=w.event.fix(e),n,r,i,o,a,s,u=new Array(arguments.length),l=(J.get(this,"events")||{})[t.type]||[],c=w.event.special[t.type]||{};for(u[0]=t,n=1;n=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n-1:w.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u\x20\t\r\n\f]*)[^>]*)\/>/gi,Ae=/\s*$/g;function Le(e,t){return N(e,"table")&&N(11!==t.nodeType?t:t.firstChild,"tr")?w(e).children("tbody")[0]||e:e}function He(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Oe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Pe(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(J.hasData(e)&&(o=J.access(e),a=J.set(t,o),l=o.events)){delete a.handle,a.events={};for(i in l)for(n=0,r=l[i].length;n1&&"string"==typeof y&&!h.checkClone&&je.test(y))return e.each(function(i){var o=e.eq(i);v&&(t[0]=y.call(this,i,o.html())),Re(o,t,n,r)});if(p&&(i=xe(t,e[0].ownerDocument,!1,e,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(u=(s=w.map(ye(i,"script"),He)).length;f")},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=w.contains(e.ownerDocument,e);if(!(h.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||w.isXMLDoc(e)))for(a=ye(s),r=0,i=(o=ye(e)).length;r0&&ve(a,!u&&ye(e,"script")),s},cleanData:function(e){for(var t,n,r,i=w.event.special,o=0;void 0!==(n=e[o]);o++)if(Y(n)){if(t=n[J.expando]){if(t.events)for(r in t.events)i[r]?w.event.remove(n,r):w.removeEvent(n,r,t.handle);n[J.expando]=void 0}n[K.expando]&&(n[K.expando]=void 0)}}}),w.fn.extend({detach:function(e){return Ie(this,e,!0)},remove:function(e){return Ie(this,e)},text:function(e){return z(this,function(e){return void 0===e?w.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Re(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Le(this,e).appendChild(e)})},prepend:function(){return Re(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Le(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(w.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return w.clone(this,e,t)})},html:function(e){return z(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ae.test(e)&&!ge[(de.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e);try{for(;n=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))),u}function et(e,t,n){var r=$e(e),i=Fe(e,t,r),o="border-box"===w.css(e,"boxSizing",!1,r),a=o;if(We.test(i)){if(!n)return i;i="auto"}return a=a&&(h.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===w.css(e,"display",!1,r))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(i=parseFloat(i)||0)+Ze(e,t,n||(o?"border":"content"),a,r,i)+"px"}w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Fe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=G(t),u=Xe.test(t),l=e.style;if(u||(t=Je(s)),a=w.cssHooks[t]||w.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"==(o=typeof n)&&(i=ie.exec(n))&&i[1]&&(n=ue(e,t,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(w.cssNumber[s]?"":"px")),h.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=G(t);return Xe.test(t)||(t=Je(s)),(a=w.cssHooks[t]||w.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Fe(e,t,r)),"normal"===i&&t in Ve&&(i=Ve[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),w.each(["height","width"],function(e,t){w.cssHooks[t]={get:function(e,n,r){if(n)return!ze.test(w.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?et(e,t,r):se(e,Ue,function(){return et(e,t,r)})},set:function(e,n,r){var i,o=$e(e),a="border-box"===w.css(e,"boxSizing",!1,o),s=r&&Ze(e,t,r,a,o);return a&&h.scrollboxSize()===o.position&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-Ze(e,t,"border",!1,o)-.5)),s&&(i=ie.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=w.css(e,t)),Ke(e,n,s)}}}),w.cssHooks.marginLeft=_e(h.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Fe(e,"marginLeft"))||e.getBoundingClientRect().left-se(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),w.each({margin:"",padding:"",border:"Width"},function(e,t){w.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+oe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(w.cssHooks[e+t].set=Ke)}),w.fn.extend({css:function(e,t){return z(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=$e(e),i=t.length;a1)}});function tt(e,t,n,r,i){return new tt.prototype.init(e,t,n,r,i)}w.Tween=tt,tt.prototype={constructor:tt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||w.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(w.cssNumber[n]?"":"px")},cur:function(){var e=tt.propHooks[this.prop];return e&&e.get?e.get(this):tt.propHooks._default.get(this)},run:function(e){var t,n=tt.propHooks[this.prop];return this.options.duration?this.pos=t=w.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):tt.propHooks._default.set(this),this}},tt.prototype.init.prototype=tt.prototype,tt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=w.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){w.fx.step[e.prop]?w.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[w.cssProps[e.prop]]&&!w.cssHooks[e.prop]?e.elem[e.prop]=e.now:w.style(e.elem,e.prop,e.now+e.unit)}}},tt.propHooks.scrollTop=tt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},w.fx=tt.prototype.init,w.fx.step={};var nt,rt,it=/^(?:toggle|show|hide)$/,ot=/queueHooks$/;function at(){rt&&(!1===r.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(at):e.setTimeout(at,w.fx.interval),w.fx.tick())}function st(){return e.setTimeout(function(){nt=void 0}),nt=Date.now()}function ut(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=oe[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function lt(e,t,n){for(var r,i=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),o=0,a=i.length;o1)},removeAttr:function(e){return this.each(function(){w.removeAttr(this,e)})}}),w.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?w.prop(e,t,n):(1===o&&w.isXMLDoc(e)||(i=w.attrHooks[t.toLowerCase()]||(w.expr.match.bool.test(t)?dt:void 0)),void 0!==n?null===n?void w.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=w.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&N(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(M);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),dt={set:function(e,t,n){return!1===t?w.removeAttr(e,n):e.setAttribute(n,n),n}},w.each(w.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ht[t]||w.find.attr;ht[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=ht[a],ht[a]=i,i=null!=n(e,t,r)?a:null,ht[a]=o),i}});var gt=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;w.fn.extend({prop:function(e,t){return z(this,w.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[w.propFix[e]||e]})}}),w.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&w.isXMLDoc(e)||(t=w.propFix[t]||t,i=w.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||yt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),h.optSelected||(w.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this});function vt(e){return(e.match(M)||[]).join(" ")}function mt(e){return e.getAttribute&&e.getAttribute("class")||""}function xt(e){return Array.isArray(e)?e:"string"==typeof e?e.match(M)||[]:[]}w.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each(function(t){w(this).addClass(e.call(this,t,mt(this)))});if((t=xt(e)).length)while(n=this[u++])if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=t[a++])r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each(function(t){w(this).removeClass(e.call(this,t,mt(this)))});if(!arguments.length)return this.attr("class","");if((t=xt(e)).length)while(n=this[u++])if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=t[a++])while(r.indexOf(" "+o+" ")>-1)r=r.replace(" "+o+" "," ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):g(e)?this.each(function(n){w(this).toggleClass(e.call(this,n,mt(this),t),t)}):this.each(function(){var t,i,o,a;if(r){i=0,o=w(this),a=xt(e);while(t=a[i++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else void 0!==e&&"boolean"!==n||((t=mt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&(" "+vt(mt(n))+" ").indexOf(t)>-1)return!0;return!1}});var bt=/\r/g;w.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=g(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,w(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=w.map(i,function(e){return null==e?"":e+""})),(t=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return(t=w.valHooks[i.type]||w.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(bt,""):null==n?"":n}}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return null!=t?t:vt(w.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=w.inArray(w(e).val(),t)>-1}},h.checkOn||(w.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),h.focusin="onfocusin"in e;var wt=/^(?:focusinfocus|focusoutblur)$/,Tt=function(e){e.stopPropagation()};w.extend(w.event,{trigger:function(t,n,i,o){var a,s,u,l,c,p,d,h,v=[i||r],m=f.call(t,"type")?t.type:t,x=f.call(t,"namespace")?t.namespace.split("."):[];if(s=h=u=i=i||r,3!==i.nodeType&&8!==i.nodeType&&!wt.test(m+w.event.triggered)&&(m.indexOf(".")>-1&&(m=(x=m.split(".")).shift(),x.sort()),c=m.indexOf(":")<0&&"on"+m,t=t[w.expando]?t:new w.Event(m,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=x.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+x.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:w.makeArray(n,[t]),d=w.event.special[m]||{},o||!d.trigger||!1!==d.trigger.apply(i,n))){if(!o&&!d.noBubble&&!y(i)){for(l=d.delegateType||m,wt.test(l+m)||(s=s.parentNode);s;s=s.parentNode)v.push(s),u=s;u===(i.ownerDocument||r)&&v.push(u.defaultView||u.parentWindow||e)}a=0;while((s=v[a++])&&!t.isPropagationStopped())h=s,t.type=a>1?l:d.bindType||m,(p=(J.get(s,"events")||{})[t.type]&&J.get(s,"handle"))&&p.apply(s,n),(p=c&&s[c])&&p.apply&&Y(s)&&(t.result=p.apply(s,n),!1===t.result&&t.preventDefault());return t.type=m,o||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(v.pop(),n)||!Y(i)||c&&g(i[m])&&!y(i)&&((u=i[c])&&(i[c]=null),w.event.triggered=m,t.isPropagationStopped()&&h.addEventListener(m,Tt),i[m](),t.isPropagationStopped()&&h.removeEventListener(m,Tt),w.event.triggered=void 0,u&&(i[c]=u)),t.result}},simulate:function(e,t,n){var r=w.extend(new w.Event,n,{type:e,isSimulated:!0});w.event.trigger(r,null,t)}}),w.fn.extend({trigger:function(e,t){return this.each(function(){w.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return w.event.trigger(e,t,n,!0)}}),h.focusin||w.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){w.event.simulate(t,e.target,w.event.fix(e))};w.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=J.access(r,t);i||r.addEventListener(e,n,!0),J.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=J.access(r,t)-1;i?J.access(r,t,i):(r.removeEventListener(e,n,!0),J.remove(r,t))}}});var Ct=e.location,Et=Date.now(),kt=/\?/;w.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||w.error("Invalid XML: "+t),n};var St=/\[\]$/,Dt=/\r?\n/g,Nt=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;function jt(e,t,n,r){var i;if(Array.isArray(t))w.each(t,function(t,i){n||St.test(e)?r(e,i):jt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==x(t))r(e,t);else for(i in t)jt(e+"["+i+"]",t[i],n,r)}w.param=function(e,t){var n,r=[],i=function(e,t){var n=g(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,function(){i(this.name,this.value)});else for(n in e)jt(n,e[n],t,i);return r.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&At.test(this.nodeName)&&!Nt.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=w(this).val();return null==n?null:Array.isArray(n)?w.map(n,function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}}):{name:t.name,value:n.replace(Dt,"\r\n")}}).get()}});var qt=/%20/g,Lt=/#.*$/,Ht=/([?&])_=[^&]*/,Ot=/^(.*?):[ \t]*([^\r\n]*)$/gm,Pt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Mt=/^(?:GET|HEAD)$/,Rt=/^\/\//,It={},Wt={},$t="*/".concat("*"),Bt=r.createElement("a");Bt.href=Ct.href;function Ft(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(M)||[];if(g(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function _t(e,t,n,r){var i={},o=e===Wt;function a(s){var u;return i[s]=!0,w.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)}),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function zt(e,t){var n,r,i=w.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&w.extend(!0,e,r),e}function Xt(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function Ut(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ct.href,type:"GET",isLocal:Pt.test(Ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$t,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?zt(zt(e,w.ajaxSettings),t):zt(w.ajaxSettings,e)},ajaxPrefilter:Ft(It),ajaxTransport:Ft(Wt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,o,a,s,u,l,c,f,p,d,h=w.ajaxSetup({},n),g=h.context||h,y=h.context&&(g.nodeType||g.jquery)?w(g):w.event,v=w.Deferred(),m=w.Callbacks("once memory"),x=h.statusCode||{},b={},T={},C="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s){s={};while(t=Ot.exec(a))s[t[1].toLowerCase()]=t[2]}t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=T[e.toLowerCase()]=T[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)E.always(e[E.status]);else for(t in e)x[t]=[x[t],e[t]];return this},abort:function(e){var t=e||C;return i&&i.abort(t),k(0,t),this}};if(v.promise(E),h.url=((t||h.url||Ct.href)+"").replace(Rt,Ct.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(M)||[""],null==h.crossDomain){l=r.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Bt.protocol+"//"+Bt.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=w.param(h.data,h.traditional)),_t(It,h,n,E),c)return E;(f=w.event&&h.global)&&0==w.active++&&w.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Mt.test(h.type),o=h.url.replace(Lt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(qt,"+")):(d=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(kt.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Ht,"$1"),d=(kt.test(o)?"&":"?")+"_="+Et+++d),h.url=o+d),h.ifModified&&(w.lastModified[o]&&E.setRequestHeader("If-Modified-Since",w.lastModified[o]),w.etag[o]&&E.setRequestHeader("If-None-Match",w.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&E.setRequestHeader("Content-Type",h.contentType),E.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+$t+"; q=0.01":""):h.accepts["*"]);for(p in h.headers)E.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(g,E,h)||c))return E.abort();if(C="abort",m.add(h.complete),E.done(h.success),E.fail(h.error),i=_t(Wt,h,n,E)){if(E.readyState=1,f&&y.trigger("ajaxSend",[E,h]),c)return E;h.async&&h.timeout>0&&(u=e.setTimeout(function(){E.abort("timeout")},h.timeout));try{c=!1,i.send(b,k)}catch(e){if(c)throw e;k(-1,e)}}else k(-1,"No Transport");function k(t,n,r,s){var l,p,d,b,T,C=n;c||(c=!0,u&&e.clearTimeout(u),i=void 0,a=s||"",E.readyState=t>0?4:0,l=t>=200&&t<300||304===t,r&&(b=Xt(h,E,r)),b=Ut(h,b,E,l),l?(h.ifModified&&((T=E.getResponseHeader("Last-Modified"))&&(w.lastModified[o]=T),(T=E.getResponseHeader("etag"))&&(w.etag[o]=T)),204===t||"HEAD"===h.type?C="nocontent":304===t?C="notmodified":(C=b.state,p=b.data,l=!(d=b.error))):(d=C,!t&&C||(C="error",t<0&&(t=0))),E.status=t,E.statusText=(n||C)+"",l?v.resolveWith(g,[p,C,E]):v.rejectWith(g,[E,C,d]),E.statusCode(x),x=void 0,f&&y.trigger(l?"ajaxSuccess":"ajaxError",[E,h,l?p:d]),m.fireWith(g,[E,C]),f&&(y.trigger("ajaxComplete",[E,h]),--w.active||w.event.trigger("ajaxStop")))}return E},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,t){return w.get(e,void 0,t,"script")}}),w.each(["get","post"],function(e,t){w[t]=function(e,n,r,i){return g(n)&&(i=i||r,r=n,n=void 0),w.ajax(w.extend({url:e,type:t,dataType:i,data:n,success:r},w.isPlainObject(e)&&e))}}),w._evalUrl=function(e){return w.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},w.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=w(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return g(e)?this.each(function(t){w(this).wrapInner(e.call(this,t))}):this.each(function(){var t=w(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=g(e);return this.each(function(n){w(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){w(this).replaceWith(this.childNodes)}),this}}),w.expr.pseudos.hidden=function(e){return!w.expr.pseudos.visible(e)},w.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Vt={0:200,1223:204},Gt=w.ajaxSettings.xhr();h.cors=!!Gt&&"withCredentials"in Gt,h.ajax=Gt=!!Gt,w.ajaxTransport(function(t){var n,r;if(h.cors||Gt&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(a in i)s.setRequestHeader(a,i[a]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Vt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),w.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return w.globalEval(e),e}}}),w.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),w.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(i,o){t=w(" + + + + + + diff --git a/src/webfonts/Poppins-Bold.eot b/src/webfonts/Poppins-Bold.eot new file mode 100644 index 00000000..00d49a69 Binary files /dev/null and b/src/webfonts/Poppins-Bold.eot differ diff --git a/src/webfonts/Poppins-Bold.svg b/src/webfonts/Poppins-Bold.svg new file mode 100644 index 00000000..95b44cb1 --- /dev/null +++ b/src/webfonts/Poppins-Bold.svg @@ -0,0 +1,3066 @@ + + + + +Created by FontForge 20170731 at Thu Aug 17 12:58:23 2017 + By Aleksey,,, +Copyright 2014-2017 Indian Type Foundry (info@indiantypefoundry.com) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/webfonts/Poppins-Bold.ttf b/src/webfonts/Poppins-Bold.ttf new file mode 100644 index 00000000..54adea57 Binary files /dev/null and b/src/webfonts/Poppins-Bold.ttf differ diff --git a/src/webfonts/Poppins-Bold.woff b/src/webfonts/Poppins-Bold.woff new file mode 100644 index 00000000..00a1a6e6 Binary files /dev/null and b/src/webfonts/Poppins-Bold.woff differ diff --git a/src/webfonts/Poppins-Bold.woff2 b/src/webfonts/Poppins-Bold.woff2 new file mode 100644 index 00000000..19d68709 Binary files /dev/null and b/src/webfonts/Poppins-Bold.woff2 differ diff --git a/src/webfonts/Poppins-Regular.eot b/src/webfonts/Poppins-Regular.eot new file mode 100644 index 00000000..bb77331e Binary files /dev/null and b/src/webfonts/Poppins-Regular.eot differ diff --git a/src/webfonts/Poppins-Regular.svg b/src/webfonts/Poppins-Regular.svg new file mode 100644 index 00000000..09190be9 --- /dev/null +++ b/src/webfonts/Poppins-Regular.svg @@ -0,0 +1,3138 @@ + + + + +Created by FontForge 20170731 at Thu Aug 17 12:58:23 2017 + By Aleksey,,, +Copyright 2014-2017 Indian Type Foundry (info@indiantypefoundry.com) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/webfonts/Poppins-Regular.ttf b/src/webfonts/Poppins-Regular.ttf new file mode 100644 index 00000000..796d51b6 Binary files /dev/null and b/src/webfonts/Poppins-Regular.ttf differ diff --git a/src/webfonts/Poppins-Regular.woff b/src/webfonts/Poppins-Regular.woff new file mode 100644 index 00000000..6e47fdc0 Binary files /dev/null and b/src/webfonts/Poppins-Regular.woff differ diff --git a/src/webfonts/Poppins-Regular.woff2 b/src/webfonts/Poppins-Regular.woff2 new file mode 100644 index 00000000..85ab835f Binary files /dev/null and b/src/webfonts/Poppins-Regular.woff2 differ diff --git a/tags b/tags deleted file mode 100644 index 1ffa8278..00000000 --- a/tags +++ /dev/null @@ -1,250 +0,0 @@ -!_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ -!_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted, 2=foldcase/ -!_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/ -!_TAG_PROGRAM_NAME Exuberant Ctags // -!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/ -!_TAG_PROGRAM_VERSION 5.9~svn20110310 // -$.fn.panel _site/assets/js/util.js /^ };$/;" f -$.fn.panel assets/js/util.js /^ };$/;" f -$.fn.placeholder _site/assets/js/util.js /^ };$/;" f -$.fn.placeholder assets/js/util.js /^ };$/;" f -$.prioritize _site/assets/js/util.js /^ };$/;" f -$.prioritize assets/js/util.js /^ };$/;" f -$element _site/assets/js/jquery.scrollex.min.js /^!function(t){function e(t,e,n){return"string"==typeof t&&("%"==t.slice(-1)?t=parseInt(t.substring(0,t.length-1))\/100*e:"vh"==t.slice(-2)?t=parseInt(t.substring(0,t.length-2))\/100*n:"px"==t.slice(-2)&&(t=parseInt(t.substring(0,t.length-2)))),t}var n=t(window),i=1,o={};n.on("scroll",function(){var e=n.scrollTop();t.map(o,function(t){window.clearTimeout(t.timeoutId),t.timeoutId=window.setTimeout(function(){t.handler(e)},t.options.delay)})}).on("load",function(){n.trigger("scroll")}),jQuery.fn.scrollex=function(l){var s=t(this);if(0==this.length)return s;if(this.length>1){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i\/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)\/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n1){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i\/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)\/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n0:!!("ontouchstart"in window),e.mobile="wp"==e.os||"android"==e.os||"ios"==e.os||"bb"==e.os}};return e.init(),e}();!function(e,n){"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?module.exports=n():e.browser=n()}(this,function(){return browser});$/;" p class:browser.e -_canUse assets/js/browser.min.js /^var browser=function(){"use strict";var e={name:null,version:null,os:null,osVersion:null,touch:null,mobile:null,_canUse:null,canUse:function(n){e._canUse||(e._canUse=document.createElement("div"));var o=e._canUse.style,r=n.charAt(0).toUpperCase()+n.slice(1);return n in o||"Moz"+r in o||"Webkit"+r in o||"O"+r in o||"ms"+r in o},init:function(){var n,o,r,i,t=navigator.userAgent;for(n="other",o=0,r=[["firefox",\/Firefox\\\/([0-9\\.]+)\/],["bb",\/BlackBerry.+Version\\\/([0-9\\.]+)\/],["bb",\/BB[0-9]+.+Version\\\/([0-9\\.]+)\/],["opera",\/OPR\\\/([0-9\\.]+)\/],["opera",\/Opera\\\/([0-9\\.]+)\/],["edge",\/Edge\\\/([0-9\\.]+)\/],["safari",\/Version\\\/([0-9\\.]+).+Safari\/],["chrome",\/Chrome\\\/([0-9\\.]+)\/],["ie",\/MSIE ([0-9]+)\/],["ie",\/Trident\\\/.+rv:([0-9]+)\/]],i=0;i0:!!("ontouchstart"in window),e.mobile="wp"==e.os||"android"==e.os||"ios"==e.os||"bb"==e.os}};return e.init(),e}();!function(e,n){"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?module.exports=n():e.browser=n()}(this,function(){return browser});$/;" p class:browser.e -_computeSignature node_modules/stripe/lib/Webhooks.js /^ EXPECTED_SCHEME: 'v1',$/;" p class:const -active _site/assets/js/breakpoints.min.js /^var breakpoints=function(){"use strict";function e(e){t.init(e)}var t={list:null,media:{},events:[],init:function(e){t.list=e,window.addEventListener("resize",t.poll),window.addEventListener("orientationchange",t.poll),window.addEventListener("load",t.poll),window.addEventListener("fullscreenchange",t.poll)},active:function(e){var n,a,s,i,r,d,c;if(!(e in t.media)){if(">="==e.substr(0,2)?(a="gte",n=e.substr(2)):"<="==e.substr(0,2)?(a="lte",n=e.substr(2)):">"==e.substr(0,1)?(a="gt",n=e.substr(1)):"<"==e.substr(0,1)?(a="lt",n=e.substr(1)):"!"==e.substr(0,1)?(a="not",n=e.substr(1)):(a="eq",n=e),n&&n in t.list)if(i=t.list[n],Array.isArray(i)){if(r=parseInt(i[0]),d=parseInt(i[1]),isNaN(r)){if(isNaN(d))return;c=i[1].substr(String(d).length)}else c=i[0].substr(String(r).length);if(isNaN(r))switch(a){case"gte":s="screen";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: -1px)";break;case"not":s="screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (max-width: "+d+c+")"}else if(isNaN(d))switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen";break;case"gt":s="screen and (max-width: -1px)";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+")";break;default:s="screen and (min-width: "+r+c+")"}else switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+"), screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (min-width: "+r+c+") and (max-width: "+d+c+")"}}else s="("==i.charAt(0)?"screen and "+i:i;t.media[e]=!!s&&s}return t.media[e]!==!1&&window.matchMedia(t.media[e]).matches},on:function(e,n){t.events.push({query:e,handler:n,state:!1}),t.active(e)&&n()},poll:function(){var e,n;for(e=0;e="==e.substr(0,2)?(a="gte",n=e.substr(2)):"<="==e.substr(0,2)?(a="lte",n=e.substr(2)):">"==e.substr(0,1)?(a="gt",n=e.substr(1)):"<"==e.substr(0,1)?(a="lt",n=e.substr(1)):"!"==e.substr(0,1)?(a="not",n=e.substr(1)):(a="eq",n=e),n&&n in t.list)if(i=t.list[n],Array.isArray(i)){if(r=parseInt(i[0]),d=parseInt(i[1]),isNaN(r)){if(isNaN(d))return;c=i[1].substr(String(d).length)}else c=i[0].substr(String(r).length);if(isNaN(r))switch(a){case"gte":s="screen";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: -1px)";break;case"not":s="screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (max-width: "+d+c+")"}else if(isNaN(d))switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen";break;case"gt":s="screen and (max-width: -1px)";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+")";break;default:s="screen and (min-width: "+r+c+")"}else switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+"), screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (min-width: "+r+c+") and (max-width: "+d+c+")"}}else s="("==i.charAt(0)?"screen and "+i:i;t.media[e]=!!s&&s}return t.media[e]!==!1&&window.matchMedia(t.media[e]).matches},on:function(e,n){t.events.push({query:e,handler:n,state:!1}),t.active(e)&&n()},poll:function(){var e,n;for(e=0;e+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\("+M+"*(even|odd|(([+-]|)(\\\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\\\d+)|))"+M+"*\\\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\("+M+"*((?:-\\\\d)?\\\\d*)"+M+"*\\\\)|)(?=[^-]|$)","i")},Y=\/HTML$\/i,Q=\/^(?:input|select|textarea|button)$\/i,J=\/^h\\d$\/i,K=\/^[^{]+\\{\\s*\\[native \\w\/,Z=\/^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$\/,ee=\/[+~]\/,te=new RegExp("\\\\\\\\([\\\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=\/([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]\/g,ie=function(e,t){return t?"\\0"===e?"\\ufffd":e.slice(0,-1)+"\\\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="<\/a><\/select>";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\\/?>(?:<\\\/\\1>|)$\/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\\w-]+))$\/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=\/^(?:parents|prev(?:Until|All))\/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\\x20\\t\\r\\n\\f]*)\/i,he=\/^$|^module$|\\\/(?:java|ecma)script\/i,ge={option:[1,"<\/a>","<\/select>"],thead:[1,"","<\/table>"],col:[2,"
","<\/colgroup><\/table>"],tr:[2,"
","<\/tbody><\/table>"],td:[3,"
","<\/tr><\/tbody><\/table>"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx<\/textarea>",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=\/^key\/,Ce=\/^(?:mouse|pointer|contextmenu|drag|drop)|click\/,Ee=\/^([^.]*)(?:\\.(.+)|)\/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\\\.)"+h.join("\\\\.(?:.*\\\\.|)")+"(\\\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\\x20\\t\\r\\n\\f]*)[^>]*)\\\/>\/gi,qe=\/\\s*$\/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"\/"+e.type,e}function Re(e){return"true\/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n<\/$2>")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=\/(=)\\?(?=&|$)|\\?\\?\/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application\/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="
<\/form><\/form>",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0="==e.substr(0,2)?(a="gte",n=e.substr(2)):"<="==e.substr(0,2)?(a="lte",n=e.substr(2)):">"==e.substr(0,1)?(a="gt",n=e.substr(1)):"<"==e.substr(0,1)?(a="lt",n=e.substr(1)):"!"==e.substr(0,1)?(a="not",n=e.substr(1)):(a="eq",n=e),n&&n in t.list)if(i=t.list[n],Array.isArray(i)){if(r=parseInt(i[0]),d=parseInt(i[1]),isNaN(r)){if(isNaN(d))return;c=i[1].substr(String(d).length)}else c=i[0].substr(String(r).length);if(isNaN(r))switch(a){case"gte":s="screen";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: -1px)";break;case"not":s="screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (max-width: "+d+c+")"}else if(isNaN(d))switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen";break;case"gt":s="screen and (max-width: -1px)";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+")";break;default:s="screen and (min-width: "+r+c+")"}else switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+"), screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (min-width: "+r+c+") and (max-width: "+d+c+")"}}else s="("==i.charAt(0)?"screen and "+i:i;t.media[e]=!!s&&s}return t.media[e]!==!1&&window.matchMedia(t.media[e]).matches},on:function(e,n){t.events.push({query:e,handler:n,state:!1}),t.active(e)&&n()},poll:function(){var e,n;for(e=0;e="==e.substr(0,2)?(a="gte",n=e.substr(2)):"<="==e.substr(0,2)?(a="lte",n=e.substr(2)):">"==e.substr(0,1)?(a="gt",n=e.substr(1)):"<"==e.substr(0,1)?(a="lt",n=e.substr(1)):"!"==e.substr(0,1)?(a="not",n=e.substr(1)):(a="eq",n=e),n&&n in t.list)if(i=t.list[n],Array.isArray(i)){if(r=parseInt(i[0]),d=parseInt(i[1]),isNaN(r)){if(isNaN(d))return;c=i[1].substr(String(d).length)}else c=i[0].substr(String(r).length);if(isNaN(r))switch(a){case"gte":s="screen";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: -1px)";break;case"not":s="screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (max-width: "+d+c+")"}else if(isNaN(d))switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen";break;case"gt":s="screen and (max-width: -1px)";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+")";break;default:s="screen and (min-width: "+r+c+")"}else switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+"), screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (min-width: "+r+c+") and (max-width: "+d+c+")"}}else s="("==i.charAt(0)?"screen and "+i:i;t.media[e]=!!s&&s}return t.media[e]!==!1&&window.matchMedia(t.media[e]).matches},on:function(e,n){t.events.push({query:e,handler:n,state:!1}),t.active(e)&&n()},poll:function(){var e,n;for(e=0;e0:!!("ontouchstart"in window),e.mobile="wp"==e.os||"android"==e.os||"ios"==e.os||"bb"==e.os}};return e.init(),e}();!function(e,n){"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?module.exports=n():e.browser=n()}(this,function(){return browser});$/;" f -browser assets/js/browser.min.js /^var browser=function(){"use strict";var e={name:null,version:null,os:null,osVersion:null,touch:null,mobile:null,_canUse:null,canUse:function(n){e._canUse||(e._canUse=document.createElement("div"));var o=e._canUse.style,r=n.charAt(0).toUpperCase()+n.slice(1);return n in o||"Moz"+r in o||"Webkit"+r in o||"O"+r in o||"ms"+r in o},init:function(){var n,o,r,i,t=navigator.userAgent;for(n="other",o=0,r=[["firefox",\/Firefox\\\/([0-9\\.]+)\/],["bb",\/BlackBerry.+Version\\\/([0-9\\.]+)\/],["bb",\/BB[0-9]+.+Version\\\/([0-9\\.]+)\/],["opera",\/OPR\\\/([0-9\\.]+)\/],["opera",\/Opera\\\/([0-9\\.]+)\/],["edge",\/Edge\\\/([0-9\\.]+)\/],["safari",\/Version\\\/([0-9\\.]+).+Safari\/],["chrome",\/Chrome\\\/([0-9\\.]+)\/],["ie",\/MSIE ([0-9]+)\/],["ie",\/Trident\\\/.+rv:([0-9]+)\/]],i=0;i0:!!("ontouchstart"in window),e.mobile="wp"==e.os||"android"==e.os||"ios"==e.os||"bb"==e.os}};return e.init(),e}();!function(e,n){"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?module.exports=n():e.browser=n()}(this,function(){return browser});$/;" f -canUse _site/assets/js/browser.min.js /^var browser=function(){"use strict";var e={name:null,version:null,os:null,osVersion:null,touch:null,mobile:null,_canUse:null,canUse:function(n){e._canUse||(e._canUse=document.createElement("div"));var o=e._canUse.style,r=n.charAt(0).toUpperCase()+n.slice(1);return n in o||"Moz"+r in o||"Webkit"+r in o||"O"+r in o||"ms"+r in o},init:function(){var n,o,r,i,t=navigator.userAgent;for(n="other",o=0,r=[["firefox",\/Firefox\\\/([0-9\\.]+)\/],["bb",\/BlackBerry.+Version\\\/([0-9\\.]+)\/],["bb",\/BB[0-9]+.+Version\\\/([0-9\\.]+)\/],["opera",\/OPR\\\/([0-9\\.]+)\/],["opera",\/Opera\\\/([0-9\\.]+)\/],["edge",\/Edge\\\/([0-9\\.]+)\/],["safari",\/Version\\\/([0-9\\.]+).+Safari\/],["chrome",\/Chrome\\\/([0-9\\.]+)\/],["ie",\/MSIE ([0-9]+)\/],["ie",\/Trident\\\/.+rv:([0-9]+)\/]],i=0;i0:!!("ontouchstart"in window),e.mobile="wp"==e.os||"android"==e.os||"ios"==e.os||"bb"==e.os}};return e.init(),e}();!function(e,n){"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?module.exports=n():e.browser=n()}(this,function(){return browser});$/;" m class:browser.e -canUse assets/js/browser.min.js /^var browser=function(){"use strict";var e={name:null,version:null,os:null,osVersion:null,touch:null,mobile:null,_canUse:null,canUse:function(n){e._canUse||(e._canUse=document.createElement("div"));var o=e._canUse.style,r=n.charAt(0).toUpperCase()+n.slice(1);return n in o||"Moz"+r in o||"Webkit"+r in o||"O"+r in o||"ms"+r in o},init:function(){var n,o,r,i,t=navigator.userAgent;for(n="other",o=0,r=[["firefox",\/Firefox\\\/([0-9\\.]+)\/],["bb",\/BlackBerry.+Version\\\/([0-9\\.]+)\/],["bb",\/BB[0-9]+.+Version\\\/([0-9\\.]+)\/],["opera",\/OPR\\\/([0-9\\.]+)\/],["opera",\/Opera\\\/([0-9\\.]+)\/],["edge",\/Edge\\\/([0-9\\.]+)\/],["safari",\/Version\\\/([0-9\\.]+).+Safari\/],["chrome",\/Chrome\\\/([0-9\\.]+)\/],["ie",\/MSIE ([0-9]+)\/],["ie",\/Trident\\\/.+rv:([0-9]+)\/]],i=0;i0:!!("ontouchstart"in window),e.mobile="wp"==e.os||"android"==e.os||"ios"==e.os||"bb"==e.os}};return e.init(),e}();!function(e,n){"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?module.exports=n():e.browser=n()}(this,function(){return browser});$/;" m class:browser.e -case _site/assets/js/jquery.scrollex.min.js /^!function(t){function e(t,e,n){return"string"==typeof t&&("%"==t.slice(-1)?t=parseInt(t.substring(0,t.length-1))\/100*e:"vh"==t.slice(-2)?t=parseInt(t.substring(0,t.length-2))\/100*n:"px"==t.slice(-2)&&(t=parseInt(t.substring(0,t.length-2)))),t}var n=t(window),i=1,o={};n.on("scroll",function(){var e=n.scrollTop();t.map(o,function(t){window.clearTimeout(t.timeoutId),t.timeoutId=window.setTimeout(function(){t.handler(e)},t.options.delay)})}).on("load",function(){n.trigger("scroll")}),jQuery.fn.scrollex=function(l){var s=t(this);if(0==this.length)return s;if(this.length>1){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i\/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)\/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n1){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i\/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)\/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\("+M+"*(even|odd|(([+-]|)(\\\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\\\d+)|))"+M+"*\\\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\("+M+"*((?:-\\\\d)?\\\\d*)"+M+"*\\\\)|)(?=[^-]|$)","i")},Y=\/HTML$\/i,Q=\/^(?:input|select|textarea|button)$\/i,J=\/^h\\d$\/i,K=\/^[^{]+\\{\\s*\\[native \\w\/,Z=\/^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$\/,ee=\/[+~]\/,te=new RegExp("\\\\\\\\([\\\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=\/([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]\/g,ie=function(e,t){return t?"\\0"===e?"\\ufffd":e.slice(0,-1)+"\\\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="<\/a><\/select>";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\\/?>(?:<\\\/\\1>|)$\/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\\w-]+))$\/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=\/^(?:parents|prev(?:Until|All))\/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\\x20\\t\\r\\n\\f]*)\/i,he=\/^$|^module$|\\\/(?:java|ecma)script\/i,ge={option:[1,"
","<\/table>"],col:[2,"
","<\/colgroup><\/table>"],tr:[2,"
","<\/tbody><\/table>"],td:[3,"
","<\/tr><\/tbody><\/table>"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx<\/textarea>",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=\/^key\/,Ce=\/^(?:mouse|pointer|contextmenu|drag|drop)|click\/,Ee=\/^([^.]*)(?:\\.(.+)|)\/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\\\.)"+h.join("\\\\.(?:.*\\\\.|)")+"(\\\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\\x20\\t\\r\\n\\f]*)[^>]*)\\\/>\/gi,qe=\/\\s*$\/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"\/"+e.type,e}function Re(e){return"true\/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n<\/$2>")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=\/(=)\\?(?=&|$)|\\?\\?\/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application\/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="<\/form><\/form>",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\("+M+"*(even|odd|(([+-]|)(\\\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\\\d+)|))"+M+"*\\\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\("+M+"*((?:-\\\\d)?\\\\d*)"+M+"*\\\\)|)(?=[^-]|$)","i")},Y=\/HTML$\/i,Q=\/^(?:input|select|textarea|button)$\/i,J=\/^h\\d$\/i,K=\/^[^{]+\\{\\s*\\[native \\w\/,Z=\/^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$\/,ee=\/[+~]\/,te=new RegExp("\\\\\\\\([\\\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=\/([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]\/g,ie=function(e,t){return t?"\\0"===e?"\\ufffd":e.slice(0,-1)+"\\\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="<\/a><\/select>";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\\/?>(?:<\\\/\\1>|)$\/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\\w-]+))$\/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=\/^(?:parents|prev(?:Until|All))\/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\\x20\\t\\r\\n\\f]*)\/i,he=\/^$|^module$|\\\/(?:java|ecma)script\/i,ge={option:[1,"
","<\/table>"],col:[2,"
","<\/colgroup><\/table>"],tr:[2,"
","<\/tbody><\/table>"],td:[3,"
","<\/tr><\/tbody><\/table>"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx<\/textarea>",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=\/^key\/,Ce=\/^(?:mouse|pointer|contextmenu|drag|drop)|click\/,Ee=\/^([^.]*)(?:\\.(.+)|)\/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\\\.)"+h.join("\\\\.(?:.*\\\\.|)")+"(\\\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\\x20\\t\\r\\n\\f]*)[^>]*)\\\/>\/gi,qe=\/\\s*$\/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"\/"+e.type,e}function Re(e){return"true\/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n<\/$2>")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=\/(=)\\?(?=&|$)|\\?\\?\/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application\/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="<\/form><\/form>",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 01){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i\/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)\/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n1){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i\/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)\/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n="==e.substr(0,2)?(a="gte",n=e.substr(2)):"<="==e.substr(0,2)?(a="lte",n=e.substr(2)):">"==e.substr(0,1)?(a="gt",n=e.substr(1)):"<"==e.substr(0,1)?(a="lt",n=e.substr(1)):"!"==e.substr(0,1)?(a="not",n=e.substr(1)):(a="eq",n=e),n&&n in t.list)if(i=t.list[n],Array.isArray(i)){if(r=parseInt(i[0]),d=parseInt(i[1]),isNaN(r)){if(isNaN(d))return;c=i[1].substr(String(d).length)}else c=i[0].substr(String(r).length);if(isNaN(r))switch(a){case"gte":s="screen";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: -1px)";break;case"not":s="screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (max-width: "+d+c+")"}else if(isNaN(d))switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen";break;case"gt":s="screen and (max-width: -1px)";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+")";break;default:s="screen and (min-width: "+r+c+")"}else switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+"), screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (min-width: "+r+c+") and (max-width: "+d+c+")"}}else s="("==i.charAt(0)?"screen and "+i:i;t.media[e]=!!s&&s}return t.media[e]!==!1&&window.matchMedia(t.media[e]).matches},on:function(e,n){t.events.push({query:e,handler:n,state:!1}),t.active(e)&&n()},poll:function(){var e,n;for(e=0;e="==e.substr(0,2)?(a="gte",n=e.substr(2)):"<="==e.substr(0,2)?(a="lte",n=e.substr(2)):">"==e.substr(0,1)?(a="gt",n=e.substr(1)):"<"==e.substr(0,1)?(a="lt",n=e.substr(1)):"!"==e.substr(0,1)?(a="not",n=e.substr(1)):(a="eq",n=e),n&&n in t.list)if(i=t.list[n],Array.isArray(i)){if(r=parseInt(i[0]),d=parseInt(i[1]),isNaN(r)){if(isNaN(d))return;c=i[1].substr(String(d).length)}else c=i[0].substr(String(r).length);if(isNaN(r))switch(a){case"gte":s="screen";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: -1px)";break;case"not":s="screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (max-width: "+d+c+")"}else if(isNaN(d))switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen";break;case"gt":s="screen and (max-width: -1px)";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+")";break;default:s="screen and (min-width: "+r+c+")"}else switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+"), screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (min-width: "+r+c+") and (max-width: "+d+c+")"}}else s="("==i.charAt(0)?"screen and "+i:i;t.media[e]=!!s&&s}return t.media[e]!==!1&&window.matchMedia(t.media[e]).matches},on:function(e,n){t.events.push({query:e,handler:n,state:!1}),t.active(e)&&n()},poll:function(){var e,n;for(e=0;e1){for(o=0;o1){for(o=0;o1){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i\/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)\/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n1){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i\/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)\/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n1){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i\/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)\/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n1){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i\/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)\/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n1){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i\/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)\/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n1){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i\/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)\/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n1){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i\/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)\/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n1){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i\/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)\/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n0:!!("ontouchstart"in window),e.mobile="wp"==e.os||"android"==e.os||"ios"==e.os||"bb"==e.os}};return e.init(),e}();!function(e,n){"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?module.exports=n():e.browser=n()}(this,function(){return browser});$/;" m class:e -init assets/js/browser.min.js /^var browser=function(){"use strict";var e={name:null,version:null,os:null,osVersion:null,touch:null,mobile:null,_canUse:null,canUse:function(n){e._canUse||(e._canUse=document.createElement("div"));var o=e._canUse.style,r=n.charAt(0).toUpperCase()+n.slice(1);return n in o||"Moz"+r in o||"Webkit"+r in o||"O"+r in o||"ms"+r in o},init:function(){var n,o,r,i,t=navigator.userAgent;for(n="other",o=0,r=[["firefox",\/Firefox\\\/([0-9\\.]+)\/],["bb",\/BlackBerry.+Version\\\/([0-9\\.]+)\/],["bb",\/BB[0-9]+.+Version\\\/([0-9\\.]+)\/],["opera",\/OPR\\\/([0-9\\.]+)\/],["opera",\/Opera\\\/([0-9\\.]+)\/],["edge",\/Edge\\\/([0-9\\.]+)\/],["safari",\/Version\\\/([0-9\\.]+).+Safari\/],["chrome",\/Chrome\\\/([0-9\\.]+)\/],["ie",\/MSIE ([0-9]+)\/],["ie",\/Trident\\\/.+rv:([0-9]+)\/]],i=0;i0:!!("ontouchstart"in window),e.mobile="wp"==e.os||"android"==e.os||"ios"==e.os||"bb"==e.os}};return e.init(),e}();!function(e,n){"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?module.exports=n():e.browser=n()}(this,function(){return browser});$/;" m class:e -inspect node_modules/qs/test/utils.js /^var inspect = require('object-inspect');$/;" v -interpretNumericEntities node_modules/qs/lib/parse.js /^var interpretNumericEntities = function (str) {$/;" f -isArray node_modules/qs/lib/parse.js /^var isArray = Array.isArray;$/;" v -isArray node_modules/qs/lib/stringify.js /^var isArray = Array.isArray;$/;" v -isArray node_modules/qs/lib/utils.js /^var isArray = Array.isArray;$/;" v -isBuffer node_modules/qs/lib/utils.js /^ encode: encode,$/;" p class:module.exports -isBuffer node_modules/qs/lib/utils.js /^var isBuffer = function isBuffer(obj) {$/;" f -isNonNullishPrimitive node_modules/qs/lib/stringify.js /^var isNonNullishPrimitive = function isNonNullishPrimitive(v) {$/;" f -isRegExp node_modules/qs/lib/utils.js /^ isBuffer: isBuffer,$/;" p class:module.exports -isRegExp node_modules/qs/lib/utils.js /^var isRegExp = function isRegExp(obj) {$/;" f -isoSentinel node_modules/qs/lib/parse.js /^var isoSentinel = 'utf8=%26%2310003%3B'; \/\/ encodeURIComponent('✓')$/;" v -iterate node_modules/stripe/lib/autoPagination.js /^ function iterate(listResult) {$/;" f function:makeAutoPaginationMethods -list _site/assets/js/breakpoints.min.js /^var breakpoints=function(){"use strict";function e(e){t.init(e)}var t={list:null,media:{},events:[],init:function(e){t.list=e,window.addEventListener("resize",t.poll),window.addEventListener("orientationchange",t.poll),window.addEventListener("load",t.poll),window.addEventListener("fullscreenchange",t.poll)},active:function(e){var n,a,s,i,r,d,c;if(!(e in t.media)){if(">="==e.substr(0,2)?(a="gte",n=e.substr(2)):"<="==e.substr(0,2)?(a="lte",n=e.substr(2)):">"==e.substr(0,1)?(a="gt",n=e.substr(1)):"<"==e.substr(0,1)?(a="lt",n=e.substr(1)):"!"==e.substr(0,1)?(a="not",n=e.substr(1)):(a="eq",n=e),n&&n in t.list)if(i=t.list[n],Array.isArray(i)){if(r=parseInt(i[0]),d=parseInt(i[1]),isNaN(r)){if(isNaN(d))return;c=i[1].substr(String(d).length)}else c=i[0].substr(String(r).length);if(isNaN(r))switch(a){case"gte":s="screen";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: -1px)";break;case"not":s="screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (max-width: "+d+c+")"}else if(isNaN(d))switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen";break;case"gt":s="screen and (max-width: -1px)";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+")";break;default:s="screen and (min-width: "+r+c+")"}else switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+"), screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (min-width: "+r+c+") and (max-width: "+d+c+")"}}else s="("==i.charAt(0)?"screen and "+i:i;t.media[e]=!!s&&s}return t.media[e]!==!1&&window.matchMedia(t.media[e]).matches},on:function(e,n){t.events.push({query:e,handler:n,state:!1}),t.active(e)&&n()},poll:function(){var e,n;for(e=0;e="==e.substr(0,2)?(a="gte",n=e.substr(2)):"<="==e.substr(0,2)?(a="lte",n=e.substr(2)):">"==e.substr(0,1)?(a="gt",n=e.substr(1)):"<"==e.substr(0,1)?(a="lt",n=e.substr(1)):"!"==e.substr(0,1)?(a="not",n=e.substr(1)):(a="eq",n=e),n&&n in t.list)if(i=t.list[n],Array.isArray(i)){if(r=parseInt(i[0]),d=parseInt(i[1]),isNaN(r)){if(isNaN(d))return;c=i[1].substr(String(d).length)}else c=i[0].substr(String(r).length);if(isNaN(r))switch(a){case"gte":s="screen";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: -1px)";break;case"not":s="screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (max-width: "+d+c+")"}else if(isNaN(d))switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen";break;case"gt":s="screen and (max-width: -1px)";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+")";break;default:s="screen and (min-width: "+r+c+")"}else switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+"), screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (min-width: "+r+c+") and (max-width: "+d+c+")"}}else s="("==i.charAt(0)?"screen and "+i:i;t.media[e]=!!s&&s}return t.media[e]!==!1&&window.matchMedia(t.media[e]).matches},on:function(e,n){t.events.push({query:e,handler:n,state:!1}),t.active(e)&&n()},poll:function(){var e,n;for(e=0;e="==e.substr(0,2)?(a="gte",n=e.substr(2)):"<="==e.substr(0,2)?(a="lte",n=e.substr(2)):">"==e.substr(0,1)?(a="gt",n=e.substr(1)):"<"==e.substr(0,1)?(a="lt",n=e.substr(1)):"!"==e.substr(0,1)?(a="not",n=e.substr(1)):(a="eq",n=e),n&&n in t.list)if(i=t.list[n],Array.isArray(i)){if(r=parseInt(i[0]),d=parseInt(i[1]),isNaN(r)){if(isNaN(d))return;c=i[1].substr(String(d).length)}else c=i[0].substr(String(r).length);if(isNaN(r))switch(a){case"gte":s="screen";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: -1px)";break;case"not":s="screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (max-width: "+d+c+")"}else if(isNaN(d))switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen";break;case"gt":s="screen and (max-width: -1px)";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+")";break;default:s="screen and (min-width: "+r+c+")"}else switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+"), screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (min-width: "+r+c+") and (max-width: "+d+c+")"}}else s="("==i.charAt(0)?"screen and "+i:i;t.media[e]=!!s&&s}return t.media[e]!==!1&&window.matchMedia(t.media[e]).matches},on:function(e,n){t.events.push({query:e,handler:n,state:!1}),t.active(e)&&n()},poll:function(){var e,n;for(e=0;e="==e.substr(0,2)?(a="gte",n=e.substr(2)):"<="==e.substr(0,2)?(a="lte",n=e.substr(2)):">"==e.substr(0,1)?(a="gt",n=e.substr(1)):"<"==e.substr(0,1)?(a="lt",n=e.substr(1)):"!"==e.substr(0,1)?(a="not",n=e.substr(1)):(a="eq",n=e),n&&n in t.list)if(i=t.list[n],Array.isArray(i)){if(r=parseInt(i[0]),d=parseInt(i[1]),isNaN(r)){if(isNaN(d))return;c=i[1].substr(String(d).length)}else c=i[0].substr(String(r).length);if(isNaN(r))switch(a){case"gte":s="screen";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: -1px)";break;case"not":s="screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (max-width: "+d+c+")"}else if(isNaN(d))switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen";break;case"gt":s="screen and (max-width: -1px)";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+")";break;default:s="screen and (min-width: "+r+c+")"}else switch(a){case"gte":s="screen and (min-width: "+r+c+")";break;case"lte":s="screen and (max-width: "+d+c+")";break;case"gt":s="screen and (min-width: "+(d+1)+c+")";break;case"lt":s="screen and (max-width: "+(r-1)+c+")";break;case"not":s="screen and (max-width: "+(r-1)+c+"), screen and (min-width: "+(d+1)+c+")";break;default:s="screen and (min-width: "+r+c+") and (max-width: "+d+c+")"}}else s="("==i.charAt(0)?"screen and "+i:i;t.media[e]=!!s&&s}return t.media[e]!==!1&&window.matchMedia(t.media[e]).matches},on:function(e,n){t.events.push({query:e,handler:n,state:!1}),t.active(e)&&n()},poll:function(){var e,n;for(e=0;e0:!!("ontouchstart"in window),e.mobile="wp"==e.os||"android"==e.os||"ios"==e.os||"bb"==e.os}};return e.init(),e}();!function(e,n){"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?module.exports=n():e.browser=n()}(this,function(){return browser});$/;" p class:browser.e -mobile assets/js/browser.min.js /^var browser=function(){"use strict";var e={name:null,version:null,os:null,osVersion:null,touch:null,mobile:null,_canUse:null,canUse:function(n){e._canUse||(e._canUse=document.createElement("div"));var o=e._canUse.style,r=n.charAt(0).toUpperCase()+n.slice(1);return n in o||"Moz"+r in o||"Webkit"+r in o||"O"+r in o||"ms"+r in o},init:function(){var n,o,r,i,t=navigator.userAgent;for(n="other",o=0,r=[["firefox",\/Firefox\\\/([0-9\\.]+)\/],["bb",\/BlackBerry.+Version\\\/([0-9\\.]+)\/],["bb",\/BB[0-9]+.+Version\\\/([0-9\\.]+)\/],["opera",\/OPR\\\/([0-9\\.]+)\/],["opera",\/Opera\\\/([0-9\\.]+)\/],["edge",\/Edge\\\/([0-9\\.]+)\/],["safari",\/Version\\\/([0-9\\.]+).+Safari\/],["chrome",\/Chrome\\\/([0-9\\.]+)\/],["ie",\/MSIE ([0-9]+)\/],["ie",\/Trident\\\/.+rv:([0-9]+)\/]],i=0;i0:!!("ontouchstart"in window),e.mobile="wp"==e.os||"android"==e.os||"ios"==e.os||"bb"==e.os}};return e.init(),e}();!function(e,n){"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?module.exports=n():e.browser=n()}(this,function(){return browser});$/;" p class:browser.e -module.exports node_modules/qs/lib/parse.js /^};$/;" f -module.exports node_modules/qs/lib/stringify.js /^};$/;" f -module.exports node_modules/stripe/lib/ResourceNamespace.js /^}$/;" f -n.on.fn.scrollex _site/assets/js/jquery.scrollex.min.js /^!function(t){function e(t,e,n){return"string"==typeof t&&("%"==t.slice(-1)?t=parseInt(t.substring(0,t.length-1))\/100*e:"vh"==t.slice(-2)?t=parseInt(t.substring(0,t.length-2))\/100*n:"px"==t.slice(-2)&&(t=parseInt(t.substring(0,t.length-2)))),t}var n=t(window),i=1,o={};n.on("scroll",function(){var e=n.scrollTop();t.map(o,function(t){window.clearTimeout(t.timeoutId),t.timeoutId=window.setTimeout(function(){t.handler(e)},t.options.delay)})}).on("load",function(){n.trigger("scroll")}),jQuery.fn.scrollex=function(l){var s=t(this);if(0==this.length)return s;if(this.length>1){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i\/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)\/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n1){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i\/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)\/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n0:!!("ontouchstart"in window),e.mobile="wp"==e.os||"android"==e.os||"ios"==e.os||"bb"==e.os}};return e.init(),e}();!function(e,n){"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?module.exports=n():e.browser=n()}(this,function(){return browser});$/;" p class:browser.e -name assets/js/browser.min.js /^var browser=function(){"use strict";var e={name:null,version:null,os:null,osVersion:null,touch:null,mobile:null,_canUse:null,canUse:function(n){e._canUse||(e._canUse=document.createElement("div"));var o=e._canUse.style,r=n.charAt(0).toUpperCase()+n.slice(1);return n in o||"Moz"+r in o||"Webkit"+r in o||"O"+r in o||"ms"+r in o},init:function(){var n,o,r,i,t=navigator.userAgent;for(n="other",o=0,r=[["firefox",\/Firefox\\\/([0-9\\.]+)\/],["bb",\/BlackBerry.+Version\\\/([0-9\\.]+)\/],["bb",\/BB[0-9]+.+Version\\\/([0-9\\.]+)\/],["opera",\/OPR\\\/([0-9\\.]+)\/],["opera",\/Opera\\\/([0-9\\.]+)\/],["edge",\/Edge\\\/([0-9\\.]+)\/],["safari",\/Version\\\/([0-9\\.]+).+Safari\/],["chrome",\/Chrome\\\/([0-9\\.]+)\/],["ie",\/MSIE ([0-9]+)\/],["ie",\/Trident\\\/.+rv:([0-9]+)\/]],i=0;i0:!!("ontouchstart"in window),e.mobile="wp"==e.os||"android"==e.os||"ios"==e.os||"bb"==e.os}};return e.init(),e}();!function(e,n){"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?module.exports=n():e.browser=n()}(this,function(){return browser});$/;" p class:browser.e -next node_modules/stripe/lib/autoPagination.js /^ autoPagingToArray,$/;" p class:const -normalizeParseOptions node_modules/qs/lib/parse.js /^var normalizeParseOptions = function normalizeParseOptions(opts) {$/;" f -normalizeStringifyOptions node_modules/qs/lib/stringify.js /^var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {$/;" f -openModal _site/index.html /^function openModal(title) {$/;" f -openModal index.html /^function openModal(title) {$/;" f -options _site/assets/js/jquery.scrollex.min.js /^!function(t){function e(t,e,n){return"string"==typeof t&&("%"==t.slice(-1)?t=parseInt(t.substring(0,t.length-1))\/100*e:"vh"==t.slice(-2)?t=parseInt(t.substring(0,t.length-2))\/100*n:"px"==t.slice(-2)&&(t=parseInt(t.substring(0,t.length-2)))),t}var n=t(window),i=1,o={};n.on("scroll",function(){var e=n.scrollTop();t.map(o,function(t){window.clearTimeout(t.timeoutId),t.timeoutId=window.setTimeout(function(){t.handler(e)},t.options.delay)})}).on("load",function(){n.trigger("scroll")}),jQuery.fn.scrollex=function(l){var s=t(this);if(0==this.length)return s;if(this.length>1){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i\/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)\/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n1){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i\/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)\/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n0:!!("ontouchstart"in window),e.mobile="wp"==e.os||"android"==e.os||"ios"==e.os||"bb"==e.os}};return e.init(),e}();!function(e,n){"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?module.exports=n():e.browser=n()}(this,function(){return browser});$/;" p class:browser.e -os assets/js/browser.min.js /^var browser=function(){"use strict";var e={name:null,version:null,os:null,osVersion:null,touch:null,mobile:null,_canUse:null,canUse:function(n){e._canUse||(e._canUse=document.createElement("div"));var o=e._canUse.style,r=n.charAt(0).toUpperCase()+n.slice(1);return n in o||"Moz"+r in o||"Webkit"+r in o||"O"+r in o||"ms"+r in o},init:function(){var n,o,r,i,t=navigator.userAgent;for(n="other",o=0,r=[["firefox",\/Firefox\\\/([0-9\\.]+)\/],["bb",\/BlackBerry.+Version\\\/([0-9\\.]+)\/],["bb",\/BB[0-9]+.+Version\\\/([0-9\\.]+)\/],["opera",\/OPR\\\/([0-9\\.]+)\/],["opera",\/Opera\\\/([0-9\\.]+)\/],["edge",\/Edge\\\/([0-9\\.]+)\/],["safari",\/Version\\\/([0-9\\.]+).+Safari\/],["chrome",\/Chrome\\\/([0-9\\.]+)\/],["ie",\/MSIE ([0-9]+)\/],["ie",\/Trident\\\/.+rv:([0-9]+)\/]],i=0;i0:!!("ontouchstart"in window),e.mobile="wp"==e.os||"android"==e.os||"ios"==e.os||"bb"==e.os}};return e.init(),e}();!function(e,n){"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?module.exports=n():e.browser=n()}(this,function(){return browser});$/;" p class:browser.e -osVersion _site/assets/js/browser.min.js /^var browser=function(){"use strict";var e={name:null,version:null,os:null,osVersion:null,touch:null,mobile:null,_canUse:null,canUse:function(n){e._canUse||(e._canUse=document.createElement("div"));var o=e._canUse.style,r=n.charAt(0).toUpperCase()+n.slice(1);return n in o||"Moz"+r in o||"Webkit"+r in o||"O"+r in o||"ms"+r in o},init:function(){var n,o,r,i,t=navigator.userAgent;for(n="other",o=0,r=[["firefox",\/Firefox\\\/([0-9\\.]+)\/],["bb",\/BlackBerry.+Version\\\/([0-9\\.]+)\/],["bb",\/BB[0-9]+.+Version\\\/([0-9\\.]+)\/],["opera",\/OPR\\\/([0-9\\.]+)\/],["opera",\/Opera\\\/([0-9\\.]+)\/],["edge",\/Edge\\\/([0-9\\.]+)\/],["safari",\/Version\\\/([0-9\\.]+).+Safari\/],["chrome",\/Chrome\\\/([0-9\\.]+)\/],["ie",\/MSIE ([0-9]+)\/],["ie",\/Trident\\\/.+rv:([0-9]+)\/]],i=0;i0:!!("ontouchstart"in window),e.mobile="wp"==e.os||"android"==e.os||"ios"==e.os||"bb"==e.os}};return e.init(),e}();!function(e,n){"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?module.exports=n():e.browser=n()}(this,function(){return browser});$/;" p class:browser.e -osVersion assets/js/browser.min.js /^var browser=function(){"use strict";var e={name:null,version:null,os:null,osVersion:null,touch:null,mobile:null,_canUse:null,canUse:function(n){e._canUse||(e._canUse=document.createElement("div"));var o=e._canUse.style,r=n.charAt(0).toUpperCase()+n.slice(1);return n in o||"Moz"+r in o||"Webkit"+r in o||"O"+r in o||"ms"+r in o},init:function(){var n,o,r,i,t=navigator.userAgent;for(n="other",o=0,r=[["firefox",\/Firefox\\\/([0-9\\.]+)\/],["bb",\/BlackBerry.+Version\\\/([0-9\\.]+)\/],["bb",\/BB[0-9]+.+Version\\\/([0-9\\.]+)\/],["opera",\/OPR\\\/([0-9\\.]+)\/],["opera",\/Opera\\\/([0-9\\.]+)\/],["edge",\/Edge\\\/([0-9\\.]+)\/],["safari",\/Version\\\/([0-9\\.]+).+Safari\/],["chrome",\/Chrome\\\/([0-9\\.]+)\/],["ie",\/MSIE ([0-9]+)\/],["ie",\/Trident\\\/.+rv:([0-9]+)\/]],i=0;i0:!!("ontouchstart"in window),e.mobile="wp"==e.os||"android"==e.os||"ios"==e.os||"bb"==e.os}};return e.init(),e}();!function(e,n){"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?module.exports=n():e.browser=n()}(this,function(){return browser});$/;" p class:browser.e -parse node_modules/qs/lib/index.js /^ formats: formats,$/;" p class:module.exports -parse node_modules/qs/lib/index.js /^var parse = require('.\/parse');$/;" v -parseArrayValue node_modules/qs/lib/parse.js /^var parseArrayValue = function (val, options) {$/;" f -parseHeader node_modules/stripe/lib/Webhooks.js /^function parseHeader(header, scheme) {$/;" f -parseKeys node_modules/qs/lib/parse.js /^var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {$/;" f -parseObject node_modules/qs/lib/parse.js /^var parseObject = function (chain, val, options, valuesParsed) {$/;" f -parseQueryStringKeys node_modules/qs/lib/parse.js /^var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {$/;" f -parseQueryStringValues node_modules/qs/lib/parse.js /^var parseValues = function parseQueryStringValues(str, options) {$/;" f -parseValues node_modules/qs/lib/parse.js /^var parseValues = function parseQueryStringValues(str, options) {$/;" f -parser node_modules/stripe/types/.eslintrc.js /^ root: true,$/;" p class:module.exports -path node_modules/stripe/lib/StripeResource.js /^StripeResource.prototype = {$/;" p class:StripeResource -percentTwenties node_modules/qs/lib/formats.js /^var percentTwenties = \/%20\/g;$/;" v -plugins node_modules/stripe/types/.eslintrc.js /^ parser: '@typescript-eslint\/parser',$/;" p class:module.exports -push node_modules/qs/lib/stringify.js /^var push = Array.prototype.push;$/;" v -push node_modules/stripe/lib/multipart.js /^ function push(l) {$/;" f function:function -pushToArray node_modules/qs/lib/stringify.js /^var pushToArray = function (arr, valueOrArray) {$/;" f -q node_modules/stripe/lib/multipart.js /^ function q(s) {$/;" f function:function -qs node_modules/qs/test/parse.js /^var qs = require('..\/');$/;" v -qs node_modules/qs/test/stringify.js /^var qs = require('..\/');$/;" v -refs node_modules/qs/lib/utils.js /^ var refs = [];$/;" v -replace node_modules/qs/lib/formats.js /^var replace = String.prototype.replace;$/;" v -reset _site/quotetool.html /^ function reset(){$/;" f -reset quotetool.html /^ function reset(){$/;" f -return _site/assets/js/jquery.scrollex.min.js /^!function(t){function e(t,e,n){return"string"==typeof t&&("%"==t.slice(-1)?t=parseInt(t.substring(0,t.length-1))\/100*e:"vh"==t.slice(-2)?t=parseInt(t.substring(0,t.length-2))\/100*n:"px"==t.slice(-2)&&(t=parseInt(t.substring(0,t.length-2)))),t}var n=t(window),i=1,o={};n.on("scroll",function(){var e=n.scrollTop();t.map(o,function(t){window.clearTimeout(t.timeoutId),t.timeoutId=window.setTimeout(function(){t.handler(e)},t.options.delay)})}).on("load",function(){n.trigger("scroll")}),jQuery.fn.scrollex=function(l){var s=t(this);if(0==this.length)return s;if(this.length>1){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i\/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)\/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n1){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i\/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)\/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n1){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i\/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)\/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n1){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i\/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)\/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n1){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i\/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)\/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n1){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i\/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)\/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n1){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i\/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)\/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n1){for(var r=0;r=i&&o>=t};break;case"bottom":h=function(t,e,n,i,o){return n>=i&&o>=n};break;case"middle":h=function(t,e,n,i,o){return e>=i&&o>=e};break;case"top-only":h=function(t,e,n,i,o){return i>=t&&n>=i};break;case"bottom-only":h=function(t,e,n,i,o){return n>=o&&o>=t};break;default:case"default":h=function(t,e,n,i,o){return n>=i&&o>=t}}return c=function(t){var i,o,l,s,r,a,u=this.state,h=!1,c=this.$element.offset();i=n.height(),o=t+i\/2,l=t+i,s=this.$element.outerHeight(),r=c.top+e(this.options.top,s,i),a=c.top+s-e(this.options.bottom,s,i),h=this.test(t,o,l,r,a),h!=u&&(this.state=h,h?this.options.enter&&this.options.enter.apply(this.element):this.options.leave&&this.options.leave.apply(this.element)),this.options.scroll&&this.options.scroll.apply(this.element,[(o-r)\/(a-r)])},p={id:a,options:u,test:h,handler:c,state:null,element:this,$element:s,timeoutId:null},o[a]=p,s.data("_scrollexId",p.id),p.options.initialize&&p.options.initialize.apply(this),s},jQuery.fn.unscrollex=function(){var e=t(this);if(0==this.length)return e;if(this.length>1){for(var n=0;n0:!!("ontouchstart"in window),e.mobile="wp"==e.os||"android"==e.os||"ios"==e.os||"bb"==e.os}};return e.init(),e}();!function(e,n){"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?module.exports=n():e.browser=n()}(this,function(){return browser});$/;" p class:browser.e -touch assets/js/browser.min.js /^var browser=function(){"use strict";var e={name:null,version:null,os:null,osVersion:null,touch:null,mobile:null,_canUse:null,canUse:function(n){e._canUse||(e._canUse=document.createElement("div"));var o=e._canUse.style,r=n.charAt(0).toUpperCase()+n.slice(1);return n in o||"Moz"+r in o||"Webkit"+r in o||"O"+r in o||"ms"+r in o},init:function(){var n,o,r,i,t=navigator.userAgent;for(n="other",o=0,r=[["firefox",\/Firefox\\\/([0-9\\.]+)\/],["bb",\/BlackBerry.+Version\\\/([0-9\\.]+)\/],["bb",\/BB[0-9]+.+Version\\\/([0-9\\.]+)\/],["opera",\/OPR\\\/([0-9\\.]+)\/],["opera",\/Opera\\\/([0-9\\.]+)\/],["edge",\/Edge\\\/([0-9\\.]+)\/],["safari",\/Version\\\/([0-9\\.]+).+Safari\/],["chrome",\/Chrome\\\/([0-9\\.]+)\/],["ie",\/MSIE ([0-9]+)\/],["ie",\/Trident\\\/.+rv:([0-9]+)\/]],i=0;i0:!!("ontouchstart"in window),e.mobile="wp"==e.os||"android"==e.os||"ios"==e.os||"bb"==e.os}};return e.init(),e}();!function(e,n){"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?module.exports=n():e.browser=n()}(this,function(){return browser});$/;" p class:browser.e -type _site/assets/js/jquery.min.js /^!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=\/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$\/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\("+M+"*(even|odd|(([+-]|)(\\\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\\\d+)|))"+M+"*\\\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\("+M+"*((?:-\\\\d)?\\\\d*)"+M+"*\\\\)|)(?=[^-]|$)","i")},Y=\/HTML$\/i,Q=\/^(?:input|select|textarea|button)$\/i,J=\/^h\\d$\/i,K=\/^[^{]+\\{\\s*\\[native \\w\/,Z=\/^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$\/,ee=\/[+~]\/,te=new RegExp("\\\\\\\\([\\\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=\/([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]\/g,ie=function(e,t){return t?"\\0"===e?"\\ufffd":e.slice(0,-1)+"\\\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="<\/a><\/select>";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\\/?>(?:<\\\/\\1>|)$\/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\\w-]+))$\/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=\/^(?:parents|prev(?:Until|All))\/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\\x20\\t\\r\\n\\f]*)\/i,he=\/^$|^module$|\\\/(?:java|ecma)script\/i,ge={option:[1,"
","<\/table>"],col:[2,"
","<\/colgroup><\/table>"],tr:[2,"
","<\/tbody><\/table>"],td:[3,"
","<\/tr><\/tbody><\/table>"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx<\/textarea>",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=\/^key\/,Ce=\/^(?:mouse|pointer|contextmenu|drag|drop)|click\/,Ee=\/^([^.]*)(?:\\.(.+)|)\/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\\\.)"+h.join("\\\\.(?:.*\\\\.|)")+"(\\\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\\x20\\t\\r\\n\\f]*)[^>]*)\\\/>\/gi,qe=\/\\s*$\/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"\/"+e.type,e}function Re(e){return"true\/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n<\/$2>")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=\/(=)\\?(?=&|$)|\\?\\?\/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application\/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="<\/form><\/form>",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\("+M+"*(even|odd|(([+-]|)(\\\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\\\d+)|))"+M+"*\\\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\("+M+"*((?:-\\\\d)?\\\\d*)"+M+"*\\\\)|)(?=[^-]|$)","i")},Y=\/HTML$\/i,Q=\/^(?:input|select|textarea|button)$\/i,J=\/^h\\d$\/i,K=\/^[^{]+\\{\\s*\\[native \\w\/,Z=\/^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$\/,ee=\/[+~]\/,te=new RegExp("\\\\\\\\([\\\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=\/([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]\/g,ie=function(e,t){return t?"\\0"===e?"\\ufffd":e.slice(0,-1)+"\\\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="<\/a><\/select>";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\\/?>(?:<\\\/\\1>|)$\/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\\w-]+))$\/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=\/^(?:parents|prev(?:Until|All))\/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\\x20\\t\\r\\n\\f]*)\/i,he=\/^$|^module$|\\\/(?:java|ecma)script\/i,ge={option:[1,"
","<\/table>"],col:[2,"
","<\/colgroup><\/table>"],tr:[2,"
","<\/tbody><\/table>"],td:[3,"
","<\/tr><\/tbody><\/table>"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx<\/textarea>",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=\/^key\/,Ce=\/^(?:mouse|pointer|contextmenu|drag|drop)|click\/,Ee=\/^([^.]*)(?:\\.(.+)|)\/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\\\.)"+h.join("\\\\.(?:.*\\\\.|)")+"(\\\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\\x20\\t\\r\\n\\f]*)[^>]*)\\\/>\/gi,qe=\/\\s*$\/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"\/"+e.type,e}function Re(e){return"true\/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n<\/$2>")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=\/(=)\\?(?=&|$)|\\?\\?\/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application\/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="<\/form><\/form>",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 00:!!("ontouchstart"in window),e.mobile="wp"==e.os||"android"==e.os||"ios"==e.os||"bb"==e.os}};return e.init(),e}();!function(e,n){"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?module.exports=n():e.browser=n()}(this,function(){return browser});$/;" p class:browser.e -version assets/js/browser.min.js /^var browser=function(){"use strict";var e={name:null,version:null,os:null,osVersion:null,touch:null,mobile:null,_canUse:null,canUse:function(n){e._canUse||(e._canUse=document.createElement("div"));var o=e._canUse.style,r=n.charAt(0).toUpperCase()+n.slice(1);return n in o||"Moz"+r in o||"Webkit"+r in o||"O"+r in o||"ms"+r in o},init:function(){var n,o,r,i,t=navigator.userAgent;for(n="other",o=0,r=[["firefox",\/Firefox\\\/([0-9\\.]+)\/],["bb",\/BlackBerry.+Version\\\/([0-9\\.]+)\/],["bb",\/BB[0-9]+.+Version\\\/([0-9\\.]+)\/],["opera",\/OPR\\\/([0-9\\.]+)\/],["opera",\/Opera\\\/([0-9\\.]+)\/],["edge",\/Edge\\\/([0-9\\.]+)\/],["safari",\/Version\\\/([0-9\\.]+).+Safari\/],["chrome",\/Chrome\\\/([0-9\\.]+)\/],["ie",\/MSIE ([0-9]+)\/],["ie",\/Trident\\\/.+rv:([0-9]+)\/]],i=0;i0:!!("ontouchstart"in window),e.mobile="wp"==e.os||"android"==e.os||"ios"==e.os||"bb"==e.os}};return e.init(),e}();!function(e,n){"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?module.exports=n():e.browser=n()}(this,function(){return browser});$/;" p class:browser.e -w _site/assets/js/jquery.min.js /^!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=\/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$\/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\("+M+"*(even|odd|(([+-]|)(\\\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\\\d+)|))"+M+"*\\\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\("+M+"*((?:-\\\\d)?\\\\d*)"+M+"*\\\\)|)(?=[^-]|$)","i")},Y=\/HTML$\/i,Q=\/^(?:input|select|textarea|button)$\/i,J=\/^h\\d$\/i,K=\/^[^{]+\\{\\s*\\[native \\w\/,Z=\/^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$\/,ee=\/[+~]\/,te=new RegExp("\\\\\\\\([\\\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=\/([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]\/g,ie=function(e,t){return t?"\\0"===e?"\\ufffd":e.slice(0,-1)+"\\\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="<\/a><\/select>";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\\/?>(?:<\\\/\\1>|)$\/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\\w-]+))$\/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=\/^(?:parents|prev(?:Until|All))\/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\\x20\\t\\r\\n\\f]*)\/i,he=\/^$|^module$|\\\/(?:java|ecma)script\/i,ge={option:[1,"
","<\/table>"],col:[2,"
","<\/colgroup><\/table>"],tr:[2,"
","<\/tbody><\/table>"],td:[3,"
","<\/tr><\/tbody><\/table>"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx<\/textarea>",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=\/^key\/,Ce=\/^(?:mouse|pointer|contextmenu|drag|drop)|click\/,Ee=\/^([^.]*)(?:\\.(.+)|)\/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\\\.)"+h.join("\\\\.(?:.*\\\\.|)")+"(\\\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\\x20\\t\\r\\n\\f]*)[^>]*)\\\/>\/gi,qe=\/\\s*$\/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"\/"+e.type,e}function Re(e){return"true\/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n<\/$2>")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=\/(=)\\?(?=&|$)|\\?\\?\/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application\/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="<\/form><\/form>",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\("+M+"*(even|odd|(([+-]|)(\\\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\\\d+)|))"+M+"*\\\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\("+M+"*((?:-\\\\d)?\\\\d*)"+M+"*\\\\)|)(?=[^-]|$)","i")},Y=\/HTML$\/i,Q=\/^(?:input|select|textarea|button)$\/i,J=\/^h\\d$\/i,K=\/^[^{]+\\{\\s*\\[native \\w\/,Z=\/^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$\/,ee=\/[+~]\/,te=new RegExp("\\\\\\\\([\\\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=\/([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]\/g,ie=function(e,t){return t?"\\0"===e?"\\ufffd":e.slice(0,-1)+"\\\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="<\/a><\/select>";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\\/?>(?:<\\\/\\1>|)$\/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\\w-]+))$\/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=\/^(?:parents|prev(?:Until|All))\/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\\x20\\t\\r\\n\\f]*)\/i,he=\/^$|^module$|\\\/(?:java|ecma)script\/i,ge={option:[1,"
","<\/table>"],col:[2,"
","<\/colgroup><\/table>"],tr:[2,"
","<\/tbody><\/table>"],td:[3,"
","<\/tr><\/tbody><\/table>"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx<\/textarea>",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=\/^key\/,Ce=\/^(?:mouse|pointer|contextmenu|drag|drop)|click\/,Ee=\/^([^.]*)(?:\\.(.+)|)\/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\\\.)"+h.join("\\\\.(?:.*\\\\.|)")+"(\\\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\\x20\\t\\r\\n\\f]*)[^>]*)\\\/>\/gi,qe=\/\\s*$\/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"\/"+e.type,e}function Re(e){return"true\/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n<\/$2>")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=\/(=)\\?(?=&|$)|\\?\\?\/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application\/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="<\/form><\/form>",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0