Skip to content

Instantly share code, notes, and snippets.

{
"Greeting":{
"tab_title":"Greeting",
"script_type":"New Lead",
"content":[
{
"type":"textarea",
"value":"<p>- Hello and thank you for calling {system.LocName}. How can I help you?<\/p>\n"
}
]
{
"items":[
{
"unit_type_id":523,
"unit_type_name":"Climate Control-cc",
"size":[
{
"width":"5.0",
"length":"10.0",
"total":200,
{
"items":[
{
"unit_type_id":523,
"unit_type_name":"Climate Control-cc",
"size":[
{
"width":"5.0",
"length":"10.0",
"total":200,
items: [
{
"unit_type_id":523,
"unit_type_name":"Climate Control-cc",
"size":[
{
"width":"5.0",
"length":"10.0",
"total":200,
"qty_avail":149,
//==========SERVICES===============
(function() {
'use strict';
angular
.module('app.services')
.factory('Auth', function ($resource, $cookies, $http, ENV, Brand, $rootScope) {
var Auth = $resource(ENV.apiEndpoint + '/auth');
Auth.currentUser = {};
angular
.module('app.services')
.factory('Auth', function ($resource, $cookies, $http, ENV, Brand, $rootScope) {
var Auth = $resource(ENV.apiEndpoint + '/auth');
Auth.currentUser = {};
Auth.isLoggedIn = function () {
if (!this.currentUser.isAuthenticated) {
this.currentUser = $cookies.getObject('currentUser') || {};
{
"config": {},
"ui": {
"tagsByMatch": [
{
"key": "my very first category",
"tags": [
"tag 1",
"tag2",
"tag3"
{
"journeyType":"MAJourney",
"journey":[
{
"type":"If",
"stepId":"f1d8eb76-c370-46dd-a969-b4762e99c1d9",
"trueChildren":[
{
"type":"LeadScore",
"stepId":"f88e2600-40bc-4965-8c59-964fae1b3e48",
{"triggerGuid":null,"type":"Boolean_Eval","triggerFn":{"type":"And","triggers":[{"triggerGuid":"6cc26635-7177-4f50-b7d3-cb2055a59ee8","incomplete":false,"type":"ThirdPartyPageVisit_Equals","config":{"theLowerUrl":"dfgd"}},{"triggerGuid":"8058556e-7c42-4fc6-9d0b-4f6aa9e2c193","type":"Boolean_Eval","triggerFn":{"type":"NotTrigger","triggers":[{"type":"Any_ThirdPartyPageVisit","triggerGuid":"dbdad293-25f7-4cbf-a2c9-4400d2477723","incomplete":false}]}}]}}
[
{
"stepId": "4333e6fd-ade2-4299-b2d0-7761f031bf8f",
"falseChildren": [
{
"stepId": "45eccf55-bf45-4875-be78-870ee930e966",
"not": false,
"conditionGuids": [
"d086a8ad-ba9f-422d-8588-5a02fe5f80e1"
],