repzo-sap-absjo 1.0.7 → 1.0.8

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 (78) hide show
  1. package/changelog.md +1 -0
  2. package/lib/actions/create_invoice.d.ts +13 -19
  3. package/lib/actions/create_invoice.js +214 -371
  4. package/lib/actions/create_payment.d.ts +1 -4
  5. package/lib/actions/create_payment.js +125 -208
  6. package/lib/actions/create_proforma.d.ts +1 -4
  7. package/lib/actions/create_proforma.js +165 -305
  8. package/lib/actions/create_return_invoice.d.ts +1 -4
  9. package/lib/actions/create_return_invoice.js +177 -332
  10. package/lib/actions/create_transfer.d.ts +1 -4
  11. package/lib/actions/create_transfer.js +142 -234
  12. package/lib/actions/index.js +15 -23
  13. package/lib/commands/adjust_inventory.d.ts +2 -4
  14. package/lib/commands/adjust_inventory.js +160 -290
  15. package/lib/commands/bank.d.ts +2 -4
  16. package/lib/commands/bank.js +157 -279
  17. package/lib/commands/basic.js +47 -66
  18. package/lib/commands/category.d.ts +1 -3
  19. package/lib/commands/category.js +104 -178
  20. package/lib/commands/channel.d.ts +1 -3
  21. package/lib/commands/channel.js +117 -198
  22. package/lib/commands/client.d.ts +32 -34
  23. package/lib/commands/client.js +244 -404
  24. package/lib/commands/client_disabled.d.ts +1 -3
  25. package/lib/commands/client_disabled.js +94 -163
  26. package/lib/commands/index.d.ts +11 -15
  27. package/lib/commands/index.js +60 -60
  28. package/lib/commands/join.js +66 -192
  29. package/lib/commands/measureunit.d.ts +14 -19
  30. package/lib/commands/measureunit.js +191 -289
  31. package/lib/commands/measureunit_family.d.ts +8 -10
  32. package/lib/commands/measureunit_family.js +138 -250
  33. package/lib/commands/payment_term.d.ts +1 -3
  34. package/lib/commands/payment_term.js +123 -202
  35. package/lib/commands/price_list.d.ts +15 -15
  36. package/lib/commands/price_list.js +326 -612
  37. package/lib/commands/product.d.ts +30 -32
  38. package/lib/commands/product.js +243 -425
  39. package/lib/commands/product_disabled.d.ts +1 -3
  40. package/lib/commands/product_disabled.js +94 -164
  41. package/lib/commands/rep.js +141 -221
  42. package/lib/commands/tag.js +109 -174
  43. package/lib/commands/tax.js +112 -177
  44. package/lib/commands/warehouse.d.ts +1 -3
  45. package/lib/commands/warehouse.js +119 -207
  46. package/lib/index.d.ts +12 -21
  47. package/lib/test/actions/create_invoice.js +188 -193
  48. package/lib/test/actions/create_payment.js +107 -112
  49. package/lib/test/actions/create_proforma.js +216 -220
  50. package/lib/test/actions/create_return_invoice.js +200 -205
  51. package/lib/test/actions/create_transfer.js +115 -120
  52. package/lib/test/commands/adjust_inventory.js +90 -90
  53. package/lib/test/commands/bank.js +90 -90
  54. package/lib/test/commands/basic.js +327 -328
  55. package/lib/test/commands/category.js +90 -90
  56. package/lib/test/commands/channel.js +90 -90
  57. package/lib/test/commands/client.js +353 -355
  58. package/lib/test/commands/client_disabled.js +90 -90
  59. package/lib/test/commands/join.js +327 -328
  60. package/lib/test/commands/measureunit.js +90 -90
  61. package/lib/test/commands/measureunit_family.js +90 -90
  62. package/lib/test/commands/payment_term.js +90 -90
  63. package/lib/test/commands/price_list.js +334 -337
  64. package/lib/test/commands/product.js +90 -90
  65. package/lib/test/commands/product_disabled.js +90 -90
  66. package/lib/test/commands/rep.js +344 -346
  67. package/lib/test/commands/tag.js +90 -90
  68. package/lib/test/commands/tax.js +90 -90
  69. package/lib/test/commands/warehouse.js +90 -90
  70. package/lib/types.d.ts +60 -83
  71. package/lib/util.d.ts +19 -70
  72. package/lib/util.js +144 -170
  73. package/package.json +1 -1
  74. package/src/actions/create_invoice.ts +2 -1
  75. package/src/actions/create_payment.ts +2 -1
  76. package/src/actions/create_proforma.ts +2 -1
  77. package/src/actions/create_return_invoice.ts +2 -1
  78. package/src/actions/create_transfer.ts +2 -1
@@ -1,227 +1,222 @@
1
1
  import { Actions } from "../../index.js";
2
- Actions(
3
- {
2
+ Actions({
4
3
  version: "2.0",
5
4
  routeKey: "POST /actions",
6
5
  rawPath: "/actions",
7
6
  rawQueryString: "app=repzo-sap-absjo&action=create_return_invoice",
8
7
  headers: {
9
- action_sync_id: "Actions-0000002",
10
- accept: "*/*",
11
- "accept-encoding": "gzip, deflate",
12
- "content-length": "3658",
13
- "content-type": "application/json",
14
- host: "staging.marketplace.api.repzo.me",
15
- "svix-id": "msg_29I1By29ETyPiZ4SNrc99KIg7D6",
16
- "svix-signature": "v1,OkktM+dibxzeb0M6383POFjBr7DX14HECpBIh17FQnU=",
17
- "svix-timestamp": "1652785653",
18
- "user-agent": "Svix-Webhooks/1.4",
19
- "x-amzn-trace-id": "Root=1-628381f6-0b2c6f346d2eb5d207b582ee",
20
- "x-forwarded-for": "52.215.16.239",
21
- "x-forwarded-port": "443",
22
- "x-forwarded-proto": "https",
8
+ action_sync_id: "Actions-0000002",
9
+ accept: "*/*",
10
+ "accept-encoding": "gzip, deflate",
11
+ "content-length": "3658",
12
+ "content-type": "application/json",
13
+ host: "staging.marketplace.api.repzo.me",
14
+ "svix-id": "msg_29I1By29ETyPiZ4SNrc99KIg7D6",
15
+ "svix-signature": "v1,OkktM+dibxzeb0M6383POFjBr7DX14HECpBIh17FQnU=",
16
+ "svix-timestamp": "1652785653",
17
+ "user-agent": "Svix-Webhooks/1.4",
18
+ "x-amzn-trace-id": "Root=1-628381f6-0b2c6f346d2eb5d207b582ee",
19
+ "x-forwarded-for": "52.215.16.239",
20
+ "x-forwarded-port": "443",
21
+ "x-forwarded-proto": "https",
23
22
  },
24
23
  queryStringParameters: {
25
- action: "create_return_invoice",
26
- app: "repzo-sap-absjo",
24
+ action: "create_return_invoice",
25
+ app: "repzo-sap-absjo",
27
26
  },
28
27
  requestContext: {
29
- accountId: "478266140170",
30
- apiId: "ulkb1ikop2",
31
- domainName: "staging.marketplace.api.repzo.me",
32
- domainPrefix: "staging",
33
- http: {
34
- method: "POST",
35
- path: "/actions",
36
- protocol: "HTTP/1.1",
37
- sourceIp: "52.215.16.239",
38
- userAgent: "Svix-Webhooks/1.4",
39
- },
40
- requestId: "SRE-ejb6IAMEPWQ=",
41
- routeKey: "POST /actions",
42
- stage: "$default",
43
- time: "17/May/2022:11:07:34 +0000",
44
- timeEpoch: 1652785654069,
28
+ accountId: "478266140170",
29
+ apiId: "ulkb1ikop2",
30
+ domainName: "staging.marketplace.api.repzo.me",
31
+ domainPrefix: "staging",
32
+ http: {
33
+ method: "POST",
34
+ path: "/actions",
35
+ protocol: "HTTP/1.1",
36
+ sourceIp: "52.215.16.239",
37
+ userAgent: "Svix-Webhooks/1.4",
38
+ },
39
+ requestId: "SRE-ejb6IAMEPWQ=",
40
+ routeKey: "POST /actions",
41
+ stage: "$default",
42
+ time: "17/May/2022:11:07:34 +0000",
43
+ timeEpoch: 1652785654069,
45
44
  },
46
45
  body: JSON.stringify({
47
- __v: 0,
48
- _id: "639ebfa7637f0245185a2de4",
49
- authorization:
50
- "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0aW1lem9uZSI6IkFzaWEvUml5YWRoIiwidXNlcm5hbWUiOiJ1bmlwYWxqbzE1NyIsIm5hbWUiOiJESVNUUklCVVRFUiBEaWFhIEFidSBzaGFyZWViIiwic2NvcGUiOiJyZXAiLCJuYW1lU3BhY2UiOlsidW5pcGFsam8iXSwidGVhbSI6W10sImlkZW50aWZpZXIiOjEwNzQsImlkIjoiNjI2Njc3OTJiNzM4ODg4ZDg1ZGY5MTUyIiwiYXBwX2NvZGUiOiJyZXB6b19wcm8iLCJjb3VudHJ5X2NvZGUiOlsiSk8iXSwicGVybWFTdHJpbmciOiJ2dnYwdnZ2dnYwdnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2MHZ2dnZ2dnYwMDAwdjB2MHZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2djB2dnZ2djB2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2djB2MHZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2IiwiaWF0IjoxNjcxMzQ3ODQ5LCJleHAiOjE2NzEzOTEwNDl9.bh1tiS0XyjiQspt9nMiFNMrkcTojgwKF1hAAgh4v1fI",
51
- business_day: "2022-12-18",
52
- client_id: "639ae371b4dc172fc5039b40",
53
- client_name: "MCE_المؤسسة الاستهلاكية العسكرية",
54
- comment: "",
55
- company_namespace: ["unisap"],
56
- consumption: {
57
- _id: "639ebfba462a9df7c259ffeb",
58
- remainder: 15120,
59
- status: "unconsumed",
60
- },
61
- createdAt: "2022-12-18T07:22:34.876Z",
62
- creator: {
63
- _id: "6395af8076a399e2b1315687",
64
- name: "DISTRIBUTER Diaa Abu shareeb",
65
- rep: "6395af8076a399e2b1315687",
66
- type: "rep",
67
- },
68
- currency: "JOD",
69
- deductionFixed: 0,
70
- deductionRatio: 0,
71
- delivery_date: null,
72
- discount_amount: 0,
73
- due_date: "2023-03-18",
74
- geo_tag: {
75
- _id: "639ebfba462a9df7c259ffe8",
76
- coordinates: [35.74179, 32.1129259],
77
- type: "Point",
78
- },
79
- is_void: false,
80
- issue_date: "2022-12-18",
81
- items: [],
82
- latest: true,
83
- origin_warehouse: "6391cca5ca8b3e4981aa36e5",
84
- overwriteTaxExempt: false,
85
- payment_charge: 0,
86
- pre_discount_amount: 0,
87
- pre_subtotal: 0,
88
- pre_tax_amount: 0,
89
- pre_taxable_subtotal: 0,
90
- pre_total: 0,
91
- processable: true,
92
- promotions: [],
93
- return_discount_amount: 0,
94
- return_items: [
95
- {
96
- _id: "639ebfba462a9df7c259ffec",
97
- applicable_promotions: [],
98
- base_unit_qty: -68,
99
- class: "return",
100
- company_namespace: [],
101
- discount_value: 0,
102
- discounted_price: 218,
103
- general_promotions: [],
104
- gross_value: 222,
105
- isAdditional: false,
106
- line_total: -15120,
107
- line_total_without_modifiers: -15120,
108
- measureunit: {
109
- _id: "63981c98bee5dd4b6b12e4c5",
110
- company_namespace: [],
111
- disabled: false,
112
- factor: 1,
113
- name: "PC",
114
- parent: "63981c32e9f3eafb51d7f0af",
115
- },
116
- modifiers_groups: [],
117
- modifiers_tax_total: 0,
118
- modifiers_total: 0,
119
- modifiers_total_before_tax: 0,
120
- note: "",
121
- overwritePrice: null,
122
- price: 218,
123
- qty: -68,
124
- return_reason: "62b074c0a066173bd1c1ea0d",
125
- tax: {
126
- _id: "639715dbbee5dd4b6b11e674",
127
- disabled: false,
128
- name: "امانات ضريبة المبيعات %2",
129
- rate: 0.02,
130
- type: "additive",
131
- },
132
- tax_amount: 4,
133
- tax_total: -296,
134
- tax_total_without_modifiers: -296,
135
- total_before_tax: -14824,
136
- total_before_tax_without_modifiers: -14824,
137
- used_promotions: [],
138
- variant: {
139
- _id: "6398a562e8a1cfdd26dc5e37",
140
- listed_price: 0,
141
- product_id: "6398a562e8a1cfdd26dc5e35",
142
- product_name: "Heinz Tomato Paste Tetra Pack (12M) 6X8X135gm",
143
- variant_id: "6398a562e8a1cfdd26dc5e37",
144
- variant_name: "010-HEI-HE0156",
145
- },
46
+ __v: 0,
47
+ _id: "639ebfa7637f0245185a2de4",
48
+ authorization: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0aW1lem9uZSI6IkFzaWEvUml5YWRoIiwidXNlcm5hbWUiOiJ1bmlwYWxqbzE1NyIsIm5hbWUiOiJESVNUUklCVVRFUiBEaWFhIEFidSBzaGFyZWViIiwic2NvcGUiOiJyZXAiLCJuYW1lU3BhY2UiOlsidW5pcGFsam8iXSwidGVhbSI6W10sImlkZW50aWZpZXIiOjEwNzQsImlkIjoiNjI2Njc3OTJiNzM4ODg4ZDg1ZGY5MTUyIiwiYXBwX2NvZGUiOiJyZXB6b19wcm8iLCJjb3VudHJ5X2NvZGUiOlsiSk8iXSwicGVybWFTdHJpbmciOiJ2dnYwdnZ2dnYwdnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2MHZ2dnZ2dnYwMDAwdjB2MHZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2djB2dnZ2djB2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2djB2MHZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2dnZ2IiwiaWF0IjoxNjcxMzQ3ODQ5LCJleHAiOjE2NzEzOTEwNDl9.bh1tiS0XyjiQspt9nMiFNMrkcTojgwKF1hAAgh4v1fI",
49
+ business_day: "2022-12-18",
50
+ client_id: "639ae371b4dc172fc5039b40",
51
+ client_name: "MCE_المؤسسة الاستهلاكية العسكرية",
52
+ comment: "",
53
+ company_namespace: ["unisap"],
54
+ consumption: {
55
+ _id: "639ebfba462a9df7c259ffeb",
56
+ remainder: 15120,
57
+ status: "unconsumed",
58
+ },
59
+ createdAt: "2022-12-18T07:22:34.876Z",
60
+ creator: {
61
+ _id: "6395af8076a399e2b1315687",
62
+ name: "DISTRIBUTER Diaa Abu shareeb",
63
+ rep: "6395af8076a399e2b1315687",
64
+ type: "rep",
65
+ },
66
+ currency: "JOD",
67
+ deductionFixed: 0,
68
+ deductionRatio: 0,
69
+ delivery_date: null,
70
+ discount_amount: 0,
71
+ due_date: "2023-03-18",
72
+ geo_tag: {
73
+ _id: "639ebfba462a9df7c259ffe8",
74
+ coordinates: [35.74179, 32.1129259],
75
+ type: "Point",
76
+ },
77
+ is_void: false,
78
+ issue_date: "2022-12-18",
79
+ items: [],
80
+ latest: true,
81
+ origin_warehouse: "6391cca5ca8b3e4981aa36e5",
82
+ overwriteTaxExempt: false,
83
+ payment_charge: 0,
84
+ pre_discount_amount: 0,
85
+ pre_subtotal: 0,
86
+ pre_tax_amount: 0,
87
+ pre_taxable_subtotal: 0,
88
+ pre_total: 0,
89
+ processable: true,
90
+ promotions: [],
91
+ return_discount_amount: 0,
92
+ return_items: [
93
+ {
94
+ _id: "639ebfba462a9df7c259ffec",
95
+ applicable_promotions: [],
96
+ base_unit_qty: -68,
97
+ class: "return",
98
+ company_namespace: [],
99
+ discount_value: 0,
100
+ discounted_price: 218,
101
+ general_promotions: [],
102
+ gross_value: 222,
103
+ isAdditional: false,
104
+ line_total: -15120,
105
+ line_total_without_modifiers: -15120,
106
+ measureunit: {
107
+ _id: "63981c98bee5dd4b6b12e4c5",
108
+ company_namespace: [],
109
+ disabled: false,
110
+ factor: 1,
111
+ name: "PC",
112
+ parent: "63981c32e9f3eafb51d7f0af",
113
+ },
114
+ modifiers_groups: [],
115
+ modifiers_tax_total: 0,
116
+ modifiers_total: 0,
117
+ modifiers_total_before_tax: 0,
118
+ note: "",
119
+ overwritePrice: null,
120
+ price: 218,
121
+ qty: -68,
122
+ return_reason: "62b074c0a066173bd1c1ea0d",
123
+ tax: {
124
+ _id: "639715dbbee5dd4b6b11e674",
125
+ disabled: false,
126
+ name: "امانات ضريبة المبيعات %2",
127
+ rate: 0.02,
128
+ type: "additive",
129
+ },
130
+ tax_amount: 4,
131
+ tax_total: -296,
132
+ tax_total_without_modifiers: -296,
133
+ total_before_tax: -14824,
134
+ total_before_tax_without_modifiers: -14824,
135
+ used_promotions: [],
136
+ variant: {
137
+ _id: "6398a562e8a1cfdd26dc5e37",
138
+ listed_price: 0,
139
+ product_id: "6398a562e8a1cfdd26dc5e35",
140
+ product_name: "Heinz Tomato Paste Tetra Pack (12M) 6X8X135gm",
141
+ variant_id: "6398a562e8a1cfdd26dc5e37",
142
+ variant_name: "010-HEI-HE0156",
143
+ },
144
+ },
145
+ ],
146
+ return_serial_number: {
147
+ _id: "639ebfba462a9df7c259ffe9",
148
+ count: 155,
149
+ formatted: "RTN-1074-155",
150
+ identifier: "1074",
151
+ },
152
+ return_subtotal: 14824,
153
+ return_tax_amount: 296,
154
+ return_taxable_subtotal: 14824,
155
+ return_total: 15120,
156
+ route: null,
157
+ serial_number: {
158
+ _id: "639ebfba462a9df7c259ffe7",
159
+ count: 155,
160
+ formatted: "INV-1074-155",
161
+ identifier: "1074",
146
162
  },
147
- ],
148
- return_serial_number: {
149
- _id: "639ebfba462a9df7c259ffe9",
150
- count: 155,
151
- formatted: "RTN-1074-155",
152
- identifier: "1074",
153
- },
154
- return_subtotal: 14824,
155
- return_tax_amount: 296,
156
- return_taxable_subtotal: 14824,
157
- return_total: 15120,
158
- route: null,
159
- serial_number: {
160
- _id: "639ebfba462a9df7c259ffe7",
161
- count: 155,
162
- formatted: "INV-1074-155",
163
- identifier: "1074",
164
- },
165
- shipping_charge: 0,
166
- shipping_price: 0,
167
- shipping_tax: 0,
168
- signature: null,
169
- status: "paid",
170
- subtotal: -14824,
171
- sync_id: "a34651d8-c586-415b-8914-91da62aeaa3f",
172
- tax_amount: -296,
173
- tax_exempt: false,
174
- taxable_subtotal: -14824,
175
- taxes: {
176
- "امانات ضريبة المبيعات %2": {
177
- name: "امانات ضريبة المبيعات %2",
178
- rate: 0.02,
179
- total: -296,
180
- type: "additive",
163
+ shipping_charge: 0,
164
+ shipping_price: 0,
165
+ shipping_tax: 0,
166
+ signature: null,
167
+ status: "paid",
168
+ subtotal: -14824,
169
+ sync_id: "a34651d8-c586-415b-8914-91da62aeaa3f",
170
+ tax_amount: -296,
171
+ tax_exempt: false,
172
+ taxable_subtotal: -14824,
173
+ taxes: {
174
+ "امانات ضريبة المبيعات %2": {
175
+ name: "امانات ضريبة المبيعات %2",
176
+ rate: 0.02,
177
+ total: -296,
178
+ type: "additive",
179
+ },
181
180
  },
182
- },
183
- teams: [],
184
- time: 1671348150444,
185
- total: -15120,
186
- totalDeductedTax: 0,
187
- totalDeduction: 0,
188
- totalDeductionBeforeTax: 0,
189
- total_with_charges: -15120,
190
- transaction_processed: true,
191
- updatedAt: "2022-12-18T07:22:34.998Z",
192
- version: 2,
181
+ teams: [],
182
+ time: 1671348150444,
183
+ total: -15120,
184
+ totalDeductedTax: 0,
185
+ totalDeduction: 0,
186
+ totalDeductionBeforeTax: 0,
187
+ total_with_charges: -15120,
188
+ transaction_processed: true,
189
+ updatedAt: "2022-12-18T07:22:34.998Z",
190
+ version: 2,
193
191
  }),
194
192
  isBase64Encoded: false,
195
- },
196
- {
193
+ }, {
197
194
  app_id: "",
198
195
  repzoEndPoint: "",
199
196
  serviceEndPoint: "",
200
197
  env: "staging",
201
198
  data: {
202
- invoices: {
203
- createInvoiceHook: false,
204
- createReturnInvoiceHook: false,
205
- },
206
- payments: {
207
- createPaymentHook: false,
208
- },
209
- proformas: {
210
- createApprovedProformaHook: false,
211
- },
212
- transfer: {
213
- createApprovedTransferHook: false,
214
- },
215
- repzoApiKey: "L98_Pc8qZG2R5hZIIMjxLQNUgUzT3_0aX2BuLvkyh74",
216
- sapHostUrl: "http://unipal.b1pro.com:8083/api",
217
- errorEmail: "maram.alshen@repzoapp.com",
218
- serviceApiKey: "awdas",
219
- warehouseDefaultUpdateDate: "2015-01-01",
220
- DepartmentCode: "D2",
221
- return_reason:
222
- '[{sap_id:1,sap_name:"BarcodeIssue",repzo_name:"Barcodeissue",repzo_id:"62b074972b332895edf114fc"},{sap_id:2,sap_name:"Damaged",repzo_name:"Damaged",repzo_id:"62b074ace96258fb745982e4"},{sap_id:3,sap_name:"Nearexpiry",repzo_name:"Nearexpiry",repzo_id:"62b074c0a066173bd1c1ea0d"},{sap_id:4,sap_name:"Wrongprinting",repzo_name:"Wrongprinting",repzo_id:"62b074d79e7f41f306a4cb42"},{sap_id:5,sap_name:"experied",repzo_name:"Experied",repzo_id:"62b074faa066173bd1c1eec0"}]',
223
- SalPersCode: "111",
224
- SalesPersonCode: "111",
199
+ invoices: {
200
+ createInvoiceHook: false,
201
+ createReturnInvoiceHook: false,
202
+ },
203
+ payments: {
204
+ createPaymentHook: false,
205
+ },
206
+ proformas: {
207
+ createApprovedProformaHook: false,
208
+ },
209
+ transfer: {
210
+ createApprovedTransferHook: false,
211
+ },
212
+ repzoApiKey: "L98_Pc8qZG2R5hZIIMjxLQNUgUzT3_0aX2BuLvkyh74",
213
+ sapHostUrl: "http://unipal.b1pro.com:8083/api",
214
+ errorEmail: "maram.alshen@repzoapp.com",
215
+ serviceApiKey: "awdas",
216
+ warehouseDefaultUpdateDate: "2015-01-01",
217
+ DepartmentCode: "D2",
218
+ return_reason: '[{sap_id:1,sap_name:"BarcodeIssue",repzo_name:"Barcodeissue",repzo_id:"62b074972b332895edf114fc"},{sap_id:2,sap_name:"Damaged",repzo_name:"Damaged",repzo_id:"62b074ace96258fb745982e4"},{sap_id:3,sap_name:"Nearexpiry",repzo_name:"Nearexpiry",repzo_id:"62b074c0a066173bd1c1ea0d"},{sap_id:4,sap_name:"Wrongprinting",repzo_name:"Wrongprinting",repzo_id:"62b074d79e7f41f306a4cb42"},{sap_id:5,sap_name:"experied",repzo_name:"Experied",repzo_id:"62b074faa066173bd1c1eec0"}]',
219
+ SalPersCode: "111",
220
+ SalesPersonCode: "111",
225
221
  },
226
- }
227
- );
222
+ });