mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
e381c3fe52
* create NewsletterSubscription Model * create subscribe and unsubcribe actions, update cloud-sdk, policies & routes * Add newsletter email layout * add newsletter form, update styles and page script * Update cloud.setup.js * lint fixes * Update homepage.less * unsubscribe-from-newsletter » unsubscribe-from-all-newsletters * remove unused exit * comment out unused attributes, update assets/.eslintrc * update layout * update layout after updating from main * Update actions and routes * lint fix
20 lines
2.7 KiB
JavaScript
Vendored
20 lines
2.7 KiB
JavaScript
Vendored
/**
|
|
* cloud.setup.js
|
|
*
|
|
* Configuration for this Sails app's generated browser SDK ("Cloud").
|
|
*
|
|
* Above all, the purpose of this file is to provide endpoint definitions,
|
|
* each of which corresponds with one particular route+action on the server.
|
|
*
|
|
* > This file was automatically generated.
|
|
* > (To regenerate, run `sails run rebuild-cloud-sdk`)
|
|
*/
|
|
|
|
Cloud.setup({
|
|
|
|
/* eslint-disable */
|
|
methods: {"unsubscribeFromAllNewsletters":{"verb":"GET","url":"/unsubscribe","args":["emailAddress"]},"downloadSitemap":{"verb":"GET","url":"/sitemap.xml","args":[]},"receiveUsageAnalytics":{"verb":"POST","url":"/api/v1/webhooks/receive-usage-analytics","args":["anonymousIdentifier","fleetVersion","licenseTier","numHostsEnrolled","numUsers","numTeams","numPolicies","numLabels","softwareInventoryEnabled","vulnDetectionEnabled","systemUsersEnabled","hostStatusWebhookEnabled","numWeeklyActiveUsers","hostsEnrolledByOperatingSystem","storedErrors","numHostsNotResponding","organization"]},"receiveFromGithub":{"verb":"GET","url":"/api/v1/webhooks/github","args":["botSignature","action","sender","repository","changes","issue","comment","pull_request","label"]},"deliverContactFormMessage":{"verb":"POST","url":"/api/v1/deliver-contact-form-message","args":["emailAddress","topic","firstName","lastName","message"]},"sendPasswordRecoveryEmail":{"verb":"POST","url":"/api/v1/entrance/send-password-recovery-email","args":["emailAddress"]},"signup":{"verb":"POST","url":"/api/v1/customers/signup","args":["emailAddress","password","organization","firstName","lastName","signupReason"]},"updateProfile":{"verb":"POST","url":"/api/v1/account/update-profile","args":["firstName","lastName","organization","emailAddress"]},"updatePassword":{"verb":"POST","url":"/api/v1/account/update-password","args":["oldPassword","newPassword"]},"updateBillingCard":{"verb":"POST","url":"/api/v1/account/update-billing-card","args":["stripeToken","billingCardLast4","billingCardBrand","billingCardExpMonth","billingCardExpYear"]},"login":{"verb":"POST","url":"/api/v1/customers/login","args":["emailAddress","password","rememberMe"]},"logout":{"verb":"GET","url":"/api/v1/account/logout","args":[]},"createQuote":{"verb":"POST","url":"/api/v1/customers/create-quote","args":["numberOfHosts"]},"saveBillingInfoAndSubscribe":{"verb":"POST","url":"/api/v1/customers/save-billing-info-and-subscribe","args":["quoteId","paymentSource"]},"updatePasswordAndLogin":{"verb":"POST","url":"/api/v1/entrance/update-password-and-login","args":["password","token"]},"deliverDemoSignup":{"verb":"POST","url":"/api/v1/deliver-demo-signup","args":["emailAddress"]},"createOrUpdateOneNewsletterSubscription":{"verb":"POST","url":"/api/v1/create-or-update-one-newsletter-subscription","args":["emailAddress","subscribeTo"]}}
|
|
/* eslint-enable */
|
|
|
|
});
|