repzo-sap-absjo 1.0.19 → 1.0.20

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 (76) hide show
  1. package/lib/actions/create_invoice.d.ts +13 -19
  2. package/lib/actions/create_invoice.js +207 -377
  3. package/lib/actions/create_payment.d.ts +1 -4
  4. package/lib/actions/create_payment.js +107 -195
  5. package/lib/actions/create_proforma.d.ts +1 -4
  6. package/lib/actions/create_proforma.js +146 -285
  7. package/lib/actions/create_return_invoice.d.ts +1 -4
  8. package/lib/actions/create_return_invoice.js +158 -312
  9. package/lib/actions/create_transfer.d.ts +1 -4
  10. package/lib/actions/create_transfer.js +126 -223
  11. package/lib/actions/index.js +15 -23
  12. package/lib/commands/adjust_inventory.d.ts +2 -4
  13. package/lib/commands/adjust_inventory.js +160 -290
  14. package/lib/commands/bank.d.ts +2 -4
  15. package/lib/commands/bank.js +157 -279
  16. package/lib/commands/basic.js +48 -67
  17. package/lib/commands/brand.d.ts +1 -3
  18. package/lib/commands/brand.js +100 -174
  19. package/lib/commands/category.d.ts +1 -3
  20. package/lib/commands/category.js +104 -178
  21. package/lib/commands/channel.d.ts +1 -3
  22. package/lib/commands/channel.js +117 -198
  23. package/lib/commands/client.d.ts +32 -34
  24. package/lib/commands/client.js +244 -404
  25. package/lib/commands/client_disabled.d.ts +1 -3
  26. package/lib/commands/client_disabled.js +94 -163
  27. package/lib/commands/index.d.ts +11 -15
  28. package/lib/commands/index.js +62 -62
  29. package/lib/commands/join.js +66 -192
  30. package/lib/commands/measureunit.d.ts +14 -19
  31. package/lib/commands/measureunit.js +191 -289
  32. package/lib/commands/measureunit_family.d.ts +8 -10
  33. package/lib/commands/measureunit_family.js +138 -250
  34. package/lib/commands/payment_term.d.ts +1 -3
  35. package/lib/commands/payment_term.js +123 -202
  36. package/lib/commands/price_list.d.ts +15 -15
  37. package/lib/commands/price_list.js +326 -612
  38. package/lib/commands/product.d.ts +30 -32
  39. package/lib/commands/product.js +263 -485
  40. package/lib/commands/product_disabled.d.ts +1 -3
  41. package/lib/commands/product_disabled.js +94 -160
  42. package/lib/commands/rep.js +141 -221
  43. package/lib/commands/tag.js +109 -174
  44. package/lib/commands/tax.js +112 -177
  45. package/lib/commands/warehouse.d.ts +1 -3
  46. package/lib/commands/warehouse.js +119 -207
  47. package/lib/index.d.ts +12 -21
  48. package/lib/test/actions/create_invoice.js +188 -193
  49. package/lib/test/actions/create_payment.js +107 -112
  50. package/lib/test/actions/create_proforma.js +216 -220
  51. package/lib/test/actions/create_return_invoice.js +200 -205
  52. package/lib/test/actions/create_transfer.js +115 -120
  53. package/lib/test/commands/adjust_inventory.js +90 -90
  54. package/lib/test/commands/bank.js +90 -90
  55. package/lib/test/commands/basic.js +327 -328
  56. package/lib/test/commands/brand.js +90 -90
  57. package/lib/test/commands/category.js +90 -90
  58. package/lib/test/commands/channel.js +90 -90
  59. package/lib/test/commands/client.js +353 -355
  60. package/lib/test/commands/client_disabled.js +90 -90
  61. package/lib/test/commands/join.js +327 -328
  62. package/lib/test/commands/measureunit.js +90 -90
  63. package/lib/test/commands/measureunit_family.js +90 -90
  64. package/lib/test/commands/payment_term.js +90 -90
  65. package/lib/test/commands/price_list.js +334 -337
  66. package/lib/test/commands/product.js +90 -90
  67. package/lib/test/commands/product_disabled.js +90 -90
  68. package/lib/test/commands/rep.js +344 -346
  69. package/lib/test/commands/tag.js +90 -90
  70. package/lib/test/commands/tax.js +90 -90
  71. package/lib/test/commands/warehouse.js +90 -90
  72. package/lib/types.d.ts +53 -77
  73. package/lib/util.d.ts +19 -70
  74. package/lib/util.js +144 -170
  75. package/package.json +1 -1
  76. package/src/actions/create_invoice.ts +5 -25
@@ -1,40 +1,38 @@
1
1
  import { CommandEvent, Result } from "../types";
2
2
  export interface SAPProduct {
3
- ITEMBARCODE: string;
4
- ITEMDESC: string;
5
- ITEMAVALIABLEQTY: number;
6
- ITEMTAX: number;
7
- ITEMTAXCODE: string;
8
- ITEMCODE: string;
9
- Division: string;
10
- "Parent Category": string;
11
- "Sub-Category": string;
12
- "Item Type": string;
13
- DEFAULTITEMUOM: string;
14
- DEFAULTSALEUOMID: number;
15
- INVUOMID: number;
16
- ITEMSALESUOMS: string;
17
- ITEMQTY: number;
18
- ITEMGROUPCODE: number;
19
- PRICE: number;
20
- ISSERIAL: "Y" | "N";
21
- ITEMDESCF: string;
22
- UOMGROUPENTRY: number;
23
- MILCODE: string;
24
- MODELNO: string;
25
- BRAND: string;
26
- ITEMSUBCATEGORY: string;
27
- CREATEDATE: string;
28
- UPDATEDATE: string;
3
+ ITEMBARCODE: string;
4
+ ITEMDESC: string;
5
+ ITEMAVALIABLEQTY: number;
6
+ ITEMTAX: number;
7
+ ITEMTAXCODE: string;
8
+ ITEMCODE: string;
9
+ Division: string;
10
+ "Parent Category": string;
11
+ "Sub-Category": string;
12
+ "Item Type": string;
13
+ DEFAULTITEMUOM: string;
14
+ DEFAULTSALEUOMID: number;
15
+ INVUOMID: number;
16
+ ITEMSALESUOMS: string;
17
+ ITEMQTY: number;
18
+ ITEMGROUPCODE: number;
19
+ PRICE: number;
20
+ ISSERIAL: "Y" | "N";
21
+ ITEMDESCF: string;
22
+ UOMGROUPENTRY: number;
23
+ MILCODE: string;
24
+ MODELNO: string;
25
+ BRAND: string;
26
+ ITEMSUBCATEGORY: string;
27
+ CREATEDATE: string;
28
+ UPDATEDATE: string;
29
29
  }
30
30
  export interface SAPProducts {
31
- result: "Success";
32
- Items: SAPProduct[];
31
+ result: "Success";
32
+ Items: SAPProduct[];
33
33
  }
34
- export declare const sync_product: (commandEvent: CommandEvent) => Promise<
35
- Result & {
34
+ export declare const sync_product: (commandEvent: CommandEvent) => Promise<Result & {
36
35
  repzo_total_taxes: number;
37
36
  repzo_total_categories: number;
38
37
  repzo_total_brands: number;
39
- }
40
- >;
38
+ }>;