@zeniai/client-epic-state 4.14.23 → 4.14.25

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.
@@ -1,421 +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
- billingAddressId: 'a_e3e99a8b-d400-42ac-ae09-e655bff1af97',
41
- addressId: 'a_e3e99a8b-d400-42ac-ae09-e655bff1af97',
42
- bankAccountIds: [
43
- 'bank_adg67-asnds-a6sad-sdfgf8',
44
- 'bank_asghj-hags23-hgfjh-g3asfas',
45
- ],
46
- contactIds: [
47
- 'contacts_f3881db1-35c0-4699-891c-6cca724e75d6',
48
- 'contacts_6856c987-17ff-44a4-aad3-eef4b7696554',
49
- ],
50
- matchScore: 0,
51
- isVendor1099: false,
52
- documentIds: [],
53
- vendorCurrencySymbol: '$',
54
- vendorCurrencyCode: 'USD',
55
- paymentInstrumentIds: ['pay_inst_f3fc9b06-694a-4609-a710-b0e1d4de72d3'],
56
- preferredInternationalTransferFeeBearerPaymentMethod: undefined,
57
- filing1099Status: 'incomplete',
58
- filing1099Tin: {
59
- type: 'ein',
60
- value: '550258131',
61
- },
62
- filing1099W9Files: undefined,
63
- filing1099Total: undefined,
64
- filing1099Type: undefined,
65
- w9DocumentIds: [],
66
- };
67
- exports.vendorStateMock2 = {
68
- recommendations: [],
69
- transactionAttachments: [],
70
- id: 'vendor_j12jh1g2g12jg3jh12:2',
71
- name: 'Sample Vendor 2',
72
- legalName: 'Sample Vendor 2',
73
- qboId: '13',
74
- title: '',
75
- suffix: '',
76
- firstName: 'Sample',
77
- middleName: '',
78
- lastName: 'Vendor 3',
79
- vendorType: 'c_corporation',
80
- isDeleted: false,
81
- yearToDateSpend: undefined,
82
- last30DaysSpend: undefined,
83
- last90DaysSpend: undefined,
84
- lastMonthSpend: 0,
85
- last6MonthsSpend: 0,
86
- last3MonthsSpend: 0,
87
- last12MonthsSpend: 0,
88
- previousYearSpend: 0,
89
- createTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
90
- updateTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
91
- syncToken: '1',
92
- email: '',
93
- phone: '',
94
- balance: 0,
95
- websiteUrl: '',
96
- currencyCode: 'USD',
97
- currencySymbol: '$',
98
- countryCode: 'US',
99
- accountId: 'Travel Meals',
100
- classId: 'class_e0f33254-2651-4d5c-9d57-2611788265ca',
101
- billingAddressId: 'a_e3e99a8b-ae09-42ac-d400-e3e99a8b',
102
- bankAccountIds: [
103
- 'bank_asghj-hgfjh-g3asfas-hags23',
104
- 'bank_g3asfas-hags23-hgfjh-asghj',
105
- ],
106
- contactIds: [
107
- 'contacts_f3881db1-35c0-4699-891c-6cca724e75d6',
108
- 'contacts_6856c987-17ff-44a4-aad3-eef4b7696554',
109
- ],
110
- matchScore: 0,
111
- isVendor1099: false,
112
- documentIds: [],
113
- vendorCurrencySymbol: '$',
114
- vendorCurrencyCode: 'USD',
115
- paymentInstrumentIds: ['pay_inst_f3fc9b06-694a-4609-a710-b0e1d4de72d3'],
116
- preferredInternationalTransferFeeBearerPaymentMethod: undefined,
117
- filing1099Status: 'incomplete',
118
- filing1099Tin: {
119
- type: 'ein',
120
- value: '550258131',
121
- },
122
- w9DocumentIds: [],
123
- };
124
- exports.vendorStateMock4 = {
125
- recommendations: [],
126
- transactionAttachments: [],
127
- id: 'vendor_j12jh1g2g12jg3jh12:12',
128
- name: 'Sample Vendor',
129
- legalName: 'Sample Vendor',
130
- qboId: '12',
131
- title: '',
132
- suffix: '',
133
- firstName: 'Sample',
134
- middleName: '',
135
- lastName: 'Vendor',
136
- vendorType: 'Individual',
137
- isDeleted: false,
138
- yearToDateSpend: undefined,
139
- last30DaysSpend: undefined,
140
- last90DaysSpend: undefined,
141
- lastMonthSpend: 0,
142
- last6MonthsSpend: 0,
143
- last3MonthsSpend: 0,
144
- last12MonthsSpend: 0,
145
- previousYearSpend: 0,
146
- createTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
147
- updateTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
148
- syncToken: '1',
149
- email: '',
150
- phone: '',
151
- websiteUrl: '',
152
- currencyCode: 'USD',
153
- currencySymbol: '$',
154
- countryCode: 'US',
155
- balance: 0,
156
- accountId: 'Travel Meals',
157
- classId: 'class_e0f33254-2651-4d5c-9d57-2611788265ca',
158
- billingAddressId: 'a_e3e99a8b-d400-42ac-ae09-e655bff1af97',
159
- addressId: 'a_e3e99a8b-d400-42ac-ae09-e655bff1af97',
160
- bankAccountIds: [
161
- 'bank_adg67-asnds-a6sad-sdfgf8',
162
- 'bank_asghj-hags23-hgfjh-g3asfas',
163
- ],
164
- contactIds: [
165
- 'contacts_6856c987-17ff-44a4-aad3-eef4b7696554',
166
- 'contacts_f3881db1-35c0-4699-891c-6cca724e75d6',
167
- ],
168
- logo: undefined,
169
- shippingAddressId: undefined,
170
- matchScore: 0,
171
- isVendor1099: false,
172
- documentIds: [],
173
- ownerId: undefined,
174
- vendorCurrencySymbol: '$',
175
- vendorCurrencyCode: 'USD',
176
- paymentInstrumentIds: ['pay_inst_f3fc9b06-694a-4609-a710-b0e1d4de72d3'],
177
- preferredInternationalTransferFeeBearerPaymentMethod: undefined,
178
- filing1099Status: undefined,
179
- filing1099Tin: undefined,
180
- isINTType: false,
181
- isMISCType: false,
182
- isNECType: false,
183
- filing1099INTTotal: undefined,
184
- filing1099MISCTotal: undefined,
185
- filing1099NECTotal: undefined,
186
- filing1099W9Files: [],
187
- filing1099TaxClassification: 'Individual',
188
- w9DocumentIds: [],
189
- };
190
- exports.vendorStateMock5 = {
191
- recommendations: [],
192
- transactionAttachments: [
193
- {
194
- id: '5000000000000795428',
195
- contentType: 'application/pdf',
196
- createTime: (0, zeniDayJS_1.date)('2022-02-17T06:30:51.000000'),
197
- updateTime: (0, zeniDayJS_1.date)('2022-02-17T06:30:52.000000'),
198
- fileName: 'Rent Receipt.pdf',
199
- fileSizeInBytes: 255841,
200
- 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'),
201
- fileChecksum: undefined,
202
- fileId: 'file_pu01bcfe-ebef-459b-a54c-7abdbdf0d77t',
203
- },
204
- ],
205
- id: 'vendor_75f9e389-d9b7-4fcb-b4b5-8a691fcc96a5',
206
- name: 'Google SVSS',
207
- legalName: 'Google SVSS',
208
- qboId: '10',
209
- title: '',
210
- suffix: '',
211
- firstName: 'Google',
212
- middleName: '',
213
- lastName: 'SVSS',
214
- vendorType: 'Individual',
215
- isDeleted: false,
216
- yearToDateSpend: undefined,
217
- last30DaysSpend: undefined,
218
- last90DaysSpend: undefined,
219
- lastMonthSpend: 0,
220
- last6MonthsSpend: 0,
221
- last3MonthsSpend: 0,
222
- last12MonthsSpend: 0,
223
- previousYearSpend: 0,
224
- createTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
225
- updateTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
226
- syncToken: '1',
227
- email: '',
228
- phone: '',
229
- websiteUrl: '',
230
- currencyCode: 'USD',
231
- currencySymbol: '$',
232
- countryCode: 'US',
233
- balance: 0,
234
- accountId: 'Travel Meals',
235
- classId: 'class_e0f33254-2651-4d5c-9d57-2611788265ca',
236
- billingAddressId: 'a_e3e99a8b-d400-42ac-ae09-e655bff1af97',
237
- addressId: 'a_e3e99a8b-d400-42ac-ae09-e655bff1af97',
238
- bankAccountIds: [
239
- 'bank_adg67-asnds-a6sad-sdfgf8',
240
- 'bank_asghj-hags23-hgfjh-g3asfas',
241
- ],
242
- contactIds: [
243
- 'contacts_6856c987-17ff-44a4-aad3-eef4b7696554',
244
- 'contacts_f3881db1-35c0-4699-891c-6cca724e75d6',
245
- ],
246
- logo: undefined,
247
- shippingAddressId: undefined,
248
- matchScore: 0,
249
- isVendor1099: false,
250
- documentIds: [],
251
- ownerId: undefined,
252
- vendorCurrencySymbol: '$',
253
- vendorCurrencyCode: 'USD',
254
- paymentInstrumentIds: ['pay_inst_f3fc9b06-694a-4609-a710-b0e1d4de72d3'],
255
- filing1099Status: 'incomplete',
256
- filing1099Tin: {
257
- type: 'ein',
258
- value: '550258131',
259
- },
260
- filing1099Type: 'int',
261
- filing1099Total: 2287,
262
- w9DocumentIds: [],
263
- };
264
- exports.vendorStateMock6 = {
265
- recommendations: [],
266
- id: 'vendor_44d40a18-22cb-49b7-b13f-c7c148ac1cf3',
267
- name: 'Abb Enterprise',
268
- legalName: 'Abb Enterprise',
269
- qboId: '11',
270
- title: '',
271
- suffix: '',
272
- firstName: 'Abb',
273
- middleName: '',
274
- lastName: 'Enterprise',
275
- vendorType: 'Individual',
276
- isDeleted: false,
277
- yearToDateSpend: undefined,
278
- last30DaysSpend: undefined,
279
- last90DaysSpend: undefined,
280
- lastMonthSpend: 0,
281
- last6MonthsSpend: 0,
282
- last3MonthsSpend: 0,
283
- last12MonthsSpend: 0,
284
- previousYearSpend: 0,
285
- createTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
286
- updateTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
287
- syncToken: '1',
288
- email: '',
289
- phone: '',
290
- websiteUrl: '',
291
- currencyCode: 'USD',
292
- currencySymbol: '$',
293
- countryCode: 'US',
294
- balance: 0,
295
- accountId: 'Travel Meals',
296
- classId: 'class_e0f33254-2651-4d5c-9d57-2611788265ca',
297
- billingAddressId: 'a_e3e99a8b-d400-42ac-ae09-e655bff1af97',
298
- addressId: 'a_e3e99a8b-d400-42ac-ae09-e655bff1af97',
299
- bankAccountIds: [
300
- 'bank_adg67-asnds-a6sad-sdfgf8',
301
- 'bank_asghj-hags23-hgfjh-g3asfas',
302
- ],
303
- contactIds: [
304
- 'contacts_6856c987-17ff-44a4-aad3-eef4b7696554',
305
- 'contacts_f3881db1-35c0-4699-891c-6cca724e75d6',
306
- ],
307
- paymentInstrumentIds: ['pay_inst_f3fc9b06-694a-4609-a710-b0e1d4de72d3'],
308
- logo: undefined,
309
- shippingAddressId: undefined,
310
- matchScore: 0,
311
- isVendor1099: false,
312
- documentIds: [],
313
- ownerId: undefined,
314
- vendorCurrencySymbol: '$',
315
- vendorCurrencyCode: 'USD',
316
- transactionAttachments: [],
317
- filing1099Status: 'incomplete',
318
- filing1099Tin: {
319
- type: 'ein',
320
- value: '550258131',
321
- },
322
- filing1099Type: 'int',
323
- filing1099Total: 2287,
324
- w9DocumentIds: [],
325
- };
326
- exports.vendorStateMock7 = {
327
- id: 'vendor_7fd58fd7-2916-4fae-ba14-3c0f6e277743',
328
- name: 'Hall Properties',
329
- title: '',
330
- suffix: '',
331
- firstName: '',
332
- middleName: '',
333
- lastName: '',
334
- vendorType: '',
335
- isDeleted: false,
336
- createTime: (0, zeniDayJS_1.date)('2024-02-19T12:38:08.740Z'),
337
- updateTime: (0, zeniDayJS_1.date)('2024-02-19T12:38:08.740Z'),
338
- currencyCode: 'USD',
339
- currencySymbol: '$',
340
- vendorCurrencyCode: 'USD',
341
- vendorCurrencySymbol: '$',
342
- qboId: '',
343
- syncToken: '',
344
- email: '',
345
- phone: '',
346
- websiteUrl: '',
347
- contactIds: [],
348
- bankAccountIds: [],
349
- paymentInstrumentIds: [],
350
- balance: 0,
351
- matchScore: 0,
352
- isVendor1099: false,
353
- documentIds: [],
354
- last30DaysSpend: 0,
355
- last90DaysSpend: 0,
356
- yearToDateSpend: 0,
357
- recommendations: [],
358
- transactionAttachments: [],
359
- };
360
- exports.vendorStateMock8 = {
361
- recommendations: [],
362
- transactionAttachments: [],
363
- id: 'vendor_j12jh1g2g12jg3jh12:12',
364
- name: 'Sample Vendor 1',
365
- legalName: 'Sample Vendor 1',
366
- qboId: '12',
367
- title: '',
368
- suffix: '',
369
- firstName: 'Sample',
370
- middleName: '',
371
- lastName: 'Vendor',
372
- vendorType: 'individual',
373
- isDeleted: false,
374
- yearToDateSpend: undefined,
375
- last30DaysSpend: undefined,
376
- last90DaysSpend: undefined,
377
- lastMonthSpend: 0,
378
- last6MonthsSpend: 0,
379
- last3MonthsSpend: 0,
380
- last12MonthsSpend: 0,
381
- previousYearSpend: 0,
382
- createTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
383
- updateTime: (0, zeniDayJS_1.date)('2022-01-24T00:29:37.057Z'),
384
- syncToken: '1',
385
- email: '',
386
- phone: '',
387
- websiteUrl: '',
388
- currencyCode: 'USD',
389
- currencySymbol: '$',
390
- countryCode: 'US',
391
- balance: 0,
392
- accountId: 'Travel Meals',
393
- classId: 'class_e0f33254-2651-4d5c-9d57-2611788265ca',
394
- billingAddressId: 'a_e3e99a8b-d400-42ac-ae09-e655bff1af97',
395
- addressId: 'a_e3e99a8b-d400-42ac-ae09-e655bff1af97',
396
- bankAccountIds: [
397
- 'bank_adg67-asnds-a6sad-sdfgf8',
398
- 'bank_asghj-hags23-hgfjh-g3asfas',
399
- ],
400
- contactIds: [
401
- 'contacts_f3881db1-35c0-4699-891c-6cca724e75d6',
402
- 'contacts_6856c987-17ff-44a4-aad3-eef4b7696554',
403
- ],
404
- matchScore: 0,
405
- isVendor1099: false,
406
- documentIds: [],
407
- vendorCurrencySymbol: '$',
408
- vendorCurrencyCode: 'USD',
409
- paymentInstrumentIds: ['pay_inst_f3fc9b06-694a-4609-a710-b0e1d4de72d3'],
410
- preferredInternationalTransferFeeBearerPaymentMethod: undefined,
411
- filing1099Status: 'incomplete',
412
- filing1099Tin: {
413
- type: 'ein',
414
- value: '550258131',
415
- },
416
- isINTType: true,
417
- filing1099W9Files: undefined,
418
- filing1099Total: undefined,
419
- filing1099Type: 'int',
420
- w9DocumentIds: [],
421
- };
@@ -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, };