@orchesty/connector-wflow 2.0.1 → 2.0.2

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 (134) hide show
  1. package/dist/Batch/WflowSubscribeWebhookBatch.d.ts +7 -0
  2. package/dist/Batch/WflowSubscribeWebhookBatch.js +57 -0
  3. package/dist/Batch/WflowUnsubscribeWebhookBatch.d.ts +7 -0
  4. package/dist/Batch/WflowUnsubscribeWebhookBatch.js +47 -0
  5. package/{src/Connector/WflowGetDocumentConnector.ts → dist/Connector/WflowGetDocumentConnector.d.ts} +4 -34
  6. package/dist/Connector/WflowGetDocumentConnector.js +24 -0
  7. package/dist/Connector/WflowGetDocumentMainFileConnector.d.ts +13 -0
  8. package/dist/Connector/WflowGetDocumentMainFileConnector.js +25 -0
  9. package/dist/Connector/WflowGetDocumentTypesConnector.d.ts +36 -0
  10. package/dist/Connector/WflowGetDocumentTypesConnector.js +28 -0
  11. package/dist/Connector/WflowGetOrganizationsConnector.d.ts +15 -0
  12. package/dist/Connector/WflowGetOrganizationsConnector.js +27 -0
  13. package/dist/Connector/WflowPatchAccountingRulesConnector.d.ts +17 -0
  14. package/dist/Connector/WflowPatchAccountingRulesConnector.js +24 -0
  15. package/dist/Connector/WflowPatchChartOfAccountsConnector.d.ts +15 -0
  16. package/dist/Connector/WflowPatchChartOfAccountsConnector.js +24 -0
  17. package/dist/Connector/WflowPatchContractsConnector.d.ts +15 -0
  18. package/dist/Connector/WflowPatchContractsConnector.js +24 -0
  19. package/dist/Connector/WflowPatchCostCentersConnector.d.ts +15 -0
  20. package/dist/Connector/WflowPatchCostCentersConnector.js +24 -0
  21. package/dist/Connector/WflowPatchSeriesConnector.d.ts +19 -0
  22. package/dist/Connector/WflowPatchSeriesConnector.js +24 -0
  23. package/dist/Connector/WflowPatchVatControlStatementLinesConnector.d.ts +15 -0
  24. package/dist/Connector/WflowPatchVatControlStatementLinesConnector.js +24 -0
  25. package/dist/Connector/WflowPatchVatReturnLinesConnector.d.ts +16 -0
  26. package/dist/Connector/WflowPatchVatReturnLinesConnector.js +24 -0
  27. package/{src/Connector/WflowPutDocumentConnector.ts → dist/Connector/WflowPutDocumentConnector.d.ts} +5 -37
  28. package/dist/Connector/WflowPutDocumentConnector.js +31 -0
  29. package/dist/Connector/WflowUpdateDocumentStateConnector.d.ts +11 -0
  30. package/dist/Connector/WflowUpdateDocumentStateConnector.js +24 -0
  31. package/dist/WflowApplication.d.ts +41 -0
  32. package/dist/WflowApplication.js +133 -0
  33. package/dist/package.json +26 -0
  34. package/package.json +4 -1
  35. package/CHANGELOG.md +0 -49
  36. package/jest.config.js +0 -13
  37. package/src/Batch/WflowSubscribeWebhookBatch.ts +0 -84
  38. package/src/Batch/WflowUnsubscribeWebhookBatch.ts +0 -59
  39. package/src/Batch/__tests__/Data/WflowSubscribeWebhookBatch/input.json +0 -7
  40. package/src/Batch/__tests__/Data/WflowSubscribeWebhookBatch/mock.json +0 -5
  41. package/src/Batch/__tests__/Data/WflowSubscribeWebhookBatch/output.json +0 -7
  42. package/src/Batch/__tests__/Data/WflowUnsubscribeWebhookBatch/input.json +0 -7
  43. package/src/Batch/__tests__/Data/WflowUnsubscribeWebhookBatch/mock.json +0 -5
  44. package/src/Batch/__tests__/Data/WflowUnsubscribeWebhookBatch/output.json +0 -7
  45. package/src/Batch/__tests__/WflowSubscribeWebhookBatch.ts +0 -17
  46. package/src/Batch/__tests__/WflowUnsubscribeWebhookBatch.ts +0 -17
  47. package/src/Connector/WflowGetDocumentMainFileConnector.ts +0 -40
  48. package/src/Connector/WflowGetDocumentTypesConnector.ts +0 -69
  49. package/src/Connector/WflowGetOrganizationsConnector.ts +0 -40
  50. package/src/Connector/WflowPatchAccountingRulesConnector.ts +0 -53
  51. package/src/Connector/WflowPatchChartOfAccountsConnector.ts +0 -42
  52. package/src/Connector/WflowPatchContractsConnector.ts +0 -42
  53. package/src/Connector/WflowPatchCostCentersConnector.ts +0 -42
  54. package/src/Connector/WflowPatchSeriesConnector.ts +0 -61
  55. package/src/Connector/WflowPatchVatControlStatementLinesConnector.ts +0 -42
  56. package/src/Connector/WflowPatchVatReturnLinesConnector.ts +0 -43
  57. package/src/Connector/WflowUpdateDocumentStateConnector.ts +0 -36
  58. package/src/Connector/__tests__/Data/WflowGetDocumentConnector/input.json +0 -10
  59. package/src/Connector/__tests__/Data/WflowGetDocumentConnector/mock.json +0 -449
  60. package/src/Connector/__tests__/Data/WflowGetDocumentConnector/output.json +0 -451
  61. package/src/Connector/__tests__/Data/WflowGetDocumentMainFileConnector/input.json +0 -9
  62. package/src/Connector/__tests__/Data/WflowGetDocumentMainFileConnector/mock.json +0 -5
  63. package/src/Connector/__tests__/Data/WflowGetDocumentMainFileConnector/output.json +0 -9
  64. package/src/Connector/__tests__/Data/WflowGetDocumentTypesConnector/input.json +0 -7
  65. package/src/Connector/__tests__/Data/WflowGetDocumentTypesConnector/mock.json +0 -32
  66. package/src/Connector/__tests__/Data/WflowGetDocumentTypesConnector/output.json +0 -29
  67. package/src/Connector/__tests__/Data/WflowGetOrganizationsConnector/input.json +0 -7
  68. package/src/Connector/__tests__/Data/WflowGetOrganizationsConnector/mock.json +0 -12
  69. package/src/Connector/__tests__/Data/WflowGetOrganizationsConnector/output.json +0 -14
  70. package/src/Connector/__tests__/Data/WflowPatchAccountingRulesConnector/batch-input.json +0 -20
  71. package/src/Connector/__tests__/Data/WflowPatchAccountingRulesConnector/batch-mock.json +0 -5
  72. package/src/Connector/__tests__/Data/WflowPatchAccountingRulesConnector/batch-output.json +0 -20
  73. package/src/Connector/__tests__/Data/WflowPatchAccountingRulesConnector/input.json +0 -12
  74. package/src/Connector/__tests__/Data/WflowPatchAccountingRulesConnector/mock.json +0 -5
  75. package/src/Connector/__tests__/Data/WflowPatchAccountingRulesConnector/output.json +0 -12
  76. package/src/Connector/__tests__/Data/WflowPatchChartOfAccountsConnector/batch-input.json +0 -18
  77. package/src/Connector/__tests__/Data/WflowPatchChartOfAccountsConnector/batch-mock.json +0 -5
  78. package/src/Connector/__tests__/Data/WflowPatchChartOfAccountsConnector/batch-output.json +0 -18
  79. package/src/Connector/__tests__/Data/WflowPatchChartOfAccountsConnector/input.json +0 -11
  80. package/src/Connector/__tests__/Data/WflowPatchChartOfAccountsConnector/mock.json +0 -5
  81. package/src/Connector/__tests__/Data/WflowPatchChartOfAccountsConnector/output.json +0 -11
  82. package/src/Connector/__tests__/Data/WflowPatchContractsConnector/batch-input.json +0 -18
  83. package/src/Connector/__tests__/Data/WflowPatchContractsConnector/batch-mock.json +0 -5
  84. package/src/Connector/__tests__/Data/WflowPatchContractsConnector/batch-output.json +0 -18
  85. package/src/Connector/__tests__/Data/WflowPatchContractsConnector/input.json +0 -11
  86. package/src/Connector/__tests__/Data/WflowPatchContractsConnector/mock.json +0 -5
  87. package/src/Connector/__tests__/Data/WflowPatchContractsConnector/output.json +0 -11
  88. package/src/Connector/__tests__/Data/WflowPatchCostCentersConnector/batch-input.json +0 -18
  89. package/src/Connector/__tests__/Data/WflowPatchCostCentersConnector/batch-mock.json +0 -5
  90. package/src/Connector/__tests__/Data/WflowPatchCostCentersConnector/batch-output.json +0 -18
  91. package/src/Connector/__tests__/Data/WflowPatchCostCentersConnector/input.json +0 -11
  92. package/src/Connector/__tests__/Data/WflowPatchCostCentersConnector/mock.json +0 -5
  93. package/src/Connector/__tests__/Data/WflowPatchCostCentersConnector/output.json +0 -11
  94. package/src/Connector/__tests__/Data/WflowPatchSeriesConnector/batch-input.json +0 -20
  95. package/src/Connector/__tests__/Data/WflowPatchSeriesConnector/batch-mock.json +0 -5
  96. package/src/Connector/__tests__/Data/WflowPatchSeriesConnector/batch-output.json +0 -20
  97. package/src/Connector/__tests__/Data/WflowPatchSeriesConnector/input.json +0 -12
  98. package/src/Connector/__tests__/Data/WflowPatchSeriesConnector/mock.json +0 -5
  99. package/src/Connector/__tests__/Data/WflowPatchSeriesConnector/output.json +0 -12
  100. package/src/Connector/__tests__/Data/WflowPatchVatControlStatementLinesConnector/batch-input.json +0 -18
  101. package/src/Connector/__tests__/Data/WflowPatchVatControlStatementLinesConnector/batch-mock.json +0 -5
  102. package/src/Connector/__tests__/Data/WflowPatchVatControlStatementLinesConnector/batch-output.json +0 -18
  103. package/src/Connector/__tests__/Data/WflowPatchVatControlStatementLinesConnector/input.json +0 -11
  104. package/src/Connector/__tests__/Data/WflowPatchVatControlStatementLinesConnector/mock.json +0 -5
  105. package/src/Connector/__tests__/Data/WflowPatchVatControlStatementLinesConnector/output.json +0 -11
  106. package/src/Connector/__tests__/Data/WflowPatchVatReturnLinesConnector/batch-input.json +0 -20
  107. package/src/Connector/__tests__/Data/WflowPatchVatReturnLinesConnector/batch-mock.json +0 -5
  108. package/src/Connector/__tests__/Data/WflowPatchVatReturnLinesConnector/batch-output.json +0 -20
  109. package/src/Connector/__tests__/Data/WflowPatchVatReturnLinesConnector/input.json +0 -12
  110. package/src/Connector/__tests__/Data/WflowPatchVatReturnLinesConnector/mock.json +0 -5
  111. package/src/Connector/__tests__/Data/WflowPatchVatReturnLinesConnector/output.json +0 -12
  112. package/src/Connector/__tests__/Data/WflowPutDocumentConnector/input.json +0 -10
  113. package/src/Connector/__tests__/Data/WflowPutDocumentConnector/mock.json +0 -5
  114. package/src/Connector/__tests__/Data/WflowPutDocumentConnector/output.json +0 -10
  115. package/src/Connector/__tests__/Data/WflowUpdateDocumentState/input.json +0 -9
  116. package/src/Connector/__tests__/Data/WflowUpdateDocumentState/mock.json +0 -5
  117. package/src/Connector/__tests__/Data/WflowUpdateDocumentState/output.json +0 -9
  118. package/src/Connector/__tests__/WflowGetDocumentConnector.ts +0 -17
  119. package/src/Connector/__tests__/WflowGetDocumentMainFileConnector.ts +0 -17
  120. package/src/Connector/__tests__/WflowGetDocumentTypesConnector.ts +0 -17
  121. package/src/Connector/__tests__/WflowGetOrganizationsConnector.ts +0 -17
  122. package/src/Connector/__tests__/WflowPatchAccountingRulesConnector.ts +0 -21
  123. package/src/Connector/__tests__/WflowPatchChartOfAccountsConnector.ts +0 -21
  124. package/src/Connector/__tests__/WflowPatchContractsConnector.ts +0 -21
  125. package/src/Connector/__tests__/WflowPatchCostCentersConnector.ts +0 -21
  126. package/src/Connector/__tests__/WflowPatchSeriesConnector.ts +0 -21
  127. package/src/Connector/__tests__/WflowPatchVatControlStatementLinesConnector.ts +0 -21
  128. package/src/Connector/__tests__/WflowPatchVatReturnLinesConnector.ts +0 -21
  129. package/src/Connector/__tests__/WflowPutDocumentConnector.ts +0 -17
  130. package/src/Connector/__tests__/WflowUpdateDocumentState.ts +0 -17
  131. package/src/WflowApplication.ts +0 -151
  132. package/test/dataProvider.ts +0 -74
  133. package/tsconfig.json +0 -9
  134. package/tsconfig.prod.json +0 -10
@@ -1,451 +0,0 @@
1
- {
2
- "headers": {
3
- "user": "TestUser",
4
- "sdk": "TestSdk"
5
- },
6
- "data": {
7
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
8
- "serie": {
9
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
10
- "externalId": "string",
11
- "code": "string",
12
- "description": "string",
13
- "isValid": true,
14
- "kind": "IncomingInvoice",
15
- "invoiceType": "TaxInvoice"
16
- },
17
- "number": "string",
18
- "internalCode": "string",
19
- "vatDocumentCode": "string",
20
- "variableSymbol": "string",
21
- "constantSymbol": "string",
22
- "specificSymbol": "string",
23
- "issueDate": "2019-08-24T14:15:22Z",
24
- "dueDate": "2019-08-24T14:15:22Z",
25
- "vatDate": "2019-08-24T14:15:22Z",
26
- "acceptDate": "2019-08-24T14:15:22Z",
27
- "caseDate": "2019-08-24T14:15:22Z",
28
- "validFrom": "2019-08-24T14:15:22Z",
29
- "validTo": "2019-08-24T14:15:22Z",
30
- "effectiveFrom": "2019-08-24T14:15:22Z",
31
- "effectiveTo": "2019-08-24T14:15:22Z",
32
- "signatureDate": "2019-08-24T14:15:22Z",
33
- "reviewDate": "2019-08-24T14:15:22Z",
34
- "accountTerm": "string",
35
- "vatTerm": "string",
36
- "taxExclusiveAmount": -1.7976931348623157e+308,
37
- "totalAmount": -1.7976931348623157e+308,
38
- "roundingAmount": -1.7976931348623157e+308,
39
- "totalAmountFC": -1.7976931348623157e+308,
40
- "advanceAmount": -1.7976931348623157e+308,
41
- "currency": "string",
42
- "partnerIC": "string",
43
- "partnerVAT": "string",
44
- "partnerLocalVAT": "string",
45
- "partnerName": "string",
46
- "partnerAddress": "string",
47
- "partnerEmail": "string",
48
- "accountNo": "string",
49
- "bankCode": "string",
50
- "iban": "string",
51
- "bic": "string",
52
- "meIC": "string",
53
- "exchangeRate": -1.7976931348623157e+308,
54
- "exchangeRateUnits": -2147483648,
55
- "tag": "string",
56
- "orderNo": "string",
57
- "description": "string",
58
- "contactPersonName": "string",
59
- "contactPersonEmail": "string",
60
- "remainsToDeliverAmount": -1.7976931348623157e+308,
61
- "invoiceType": "TaxInvoice",
62
- "expectedDeliveryDate": "2019-08-24T14:15:22Z",
63
- "accountCode": "string",
64
- "doNotPay": true,
65
- "created": "2019-08-24T14:15:22Z",
66
- "updated": "2019-08-24T14:15:22Z",
67
- "lastAction": "2019-08-24T14:15:22Z",
68
- "removed": "2019-08-24T14:15:22Z",
69
- "locked": true,
70
- "approvalStatus": "NotApproved",
71
- "flowStatus": "New",
72
- "payment": {
73
- "paidAmount": 0,
74
- "paidDate": "2019-08-24T14:15:22Z",
75
- "paymentStatus": "NotPaid",
76
- "paymentOrderAmount": 0,
77
- "paymentOrderStatus": "Requested",
78
- "activePaymentRequestDate": "2019-08-24T14:15:22Z"
79
- },
80
- "dataSource": "ISDOC",
81
- "source": "Email",
82
- "createdBy": "string",
83
- "series": "string",
84
- "type": {
85
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
86
- "name": "string",
87
- "kind": "IncomingInvoice",
88
- "default": true,
89
- "erpExclude": true,
90
- "filesExtendName": true,
91
- "docCreatingMethod": "Upload",
92
- "autoStamp": "None",
93
- "serie": {
94
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
95
- "externalId": "string",
96
- "code": "string",
97
- "description": "string",
98
- "isValid": true,
99
- "kind": "IncomingInvoice",
100
- "invoiceType": "TaxInvoice"
101
- },
102
- "sequence": {
103
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
104
- "entity": "string",
105
- "description": "string",
106
- "fixedPart": "string",
107
- "counter": "string"
108
- },
109
- "invoiceType": "TaxInvoice"
110
- },
111
- "partner": {
112
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
113
- "externalId": "string",
114
- "ic": "string",
115
- "vat": "string",
116
- "name": "string",
117
- "address": "string",
118
- "localVAT": "string",
119
- "note": "string",
120
- "phoneNo": "string",
121
- "mailAddress": "string",
122
- "deliveryPeriod": 0,
123
- "minOrderTotal": 0,
124
- "toleranceRate": 0,
125
- "language": "string",
126
- "isValid": true,
127
- "businessRegisterRegistration": "string",
128
- "customer": true,
129
- "supplier": true
130
- },
131
- "deliveryLocation": {
132
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
133
- "externalId": "string",
134
- "code": "string",
135
- "description": "string",
136
- "isValid": true,
137
- "address": "string",
138
- "contact": "string"
139
- },
140
- "accounting": {
141
- "businessItemCode": "string",
142
- "accountingRule": {
143
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
144
- "externalId": "string",
145
- "code": "string",
146
- "description": "string",
147
- "isValid": true,
148
- "kind": "IncomingInvoice"
149
- },
150
- "activity": {
151
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
152
- "externalId": "string",
153
- "code": "string",
154
- "description": "string",
155
- "isValid": true
156
- },
157
- "businessCase": {
158
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
159
- "externalId": "string",
160
- "code": "string",
161
- "description": "string",
162
- "isValid": true
163
- },
164
- "cardDocumentType": {
165
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
166
- "externalId": "string",
167
- "code": "string",
168
- "description": "string",
169
- "isValid": true
170
- },
171
- "cashDocumentType": {
172
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
173
- "externalId": "string",
174
- "code": "string",
175
- "description": "string",
176
- "isValid": true
177
- },
178
- "cashRegister": {
179
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
180
- "externalId": "string",
181
- "code": "string",
182
- "description": "string",
183
- "isValid": true
184
- },
185
- "contraAccount": {
186
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
187
- "externalId": "string",
188
- "code": "string",
189
- "description": "string",
190
- "isValid": true
191
- },
192
- "contract": {
193
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
194
- "externalId": "string",
195
- "code": "string",
196
- "description": "string",
197
- "isValid": true
198
- },
199
- "costCenter": {
200
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
201
- "externalId": "string",
202
- "code": "string",
203
- "description": "string",
204
- "isValid": true
205
- },
206
- "employee": {
207
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
208
- "externalId": "string",
209
- "code": "string",
210
- "description": "string",
211
- "isValid": true
212
- },
213
- "paymentMethod": {
214
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
215
- "externalId": "string",
216
- "code": "string",
217
- "description": "string",
218
- "isValid": true,
219
- "kind": "IncomingInvoice"
220
- },
221
- "project": {
222
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
223
- "externalId": "string",
224
- "code": "string",
225
- "description": "string",
226
- "isValid": true
227
- },
228
- "vatControlStatementLine": {
229
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
230
- "externalId": "string",
231
- "code": "string",
232
- "description": "string",
233
- "isValid": true
234
- },
235
- "vatReturnLine": {
236
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
237
- "externalId": "string",
238
- "code": "string",
239
- "description": "string",
240
- "isValid": true,
241
- "reverseCharge": true
242
- },
243
- "vatReverseChargeCode": {
244
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
245
- "externalId": "string",
246
- "code": "string",
247
- "description": "string",
248
- "isValid": true
249
- },
250
- "vehicle": {
251
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
252
- "externalId": "string",
253
- "code": "string",
254
- "description": "string",
255
- "isValid": true
256
- },
257
- "vatSupplyModeCode": "Normal",
258
- "vatApplyReductionCoefficient": true,
259
- "vatFixedAssets": true,
260
- "vatMode": "Standard"
261
- },
262
- "vaTs": [
263
- {
264
- "rate": 0,
265
- "type": "Exempt",
266
- "base": 0,
267
- "tax": 0
268
- }
269
- ],
270
- "lines": [
271
- {
272
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
273
- "totalAmount": 0,
274
- "totalAmountFC": 0,
275
- "accountCode": "string",
276
- "currency": "string",
277
- "description": "string",
278
- "quantity": 0,
279
- "unitPrice": 0,
280
- "measureUnit": "string",
281
- "vatType": "Exempt",
282
- "vatRate": 0,
283
- "order": 0,
284
- "approval": {
285
- "level": 0,
286
- "team": {
287
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
288
- "name": "string",
289
- "description": "string",
290
- "system": true
291
- },
292
- "identity": {
293
- "login": "string",
294
- "firstName": "string",
295
- "lastName": "string",
296
- "fullName": "string"
297
- },
298
- "date": "2019-08-24T14:15:22Z",
299
- "status": "NotApproved"
300
- },
301
- "changedAfterApprove": true,
302
- "accounting": {
303
- "businessItemCode": "string",
304
- "accountingRule": {
305
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
306
- "externalId": "string",
307
- "code": "string",
308
- "description": "string",
309
- "isValid": true,
310
- "kind": "IncomingInvoice"
311
- },
312
- "activity": {
313
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
314
- "externalId": "string",
315
- "code": "string",
316
- "description": "string",
317
- "isValid": true
318
- },
319
- "businessCase": {
320
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
321
- "externalId": "string",
322
- "code": "string",
323
- "description": "string",
324
- "isValid": true
325
- },
326
- "cardDocumentType": {
327
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
328
- "externalId": "string",
329
- "code": "string",
330
- "description": "string",
331
- "isValid": true
332
- },
333
- "cashDocumentType": {
334
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
335
- "externalId": "string",
336
- "code": "string",
337
- "description": "string",
338
- "isValid": true
339
- },
340
- "cashRegister": {
341
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
342
- "externalId": "string",
343
- "code": "string",
344
- "description": "string",
345
- "isValid": true
346
- },
347
- "contraAccount": {
348
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
349
- "externalId": "string",
350
- "code": "string",
351
- "description": "string",
352
- "isValid": true
353
- },
354
- "contract": {
355
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
356
- "externalId": "string",
357
- "code": "string",
358
- "description": "string",
359
- "isValid": true
360
- },
361
- "costCenter": {
362
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
363
- "externalId": "string",
364
- "code": "string",
365
- "description": "string",
366
- "isValid": true
367
- },
368
- "employee": {
369
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
370
- "externalId": "string",
371
- "code": "string",
372
- "description": "string",
373
- "isValid": true
374
- },
375
- "paymentMethod": {
376
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
377
- "externalId": "string",
378
- "code": "string",
379
- "description": "string",
380
- "isValid": true,
381
- "kind": "IncomingInvoice"
382
- },
383
- "project": {
384
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
385
- "externalId": "string",
386
- "code": "string",
387
- "description": "string",
388
- "isValid": true
389
- },
390
- "vatControlStatementLine": {
391
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
392
- "externalId": "string",
393
- "code": "string",
394
- "description": "string",
395
- "isValid": true
396
- },
397
- "vatReturnLine": {
398
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
399
- "externalId": "string",
400
- "code": "string",
401
- "description": "string",
402
- "isValid": true,
403
- "reverseCharge": true
404
- },
405
- "vatReverseChargeCode": {
406
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
407
- "externalId": "string",
408
- "code": "string",
409
- "description": "string",
410
- "isValid": true
411
- },
412
- "vehicle": {
413
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
414
- "externalId": "string",
415
- "code": "string",
416
- "description": "string",
417
- "isValid": true
418
- },
419
- "vatSupplyModeCode": "Normal",
420
- "vatApplyReductionCoefficient": true,
421
- "vatFixedAssets": true,
422
- "vatMode": "Standard"
423
- },
424
- "code": "string",
425
- "costCenter": {
426
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
427
- "externalId": "string",
428
- "code": "string",
429
- "description": "string",
430
- "isValid": true
431
- },
432
- "contract": {
433
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
434
- "externalId": "string",
435
- "code": "string",
436
- "description": "string",
437
- "isValid": true
438
- },
439
- "activity": {
440
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
441
- "externalId": "string",
442
- "code": "string",
443
- "description": "string",
444
- "isValid": true
445
- }
446
- }
447
- ],
448
- "transactionId": "75906707-8c31-479c-b354-aa805c4cefbc",
449
- "expenseCardId": "a8fd484a-d41d-4d62-82b9-479b13da2c4c"
450
- }
451
- }
@@ -1,9 +0,0 @@
1
- {
2
- "headers": {
3
- "user": "TestUser",
4
- "sdk": "TestSdk"
5
- },
6
- "data": {
7
- "documentId": "463b5265-2672-4191-9e3b-9d6fcfe6a452"
8
- }
9
- }
@@ -1,5 +0,0 @@
1
- {
2
- "http": "GET https://api.wflow.com/api/test/documents/463b5265-2672-4191-9e3b-9d6fcfe6a452/files/main/download",
3
- "code": 200,
4
- "body": "%PDF-1.1\n1 0 obj\n<< /Type /Catalog /Pages 2 0 R >>\nendobj\n\n2 0 obj\n<< /Type /Pages /Kids [3 0 R] /Count 1 >>\nendobj\n\n3 0 obj\n<< /Type /Page /Parent 2 0 R /Resources << /Font << /F1 4 0 R >> >> /Contents 5 0 R /MediaBox [0 0 595 842] >>\nendobj\n\n4 0 obj\n<< /Type /Font /Subtype /Type1 /BaseFont /Helvetica >>\nendobj\n\n5 0 obj\n<< /Length 40 >>\nstream\nBT /F1 24 Tf 250 409 Td (Example) Tj ET\nendstream\nendobj\n\nxref\n0 6\n0000000000 65535 f \n0000000009 00000 n \n0000000058 00000 n \n0000000116 00000 n \n0000000246 00000 n \n0000000315 00000 n \ntrailer\n<< /Size 6 /Root 1 0 R >>\nstartxref\n403\n%%EOF"
5
- }
@@ -1,9 +0,0 @@
1
- {
2
- "headers": {
3
- "user": "TestUser",
4
- "sdk": "TestSdk"
5
- },
6
- "data": {
7
- "file": "IiVQREYtMS4xXG4xIDAgb2JqXG48PCAvVHlwZSAvQ2F0YWxvZyAvUGFnZXMgMiAwIFIgPj5cbmVuZG9ialxuXG4yIDAgb2JqXG48PCAvVHlwZSAvUGFnZXMgL0tpZHMgWzMgMCBSXSAvQ291bnQgMSA+PlxuZW5kb2JqXG5cbjMgMCBvYmpcbjw8IC9UeXBlIC9QYWdlIC9QYXJlbnQgMiAwIFIgL1Jlc291cmNlcyA8PCAvRm9udCA8PCAvRjEgNCAwIFIgPj4gPj4gL0NvbnRlbnRzIDUgMCBSIC9NZWRpYUJveCBbMCAwIDU5NSA4NDJdID4+XG5lbmRvYmpcblxuNCAwIG9ialxuPDwgL1R5cGUgL0ZvbnQgL1N1YnR5cGUgL1R5cGUxIC9CYXNlRm9udCAvSGVsdmV0aWNhID4+XG5lbmRvYmpcblxuNSAwIG9ialxuPDwgL0xlbmd0aCA0MCA+Plxuc3RyZWFtXG5CVCAvRjEgMjQgVGYgMjUwIDQwOSBUZCAoRXhhbXBsZSkgVGogRVRcbmVuZHN0cmVhbVxuZW5kb2JqXG5cbnhyZWZcbjAgNlxuMDAwMDAwMDAwMCA2NTUzNSBmIFxuMDAwMDAwMDAwOSAwMDAwMCBuIFxuMDAwMDAwMDA1OCAwMDAwMCBuIFxuMDAwMDAwMDExNiAwMDAwMCBuIFxuMDAwMDAwMDI0NiAwMDAwMCBuIFxuMDAwMDAwMDMxNSAwMDAwMCBuIFxudHJhaWxlclxuPDwgL1NpemUgNiAvUm9vdCAxIDAgUiA+Plxuc3RhcnR4cmVmXG40MDNcbiUlRU9GIg=="
8
- }
9
- }
@@ -1,7 +0,0 @@
1
- {
2
- "headers": {
3
- "user": "TestUser",
4
- "sdk": "TestSdk"
5
- },
6
- "data": {}
7
- }
@@ -1,32 +0,0 @@
1
- {
2
- "http": "GET https://api.wflow.com/api/test/documents/types?pageSize=100",
3
- "code": 200,
4
- "body": {
5
- "items": [
6
- {
7
- "erpExclude": false,
8
- "filesExtendName": false,
9
- "docCreatingMethod": "Upload",
10
- "autoStamp": "None",
11
- "id": "One",
12
- "name": "One",
13
- "kind": "IncomingInvoice",
14
- "default": false
15
- },
16
- {
17
- "erpExclude": false,
18
- "filesExtendName": false,
19
- "docCreatingMethod": "Upload",
20
- "autoStamp": "None",
21
- "invoiceType": "TaxInvoice",
22
- "id": "Two",
23
- "name": "Two",
24
- "kind": "IncomingInvoice",
25
- "default": false
26
- }
27
- ],
28
- "totalItems": 2,
29
- "pageSize": 100,
30
- "page": 0
31
- }
32
- }
@@ -1,29 +0,0 @@
1
- {
2
- "headers": {
3
- "user": "TestUser",
4
- "sdk": "TestSdk"
5
- },
6
- "data": [
7
- {
8
- "autoStamp": "None",
9
- "default": false,
10
- "docCreatingMethod": "Upload",
11
- "erpExclude": false,
12
- "filesExtendName": false,
13
- "id": "One",
14
- "kind": "IncomingInvoice",
15
- "name": "One"
16
- },
17
- {
18
- "autoStamp": "None",
19
- "default": false,
20
- "docCreatingMethod": "Upload",
21
- "erpExclude": false,
22
- "filesExtendName": false,
23
- "id": "Two",
24
- "invoiceType": "TaxInvoice",
25
- "kind": "IncomingInvoice",
26
- "name": "Two"
27
- }
28
- ]
29
- }
@@ -1,7 +0,0 @@
1
- {
2
- "headers": {
3
- "user": "TestUser",
4
- "sdk": "TestSdk"
5
- },
6
- "data": {}
7
- }
@@ -1,12 +0,0 @@
1
- {
2
- "http": "GET https://api.wflow.com/api/user/myorganizations",
3
- "code": 200,
4
- "body": [
5
- {
6
- "name": "Test",
7
- "baseURL": "test.wflow.com",
8
- "subdomain": "test",
9
- "trialExpiration": "2026-08-24T14:15:22Z"
10
- }
11
- ]
12
- }
@@ -1,14 +0,0 @@
1
- {
2
- "headers": {
3
- "user": "TestUser",
4
- "sdk": "TestSdk"
5
- },
6
- "data": [
7
- {
8
- "name": "Test",
9
- "baseURL": "test.wflow.com",
10
- "subdomain": "test",
11
- "trialExpiration": "2026-08-24T14:15:22Z"
12
- }
13
- ]
14
- }
@@ -1,20 +0,0 @@
1
- {
2
- "headers": {
3
- "user": "TestUser",
4
- "sdk": "TestSdk"
5
- },
6
- "data": [
7
- {
8
- "code": "AAAA",
9
- "description": "aaaa",
10
- "isValid": true,
11
- "kind": "IncomingInvoice"
12
- },
13
- {
14
- "code": "BBBB",
15
- "description": "bbbb",
16
- "isValid": true,
17
- "kind": "OutgoingInvoice"
18
- }
19
- ]
20
- }
@@ -1,5 +0,0 @@
1
- {
2
- "http": "PATCH https://api.wflow.com/api/test/registers/accountingrules",
3
- "code": 200,
4
- "body": ""
5
- }
@@ -1,20 +0,0 @@
1
- {
2
- "headers": {
3
- "user": "TestUser",
4
- "sdk": "TestSdk"
5
- },
6
- "data": [
7
- {
8
- "code": "AAAA",
9
- "description": "aaaa",
10
- "isValid": true,
11
- "kind": "IncomingInvoice"
12
- },
13
- {
14
- "code": "BBBB",
15
- "description": "bbbb",
16
- "isValid": true,
17
- "kind": "OutgoingInvoice"
18
- }
19
- ]
20
- }
@@ -1,12 +0,0 @@
1
- {
2
- "headers": {
3
- "user": "TestUser",
4
- "sdk": "TestSdk"
5
- },
6
- "data": {
7
- "code": "AAAA",
8
- "description": "aaaa",
9
- "isValid": true,
10
- "kind": "IncomingInvoice"
11
- }
12
- }
@@ -1,5 +0,0 @@
1
- {
2
- "http": "PATCH https://api.wflow.com/api/test/registers/accountingrules",
3
- "code": 200,
4
- "body": ""
5
- }