Advertisement
Guest User

Hirings save error

a guest
Apr 6th, 2020
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 12.21 KB | None | 0 0
  1. {
  2.   auth: {
  3.     isLoggedIn: true,
  4.     user: {
  5.       s_hash: 'l9z1VlPguURjDNYViZzY-w',
  6.       sid: 'mhTMjn_9ixRDzknHyP8KXg',
  7.       sub: 'aee22b82-d3c0-40d8-aa46-125b31b6469d',
  8.       auth_time: 1584714921,
  9.       idp: 'local',
  10.       amr: [
  11.         'pwd'
  12.       ],
  13.       preferred_username: 'mhoo@itu.dk',
  14.       name: 'mhoo@itu.dk'
  15.     },
  16.     status: 'SUCCESS',
  17.     accessToken: 'eyJhbGciOiJSUzI1NiIsImtpZCI6IkRldmVsb3BtZW50IiwidHlwIjoiYXQrand0In0.eyJuYmYiOjE1ODYyMDYyNjAsImV4cCI6MTU4NjIwOTg2MCwiaXNzIjoiaHR0cHM6Ly9sb2NhbGhvc3Q6NTAwMSIsImF1ZCI6IldlYkFQSSIsImNsaWVudF9pZCI6IlN0YXJ0dXBDRk8iLCJzdWIiOiJhZWUyMmI4Mi1kM2MwLTQwZDgtYWE0Ni0xMjViMzFiNjQ2OWQiLCJhdXRoX3RpbWUiOjE1ODQ3MTQ5MjEsImlkcCI6ImxvY2FsIiwic2NvcGUiOlsib3BlbmlkIiwicHJvZmlsZSIsIldlYkFQSSJdLCJhbXIiOlsicHdkIl19.JhquTtwKcostLGMvdkKQO9pQBw5KXr44aDB7NH40Lz-72Vewf-5Daxe4f5f2VcAcXeGn3dqBV5KpBx1f6fS6cJcl8uEEr-0KGE89WWrV3zP0u_EGnRVZIqd5UiXUqXOU5IURVuRSkM3x9ejtMB-JaPXpLXKA5gr3FEVrqq4laATxl7ZsSueB7eMx9rrRCXC_SnhNSoUJ6qa69WqqbXX2ymqoPs4fy_YzLLt2-yUQoObEN2tdjcpX6TMIOy7nceAIOCejbGCRG4ZBy8P1bsNXBD5lWoE9eMLq2vYzhFKuR-9Gd4imPRMBYQPyiAyPyhQdmHgVegQoQIisSSL3sot8ow',
  18.     error: null
  19.   },
  20.   assumptionBook: {
  21.     assumptionBook: {
  22.       isDone: false,
  23.       startDate: null,
  24.       currency: null,
  25.       growth: {
  26.         startDate: '2020-04-06T21:21:25.051Z',
  27.         customerStartMonth: 123,
  28.         expectedCustomersFirstYear: 321,
  29.         expectedCustomersSecondYear: 321,
  30.         expectedCustomersThirdYear: 132,
  31.         expectedCustomersFourthYear: 132
  32.       },
  33.       conversionAndChurn: {
  34.         contractLengthMonth: 12,
  35.         monthsPaidUpFront: 11,
  36.         churnRate: 15
  37.       },
  38.       hirings: null,
  39.       operationExpenses: [
  40.         {
  41.           name: '32',
  42.           startDate: '2023-04-05T22:00:00.000Z',
  43.           costMonthly: 32,
  44.           accounting: {}
  45.         }
  46.       ],
  47.       fundings: [
  48.         {
  49.           name: '231',
  50.           startDate: '2024-04-05T22:00:00.000Z',
  51.           numPayouts: 3,
  52.           amount: 23
  53.         }
  54.       ],
  55.       subProducts: [
  56.         {
  57.           name: '234',
  58.           salesPerCustomer: 342,
  59.           revenueMonthly: 324,
  60.           costOfSalesMonthly: 432,
  61.           affiliatePayPercentage: 6,
  62.           costOfSaleOneTime: 324,
  63.           revenueOneTime: 43
  64.         }
  65.       ]
  66.     },
  67.     status: 'FAILED',
  68.     error: '400'
  69.   },
  70.   applicationUser: {
  71.     status: null,
  72.     error: null,
  73.     applicationUser: null
  74.   },
  75.   form: {
  76.     productAndPriceInput: {
  77.       registeredFields: {
  78.         productAndPrice: {
  79.           name: 'productAndPrice',
  80.           type: 'FieldArray',
  81.           count: 0
  82.         },
  83.         'productAndPrice[0].name': {
  84.           name: 'productAndPrice[0].name',
  85.           type: 'Field',
  86.           count: 0
  87.         },
  88.         'productAndPrice[0].salesPerCustomer': {
  89.           name: 'productAndPrice[0].salesPerCustomer',
  90.           type: 'Field',
  91.           count: 0
  92.         },
  93.         'productAndPrice[0].revenueMonthly': {
  94.           name: 'productAndPrice[0].revenueMonthly',
  95.           type: 'Field',
  96.           count: 0
  97.         },
  98.         'productAndPrice[0].costOfSalesMonthly': {
  99.           name: 'productAndPrice[0].costOfSalesMonthly',
  100.           type: 'Field',
  101.           count: 0
  102.         },
  103.         'productAndPrice[0].affiliatePayPercentage': {
  104.           name: 'productAndPrice[0].affiliatePayPercentage',
  105.           type: 'Field',
  106.           count: 0
  107.         },
  108.         'productAndPrice[0].costOfSaleOneTime': {
  109.           name: 'productAndPrice[0].costOfSaleOneTime',
  110.           type: 'Field',
  111.           count: 0
  112.         },
  113.         'productAndPrice[0].revenueOneTime': {
  114.           name: 'productAndPrice[0].revenueOneTime',
  115.           type: 'Field',
  116.           count: 0
  117.         }
  118.       },
  119.       values: {
  120.         productAndPrice: [
  121.           {
  122.             name: '234',
  123.             salesPerCustomer: 342,
  124.             revenueMonthly: 324,
  125.             costOfSalesMonthly: 432,
  126.             affiliatePayPercentage: 6,
  127.             costOfSaleOneTime: 324,
  128.             revenueOneTime: 43
  129.           }
  130.         ]
  131.       },
  132.       fields: {
  133.         productAndPrice: [
  134.           {
  135.             name: {
  136.               visited: true,
  137.               touched: true
  138.             },
  139.             salesPerCustomer: {
  140.               visited: true,
  141.               touched: true
  142.             },
  143.             revenueMonthly: {
  144.               visited: true,
  145.               touched: true
  146.             },
  147.             costOfSalesMonthly: {
  148.               visited: true,
  149.               touched: true
  150.             },
  151.             affiliatePayPercentage: {
  152.               visited: true,
  153.               touched: true
  154.             },
  155.             costOfSaleOneTime: {
  156.               visited: true,
  157.               touched: true
  158.             },
  159.             revenueOneTime: {
  160.               visited: true,
  161.               touched: true
  162.             }
  163.           }
  164.         ]
  165.       },
  166.       anyTouched: true
  167.     },
  168.     growthInput: {
  169.       values: {
  170.         startDate: '2020-04-06T21:21:25.051Z',
  171.         customerStartMonth: 123,
  172.         expectedCustomersFirstYear: 321,
  173.         expectedCustomersSecondYear: 321,
  174.         expectedCustomersThirdYear: 132,
  175.         expectedCustomersFourthYear: 132
  176.       },
  177.       initial: {
  178.         startDate: '2020-04-06T21:21:25.051Z'
  179.       },
  180.       registeredFields: {
  181.         startDate: {
  182.           name: 'startDate',
  183.           type: 'Field',
  184.           count: 0
  185.         },
  186.         customerStartMonth: {
  187.           name: 'customerStartMonth',
  188.           type: 'Field',
  189.           count: 0
  190.         },
  191.         expectedCustomersFirstYear: {
  192.           name: 'expectedCustomersFirstYear',
  193.           type: 'Field',
  194.           count: 0
  195.         },
  196.         expectedCustomersSecondYear: {
  197.           name: 'expectedCustomersSecondYear',
  198.           type: 'Field',
  199.           count: 0
  200.         },
  201.         expectedCustomersThirdYear: {
  202.           name: 'expectedCustomersThirdYear',
  203.           type: 'Field',
  204.           count: 0
  205.         },
  206.         expectedCustomersFourthYear: {
  207.           name: 'expectedCustomersFourthYear',
  208.           type: 'Field',
  209.           count: 0
  210.         }
  211.       },
  212.       fields: {
  213.         customerStartMonth: {
  214.           visited: true,
  215.           touched: true
  216.         },
  217.         expectedCustomersFirstYear: {
  218.           visited: true,
  219.           touched: true
  220.         },
  221.         expectedCustomersSecondYear: {
  222.           visited: true,
  223.           touched: true
  224.         },
  225.         expectedCustomersThirdYear: {
  226.           visited: true,
  227.           touched: true
  228.         },
  229.         expectedCustomersFourthYear: {
  230.           visited: true,
  231.           touched: true
  232.         }
  233.       },
  234.       anyTouched: true
  235.     },
  236.     conversionAndChurnInput: {
  237.       registeredFields: {
  238.         contractLengthMonth: {
  239.           name: 'contractLengthMonth',
  240.           type: 'Field',
  241.           count: 0
  242.         },
  243.         monthsPaidUpFront: {
  244.           name: 'monthsPaidUpFront',
  245.           type: 'Field',
  246.           count: 0
  247.         },
  248.         churnRate: {
  249.           name: 'churnRate',
  250.           type: 'Field',
  251.           count: 0
  252.         }
  253.       },
  254.       values: {
  255.         contractLengthMonth: 12,
  256.         monthsPaidUpFront: 11,
  257.         churnRate: 15
  258.       },
  259.       initial: {
  260.         contractLengthMonth: 12,
  261.         monthsPaidUpFront: 12,
  262.         churnRate: 13
  263.       },
  264.       fields: {
  265.         contractLengthMonth: {
  266.           visited: true,
  267.           touched: true
  268.         },
  269.         monthsPaidUpFront: {
  270.           visited: true,
  271.           touched: true
  272.         },
  273.         churnRate: {
  274.           visited: true,
  275.           touched: true
  276.         }
  277.       },
  278.       anyTouched: true
  279.     },
  280.     fundingsInput: {
  281.       registeredFields: {
  282.         fundings: {
  283.           name: 'fundings',
  284.           type: 'FieldArray',
  285.           count: 0
  286.         },
  287.         'fundings[0].name': {
  288.           name: 'fundings[0].name',
  289.           type: 'Field',
  290.           count: 0
  291.         },
  292.         'fundings[0].fundingType': {
  293.           name: 'fundings[0].fundingType',
  294.           type: 'Field',
  295.           count: 0
  296.         },
  297.         'fundings[0].startDate': {
  298.           name: 'fundings[0].startDate',
  299.           type: 'Field',
  300.           count: 0
  301.         },
  302.         'fundings[0].payoutFrequency': {
  303.           name: 'fundings[0].payoutFrequency',
  304.           type: 'Field',
  305.           count: 0
  306.         },
  307.         'fundings[0].numPayouts': {
  308.           name: 'fundings[0].numPayouts',
  309.           type: 'Field',
  310.           count: 0
  311.         },
  312.         'fundings[0].amount': {
  313.           name: 'fundings[0].amount',
  314.           type: 'Field',
  315.           count: 0
  316.         }
  317.       },
  318.       values: {
  319.         fundings: [
  320.           {
  321.             name: '231',
  322.             startDate: '2024-04-05T22:00:00.000Z',
  323.             numPayouts: 3,
  324.             amount: 23
  325.           }
  326.         ]
  327.       },
  328.       fields: {
  329.         fundings: [
  330.           {
  331.             name: {
  332.               visited: true,
  333.               touched: true
  334.             },
  335.             fundingType: {
  336.               visited: true,
  337.               touched: true
  338.             },
  339.             startDate: {
  340.               touched: true
  341.             },
  342.             payoutFrequency: {
  343.               visited: true,
  344.               touched: true
  345.             },
  346.             numPayouts: {
  347.               visited: true,
  348.               touched: true
  349.             },
  350.             amount: {
  351.               visited: true,
  352.               touched: true
  353.             }
  354.           }
  355.         ]
  356.       },
  357.       anyTouched: true
  358.     },
  359.     expensesInput: {
  360.       registeredFields: {
  361.         expenses: {
  362.           name: 'expenses',
  363.           type: 'FieldArray',
  364.           count: 0
  365.         },
  366.         'expenses[0].name': {
  367.           name: 'expenses[0].name',
  368.           type: 'Field',
  369.           count: 0
  370.         },
  371.         'expenses[0].startDate': {
  372.           name: 'expenses[0].startDate',
  373.           type: 'Field',
  374.           count: 0
  375.         },
  376.         'expenses[0].costFunction': {
  377.           name: 'expenses[0].costFunction',
  378.           type: 'Field',
  379.           count: 0
  380.         },
  381.         'expenses[0].costMonthly': {
  382.           name: 'expenses[0].costMonthly',
  383.           type: 'Field',
  384.           count: 0
  385.         }
  386.       },
  387.       values: {
  388.         expenses: [
  389.           {
  390.             name: '32',
  391.             startDate: '2023-04-05T22:00:00.000Z',
  392.             costMonthly: 32,
  393.             accounting: {}
  394.           }
  395.         ]
  396.       },
  397.       fields: {
  398.         expenses: [
  399.           {
  400.             name: {
  401.               visited: true,
  402.               touched: true
  403.             },
  404.             startDate: {
  405.               touched: true
  406.             },
  407.             costFunction: {
  408.               visited: true,
  409.               touched: true
  410.             },
  411.             costMonthly: {
  412.               visited: true,
  413.               touched: true
  414.             }
  415.           }
  416.         ]
  417.       },
  418.       anyTouched: true
  419.     },
  420.     hiringsInput: {
  421.       registeredFields: {
  422.         hirings: {
  423.           name: 'hirings',
  424.           type: 'FieldArray',
  425.           count: 1
  426.         },
  427.         'hirings[0].title': {
  428.           name: 'hirings[0].title',
  429.           type: 'Field',
  430.           count: 1
  431.         },
  432.         'hirings[0].team': {
  433.           name: 'hirings[0].team',
  434.           type: 'Field',
  435.           count: 1
  436.         },
  437.         'hirings[0].startDate': {
  438.           name: 'hirings[0].startDate',
  439.           type: 'Field',
  440.           count: 1
  441.         },
  442.         'hirings[0].salaryMonth': {
  443.           name: 'hirings[0].salaryMonth',
  444.           type: 'Field',
  445.           count: 1
  446.         }
  447.       },
  448.       values: {
  449.         hirings: [
  450.           {
  451.             title: '32',
  452.             startDate: '2023-04-05T22:00:00.000Z',
  453.             salaryMonth: 23
  454.           }
  455.         ]
  456.       },
  457.       fields: {
  458.         hirings: [
  459.           {
  460.             title: {
  461.               visited: true,
  462.               touched: true
  463.             },
  464.             team: {
  465.               visited: true,
  466.               touched: true
  467.             },
  468.             startDate: {
  469.               touched: true
  470.             },
  471.             salaryMonth: {
  472.               visited: true,
  473.               touched: true
  474.             }
  475.           }
  476.         ]
  477.       },
  478.       anyTouched: true
  479.     }
  480.   }
  481. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement