This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<!-- Add title to display title in some client browser tabs --> | |
<title></title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<style type="text/css"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<!-- Add title to display title in some client browser tabs --> | |
<title></title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<link href="https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,400;0,700;0,800;1,200&display=swap" rel="stylesheet"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async updateFromStore( | |
// FIXME temporarily allow buttons configuration until migration is run | |
store: Store & { buttonsConfiguration?: StoreButtonsConfiguration }, | |
): Promise<StoreConfiguration> { | |
const { buttonsConfiguration = {}, offerConfig, branding = {} } = store | |
if (!offerConfig) { | |
throw new Error('offerConfig from Store is missing') | |
} | |
return this.add(store.id, { | |
accountId: store.accountId, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async updateFromStore( | |
// FIXME temporarily allow buttons configuration until migration is run | |
store: Store & { buttonsConfiguration?: StoreButtonsConfiguration }, | |
): Promise<StoreConfiguration> { | |
const { buttonsConfiguration = {}, offerConfig, branding = {} } = store | |
if (!offerConfig) { | |
throw new Error('offerConfig from Store is missing') | |
} | |
return this.add(store.id, { | |
accountId: store.accountId, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async updateFromStore( | |
// FIXME temporarily allow buttons configuration until migration is run | |
store: Store & { buttonsConfiguration?: StoreButtonsConfiguration }, | |
): Promise<StoreConfiguration> { | |
const { buttonsConfiguration = {}, offerConfig, branding = {} } = store | |
if (!offerConfig) { | |
throw new Error('offerConfig from Store is missing') | |
} | |
return this.add(store.id, { | |
accountId: store.accountId, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"info": { | |
"_postman_id": "57df8b22-65a2-4790-a6a3-17d8f833d864", | |
"name": "User Authentication", | |
"description": "Describes how to authorize with the application", | |
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
}, | |
"item": [ | |
{ | |
"name": "User Login", |