@zeniai/client-epic-state 5.1.86 → 5.1.87

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/lib/entity/aiCfo/aiCfoPayload.d.ts +7 -0
  2. package/lib/entity/aiCfo/aiCfoReducer.d.ts +3 -2
  3. package/lib/entity/aiCfo/aiCfoReducer.js +25 -2
  4. package/lib/entity/aiCfo/aiCfoState.d.ts +7 -0
  5. package/lib/entity/customerSatisfaction/customerSatisfactionReducer.d.ts +1 -1
  6. package/lib/entity/customerSatisfaction/customerSatisfactionReducer.js +6 -2
  7. package/lib/entity/snackbar/snackbarTypes.d.ts +1 -1
  8. package/lib/entity/snackbar/snackbarTypes.js +29 -0
  9. package/lib/esm/entity/aiCfo/aiCfoReducer.js +23 -1
  10. package/lib/esm/entity/customerSatisfaction/customerSatisfactionReducer.js +4 -1
  11. package/lib/esm/entity/snackbar/snackbarTypes.js +29 -0
  12. package/lib/esm/index.js +2 -2
  13. package/lib/esm/view/companyHealthMetricView/companyHealthMetricConfigReducer.js +4 -1
  14. package/lib/esm/view/invoicing/createCreditNote/createCreditNoteEpic.js +24 -4
  15. package/lib/esm/view/invoicing/createInvoice/createInvoiceEpic.js +24 -4
  16. package/lib/esm/view/invoicing/createInvoice/createInvoiceSelector.js +37 -10
  17. package/lib/esm/view/invoicing/discountAction/discountActionEpic.js +33 -9
  18. package/lib/esm/view/invoicing/dunningAction/dunningActionEpic.js +35 -9
  19. package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/catalogDetailEditPayload.js +5 -1
  20. package/lib/esm/view/invoicing/editInvoicingCatalogItemDetailView/saveInvoicingCatalogItemEpic.js +32 -5
  21. package/lib/esm/view/invoicing/editInvoicingCouponDetailView/saveInvoicingCouponEpic.js +23 -3
  22. package/lib/esm/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.js +24 -4
  23. package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic.js +24 -4
  24. package/lib/esm/view/invoicing/editInvoicingSubscriptionDetailView/syncInvoicingSubscriptionCouponsEpic.js +20 -3
  25. package/lib/esm/view/invoicing/invoiceAction/invoiceActionEpic.js +60 -17
  26. package/lib/esm/view/invoicing/invoicingConfigView/invoicingConfigViewReducer.js +30 -0
  27. package/lib/esm/view/invoicing/invoicingConfigView/invoicingConfigViewSelector.js +4 -29
  28. package/lib/esm/view/invoicing/invoicingQboView/epics/retryInvoicingQboSyncTaskEpic.js +29 -10
  29. package/lib/esm/view/invoicing/invoicingQboView/epics/startInvoicingQboBackfillEpic.js +28 -5
  30. package/lib/esm/view/invoicing/issueCreditNote/issueCreditNoteEpic.js +24 -4
  31. package/lib/esm/view/invoicing/issueCreditNote/issueCreditNoteSelector.js +22 -14
  32. package/lib/esm/view/invoicing/recordPayment/recordPaymentEpic.js +46 -7
  33. package/lib/esm/view/invoicing/settingsView/settingsViewEpics.js +26 -8
  34. package/lib/esm/view/invoicing/settingsView/settingsViewReducer.js +1 -1
  35. package/lib/esm/view/invoicing/settingsView/settingsViewSelector.js +4 -1
  36. package/lib/esm/view/invoicing/subscriptionAction/subscriptionActionEpic.js +41 -9
  37. package/lib/esm/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsReducer.js +4 -1
  38. package/lib/esm/view/vendorTabView/vendorTabViewReducer.js +4 -1
  39. package/lib/index.d.ts +6 -5
  40. package/lib/index.js +7 -7
  41. package/lib/view/companyHealthMetricView/companyHealthMetricConfigReducer.d.ts +1 -1
  42. package/lib/view/companyHealthMetricView/companyHealthMetricConfigReducer.js +5 -2
  43. package/lib/view/expenseAutomationView/helpers/transactionCategorizationLocalDataHelper.d.ts +1 -1
  44. package/lib/view/invoicing/createCreditNote/createCreditNoteEpic.d.ts +2 -1
  45. package/lib/view/invoicing/createCreditNote/createCreditNoteEpic.js +23 -3
  46. package/lib/view/invoicing/createInvoice/createInvoiceEpic.d.ts +2 -1
  47. package/lib/view/invoicing/createInvoice/createInvoiceEpic.js +23 -3
  48. package/lib/view/invoicing/createInvoice/createInvoiceSelector.d.ts +22 -8
  49. package/lib/view/invoicing/createInvoice/createInvoiceSelector.js +37 -10
  50. package/lib/view/invoicing/discountAction/discountActionEpic.d.ts +2 -1
  51. package/lib/view/invoicing/discountAction/discountActionEpic.js +32 -8
  52. package/lib/view/invoicing/dunningAction/dunningActionEpic.d.ts +2 -1
  53. package/lib/view/invoicing/dunningAction/dunningActionEpic.js +34 -8
  54. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/catalogDetailEditPayload.d.ts +3 -1
  55. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/catalogDetailEditPayload.js +5 -1
  56. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/saveInvoicingCatalogItemEpic.d.ts +2 -1
  57. package/lib/view/invoicing/editInvoicingCatalogItemDetailView/saveInvoicingCatalogItemEpic.js +31 -4
  58. package/lib/view/invoicing/editInvoicingCouponDetailView/saveInvoicingCouponEpic.d.ts +2 -1
  59. package/lib/view/invoicing/editInvoicingCouponDetailView/saveInvoicingCouponEpic.js +22 -2
  60. package/lib/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.d.ts +2 -1
  61. package/lib/view/invoicing/editInvoicingCustomerDetailView/saveInvoicingCustomerEpic.js +23 -3
  62. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic.d.ts +2 -1
  63. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/saveInvoicingSubscriptionEpic.js +23 -3
  64. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/syncInvoicingSubscriptionCouponsEpic.d.ts +2 -1
  65. package/lib/view/invoicing/editInvoicingSubscriptionDetailView/syncInvoicingSubscriptionCouponsEpic.js +19 -2
  66. package/lib/view/invoicing/invoiceAction/invoiceActionEpic.d.ts +2 -1
  67. package/lib/view/invoicing/invoiceAction/invoiceActionEpic.js +59 -16
  68. package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewPayload.d.ts +13 -0
  69. package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewReducer.d.ts +1 -1
  70. package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewReducer.js +30 -0
  71. package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewSelector.d.ts +11 -31
  72. package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewSelector.js +4 -29
  73. package/lib/view/invoicing/invoicingConfigView/invoicingConfigViewState.d.ts +15 -0
  74. package/lib/view/invoicing/invoicingQboView/epics/invoicingQboViewActionType.d.ts +2 -1
  75. package/lib/view/invoicing/invoicingQboView/epics/retryInvoicingQboSyncTaskEpic.js +28 -9
  76. package/lib/view/invoicing/invoicingQboView/epics/startInvoicingQboBackfillEpic.js +27 -4
  77. package/lib/view/invoicing/issueCreditNote/issueCreditNoteEpic.d.ts +2 -1
  78. package/lib/view/invoicing/issueCreditNote/issueCreditNoteEpic.js +23 -3
  79. package/lib/view/invoicing/issueCreditNote/issueCreditNoteSelector.d.ts +24 -7
  80. package/lib/view/invoicing/issueCreditNote/issueCreditNoteSelector.js +23 -16
  81. package/lib/view/invoicing/recordPayment/recordPaymentEpic.d.ts +2 -1
  82. package/lib/view/invoicing/recordPayment/recordPaymentEpic.js +45 -6
  83. package/lib/view/invoicing/settingsView/settingsViewEpics.d.ts +2 -1
  84. package/lib/view/invoicing/settingsView/settingsViewEpics.js +25 -7
  85. package/lib/view/invoicing/settingsView/settingsViewReducer.d.ts +10 -1
  86. package/lib/view/invoicing/settingsView/settingsViewReducer.js +1 -1
  87. package/lib/view/invoicing/settingsView/settingsViewSelector.d.ts +4 -2
  88. package/lib/view/invoicing/settingsView/settingsViewSelector.js +4 -1
  89. package/lib/view/invoicing/subscriptionAction/subscriptionActionEpic.d.ts +2 -1
  90. package/lib/view/invoicing/subscriptionAction/subscriptionActionEpic.js +40 -8
  91. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsReducer.d.ts +1 -1
  92. package/lib/view/vendorFiling1099/vendorFiling1099UploadDetails/vendorFiling1099UploadDetailsReducer.js +5 -2
  93. package/lib/view/vendorTabView/vendorTabViewReducer.d.ts +1 -1
  94. package/lib/view/vendorTabView/vendorTabViewReducer.js +5 -2
  95. package/package.json +1 -1
  96. package/lib/__testHelpers__/apiFailure.json +0 -6
  97. package/lib/entity/vendor/__mocks__/vendorMock.d.ts +0 -7
  98. package/lib/entity/vendor/__mocks__/vendorMock.js +0 -311
  99. package/lib/entity/vendor/__mocks__/vendorStateMocks.d.ts +0 -8
  100. package/lib/entity/vendor/__mocks__/vendorStateMocks.js +0 -415
  101. package/lib/view/accountMappingView/__mocks__/accountMappingSelectorMock.d.ts +0 -11
  102. package/lib/view/accountMappingView/__mocks__/accountMappingSelectorMock.js +0 -4659
  103. package/lib/view/addressView/__mocks__/addressViewMocks.d.ts +0 -35
  104. package/lib/view/addressView/__mocks__/addressViewMocks.js +0 -239
  105. package/lib/view/addressView/__mocks__/json/createAddressResponse.json +0 -23
  106. package/lib/view/addressView/__mocks__/json/createCompanyAddressSuccess.json +0 -258
  107. package/lib/view/addressView/__mocks__/json/createCompanyUserAddressSuccess.json +0 -418
  108. package/lib/view/addressView/__mocks__/json/fetchAddressResponse.json +0 -24
  109. package/lib/view/addressView/__mocks__/json/updateAddressResponse.json +0 -24
@@ -1,415 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.vendorStateMock8 = exports.vendorStateMock7 = exports.vendorStateMock6 = exports.vendorStateMock5 = exports.vendorStateMock4 = exports.vendorStateMock2 = exports.vendorStateMock1 = void 0;
4
- const zeniDayJS_1 = require("../../../zeniDayJS");
5
- const zeniUrl_1 = require("../../../zeniUrl");
6
- exports.vendorStateMock1 = {
7
- recommendations: [],
8
- transactionAttachments: [],
9
- id: 'vendor_j12jh1g2g12jg3jh12:12',
10
- name: 'Sample Vendor 1',
11
- legalName: 'Sample Vendor 1',
12
- qboId: '12',
13
- title: '',
14
- suffix: '',
15
- firstName: 'Sample',
16
- middleName: '',
17
- lastName: 'Vendor',
18
- vendorType: 'individual',
19
- isDeleted: false,
20
- yearToDateSpend: undefined,
21
- last30DaysSpend: undefined,
22
- last90DaysSpend: undefined,
23
- lastMonthSpend: 0,
24
- last6MonthsSpend: 0,
25
- last3MonthsSpend: 0,
26
- last12MonthsSpend: 0,
27
- previousYearSpend: 0,
28
- createTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
29
- updateTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
30
- syncToken: '1',
31
- email: '',
32
- phone: '',
33
- websiteUrl: '',
34
- currencyCode: 'USD',
35
- currencySymbol: '$',
36
- countryCode: 'US',
37
- balance: 0,
38
- accountId: 'Travel Meals',
39
- classId: 'class_e0f33254-2651-4d5c-9d57-2611788265ca',
40
- addressId: 'a_e3e99a8b-d400-42ac-ae09-e655bff1af97',
41
- bankAccountIds: [
42
- 'bank_adg67-asnds-a6sad-sdfgf8',
43
- 'bank_asghj-hags23-hgfjh-g3asfas',
44
- ],
45
- contactIds: [
46
- 'contacts_f3881db1-35c0-4699-891c-6cca724e75d6',
47
- 'contacts_6856c987-17ff-44a4-aad3-eef4b7696554',
48
- ],
49
- matchScore: 0,
50
- isVendor1099: false,
51
- documentIds: [],
52
- vendorCurrencySymbol: '$',
53
- vendorCurrencyCode: 'USD',
54
- paymentInstrumentIds: ['pay_inst_f3fc9b06-694a-4609-a710-b0e1d4de72d3'],
55
- preferredInternationalTransferFeeBearerPaymentMethod: undefined,
56
- filing1099Status: 'incomplete',
57
- filing1099Tin: {
58
- type: 'ein',
59
- value: '550258131',
60
- },
61
- filing1099W9Files: undefined,
62
- filing1099Total: undefined,
63
- filing1099Type: undefined,
64
- w9DocumentIds: [],
65
- };
66
- exports.vendorStateMock2 = {
67
- recommendations: [],
68
- transactionAttachments: [],
69
- id: 'vendor_j12jh1g2g12jg3jh12:2',
70
- name: 'Sample Vendor 2',
71
- legalName: 'Sample Vendor 2',
72
- qboId: '13',
73
- title: '',
74
- suffix: '',
75
- firstName: 'Sample',
76
- middleName: '',
77
- lastName: 'Vendor 3',
78
- vendorType: 'c_corporation',
79
- isDeleted: false,
80
- yearToDateSpend: undefined,
81
- last30DaysSpend: undefined,
82
- last90DaysSpend: undefined,
83
- lastMonthSpend: 0,
84
- last6MonthsSpend: 0,
85
- last3MonthsSpend: 0,
86
- last12MonthsSpend: 0,
87
- previousYearSpend: 0,
88
- createTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
89
- updateTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
90
- syncToken: '1',
91
- email: '',
92
- phone: '',
93
- balance: 0,
94
- websiteUrl: '',
95
- currencyCode: 'USD',
96
- currencySymbol: '$',
97
- countryCode: 'US',
98
- accountId: 'Travel Meals',
99
- classId: 'class_e0f33254-2651-4d5c-9d57-2611788265ca',
100
- bankAccountIds: [
101
- 'bank_asghj-hgfjh-g3asfas-hags23',
102
- 'bank_g3asfas-hags23-hgfjh-asghj',
103
- ],
104
- contactIds: [
105
- 'contacts_f3881db1-35c0-4699-891c-6cca724e75d6',
106
- 'contacts_6856c987-17ff-44a4-aad3-eef4b7696554',
107
- ],
108
- matchScore: 0,
109
- isVendor1099: false,
110
- documentIds: [],
111
- vendorCurrencySymbol: '$',
112
- vendorCurrencyCode: 'USD',
113
- paymentInstrumentIds: ['pay_inst_f3fc9b06-694a-4609-a710-b0e1d4de72d3'],
114
- preferredInternationalTransferFeeBearerPaymentMethod: undefined,
115
- filing1099Status: 'incomplete',
116
- filing1099Tin: {
117
- type: 'ein',
118
- value: '550258131',
119
- },
120
- w9DocumentIds: [],
121
- };
122
- exports.vendorStateMock4 = {
123
- recommendations: [],
124
- transactionAttachments: [],
125
- id: 'vendor_j12jh1g2g12jg3jh12:12',
126
- name: 'Sample Vendor',
127
- legalName: 'Sample Vendor',
128
- qboId: '12',
129
- title: '',
130
- suffix: '',
131
- firstName: 'Sample',
132
- middleName: '',
133
- lastName: 'Vendor',
134
- vendorType: 'Individual',
135
- isDeleted: false,
136
- yearToDateSpend: undefined,
137
- last30DaysSpend: undefined,
138
- last90DaysSpend: undefined,
139
- lastMonthSpend: 0,
140
- last6MonthsSpend: 0,
141
- last3MonthsSpend: 0,
142
- last12MonthsSpend: 0,
143
- previousYearSpend: 0,
144
- createTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
145
- updateTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
146
- syncToken: '1',
147
- email: '',
148
- phone: '',
149
- websiteUrl: '',
150
- currencyCode: 'USD',
151
- currencySymbol: '$',
152
- countryCode: 'US',
153
- balance: 0,
154
- accountId: 'Travel Meals',
155
- classId: 'class_e0f33254-2651-4d5c-9d57-2611788265ca',
156
- addressId: 'a_e3e99a8b-d400-42ac-ae09-e655bff1af97',
157
- bankAccountIds: [
158
- 'bank_adg67-asnds-a6sad-sdfgf8',
159
- 'bank_asghj-hags23-hgfjh-g3asfas',
160
- ],
161
- contactIds: [
162
- 'contacts_6856c987-17ff-44a4-aad3-eef4b7696554',
163
- 'contacts_f3881db1-35c0-4699-891c-6cca724e75d6',
164
- ],
165
- logo: undefined,
166
- shippingAddressId: undefined,
167
- matchScore: 0,
168
- isVendor1099: false,
169
- documentIds: [],
170
- ownerId: undefined,
171
- vendorCurrencySymbol: '$',
172
- vendorCurrencyCode: 'USD',
173
- paymentInstrumentIds: ['pay_inst_f3fc9b06-694a-4609-a710-b0e1d4de72d3'],
174
- preferredInternationalTransferFeeBearerPaymentMethod: undefined,
175
- filing1099Status: undefined,
176
- filing1099Tin: undefined,
177
- isINTType: false,
178
- isMISCType: false,
179
- isNECType: false,
180
- filing1099INTTotal: undefined,
181
- filing1099MISCTotal: undefined,
182
- filing1099NECTotal: undefined,
183
- filing1099W9Files: [],
184
- filing1099TaxClassification: 'Individual',
185
- w9DocumentIds: [],
186
- };
187
- exports.vendorStateMock5 = {
188
- recommendations: [],
189
- transactionAttachments: [
190
- {
191
- id: '5000000000000795428',
192
- contentType: 'application/pdf',
193
- createTime: (0, zeniDayJS_1.date)('2022-02-17T06:30:51.000000'),
194
- updateTime: (0, zeniDayJS_1.date)('2022-02-17T06:30:52.000000'),
195
- fileName: 'Rent Receipt.pdf',
196
- fileSizeInBytes: 255841,
197
- fileDownloadUrl: (0, zeniUrl_1.toZeniUrl)('https://storage.googleapis.com/zeni-dot-ai-tenant_745cc76c-5a82-4d2c-b9dc-9d1f283a4445/files/2022-05-05/file_bd906c26-0f37-44fe-8156-f5bfed67c383/file_bd906c26-0f37-44fe-8156-f5bfed67c383.pdf?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Credential=zeni-apis-dev%40appspot.gserviceaccount.com%2F20220505%2Fauto%2Fstorage%2Fgoog4_request&X-Goog-Date=20220505T083711Z&X-Goog-Expires=1200&X-Goog-SignedHeaders=host&X-Goog-Signature=bdba6c6b57b5a16973892683b57c27f29cbe72dc0e5a8acc03a630123bf5899536fd47178aef176ec5a2ebb549371e386bd0ac56e3d23e63446d20a0c8604f77b39aac055dcdb7a81529cbd934dba3e9a5934060b09695673a751436c96f1340979ce7c385f3bd3d4cb23211336bbdea7035d4f60997358c40020f8af0e6235b2e7fc43cdb3abb83c17d78abe5401257790601c01b97c1be5192178d0fe02d5828430ea763d0320beecea53a144a14c6f9e50ae8f29ea8bd9ae41686246f99a128ccdf7ef50ac102cc2ebc858c721a1006575a667b6963e4f95e37fcd17f94f8733ece376dbae145c6a91291fccb28b17eae7fe440a696302a901d7608384505'),
198
- fileChecksum: undefined,
199
- fileId: 'file_pu01bcfe-ebef-459b-a54c-7abdbdf0d77t',
200
- },
201
- ],
202
- id: 'vendor_75f9e389-d9b7-4fcb-b4b5-8a691fcc96a5',
203
- name: 'Google SVSS',
204
- legalName: 'Google SVSS',
205
- qboId: '10',
206
- title: '',
207
- suffix: '',
208
- firstName: 'Google',
209
- middleName: '',
210
- lastName: 'SVSS',
211
- vendorType: 'Individual',
212
- isDeleted: false,
213
- yearToDateSpend: undefined,
214
- last30DaysSpend: undefined,
215
- last90DaysSpend: undefined,
216
- lastMonthSpend: 0,
217
- last6MonthsSpend: 0,
218
- last3MonthsSpend: 0,
219
- last12MonthsSpend: 0,
220
- previousYearSpend: 0,
221
- createTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
222
- updateTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
223
- syncToken: '1',
224
- email: '',
225
- phone: '',
226
- websiteUrl: '',
227
- currencyCode: 'USD',
228
- currencySymbol: '$',
229
- countryCode: 'US',
230
- balance: 0,
231
- accountId: 'Travel Meals',
232
- classId: 'class_e0f33254-2651-4d5c-9d57-2611788265ca',
233
- addressId: 'a_e3e99a8b-d400-42ac-ae09-e655bff1af97',
234
- bankAccountIds: [
235
- 'bank_adg67-asnds-a6sad-sdfgf8',
236
- 'bank_asghj-hags23-hgfjh-g3asfas',
237
- ],
238
- contactIds: [
239
- 'contacts_6856c987-17ff-44a4-aad3-eef4b7696554',
240
- 'contacts_f3881db1-35c0-4699-891c-6cca724e75d6',
241
- ],
242
- logo: undefined,
243
- shippingAddressId: undefined,
244
- matchScore: 0,
245
- isVendor1099: false,
246
- documentIds: [],
247
- ownerId: undefined,
248
- vendorCurrencySymbol: '$',
249
- vendorCurrencyCode: 'USD',
250
- paymentInstrumentIds: ['pay_inst_f3fc9b06-694a-4609-a710-b0e1d4de72d3'],
251
- filing1099Status: 'incomplete',
252
- filing1099Tin: {
253
- type: 'ein',
254
- value: '550258131',
255
- },
256
- filing1099Type: 'int',
257
- filing1099Total: 2287,
258
- w9DocumentIds: [],
259
- };
260
- exports.vendorStateMock6 = {
261
- recommendations: [],
262
- id: 'vendor_44d40a18-22cb-49b7-b13f-c7c148ac1cf3',
263
- name: 'Abb Enterprise',
264
- legalName: 'Abb Enterprise',
265
- qboId: '11',
266
- title: '',
267
- suffix: '',
268
- firstName: 'Abb',
269
- middleName: '',
270
- lastName: 'Enterprise',
271
- vendorType: 'Individual',
272
- isDeleted: false,
273
- yearToDateSpend: undefined,
274
- last30DaysSpend: undefined,
275
- last90DaysSpend: undefined,
276
- lastMonthSpend: 0,
277
- last6MonthsSpend: 0,
278
- last3MonthsSpend: 0,
279
- last12MonthsSpend: 0,
280
- previousYearSpend: 0,
281
- createTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
282
- updateTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
283
- syncToken: '1',
284
- email: '',
285
- phone: '',
286
- websiteUrl: '',
287
- currencyCode: 'USD',
288
- currencySymbol: '$',
289
- countryCode: 'US',
290
- balance: 0,
291
- accountId: 'Travel Meals',
292
- classId: 'class_e0f33254-2651-4d5c-9d57-2611788265ca',
293
- addressId: 'a_e3e99a8b-d400-42ac-ae09-e655bff1af97',
294
- bankAccountIds: [
295
- 'bank_adg67-asnds-a6sad-sdfgf8',
296
- 'bank_asghj-hags23-hgfjh-g3asfas',
297
- ],
298
- contactIds: [
299
- 'contacts_6856c987-17ff-44a4-aad3-eef4b7696554',
300
- 'contacts_f3881db1-35c0-4699-891c-6cca724e75d6',
301
- ],
302
- paymentInstrumentIds: ['pay_inst_f3fc9b06-694a-4609-a710-b0e1d4de72d3'],
303
- logo: undefined,
304
- shippingAddressId: undefined,
305
- matchScore: 0,
306
- isVendor1099: false,
307
- documentIds: [],
308
- ownerId: undefined,
309
- vendorCurrencySymbol: '$',
310
- vendorCurrencyCode: 'USD',
311
- transactionAttachments: [],
312
- filing1099Status: 'incomplete',
313
- filing1099Tin: {
314
- type: 'ein',
315
- value: '550258131',
316
- },
317
- filing1099Type: 'int',
318
- filing1099Total: 2287,
319
- w9DocumentIds: [],
320
- };
321
- exports.vendorStateMock7 = {
322
- id: 'vendor_7fd58fd7-2916-4fae-ba14-3c0f6e277743',
323
- name: 'Hall Properties',
324
- title: '',
325
- suffix: '',
326
- firstName: '',
327
- middleName: '',
328
- lastName: '',
329
- vendorType: '',
330
- isDeleted: false,
331
- createTime: (0, zeniDayJS_1.date)('2024-02-19T12:38:08.740Z'),
332
- updateTime: (0, zeniDayJS_1.date)('2024-02-19T12:38:08.740Z'),
333
- currencyCode: 'USD',
334
- currencySymbol: '$',
335
- vendorCurrencyCode: 'USD',
336
- vendorCurrencySymbol: '$',
337
- qboId: '',
338
- syncToken: '',
339
- email: '',
340
- phone: '',
341
- websiteUrl: '',
342
- contactIds: [],
343
- bankAccountIds: [],
344
- paymentInstrumentIds: [],
345
- balance: 0,
346
- matchScore: 0,
347
- isVendor1099: false,
348
- documentIds: [],
349
- last30DaysSpend: 0,
350
- last90DaysSpend: 0,
351
- yearToDateSpend: 0,
352
- recommendations: [],
353
- transactionAttachments: [],
354
- };
355
- exports.vendorStateMock8 = {
356
- recommendations: [],
357
- transactionAttachments: [],
358
- id: 'vendor_j12jh1g2g12jg3jh12:12',
359
- name: 'Sample Vendor 1',
360
- legalName: 'Sample Vendor 1',
361
- qboId: '12',
362
- title: '',
363
- suffix: '',
364
- firstName: 'Sample',
365
- middleName: '',
366
- lastName: 'Vendor',
367
- vendorType: 'individual',
368
- isDeleted: false,
369
- yearToDateSpend: undefined,
370
- last30DaysSpend: undefined,
371
- last90DaysSpend: undefined,
372
- lastMonthSpend: 0,
373
- last6MonthsSpend: 0,
374
- last3MonthsSpend: 0,
375
- last12MonthsSpend: 0,
376
- previousYearSpend: 0,
377
- createTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
378
- updateTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
379
- syncToken: '1',
380
- email: '',
381
- phone: '',
382
- websiteUrl: '',
383
- currencyCode: 'USD',
384
- currencySymbol: '$',
385
- countryCode: 'US',
386
- balance: 0,
387
- accountId: 'Travel Meals',
388
- classId: 'class_e0f33254-2651-4d5c-9d57-2611788265ca',
389
- addressId: 'a_e3e99a8b-d400-42ac-ae09-e655bff1af97',
390
- bankAccountIds: [
391
- 'bank_adg67-asnds-a6sad-sdfgf8',
392
- 'bank_asghj-hags23-hgfjh-g3asfas',
393
- ],
394
- contactIds: [
395
- 'contacts_f3881db1-35c0-4699-891c-6cca724e75d6',
396
- 'contacts_6856c987-17ff-44a4-aad3-eef4b7696554',
397
- ],
398
- matchScore: 0,
399
- isVendor1099: false,
400
- documentIds: [],
401
- vendorCurrencySymbol: '$',
402
- vendorCurrencyCode: 'USD',
403
- paymentInstrumentIds: ['pay_inst_f3fc9b06-694a-4609-a710-b0e1d4de72d3'],
404
- preferredInternationalTransferFeeBearerPaymentMethod: undefined,
405
- filing1099Status: 'incomplete',
406
- filing1099Tin: {
407
- type: 'ein',
408
- value: '550258131',
409
- },
410
- isINTType: true,
411
- filing1099W9Files: undefined,
412
- filing1099Total: undefined,
413
- filing1099Type: 'int',
414
- w9DocumentIds: [],
415
- };
@@ -1,11 +0,0 @@
1
- import { AccountState } from '../../../entity/account/accountState';
2
- import { AccountMappingState } from '../accountMappingState';
3
- import { AccountMappingView } from '../accountMappingViewSelector';
4
- declare const accountMappingState: AccountMappingState;
5
- declare const accountMappingViewMock: AccountMappingView;
6
- declare const accountStateForMapping: AccountState;
7
- declare const accountMappingStateRecommendationInProgress: AccountMappingState;
8
- declare const accountMappingStateAccountListInProgress: AccountMappingState;
9
- declare const accountMappingStateAccountListComplete: AccountMappingState;
10
- declare const accountMappingStateRecommendationComplete: AccountMappingState;
11
- export { accountMappingViewMock, accountMappingState, accountStateForMapping, accountMappingStateRecommendationInProgress, accountMappingStateAccountListInProgress, accountMappingStateRecommendationComplete, accountMappingStateAccountListComplete, };