@activepieces/piece-bexio 0.1.5 → 0.1.6

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 (145) hide show
  1. package/package.json +7 -14
  2. package/src/index.js +13 -91
  3. package/src/index.d.ts +0 -2
  4. package/src/index.d.ts.map +0 -1
  5. package/src/index.js.map +0 -1
  6. package/src/lib/actions/create-company.d.ts +0 -28
  7. package/src/lib/actions/create-company.d.ts.map +0 -1
  8. package/src/lib/actions/create-company.js +0 -459
  9. package/src/lib/actions/create-company.js.map +0 -1
  10. package/src/lib/actions/create-file.d.ts +0 -4
  11. package/src/lib/actions/create-file.d.ts.map +0 -1
  12. package/src/lib/actions/create-file.js +0 -46
  13. package/src/lib/actions/create-file.js.map +0 -1
  14. package/src/lib/actions/create-manual-entry.d.ts +0 -7
  15. package/src/lib/actions/create-manual-entry.d.ts.map +0 -1
  16. package/src/lib/actions/create-manual-entry.js +0 -424
  17. package/src/lib/actions/create-manual-entry.js.map +0 -1
  18. package/src/lib/actions/create-person.d.ts +0 -30
  19. package/src/lib/actions/create-person.d.ts.map +0 -1
  20. package/src/lib/actions/create-person.js +0 -475
  21. package/src/lib/actions/create-person.js.map +0 -1
  22. package/src/lib/actions/create-product.d.ts +0 -34
  23. package/src/lib/actions/create-product.d.ts.map +0 -1
  24. package/src/lib/actions/create-product.js +0 -525
  25. package/src/lib/actions/create-product.js.map +0 -1
  26. package/src/lib/actions/create-project.d.ts +0 -17
  27. package/src/lib/actions/create-project.d.ts.map +0 -1
  28. package/src/lib/actions/create-project.js +0 -314
  29. package/src/lib/actions/create-project.js.map +0 -1
  30. package/src/lib/actions/create-sales-invoice.d.ts +0 -25
  31. package/src/lib/actions/create-sales-invoice.d.ts.map +0 -1
  32. package/src/lib/actions/create-sales-invoice.js +0 -613
  33. package/src/lib/actions/create-sales-invoice.js.map +0 -1
  34. package/src/lib/actions/create-sales-order.d.ts +0 -25
  35. package/src/lib/actions/create-sales-order.d.ts.map +0 -1
  36. package/src/lib/actions/create-sales-order.js +0 -640
  37. package/src/lib/actions/create-sales-order.js.map +0 -1
  38. package/src/lib/actions/create-sales-quote.d.ts +0 -28
  39. package/src/lib/actions/create-sales-quote.d.ts.map +0 -1
  40. package/src/lib/actions/create-sales-quote.js +0 -664
  41. package/src/lib/actions/create-sales-quote.js.map +0 -1
  42. package/src/lib/actions/create-time-tracking.d.ts +0 -17
  43. package/src/lib/actions/create-time-tracking.d.ts.map +0 -1
  44. package/src/lib/actions/create-time-tracking.js +0 -378
  45. package/src/lib/actions/create-time-tracking.js.map +0 -1
  46. package/src/lib/actions/export-invoice-pdf.d.ts +0 -5
  47. package/src/lib/actions/export-invoice-pdf.d.ts.map +0 -1
  48. package/src/lib/actions/export-invoice-pdf.js +0 -92
  49. package/src/lib/actions/export-invoice-pdf.js.map +0 -1
  50. package/src/lib/actions/find-account.d.ts +0 -6
  51. package/src/lib/actions/find-account.d.ts.map +0 -1
  52. package/src/lib/actions/find-account.js +0 -105
  53. package/src/lib/actions/find-account.js.map +0 -1
  54. package/src/lib/actions/find-company.d.ts +0 -8
  55. package/src/lib/actions/find-company.d.ts.map +0 -1
  56. package/src/lib/actions/find-company.js +0 -158
  57. package/src/lib/actions/find-company.js.map +0 -1
  58. package/src/lib/actions/find-country.d.ts +0 -7
  59. package/src/lib/actions/find-country.d.ts.map +0 -1
  60. package/src/lib/actions/find-country.js +0 -123
  61. package/src/lib/actions/find-country.js.map +0 -1
  62. package/src/lib/actions/find-person.d.ts +0 -9
  63. package/src/lib/actions/find-person.d.ts.map +0 -1
  64. package/src/lib/actions/find-person.js +0 -173
  65. package/src/lib/actions/find-person.js.map +0 -1
  66. package/src/lib/actions/find-product.d.ts +0 -7
  67. package/src/lib/actions/find-product.d.ts.map +0 -1
  68. package/src/lib/actions/find-product.js +0 -122
  69. package/src/lib/actions/find-product.js.map +0 -1
  70. package/src/lib/actions/search-invoice.d.ts +0 -7
  71. package/src/lib/actions/search-invoice.d.ts.map +0 -1
  72. package/src/lib/actions/search-invoice.js +0 -138
  73. package/src/lib/actions/search-invoice.js.map +0 -1
  74. package/src/lib/actions/search-order.d.ts +0 -7
  75. package/src/lib/actions/search-order.d.ts.map +0 -1
  76. package/src/lib/actions/search-order.js +0 -137
  77. package/src/lib/actions/search-order.js.map +0 -1
  78. package/src/lib/actions/search-quote.d.ts +0 -7
  79. package/src/lib/actions/search-quote.d.ts.map +0 -1
  80. package/src/lib/actions/search-quote.js +0 -138
  81. package/src/lib/actions/search-quote.js.map +0 -1
  82. package/src/lib/actions/send-sales-invoice.d.ts +0 -9
  83. package/src/lib/actions/send-sales-invoice.d.ts.map +0 -1
  84. package/src/lib/actions/send-sales-invoice.js +0 -108
  85. package/src/lib/actions/send-sales-invoice.js.map +0 -1
  86. package/src/lib/actions/update-company.d.ts +0 -29
  87. package/src/lib/actions/update-company.d.ts.map +0 -1
  88. package/src/lib/actions/update-company.js +0 -504
  89. package/src/lib/actions/update-company.js.map +0 -1
  90. package/src/lib/actions/update-person.d.ts +0 -31
  91. package/src/lib/actions/update-person.d.ts.map +0 -1
  92. package/src/lib/actions/update-person.js +0 -522
  93. package/src/lib/actions/update-person.js.map +0 -1
  94. package/src/lib/actions/update-product.d.ts +0 -34
  95. package/src/lib/actions/update-product.d.ts.map +0 -1
  96. package/src/lib/actions/update-product.js +0 -554
  97. package/src/lib/actions/update-product.js.map +0 -1
  98. package/src/lib/auth.d.ts +0 -2
  99. package/src/lib/auth.d.ts.map +0 -1
  100. package/src/lib/auth.js +0 -49
  101. package/src/lib/auth.js.map +0 -1
  102. package/src/lib/common/client.d.ts +0 -13
  103. package/src/lib/common/client.d.ts.map +0 -1
  104. package/src/lib/common/client.js +0 -62
  105. package/src/lib/common/client.js.map +0 -1
  106. package/src/lib/common/index.d.ts +0 -5
  107. package/src/lib/common/index.d.ts.map +0 -1
  108. package/src/lib/common/index.js +0 -8
  109. package/src/lib/common/index.js.map +0 -1
  110. package/src/lib/common/props.d.ts +0 -14
  111. package/src/lib/common/props.d.ts.map +0 -1
  112. package/src/lib/common/props.js +0 -116
  113. package/src/lib/common/props.js.map +0 -1
  114. package/src/lib/common/types.d.ts +0 -89
  115. package/src/lib/common/types.d.ts.map +0 -1
  116. package/src/lib/common/types.js +0 -4
  117. package/src/lib/common/types.js.map +0 -1
  118. package/src/lib/triggers/new-order.d.ts +0 -11
  119. package/src/lib/triggers/new-order.d.ts.map +0 -1
  120. package/src/lib/triggers/new-order.js +0 -150
  121. package/src/lib/triggers/new-order.js.map +0 -1
  122. package/src/lib/triggers/new-product.d.ts +0 -3
  123. package/src/lib/triggers/new-product.d.ts.map +0 -1
  124. package/src/lib/triggers/new-product.js +0 -109
  125. package/src/lib/triggers/new-product.js.map +0 -1
  126. package/src/lib/triggers/new-project.d.ts +0 -11
  127. package/src/lib/triggers/new-project.d.ts.map +0 -1
  128. package/src/lib/triggers/new-project.js +0 -139
  129. package/src/lib/triggers/new-project.js.map +0 -1
  130. package/src/lib/triggers/new-quote.d.ts +0 -11
  131. package/src/lib/triggers/new-quote.d.ts.map +0 -1
  132. package/src/lib/triggers/new-quote.js +0 -151
  133. package/src/lib/triggers/new-quote.js.map +0 -1
  134. package/src/lib/triggers/new-sales-invoice.d.ts +0 -11
  135. package/src/lib/triggers/new-sales-invoice.d.ts.map +0 -1
  136. package/src/lib/triggers/new-sales-invoice.js +0 -151
  137. package/src/lib/triggers/new-sales-invoice.js.map +0 -1
  138. package/src/lib/triggers/new-updated-company.d.ts +0 -3
  139. package/src/lib/triggers/new-updated-company.d.ts.map +0 -1
  140. package/src/lib/triggers/new-updated-company.js +0 -120
  141. package/src/lib/triggers/new-updated-company.js.map +0 -1
  142. package/src/lib/triggers/new-updated-person.d.ts +0 -3
  143. package/src/lib/triggers/new-updated-person.d.ts.map +0 -1
  144. package/src/lib/triggers/new-updated-person.js +0 -120
  145. package/src/lib/triggers/new-updated-person.js.map +0 -1
@@ -1,424 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.createManualEntryAction = void 0;
4
- const tslib_1 = require("tslib");
5
- const pieces_framework_1 = require("@activepieces/pieces-framework");
6
- const auth_1 = require("../auth");
7
- const client_1 = require("../common/client");
8
- exports.createManualEntryAction = (0, pieces_framework_1.createAction)({
9
- auth: auth_1.bexioAuth,
10
- name: 'create_manual_entry',
11
- displayName: 'Create Manual Entry',
12
- description: 'Create a manual accounting entry (single, compound, or group)',
13
- audience: 'both',
14
- aiMetadata: { description: 'Books a manual accounting entry in Bexio in one of three modes: a single debit/credit line, a compound entry distributing a total across several accounts, or a group of multiple complete bookings sharing one reference. Use to post journal entries directly to the ledger; requires a booking date and the entry lines for the chosen mode (account ids resolvable via Find Account). Not idempotent: each call posts new ledger bookings.', idempotent: false },
15
- props: {
16
- type: pieces_framework_1.Property.StaticDropdown({
17
- displayName: 'Entry Type',
18
- description: 'Choose the type of manual entry',
19
- required: true,
20
- defaultValue: 'manual_single_entry',
21
- options: {
22
- disabled: false,
23
- options: [
24
- {
25
- label: 'Single Entry - Simple one-line booking',
26
- value: 'manual_single_entry',
27
- },
28
- {
29
- label: 'Compound Entry - Total distributed across multiple accounts',
30
- value: 'manual_compound_entry',
31
- },
32
- {
33
- label: 'Group Entry - Multiple separate bookings with same reference',
34
- value: 'manual_group_entry',
35
- },
36
- ],
37
- },
38
- }),
39
- date: pieces_framework_1.Property.ShortText({
40
- displayName: 'Booking Date',
41
- description: 'Date of the booking (YYYY-MM-DD)',
42
- required: true,
43
- }),
44
- reference_nr: pieces_framework_1.Property.ShortText({
45
- displayName: 'Reference Number',
46
- description: 'Reference number for the booking',
47
- required: false,
48
- }),
49
- entryFields: pieces_framework_1.Property.DynamicProperties({
50
- auth: auth_1.bexioAuth,
51
- displayName: 'Entry Details',
52
- description: 'Configure the entry details based on selected type',
53
- required: true,
54
- refreshers: ['type', 'auth'],
55
- props: (_a, ctx_1) => tslib_1.__awaiter(void 0, [_a, ctx_1], void 0, function* ({ type, auth }, ctx) {
56
- const entryType = type || 'manual_single_entry';
57
- let accounts = [];
58
- let taxes = [];
59
- let currencies = [];
60
- if (auth) {
61
- try {
62
- const client = new client_1.BexioClient(auth);
63
- accounts = yield client.get('/accounts');
64
- taxes = yield client.get('/taxes');
65
- currencies = yield client.get('/3.0/currencies');
66
- }
67
- catch (error) {
68
- console.warn('Failed to fetch accounts/taxes/currencies:', error);
69
- }
70
- }
71
- const accountOptions = accounts.map((acc) => ({
72
- label: `${acc.account_no} - ${acc.name}`,
73
- value: acc.id,
74
- }));
75
- const taxOptions = taxes.map((tax) => ({
76
- label: `${tax.name} (${tax.percentage}%)`,
77
- value: tax.id,
78
- }));
79
- const currencyOptions = currencies.map((curr) => ({
80
- label: curr.name,
81
- value: curr.id,
82
- }));
83
- if (entryType === 'manual_single_entry') {
84
- return {
85
- debit_account: accountOptions.length > 0
86
- ? pieces_framework_1.Property.StaticDropdown({
87
- displayName: 'Debit Account',
88
- description: 'The account to debit',
89
- required: true,
90
- options: {
91
- disabled: false,
92
- options: accountOptions,
93
- },
94
- })
95
- : pieces_framework_1.Property.Number({
96
- displayName: 'Debit Account ID',
97
- description: 'The account ID to debit',
98
- required: true,
99
- }),
100
- credit_account: accountOptions.length > 0
101
- ? pieces_framework_1.Property.StaticDropdown({
102
- displayName: 'Credit Account',
103
- description: 'The account to credit',
104
- required: true,
105
- options: {
106
- disabled: false,
107
- options: accountOptions,
108
- },
109
- })
110
- : pieces_framework_1.Property.Number({
111
- displayName: 'Credit Account ID',
112
- description: 'The account ID to credit',
113
- required: true,
114
- }),
115
- amount: pieces_framework_1.Property.Number({
116
- displayName: 'Amount',
117
- description: 'The transaction amount',
118
- required: true,
119
- }),
120
- description: pieces_framework_1.Property.ShortText({
121
- displayName: 'Description',
122
- description: 'Description of the transaction',
123
- required: false,
124
- }),
125
- tax_id: taxOptions.length > 0
126
- ? pieces_framework_1.Property.StaticDropdown({
127
- displayName: 'Tax',
128
- description: 'Tax rate (optional)',
129
- required: false,
130
- options: {
131
- disabled: false,
132
- options: taxOptions,
133
- },
134
- })
135
- : pieces_framework_1.Property.Number({
136
- displayName: 'Tax ID',
137
- description: 'Tax ID (optional)',
138
- required: false,
139
- }),
140
- tax_account: accountOptions.length > 0
141
- ? pieces_framework_1.Property.StaticDropdown({
142
- displayName: 'Tax Account',
143
- description: 'Account for tax calculation',
144
- required: false,
145
- options: {
146
- disabled: false,
147
- options: accountOptions,
148
- },
149
- })
150
- : pieces_framework_1.Property.Number({
151
- displayName: 'Tax Account ID',
152
- description: 'Account ID for tax calculation',
153
- required: false,
154
- }),
155
- currency_id: currencyOptions.length > 0
156
- ? pieces_framework_1.Property.StaticDropdown({
157
- displayName: 'Currency',
158
- description: 'Currency (optional)',
159
- required: false,
160
- options: {
161
- disabled: false,
162
- options: currencyOptions,
163
- },
164
- })
165
- : pieces_framework_1.Property.Number({
166
- displayName: 'Currency ID',
167
- description: 'Currency ID (optional)',
168
- required: false,
169
- }),
170
- currency_factor: pieces_framework_1.Property.Number({
171
- displayName: 'Currency Factor',
172
- description: 'Exchange rate factor (defaults to 1)',
173
- required: false,
174
- }),
175
- helper_info: pieces_framework_1.Property.MarkDown({
176
- value: '',
177
- }),
178
- entries: pieces_framework_1.Property.Array({
179
- displayName: 'Entries',
180
- description: 'Not used for single entries',
181
- required: false,
182
- properties: {},
183
- }),
184
- };
185
- }
186
- else {
187
- const isCompound = entryType === 'manual_compound_entry';
188
- return {
189
- debit_account: pieces_framework_1.Property.Number({
190
- displayName: 'Debit Account',
191
- description: 'Not used for compound/group entries',
192
- required: false,
193
- }),
194
- credit_account: pieces_framework_1.Property.Number({
195
- displayName: 'Credit Account',
196
- description: 'Not used for compound/group entries',
197
- required: false,
198
- }),
199
- amount: pieces_framework_1.Property.Number({
200
- displayName: 'Amount',
201
- description: 'Not used for compound/group entries',
202
- required: false,
203
- }),
204
- description: pieces_framework_1.Property.ShortText({
205
- displayName: 'Description',
206
- description: 'Not used for compound/group entries',
207
- required: false,
208
- }),
209
- tax_id: pieces_framework_1.Property.Number({
210
- displayName: 'Tax ID',
211
- description: 'Not used for compound/group entries',
212
- required: false,
213
- }),
214
- tax_account: pieces_framework_1.Property.Number({
215
- displayName: 'Tax Account',
216
- description: 'Not used for compound/group entries',
217
- required: false,
218
- }),
219
- currency_id: pieces_framework_1.Property.Number({
220
- displayName: 'Currency ID',
221
- description: 'Not used for compound/group entries',
222
- required: false,
223
- }),
224
- currency_factor: pieces_framework_1.Property.Number({
225
- displayName: 'Currency Factor',
226
- description: 'Not used for compound/group entries',
227
- required: false,
228
- }),
229
- helper_info: pieces_framework_1.Property.MarkDown({
230
- value: isCompound
231
- ? 'For compound entries, each entry should have EITHER debit_account_id OR credit_account_id (not both).'
232
- : 'For group entries, each entry must have BOTH debit_account_id and credit_account_id.',
233
- }),
234
- entries: pieces_framework_1.Property.Array({
235
- displayName: 'Entries',
236
- description: isCompound
237
- ? 'Multiple entries to distribute the total. Each entry should have either debit_account_id OR credit_account_id (not both).'
238
- : 'Multiple complete bookings. Each entry must have both debit_account_id and credit_account_id.',
239
- required: true,
240
- properties: {
241
- debit_account_id: accountOptions.length > 0
242
- ? pieces_framework_1.Property.StaticDropdown({
243
- displayName: 'Debit Account',
244
- description: isCompound
245
- ? 'Account to debit (leave empty if this is a credit entry)'
246
- : 'Account to debit',
247
- required: !isCompound,
248
- options: {
249
- disabled: false,
250
- options: accountOptions,
251
- },
252
- })
253
- : pieces_framework_1.Property.Number({
254
- displayName: 'Debit Account ID',
255
- description: isCompound
256
- ? 'Account ID to debit (leave 0 if this is a credit entry)'
257
- : 'Account ID to debit',
258
- required: !isCompound,
259
- }),
260
- credit_account_id: accountOptions.length > 0
261
- ? pieces_framework_1.Property.StaticDropdown({
262
- displayName: 'Credit Account',
263
- description: isCompound
264
- ? 'Account to credit (leave empty if this is a debit entry)'
265
- : 'Account to credit',
266
- required: !isCompound,
267
- options: {
268
- disabled: false,
269
- options: accountOptions,
270
- },
271
- })
272
- : pieces_framework_1.Property.Number({
273
- displayName: 'Credit Account ID',
274
- description: isCompound
275
- ? 'Account ID to credit (leave 0 if this is a debit entry)'
276
- : 'Account ID to credit',
277
- required: !isCompound,
278
- }),
279
- amount: pieces_framework_1.Property.Number({
280
- displayName: 'Amount',
281
- description: 'The transaction amount',
282
- required: true,
283
- }),
284
- description: pieces_framework_1.Property.ShortText({
285
- displayName: 'Description',
286
- description: 'Description for this entry',
287
- required: false,
288
- }),
289
- tax_id: taxOptions.length > 0
290
- ? pieces_framework_1.Property.StaticDropdown({
291
- displayName: 'Tax',
292
- description: 'Tax rate (optional)',
293
- required: false,
294
- options: {
295
- disabled: false,
296
- options: taxOptions,
297
- },
298
- })
299
- : pieces_framework_1.Property.Number({
300
- displayName: 'Tax ID',
301
- description: 'Tax ID (optional)',
302
- required: false,
303
- }),
304
- tax_account_id: accountOptions.length > 0
305
- ? pieces_framework_1.Property.StaticDropdown({
306
- displayName: 'Tax Account',
307
- description: 'Account for tax calculation (optional)',
308
- required: false,
309
- options: {
310
- disabled: false,
311
- options: accountOptions,
312
- },
313
- })
314
- : pieces_framework_1.Property.Number({
315
- displayName: 'Tax Account ID',
316
- description: 'Account ID for tax calculation (optional)',
317
- required: false,
318
- }),
319
- currency_id: currencyOptions.length > 0
320
- ? pieces_framework_1.Property.StaticDropdown({
321
- displayName: 'Currency',
322
- description: 'Currency (optional)',
323
- required: false,
324
- options: {
325
- disabled: false,
326
- options: currencyOptions,
327
- },
328
- })
329
- : pieces_framework_1.Property.Number({
330
- displayName: 'Currency ID',
331
- description: 'Currency ID (optional)',
332
- required: false,
333
- }),
334
- currency_factor: pieces_framework_1.Property.Number({
335
- displayName: 'Currency Factor',
336
- description: 'Exchange rate factor (defaults to 1)',
337
- required: false,
338
- }),
339
- },
340
- }),
341
- };
342
- }
343
- }),
344
- }),
345
- },
346
- run(context) {
347
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
348
- const client = new client_1.BexioClient(context.auth);
349
- const entryType = context.propsValue.type;
350
- const entryFields = context.propsValue.entryFields;
351
- let entries = [];
352
- if (entryType === 'manual_single_entry') {
353
- const entry = {
354
- debit_account_id: entryFields['debit_account'],
355
- credit_account_id: entryFields['credit_account'],
356
- amount: entryFields['amount'],
357
- };
358
- if (entryFields['description']) {
359
- entry.description = entryFields['description'];
360
- }
361
- if (entryFields['tax_id']) {
362
- entry.tax_id = entryFields['tax_id'];
363
- }
364
- if (entryFields['tax_account']) {
365
- entry.tax_account_id = entryFields['tax_account'];
366
- }
367
- if (entryFields['currency_id']) {
368
- entry.currency_id = entryFields['currency_id'];
369
- }
370
- if (entryFields['currency_factor']) {
371
- entry.currency_factor = entryFields['currency_factor'];
372
- }
373
- entries = [entry];
374
- }
375
- else {
376
- const entriesArray = entryFields['entries'];
377
- if (!entriesArray || entriesArray.length === 0) {
378
- throw new Error('At least one entry is required for compound or group entries');
379
- }
380
- entries = entriesArray.map((entry) => {
381
- const bexioEntry = {
382
- amount: entry['amount'],
383
- };
384
- const debitAccountId = entry['debit_account_id'];
385
- if (debitAccountId && debitAccountId !== 0) {
386
- bexioEntry.debit_account_id = debitAccountId;
387
- }
388
- const creditAccountId = entry['credit_account_id'];
389
- if (creditAccountId && creditAccountId !== 0) {
390
- bexioEntry.credit_account_id = creditAccountId;
391
- }
392
- if (entry['description']) {
393
- bexioEntry.description = entry['description'];
394
- }
395
- const taxId = entry['tax_id'];
396
- if (taxId && taxId !== 0) {
397
- bexioEntry.tax_id = taxId;
398
- }
399
- const taxAccountId = entry['tax_account_id'];
400
- if (taxAccountId && taxAccountId !== 0) {
401
- bexioEntry.tax_account_id = taxAccountId;
402
- }
403
- const currencyId = entry['currency_id'];
404
- if (currencyId && currencyId !== 0) {
405
- bexioEntry.currency_id = currencyId;
406
- }
407
- if (entry['currency_factor']) {
408
- bexioEntry.currency_factor = entry['currency_factor'];
409
- }
410
- return bexioEntry;
411
- });
412
- }
413
- const requestBody = {
414
- type: entryType,
415
- date: context.propsValue.date,
416
- reference_nr: context.propsValue.reference_nr,
417
- entries,
418
- };
419
- const response = yield client.post('/accounts/manual_entries', requestBody);
420
- return response;
421
- });
422
- },
423
- });
424
- //# sourceMappingURL=create-manual-entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create-manual-entry.js","sourceRoot":"","sources":["../../../../src/lib/actions/create-manual-entry.ts"],"names":[],"mappings":";;;;AAAA,qEAAgH;AAChH,kCAAoC;AACpC,6CAA+C;AAIlC,QAAA,uBAAuB,GAAG,IAAA,+BAAY,EAAC;IAClD,IAAI,EAAE,gBAAS;IACf,IAAI,EAAE,qBAAqB;IAC3B,WAAW,EAAE,qBAAqB;IAClC,WAAW,EAAE,+DAA+D;IAC5E,QAAQ,EAAE,MAAM;IAChB,UAAU,EAAE,EAAE,WAAW,EAAE,gbAAgb,EAAE,UAAU,EAAE,KAAK,EAAE;IAChe,KAAK,EAAE;QACL,IAAI,EAAE,2BAAQ,CAAC,cAAc,CAAC;YAC5B,WAAW,EAAE,YAAY;YACzB,WAAW,EAAE,iCAAiC;YAC9C,QAAQ,EAAE,IAAI;YACd,YAAY,EAAE,qBAAqB;YACnC,OAAO,EAAE;gBACP,QAAQ,EAAE,KAAK;gBACf,OAAO,EAAE;oBACP;wBACE,KAAK,EAAE,wCAAwC;wBAC/C,KAAK,EAAE,qBAAqB;qBAC7B;oBACD;wBACE,KAAK,EAAE,6DAA6D;wBACpE,KAAK,EAAE,uBAAuB;qBAC/B;oBACD;wBACE,KAAK,EAAE,8DAA8D;wBACrE,KAAK,EAAE,oBAAoB;qBAC5B;iBACF;aACF;SACF,CAAC;QACF,IAAI,EAAE,2BAAQ,CAAC,SAAS,CAAC;YACvB,WAAW,EAAE,cAAc;YAC3B,WAAW,EAAE,kCAAkC;YAC/C,QAAQ,EAAE,IAAI;SACf,CAAC;QACF,YAAY,EAAE,2BAAQ,CAAC,SAAS,CAAC;YAC/B,WAAW,EAAE,kBAAkB;YAC/B,WAAW,EAAE,kCAAkC;YAC/C,QAAQ,EAAE,KAAK;SAChB,CAAC;QACF,WAAW,EAAE,2BAAQ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B,CAAC,EAAE,CAAC;wBAC7B,UAAU,CAAC,eAAe,GAAG,KAAK,CAAC,iBAAiB,CAAW,CAAC;oBAClE,CAAC;oBAED,OAAO,UAAU,CAAC;gBACpB,CAAC,CAAC,CAAC;YACL,CAAC;YAED,MAAM,WAAW,GAAG;gBAClB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,OAAO,CAAC,UAAU,CAAC,IAAI;gBAC7B,YAAY,EAAE,OAAO,CAAC,UAAU,CAAC,YAAY;gBAC7C,OAAO;aACR,CAAC;YAEF,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,IAAI,CAChC,0BAA0B,EAC1B,WAAW,CACZ,CAAC;YAEF,OAAO,QAAQ,CAAC;QAClB,CAAC;KAAA;CACF,CAAC,CAAC"}
@@ -1,30 +0,0 @@
1
- export declare const createPersonAction: import("@activepieces/pieces-framework").IAction<import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>, {
2
- name_1: import("@activepieces/pieces-framework").ShortTextProperty<true>;
3
- name_2: import("@activepieces/pieces-framework").ShortTextProperty<false>;
4
- nr: import("@activepieces/pieces-framework").ShortTextProperty<false>;
5
- salutation_id: import("@activepieces/pieces-framework").DropdownProperty<number, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
6
- salutation_form: import("@activepieces/pieces-framework").NumberProperty<false>;
7
- title_id: import("@activepieces/pieces-framework").DropdownProperty<number, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
8
- birthday: import("@activepieces/pieces-framework").ShortTextProperty<false>;
9
- street_name: import("@activepieces/pieces-framework").ShortTextProperty<false>;
10
- house_number: import("@activepieces/pieces-framework").ShortTextProperty<false>;
11
- address_addition: import("@activepieces/pieces-framework").ShortTextProperty<false>;
12
- postcode: import("@activepieces/pieces-framework").ShortTextProperty<false>;
13
- city: import("@activepieces/pieces-framework").ShortTextProperty<false>;
14
- country_id: import("@activepieces/pieces-framework").DropdownProperty<number, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
15
- mail: import("@activepieces/pieces-framework").ShortTextProperty<false>;
16
- mail_second: import("@activepieces/pieces-framework").ShortTextProperty<false>;
17
- phone_fixed: import("@activepieces/pieces-framework").ShortTextProperty<false>;
18
- phone_fixed_second: import("@activepieces/pieces-framework").ShortTextProperty<false>;
19
- phone_mobile: import("@activepieces/pieces-framework").ShortTextProperty<false>;
20
- fax: import("@activepieces/pieces-framework").ShortTextProperty<false>;
21
- url: import("@activepieces/pieces-framework").ShortTextProperty<false>;
22
- skype_name: import("@activepieces/pieces-framework").ShortTextProperty<false>;
23
- remarks: import("@activepieces/pieces-framework").LongTextProperty<false>;
24
- language_id: import("@activepieces/pieces-framework").DropdownProperty<number, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
25
- contact_group_ids: import("@activepieces/pieces-framework").MultiSelectDropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
26
- contact_branch_ids: import("@activepieces/pieces-framework").MultiSelectDropdownProperty<string, false, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
27
- user_id: import("@activepieces/pieces-framework").DropdownProperty<number, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
28
- owner_id: import("@activepieces/pieces-framework").DropdownProperty<number, true, import("@activepieces/pieces-framework").OAuth2Property<import("@activepieces/pieces-framework").OAuth2Props>>;
29
- }>;
30
- //# sourceMappingURL=create-person.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create-person.d.ts","sourceRoot":"","sources":["../../../../src/lib/actions/create-person.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2d7B,CAAC"}