@ptkl/sdk 1.0.3 → 1.3.0

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 (40) hide show
  1. package/dist/index.0.10.js +453 -135
  2. package/dist/index.0.9.js +135 -8
  3. package/dist/package.json +1 -1
  4. package/dist/v0.10/api/component.d.ts +152 -20
  5. package/dist/v0.10/api/functions.d.ts +1 -2
  6. package/dist/v0.10/api/index.d.ts +4 -2
  7. package/dist/v0.10/api/integrations/dms.d.ts +0 -9
  8. package/dist/v0.10/api/integrations/mail.d.ts +125 -0
  9. package/dist/v0.10/api/integrations/serbia/minfin/index.d.ts +10 -0
  10. package/dist/v0.10/api/integrations/serbia/minfin/vpfr.d.ts +4 -0
  11. package/dist/v0.10/api/integrations/serbia/nbs/index.d.ts +10 -0
  12. package/dist/v0.10/api/integrations/serbiaUtil.d.ts +9 -7
  13. package/dist/v0.10/api/integrations.d.ts +6 -3
  14. package/dist/v0.10/api/platform.d.ts +2 -2
  15. package/dist/v0.10/api/platformBaseClient.d.ts +0 -1
  16. package/dist/v0.10/api/project.d.ts +6 -1
  17. package/dist/v0.10/index.cjs.js +453 -135
  18. package/dist/v0.10/index.esm.js +451 -135
  19. package/dist/v0.10/types/component.d.ts +73 -3
  20. package/dist/v0.10/types/integrations/mail.d.ts +156 -0
  21. package/dist/v0.10/types/integrations/minimax.d.ts +961 -0
  22. package/dist/v0.10/types/integrations/payments.d.ts +48 -0
  23. package/dist/v0.10/types/integrations/serbiaUtils.d.ts +40 -0
  24. package/dist/v0.10/types/integrations/serbiaUtits.d.ts +37 -0
  25. package/dist/v0.9/api/functions.d.ts +1 -2
  26. package/dist/v0.9/api/index.d.ts +1 -0
  27. package/dist/v0.9/api/integrations/mail.d.ts +69 -0
  28. package/dist/v0.9/api/integrations/serbiaUtil.d.ts +10 -7
  29. package/dist/v0.9/api/integrations.d.ts +2 -0
  30. package/dist/v0.9/api/platformBaseClient.d.ts +0 -1
  31. package/dist/v0.9/api/project.d.ts +6 -1
  32. package/dist/v0.9/api/roles.d.ts +12 -0
  33. package/dist/v0.9/index.cjs.js +135 -8
  34. package/dist/v0.9/index.esm.js +135 -9
  35. package/dist/v0.9/types/integrations/mail.d.ts +155 -0
  36. package/dist/v0.9/types/integrations/minimax.d.ts +961 -0
  37. package/dist/v0.9/types/integrations/payments.d.ts +48 -0
  38. package/dist/v0.9/types/integrations/serbiaUtits.d.ts +40 -0
  39. package/dist/v0.9/types/integrations.d.ts +0 -12
  40. package/package.json +1 -1
@@ -0,0 +1,961 @@
1
+ type MinimaxSearchResult<T> = {
2
+ Rows: T[];
3
+ TotalRows: number;
4
+ CurrentPageNumber: number;
5
+ PageSize: number;
6
+ };
7
+ type MinimaxSearchParams<T> = {
8
+ SearchString?: string;
9
+ CurrentPage?: number;
10
+ PageSize?: number;
11
+ SortField?: keyof T;
12
+ Order?: "A" | "D";
13
+ };
14
+ type MinimaxSyncSearchParams<T> = MinimaxSearchParams<T> & {
15
+ RecordDtModifiedFrom?: Date;
16
+ RecordDtModifiedTo?: Date;
17
+ };
18
+ type MinimaxReference = {
19
+ ID: number;
20
+ Name: string;
21
+ ResourceUrl: string;
22
+ };
23
+ type MinimaxSyncReference = {
24
+ ID: number;
25
+ RecordDtModified: string;
26
+ RowVersion: string;
27
+ };
28
+ type MinimaxAccount = {
29
+ AccountId: number;
30
+ Customer: MinimaxReference;
31
+ Type: string;
32
+ Name: string;
33
+ GLN: string;
34
+ Address: string;
35
+ PostalCode: string;
36
+ City: string;
37
+ Country: MinimaxReference;
38
+ CountryName: string;
39
+ Default: string;
40
+ RecordDtModified: string;
41
+ RowVersion: string;
42
+ };
43
+ type MinimaxAddress = {
44
+ AddressId: number;
45
+ Code: string;
46
+ Name: string;
47
+ NameInOtherLanguage: string;
48
+ NameInEnglish: string;
49
+ Description: string;
50
+ AllowedPosting: string;
51
+ InvoiceAccounting: string;
52
+ AnalyticsEntry: string;
53
+ EmployeeEntry: string;
54
+ CustomerEntry: string;
55
+ NonTaxable: string;
56
+ Application: string;
57
+ ValidFromYear: number;
58
+ ValidToYear: number;
59
+ RecordDtModified: string;
60
+ RowVersion: string;
61
+ };
62
+ type MinimaxAnalytic = {
63
+ AnalyticId: number;
64
+ Code: string;
65
+ Name: string;
66
+ UsageEndDate: string;
67
+ ParentAnalytic: MinimaxReference;
68
+ RecordDtModified: string;
69
+ RowVersion: string;
70
+ };
71
+ type MinimaxBankAccount = {
72
+ BankAccountId: number;
73
+ Customer: MinimaxReference;
74
+ Name: string;
75
+ IBAN: string;
76
+ AccountNumber: string;
77
+ BIC: string;
78
+ Default: string;
79
+ RecordDtModified: string;
80
+ RowVersion: string;
81
+ };
82
+ type MinimaxContact = {
83
+ ContactId: number;
84
+ Customer: MinimaxReference;
85
+ FullName: string;
86
+ PhoneNumber: string;
87
+ Fax: string;
88
+ MobilePhone: string;
89
+ Email: string;
90
+ Notes: string;
91
+ Default: string;
92
+ RecordDtModified: string;
93
+ RowVersion: string;
94
+ };
95
+ type MinimaxCountry = {
96
+ CountryId: number;
97
+ Code: string;
98
+ Name: string;
99
+ Currency: MinimaxReference;
100
+ };
101
+ type MinimaxCurrency = {
102
+ CurrencyId: number;
103
+ Code: string;
104
+ Name: string;
105
+ };
106
+ type MinimaxLeanCustomer = {
107
+ CustomerId: number;
108
+ Code: string;
109
+ Name: string;
110
+ Address: string;
111
+ PostalCode: string;
112
+ City: string;
113
+ Country: MinimaxReference;
114
+ TaxNumber: string;
115
+ Usage: string;
116
+ };
117
+ type MinimaxCustomer = MinimaxLeanCustomer & {
118
+ CountryName: string;
119
+ RegistrationNumber: string;
120
+ VATIdentificationNumber: string;
121
+ SubjectToVAT: string;
122
+ ConsiderCountryForBookkeeping: string;
123
+ Currency: MinimaxReference;
124
+ ExpirationDays: number;
125
+ RebatePercent: number;
126
+ WebSiteURL: string;
127
+ EInvoiceIssuing: string;
128
+ InternalCustomerNumber: string;
129
+ GLN: string;
130
+ BudgetUserNumber: string;
131
+ AssociationType: string;
132
+ RecordDtModified: string;
133
+ RowVersion: string;
134
+ };
135
+ type MinimaxDashboardData = {
136
+ IssuedInvoicesSummary: {
137
+ Visible: boolean;
138
+ Data: {
139
+ Type: string;
140
+ Count: number;
141
+ Value: number;
142
+ }[];
143
+ };
144
+ ReceivedInvoicesSummary: {
145
+ Visible: boolean;
146
+ Data: {
147
+ Type: string;
148
+ Count: number;
149
+ Value: number;
150
+ }[];
151
+ };
152
+ IssuedInvoicesUnpaid: {
153
+ Visible: boolean;
154
+ Data: {
155
+ Type: string;
156
+ Count: number;
157
+ Value: number;
158
+ }[];
159
+ };
160
+ ReceivedInvoicesUnpaid: {
161
+ Visible: boolean;
162
+ Data: {
163
+ Type: string;
164
+ Count: number;
165
+ Value: number;
166
+ }[];
167
+ };
168
+ TopCustomers: {
169
+ Visible: boolean;
170
+ Data: {
171
+ Position: number;
172
+ Customer: string;
173
+ CustomerId: number;
174
+ Value: number;
175
+ }[];
176
+ };
177
+ TopDebtors: {
178
+ Visible: boolean;
179
+ Data: {
180
+ Position: number;
181
+ Customer: string;
182
+ CustomerId: number;
183
+ Value: number;
184
+ }[];
185
+ };
186
+ TopSuppliers: {
187
+ Visible: boolean;
188
+ Data: {
189
+ Position: number;
190
+ Customer: string;
191
+ CustomerId: number;
192
+ Value: number;
193
+ }[];
194
+ };
195
+ TopCreditors: {
196
+ Visible: boolean;
197
+ Data: {
198
+ Position: number;
199
+ Customer: string;
200
+ CustomerId: number;
201
+ Value: number;
202
+ }[];
203
+ };
204
+ RevenuesExpenses: {
205
+ Visible: boolean;
206
+ Data: {
207
+ Month: number;
208
+ Revenue: number;
209
+ Expense: number;
210
+ }[];
211
+ };
212
+ };
213
+ type MinimaxLeanDocument = {
214
+ DocumentId: number;
215
+ DocumentDate: string;
216
+ Customer: MinimaxReference;
217
+ Employee: MinimaxReference;
218
+ Description: string;
219
+ };
220
+ type MinimaxLeanDocumentAttachment = {
221
+ DocumentAttachmentId: number;
222
+ Description: string;
223
+ FileName: string;
224
+ MimeType: string;
225
+ EntryDate: string;
226
+ };
227
+ type MinimaxDocumentAttachment = MinimaxLeanDocumentAttachment & {
228
+ Document: MinimaxReference;
229
+ AttachmentData: string;
230
+ RecordDtModified: string;
231
+ RowVersion: string;
232
+ };
233
+ type MinimaxDocument = MinimaxLeanDocument & {
234
+ Attachments: MinimaxLeanDocumentAttachment[];
235
+ RecordDtModified: string;
236
+ RowVersion: string;
237
+ };
238
+ type MinimaxDocumentNumbering = {
239
+ DocumentNumberingId: number;
240
+ Document: string;
241
+ Code: string;
242
+ Name: string;
243
+ Default: string;
244
+ Reverse: string;
245
+ ReferenceNumber: string;
246
+ PackagingDepositReturnIncludedInPrice: string;
247
+ Usage: string;
248
+ RecordDtModified: string;
249
+ RowVersion: string;
250
+ };
251
+ type MinimaxEFaktura = {
252
+ RegistrationNumber: string;
253
+ BudgetUserNumber: string;
254
+ VatIdentificationNumber: string;
255
+ Name: string;
256
+ };
257
+ type MinimaxLeanEmployee = {
258
+ EmployeeId: number;
259
+ FirstName: string;
260
+ LastName: string;
261
+ DateOfBirth: string;
262
+ TaxNumber: string;
263
+ EmploymentType: string;
264
+ EmploymentStartDate: string;
265
+ EmploymentEndDate: string;
266
+ Country: MinimaxReference;
267
+ CountryOfResidence: MinimaxReference;
268
+ };
269
+ type MinimaxEmployee = MinimaxLeanEmployee & {
270
+ DateOfBirth: string;
271
+ Gender: string;
272
+ EmploymentStartDate: string;
273
+ EmploymentEndDate: string;
274
+ Notes: string;
275
+ EmploymentType: string;
276
+ PersonalIdenficationNumber: string;
277
+ InsuranceBasis: string;
278
+ RecordDtModified: string;
279
+ RowVersion: string;
280
+ };
281
+ type MinimaxExchangeRate = {
282
+ Date: string;
283
+ Currency: MinimaxReference;
284
+ MidRate: number;
285
+ };
286
+ type MinimaxInboxAttachment = {
287
+ InboxAttachmentId: number;
288
+ Inbox: MinimaxReference;
289
+ AttachmentData: string;
290
+ AttachmentDate: string;
291
+ AttachmentFileName: string;
292
+ AttachmentMimeType: string;
293
+ RecordDtModified: string;
294
+ RowVersion: string;
295
+ };
296
+ type MinimaxInbox = {
297
+ InboxId: number;
298
+ Customer: MinimaxReference;
299
+ Employee: MinimaxReference;
300
+ InboxDate: string;
301
+ DateApproved: string;
302
+ InboxType: string;
303
+ Description: string;
304
+ StatusOfReceivedInvoice: string;
305
+ BookkeepingAllowed: string;
306
+ EProvider: string;
307
+ Attachments: MinimaxInboxAttachment[];
308
+ RecordDtModified: string;
309
+ RowVersion: string;
310
+ };
311
+ type MinimaxLeanIssuedInvoice = {
312
+ IssuedInvoiceId: number;
313
+ InvoiceType: string;
314
+ Year: number;
315
+ InvoiceNumber: number;
316
+ Numbering: string;
317
+ DocumentNumbering: MinimaxReference;
318
+ Customer: MinimaxReference;
319
+ DateIssued: string;
320
+ DateTransaction: string;
321
+ DateDue: string;
322
+ Currency: MinimaxReference;
323
+ Analytics: MinimaxReference;
324
+ RecordDtModified: string;
325
+ RowVersion: string;
326
+ };
327
+ type MinimaxIssuedInvoicePaymentMethod = {
328
+ IssuedInvoicePaymentMethodId: number;
329
+ IssuedInvoice: MinimaxReference;
330
+ PaymentMethod: MinimaxReference;
331
+ CashRegister: MinimaxReference;
332
+ Revenue: MinimaxReference;
333
+ RevenueDate: string;
334
+ Amount: number;
335
+ AmountInDomesticCurrency: number;
336
+ AlreadyPaid: string;
337
+ RecordDtModified: string;
338
+ RowVersion: string;
339
+ };
340
+ type MinimaxIssuedInvoiceRow = {
341
+ IssuedInvoiceRowId: number;
342
+ IssuedInvoice: MinimaxReference;
343
+ Item: MinimaxReference;
344
+ ItemName: string;
345
+ RowNumber: number;
346
+ ItemCode: string;
347
+ SerialNumber: string;
348
+ BatchNumber: string;
349
+ Description: string;
350
+ Quantity: number;
351
+ UnitOfMeasurement: string;
352
+ Mass: number;
353
+ Price: number;
354
+ PriceWithVAT: number;
355
+ VATPercent: number;
356
+ Discount: number;
357
+ DiscountPercent: number;
358
+ Value: number;
359
+ VatRate: MinimaxReference;
360
+ VatRatePercentage: MinimaxReference;
361
+ Warehouse: MinimaxReference;
362
+ AdditionalWarehouse: MinimaxReference;
363
+ TaxFreeValue: number;
364
+ TaxExemptionValue: number;
365
+ OtherTaxesAndDuties: string;
366
+ VatAccountingType: string;
367
+ TaxExemptionReasonCode: string;
368
+ Analytic: MinimaxReference;
369
+ RecordDtModified: string;
370
+ RowVersion: string;
371
+ };
372
+ type MinimaxIssuedInvoiceAdditionalSourceDocument = {
373
+ IssuedInvoiceAdditionalSourceDocumentId: number;
374
+ IssuedInvoice: MinimaxReference;
375
+ SourceDocumentType: string;
376
+ SourceDocumentDate: string;
377
+ SourceDocumentNumber: string;
378
+ RecordDtModified: string;
379
+ RowVersion: string;
380
+ };
381
+ type MinimaxIssuedInvoice = Omit<MinimaxLeanIssuedInvoice, "Customer"> & {
382
+ DateTransactionFrom: string;
383
+ DateCreditNote: string;
384
+ AddresseeName: string;
385
+ AddresseeAddress: string;
386
+ AddresseePostalCode: string;
387
+ AddresseeCity: string;
388
+ AddresseeCountryName: string;
389
+ AddresseeCountry: MinimaxReference;
390
+ AddresseeGLN: string;
391
+ RecipientName: string;
392
+ RecipientAddress: string;
393
+ RecipientPostalCode: string;
394
+ RecipientCity: string;
395
+ RecipientCountryName: string;
396
+ RecipientCountry: MinimaxReference;
397
+ RecipientGLN: string;
398
+ Rabate: number;
399
+ ExchangeRate: number;
400
+ DocumentReference: string;
401
+ PaymentReference: string;
402
+ Currency: MinimaxReference;
403
+ Analytic: MinimaxReference;
404
+ Document: MinimaxReference;
405
+ IssuedInvoiceReportTemplate: MinimaxReference;
406
+ DeliveryNoteReportTemplate: MinimaxReference;
407
+ DescriptionAbove: string;
408
+ DescriptionBelow: string;
409
+ DeliveryNoteDescriptionAbove: string;
410
+ DeliveryNoteDescriptionBelow: string;
411
+ Notes: string;
412
+ Employee: MinimaxReference;
413
+ PricesOnInvoice: string;
414
+ RecurringInvoice: string;
415
+ InvoiceAttachment: MinimaxReference;
416
+ EInvoiceAttachment: MinimaxReference;
417
+ OriginalDocumentType: string;
418
+ OriginalDocumentDate: string;
419
+ ForwardToCRF: string;
420
+ ForwardToSEF: string;
421
+ ReverseReason: string;
422
+ OptionalCustumerDataType: string;
423
+ OptionalCustumerData: string;
424
+ CustomerIDType: string;
425
+ CustomerID: string;
426
+ PurposeCode: MinimaxReference;
427
+ AssociationWithStock: string;
428
+ DebitNote: string;
429
+ DebitNoteBasis: string;
430
+ DebitNoteBasisDate: string;
431
+ IssuedInvoiceRows: MinimaxIssuedInvoiceRow[];
432
+ IssuedInvoicePaymentMethods: MinimaxIssuedInvoicePaymentMethod[];
433
+ IssuedInvoiceAdditionalSourceDocument: MinimaxIssuedInvoiceAdditionalSourceDocument[];
434
+ };
435
+ type MinimaxLeanIssuedInvoicePosting = {
436
+ IssuedInvoicePostingId: number;
437
+ DocumentType: string;
438
+ Status: string;
439
+ Date: string;
440
+ Description: string;
441
+ RecordDtModified: string;
442
+ RowVersion: string;
443
+ };
444
+ type MinimaxIssuedInvoicePostingPaymentMethod = {
445
+ IssuedInvoicePostingPaymentMethodId: number;
446
+ IssuedInvoicePosting: MinimaxReference;
447
+ PaymentMethod: MinimaxReference;
448
+ Amount: number;
449
+ AmountInDomesticCurrency: number;
450
+ Customer: MinimaxReference;
451
+ AdvancePaymentIssuedInvoicePostingId: number;
452
+ CashRegister: MinimaxReference;
453
+ Revenue: MinimaxReference;
454
+ RecordDtModified: string;
455
+ RowVersion: string;
456
+ };
457
+ type MinimaxIssuedInvoicePostingTax = {
458
+ IssuedInvoicePostingTaxId: number;
459
+ IssuedInvoicePosting: MinimaxReference;
460
+ TaxType: string;
461
+ TaxSubjectType: string;
462
+ VatRate: MinimaxReference;
463
+ VatRatePercentage: MinimaxReference;
464
+ TaxPercentage: number;
465
+ TaxBase: number;
466
+ TaxAmount: number;
467
+ TaxBaseInDomesticCurrency: number;
468
+ TaxAmountInDomesticCurrency: number;
469
+ VatAccountingType: string;
470
+ TaxExemptionReasonCode: string;
471
+ AdvancePaymentIssuedInvoicePostingTaxId: number;
472
+ RecordDtModified: string;
473
+ RowVersion: string;
474
+ };
475
+ type MinimaxIssuedInvoicePostingRevenue = {
476
+ IssuedInvoicePostingRevenueId: number;
477
+ IssuedInvoicePosting: MinimaxReference;
478
+ Account: MinimaxReference;
479
+ Amount: number;
480
+ AmountInDomesticCurrency: number;
481
+ RecordDtModified: string;
482
+ RowVersion: string;
483
+ };
484
+ type MinimaxIssuedInvoicePostingPostingRetail = {
485
+ IssuedInvoicePostingRetailId: number;
486
+ IssuedInvoicePosting: MinimaxReference;
487
+ RecordDtModified: string;
488
+ RowVersion: string;
489
+ };
490
+ type MinimaxIssuedInvoicePosting = MinimaxLeanIssuedInvoicePosting & {
491
+ DailyIncomeSequentialNumber: number;
492
+ DailyIncomeInvoicesSequentialNumberFrom: number;
493
+ DailyIncomeInvoicesSequentialNumberTo: number;
494
+ DailyIncomeInvoicesCorrections: number;
495
+ Customer: MinimaxReference;
496
+ DateTransaction: string;
497
+ DateDue: string;
498
+ PaymentReference: string;
499
+ Analytic: MinimaxReference;
500
+ Currency: MinimaxReference;
501
+ ExchangeRate: number;
502
+ ForwardToSEF: string;
503
+ SalesValue: number;
504
+ SalesValueVAT: number;
505
+ PurchaseValue: number;
506
+ IssuedInvoicePostingPaymentMethods: MinimaxIssuedInvoicePostingPaymentMethod[];
507
+ IssuedInvoicePostingTaxes: MinimaxIssuedInvoicePostingTax[];
508
+ IssuedInvoicePostingRevenues: MinimaxIssuedInvoicePostingRevenue[];
509
+ IssuedInvoicePostingRetailDataForBookkeeping: {
510
+ Rows: (MinimaxIssuedInvoicePostingPostingRetail & {
511
+ PurchaseValue: number;
512
+ VAT: number;
513
+ VatRate: MinimaxReference;
514
+ SalesValue: number;
515
+ SalesValueWithVAT: number;
516
+ })[];
517
+ };
518
+ IssuedInvoicePostingRetailDataForValueBasedStockManagement: {
519
+ Warehouse: MinimaxReference;
520
+ AdditionalWarehouse: MinimaxReference;
521
+ Rows: (MinimaxIssuedInvoicePostingPostingRetail & {
522
+ VatRate: MinimaxReference;
523
+ SalesValue: number;
524
+ SalesValueWithVAT: number;
525
+ })[];
526
+ };
527
+ IssuedInvoicePostingRetailDataForStockManagement: {
528
+ Warehouse: MinimaxReference;
529
+ AdditionalWarehouse: MinimaxReference;
530
+ Rows: (MinimaxIssuedInvoicePostingPostingRetail & {
531
+ Item: MinimaxReference;
532
+ Quantity: number;
533
+ Price: number;
534
+ PurchaseValue: number;
535
+ SellingPrice: number;
536
+ SellingPriceIncludesVAT: string;
537
+ BatchNumber: string;
538
+ SerialNumber: string;
539
+ })[];
540
+ };
541
+ };
542
+ type MinimaxLeanItem = {
543
+ ItemId: number;
544
+ Title: string;
545
+ Code: string;
546
+ UnitOfMeasurement: string;
547
+ MassPerUnit: number;
548
+ ItemType: string;
549
+ VatRate: MinimaxReference;
550
+ Price: number;
551
+ Currency: MinimaxReference;
552
+ RevenueAccountDomestic: MinimaxReference;
553
+ RevenueAccountOutsideEU: MinimaxReference;
554
+ RevenueAccountEU: MinimaxReference;
555
+ StocksAccount: MinimaxReference;
556
+ ProductGroup: MinimaxReference;
557
+ };
558
+ type MinimaxItem = MinimaxLeanItem & {
559
+ Name: string;
560
+ EANCode: string;
561
+ Description: string;
562
+ StocksManagedOnlyByQuantity: string;
563
+ CalculationOfConsumptionTax: string;
564
+ RebatePercent: number;
565
+ Usage: string;
566
+ Currency: MinimaxReference;
567
+ SerialNumbers: string;
568
+ BatchNumbers: string;
569
+ ReliefByCompositeFromWarehouse: string;
570
+ ReliefByCompositeFromIssuedInvoice: string;
571
+ Composite: {
572
+ Item: MinimaxReference;
573
+ Quantity: number;
574
+ }[];
575
+ PackagingDepositReturnQuantity: number;
576
+ RecordDtModified: string;
577
+ RowVersion: string;
578
+ };
579
+ type MinimaxLeanJournal = {
580
+ JournalId: number;
581
+ JournalType: MinimaxReference;
582
+ JournalDate: string;
583
+ Description: string;
584
+ };
585
+ type MinimaxJournalEntry = {
586
+ ExternalId: string;
587
+ JournalEntryId: number;
588
+ Journal: MinimaxReference;
589
+ JournalEntryDate: string;
590
+ DueDate: string;
591
+ TransactionDate: string;
592
+ Account: MinimaxReference;
593
+ Customer: MinimaxReference;
594
+ Analytic: MinimaxReference;
595
+ Employee: MinimaxReference;
596
+ Currency: MinimaxReference;
597
+ Description: string;
598
+ PaymentReference: string;
599
+ Debit: number;
600
+ Credit: number;
601
+ DebitInDomesticCurrency: number;
602
+ CreditInDomesticCurrency: number;
603
+ SubmissionSpecialVATReturn: string;
604
+ VatDate: string;
605
+ VatType: string;
606
+ VatRatePercentage: MinimaxReference;
607
+ VatBaseInDomesticCurrency: number;
608
+ VatBase: number;
609
+ RecordDtModified: string;
610
+ RowVersion: string;
611
+ };
612
+ type MinimaxJournalVatEntryRow = {
613
+ VatEntryRowId: number;
614
+ VatEntry: MinimaxReference;
615
+ VatRate: MinimaxReference;
616
+ VatBase: number;
617
+ Vat: number;
618
+ NonDeductibleVatBase: number;
619
+ NonDeductibleVat: number;
620
+ ServicesVatBase: number;
621
+ ServicesVat: number;
622
+ ServicesNonDeductibleVatBase: number;
623
+ ServicesNonDeductibleVat: number;
624
+ RecordDtModified: string;
625
+ RowVersion: string;
626
+ };
627
+ type MinimaxJournalVatEntry = {
628
+ VatEntryId: number;
629
+ Journal: MinimaxReference;
630
+ VatDate: string;
631
+ VatBook: string;
632
+ VatAccountingType: string;
633
+ BasisForCorrection: string;
634
+ ForwardToSEF: string;
635
+ VatEntryDate: string;
636
+ Customer: MinimaxReference;
637
+ Document: string;
638
+ InvoiceType: string;
639
+ DocumentDate: string;
640
+ ReceivedDate: string;
641
+ PaymentDate: string;
642
+ TransactionDate: string;
643
+ DateApproved: string;
644
+ SelfTaxing: string;
645
+ OBJ: string;
646
+ Reverse: string;
647
+ SelfTaxingRelatedDocument: string;
648
+ JournalEntry: MinimaxReference;
649
+ JournalEntryExternalId: string;
650
+ Notes: string;
651
+ AdvancePayment: string;
652
+ Analytic: MinimaxReference;
653
+ VatEntryRows: MinimaxJournalVatEntryRow[];
654
+ RecordDtModified: string;
655
+ RowVersion: string;
656
+ };
657
+ type MinimaxJournal = MinimaxLeanJournal & {
658
+ Status: string;
659
+ JournalEntries: MinimaxJournalEntry[];
660
+ VatEntries: MinimaxJournalVatEntry[];
661
+ RecordDtModified: string;
662
+ RowVersion: string;
663
+ };
664
+ type MinimaxJournalType = {
665
+ JournalTypeId: number;
666
+ Code: string;
667
+ DisplayCode: string;
668
+ };
669
+ type MinimaxLeanOrder = {
670
+ OrderId: number;
671
+ ReceivedIssued: string;
672
+ Year: number;
673
+ Number: number;
674
+ Date: string;
675
+ Customer: MinimaxReference;
676
+ Analytic: MinimaxReference;
677
+ Currency: MinimaxReference;
678
+ Status: string;
679
+ };
680
+ type MinimaxOrderRow = {
681
+ OrderRowId: number;
682
+ Order: MinimaxReference;
683
+ Item: MinimaxReference;
684
+ Warehouse: MinimaxReference;
685
+ ItemName: string;
686
+ ItemCode: string;
687
+ Description: string;
688
+ Quantity: number;
689
+ DiscountPercent: number;
690
+ Price: number;
691
+ UnitOfMeasurement: string;
692
+ RecordDtModified: string;
693
+ RowVersion: string;
694
+ };
695
+ type MinimaxOrder = MinimaxLeanOrder & {
696
+ CustomerName: string;
697
+ CustomerAddress: string;
698
+ CustomerPostalCode: string;
699
+ CustomerCity: string;
700
+ CustomerCountry: MinimaxReference;
701
+ CustomerCountryName: string;
702
+ RecipientName: string;
703
+ RecipientAddress: string;
704
+ RecipientPostalCode: string;
705
+ RecipientCity: string;
706
+ RecipientCountryName: string;
707
+ RecipientCountry: MinimaxReference;
708
+ DueDate: string;
709
+ Reference: string;
710
+ Notes: string;
711
+ DateConfirmed: string;
712
+ DateCompleted: string;
713
+ DateCanceled: string;
714
+ DescriptionAbove: string;
715
+ DescriptionBelow: string;
716
+ ReportTemplate: MinimaxReference;
717
+ OrderRows: MinimaxOrderRow[];
718
+ RecordDtModified: string;
719
+ RowVersion: string;
720
+ };
721
+ type MinimaxOrganisation = {
722
+ OrganisationId: number;
723
+ Title: string;
724
+ Address: string;
725
+ PostalCode: string;
726
+ City: string;
727
+ Country: MinimaxReference;
728
+ TaxNumber: string;
729
+ RegistrationNumber: string;
730
+ VATIdentificationNumber: string;
731
+ Administrator: MinimaxReference;
732
+ Status: string;
733
+ RecordDtModified: string;
734
+ RowVersion: string;
735
+ };
736
+ type MinimaxOutboxAttachment = {
737
+ OutboxAttachmentId: number;
738
+ Outbox: MinimaxReference;
739
+ AttachmentData: string;
740
+ AttachmentDate: string;
741
+ AttachmentFileName: string;
742
+ AttachmentMimeType: string;
743
+ RecordDtModified: string;
744
+ RowVersion: string;
745
+ };
746
+ type MinimaxOutbox = {
747
+ OutboxId: number;
748
+ Customer: MinimaxReference;
749
+ Employee: MinimaxReference;
750
+ OutboxDate: string;
751
+ OutboxType: string;
752
+ Description: string;
753
+ Attachments: MinimaxOutboxAttachment[];
754
+ RecordDtModified: string;
755
+ RowVersion: string;
756
+ };
757
+ type MinimaxPaymentMethod = {
758
+ PaymentMethodId: number;
759
+ Name: string;
760
+ Type: string;
761
+ Usage: string;
762
+ Default: string;
763
+ };
764
+ type MinimaxPayrollSettings = {
765
+ PayrollSettingsId: number;
766
+ Code: string;
767
+ Name: string;
768
+ Description: string;
769
+ CustomerCode: string;
770
+ CustomerName: string;
771
+ Value: number;
772
+ Date: string;
773
+ };
774
+ type MinimaxPostalCode = {
775
+ PostalCodeId: number;
776
+ Code: string;
777
+ City: string;
778
+ Country: MinimaxReference;
779
+ };
780
+ type MinimaxProductGroup = {
781
+ ProductGroupId: number;
782
+ Code: string;
783
+ Name: string;
784
+ Usage: string;
785
+ RecordDtModified: string;
786
+ RowVersion: string;
787
+ };
788
+ type MinimaxPurposeCode = {
789
+ PurposeCodeId: number;
790
+ Code: string;
791
+ Description: string;
792
+ };
793
+ type MinimaxLeanReceivedInvoice = {
794
+ ReceivedInvoiceId: number;
795
+ Year: number;
796
+ InvoiceNumber: number;
797
+ DocumentNumbering: MinimaxReference;
798
+ DocumentReference: string;
799
+ Customer: MinimaxReference;
800
+ Analytic: MinimaxReference;
801
+ Currency: MinimaxReference;
802
+ DateIssued: string;
803
+ DateTransaction: string;
804
+ DateDue: string;
805
+ DateReceived: string;
806
+ InvoiceAmount: number;
807
+ Status: string;
808
+ PaymentStatus: string;
809
+ InvoiceValue: number;
810
+ PaidValue: number;
811
+ RecordDtModified: string;
812
+ RowVersion: string;
813
+ };
814
+ type MinimaxReceivedInvoiceAttachment = {
815
+ AttachmentId: number;
816
+ AttachmentData: string;
817
+ AttachmentDate: string;
818
+ AttachmentFileName: string;
819
+ AttachmentMimeType: string;
820
+ };
821
+ type MinimaxReceivedInvoice = MinimaxLeanReceivedInvoice & {
822
+ Employee: MinimaxReference;
823
+ InvoiceAmountDomesticCurrency: number;
824
+ BankAccount: MinimaxReference;
825
+ PaymentReferenceType: string;
826
+ PaymentReferenceModel: string;
827
+ PaymentReferenceNumber: string;
828
+ Notes: string;
829
+ PaymentType: string;
830
+ RevenueExpense: MinimaxReference;
831
+ CashRegister: MinimaxReference;
832
+ DateExpense: string;
833
+ RecurringInvoice: string;
834
+ };
835
+ type MinimaxReportTemplate = {
836
+ ReportTemplateId: number;
837
+ Name: string;
838
+ DisplayType: string;
839
+ Default: string;
840
+ RecordDtModified: string;
841
+ RowVersion: string;
842
+ };
843
+ type MinimaxStock = {
844
+ Item: MinimaxReference;
845
+ ItemName: string;
846
+ ItemCode: string;
847
+ ItemEANCode: string;
848
+ UnitOfMeasurement: string;
849
+ AveragePurchasePrice: number;
850
+ SellingPrice: number;
851
+ Quantity: number;
852
+ Value: number;
853
+ BatchNumber: string;
854
+ Currency: MinimaxReference;
855
+ };
856
+ type MinimaxLeanStockEntry = {
857
+ StockEntryId: number;
858
+ StockEntryType: string;
859
+ StockEntrySubtype: string;
860
+ Date: string;
861
+ Number: number;
862
+ Customer: MinimaxReference;
863
+ Analytic: MinimaxReference;
864
+ Status: string;
865
+ };
866
+ type MinimaxStockEntryRow = {
867
+ StockEntryRowId: number;
868
+ StockEntry: MinimaxReference;
869
+ RowNumber: number;
870
+ Item: MinimaxReference;
871
+ ItemName: string;
872
+ WarehouseFrom: MinimaxReference;
873
+ WarehouseTo: MinimaxReference;
874
+ Quantity: number;
875
+ Price: number;
876
+ DiscountPercent: number;
877
+ LinkedStockEntryRow: MinimaxReference;
878
+ MarginPercent: number;
879
+ SellingPrice: number;
880
+ SellingPriceIncludesVAT: string;
881
+ Value: number;
882
+ SerialNumber: string;
883
+ BatchNumber: string;
884
+ Mass: number;
885
+ RecordDtModified: string;
886
+ RowVersion: string;
887
+ };
888
+ type MinimaxStockEntry = MinimaxLeanStockEntry & {
889
+ ReceiptFromFarmer: string;
890
+ Rabate: number;
891
+ Description: string;
892
+ ValueOfMaterialAndGoods: number;
893
+ ValueOfRelatedCosts: number;
894
+ PercentOfDirectCostsOfPurchase: number;
895
+ ValueOfReceipt: number;
896
+ Currency: MinimaxReference;
897
+ ExchangeRate: number;
898
+ OriginalDocumentType: string;
899
+ OriginalDocumentDate: string;
900
+ DeliveryNoteReportTemplate: MinimaxReference;
901
+ DeliveryNoteDescriptionAbove: string;
902
+ DeliveryNoteDescriptionBelow: string;
903
+ AddresseeName: string;
904
+ AddresseeGLN: string;
905
+ AddresseeAddress: string;
906
+ AddresseePostalCode: string;
907
+ AddresseeCity: string;
908
+ AddresseeCountryName: string;
909
+ AddresseeCountry: MinimaxReference;
910
+ RecipientName: string;
911
+ RecipientGLN: string;
912
+ RecipientAddress: string;
913
+ RecipientPostalCode: string;
914
+ RecipientCity: string;
915
+ RecipientCountryName: string;
916
+ RecipientCountry: MinimaxReference;
917
+ Account: MinimaxReference;
918
+ AssociationWithIssuedInvoice: string;
919
+ StockEntryRows: MinimaxStockEntryRow[];
920
+ RecordDtModified: string;
921
+ RowVersion: string;
922
+ };
923
+ type MinimaxUser = {
924
+ UserId: number;
925
+ FullName: string;
926
+ Email: string;
927
+ MobilePhone: string;
928
+ Language: string;
929
+ };
930
+ type MinimaxVatAccountingType = {
931
+ Code: string;
932
+ IssuedRecived: string;
933
+ ValidFrom: string;
934
+ ValidTo: string;
935
+ Name: string;
936
+ };
937
+ type MinimaxVatRate = {
938
+ VatRateId: number;
939
+ Code: string;
940
+ Percent: number;
941
+ VatRatePercentage: MinimaxReference;
942
+ };
943
+ type MinimaxWarehouse = {
944
+ WarehouseId: number;
945
+ Code: string;
946
+ Name: string;
947
+ Location: string;
948
+ InventoryManagement: string;
949
+ InventoryManagementByValue: string;
950
+ SellingPriceInput: string;
951
+ InventoryBookkeping: string;
952
+ StocksAccount: MinimaxReference;
953
+ PDAccount: MinimaxReference;
954
+ VATStandardAccount: MinimaxReference;
955
+ VATReducedAccount: MinimaxReference;
956
+ VATSpecialReducedAccount: MinimaxReference;
957
+ Usage: string;
958
+ RecordDtModified: string;
959
+ RowVersion: string;
960
+ };
961
+ export { MinimaxAccount, MinimaxAddress, MinimaxAnalytic, MinimaxBankAccount, MinimaxContact, MinimaxCountry, MinimaxCurrency, MinimaxLeanCustomer, MinimaxCustomer, MinimaxDashboardData, MinimaxDocument, MinimaxLeanDocument, MinimaxDocumentAttachment, MinimaxLeanDocumentAttachment, MinimaxDocumentNumbering, MinimaxEFaktura, MinimaxEmployee, MinimaxLeanEmployee, MinimaxExchangeRate, MinimaxInbox, MinimaxInboxAttachment, MinimaxIssuedInvoice, MinimaxLeanIssuedInvoice, MinimaxIssuedInvoicePaymentMethod, MinimaxIssuedInvoiceRow, MinimaxIssuedInvoiceAdditionalSourceDocument, MinimaxPaymentMethod, MinimaxIssuedInvoicePosting, MinimaxLeanIssuedInvoicePosting, MinimaxIssuedInvoicePostingPaymentMethod, MinimaxIssuedInvoicePostingTax, MinimaxIssuedInvoicePostingRevenue, MinimaxIssuedInvoicePostingPostingRetail, MinimaxItem, MinimaxLeanItem, MinimaxJournal, MinimaxLeanJournal, MinimaxJournalEntry, MinimaxJournalVatEntryRow, MinimaxJournalVatEntry, MinimaxJournalType, MinimaxOrder, MinimaxLeanOrder, MinimaxOrderRow, MinimaxOrganisation, MinimaxOutbox, MinimaxOutboxAttachment, MinimaxPayrollSettings, MinimaxPostalCode, MinimaxProductGroup, MinimaxPurposeCode, MinimaxReceivedInvoice, MinimaxLeanReceivedInvoice, MinimaxReceivedInvoiceAttachment, MinimaxReportTemplate, MinimaxStock, MinimaxStockEntry, MinimaxLeanStockEntry, MinimaxStockEntryRow, MinimaxUser, MinimaxVatAccountingType, MinimaxVatRate, MinimaxWarehouse, MinimaxReference, MinimaxSearchParams, MinimaxSearchResult, MinimaxSyncReference, MinimaxSyncSearchParams, };