repzo-sap-absjo 1.0.1
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.
- package/README.md +3 -0
- package/changelog.md +17 -0
- package/lib/actions/create_invoice.d.ts +26 -0
- package/lib/actions/create_invoice.js +311 -0
- package/lib/actions/create_payment.d.ts +5 -0
- package/lib/actions/create_payment.js +177 -0
- package/lib/actions/create_proforma.d.ts +5 -0
- package/lib/actions/create_proforma.js +241 -0
- package/lib/actions/create_return_invoice.d.ts +5 -0
- package/lib/actions/create_return_invoice.js +268 -0
- package/lib/actions/create_transfer.d.ts +5 -0
- package/lib/actions/create_transfer.js +171 -0
- package/lib/actions/index.d.ts +3 -0
- package/lib/actions/index.js +31 -0
- package/lib/commands/adjust_inventory.d.ts +6 -0
- package/lib/commands/adjust_inventory.js +303 -0
- package/lib/commands/bank.d.ts +7 -0
- package/lib/commands/bank.js +301 -0
- package/lib/commands/basic.d.ts +2 -0
- package/lib/commands/basic.js +73 -0
- package/lib/commands/category.d.ts +4 -0
- package/lib/commands/category.js +193 -0
- package/lib/commands/channel.d.ts +4 -0
- package/lib/commands/channel.js +213 -0
- package/lib/commands/client.d.ts +39 -0
- package/lib/commands/client.js +410 -0
- package/lib/commands/client_disabled.d.ts +4 -0
- package/lib/commands/client_disabled.js +183 -0
- package/lib/commands/index.d.ts +23 -0
- package/lib/commands/index.js +82 -0
- package/lib/commands/join.d.ts +2 -0
- package/lib/commands/join.js +134 -0
- package/lib/commands/measureunit.d.ts +23 -0
- package/lib/commands/measureunit.js +314 -0
- package/lib/commands/measureunit_family.d.ts +12 -0
- package/lib/commands/measureunit_family.js +263 -0
- package/lib/commands/payment_term.d.ts +4 -0
- package/lib/commands/payment_term.js +217 -0
- package/lib/commands/price_list.d.ts +18 -0
- package/lib/commands/price_list.js +608 -0
- package/lib/commands/product.d.ts +39 -0
- package/lib/commands/product.js +454 -0
- package/lib/commands/product_disabled.d.ts +4 -0
- package/lib/commands/product_disabled.js +178 -0
- package/lib/commands/rep.d.ts +2 -0
- package/lib/commands/rep.js +246 -0
- package/lib/commands/tag.d.ts +2 -0
- package/lib/commands/tag.js +195 -0
- package/lib/commands/tax.d.ts +2 -0
- package/lib/commands/tax.js +198 -0
- package/lib/commands/warehouse.d.ts +4 -0
- package/lib/commands/warehouse.js +221 -0
- package/lib/index.d.ts +29 -0
- package/lib/index.js +6 -0
- package/lib/test/actions/create_invoice.d.ts +1 -0
- package/lib/test/actions/create_invoice.js +214 -0
- package/lib/test/actions/create_payment.d.ts +1 -0
- package/lib/test/actions/create_payment.js +131 -0
- package/lib/test/actions/create_proforma.d.ts +1 -0
- package/lib/test/actions/create_proforma.js +242 -0
- package/lib/test/actions/create_return_invoice.d.ts +1 -0
- package/lib/test/actions/create_return_invoice.js +226 -0
- package/lib/test/actions/create_transfer.d.ts +1 -0
- package/lib/test/actions/create_transfer.js +142 -0
- package/lib/test/commands/adjust_inventory.d.ts +1 -0
- package/lib/test/commands/adjust_inventory.js +97 -0
- package/lib/test/commands/bank.d.ts +1 -0
- package/lib/test/commands/bank.js +97 -0
- package/lib/test/commands/basic.d.ts +1 -0
- package/lib/test/commands/basic.js +339 -0
- package/lib/test/commands/category.d.ts +1 -0
- package/lib/test/commands/category.js +97 -0
- package/lib/test/commands/channel.d.ts +1 -0
- package/lib/test/commands/channel.js +97 -0
- package/lib/test/commands/client.d.ts +1 -0
- package/lib/test/commands/client.js +97 -0
- package/lib/test/commands/client_disabled.d.ts +1 -0
- package/lib/test/commands/client_disabled.js +97 -0
- package/lib/test/commands/join.d.ts +1 -0
- package/lib/test/commands/join.js +339 -0
- package/lib/test/commands/measureunit.d.ts +1 -0
- package/lib/test/commands/measureunit.js +97 -0
- package/lib/test/commands/measureunit_family.d.ts +1 -0
- package/lib/test/commands/measureunit_family.js +97 -0
- package/lib/test/commands/payment_term.d.ts +1 -0
- package/lib/test/commands/payment_term.js +97 -0
- package/lib/test/commands/price_list.d.ts +1 -0
- package/lib/test/commands/price_list.js +97 -0
- package/lib/test/commands/product.d.ts +1 -0
- package/lib/test/commands/product.js +97 -0
- package/lib/test/commands/product_disabled.d.ts +1 -0
- package/lib/test/commands/product_disabled.js +97 -0
- package/lib/test/commands/rep.d.ts +1 -0
- package/lib/test/commands/rep.js +97 -0
- package/lib/test/commands/tag.d.ts +1 -0
- package/lib/test/commands/tag.js +97 -0
- package/lib/test/commands/tax.d.ts +1 -0
- package/lib/test/commands/tax.js +97 -0
- package/lib/test/commands/warehouse.d.ts +1 -0
- package/lib/test/commands/warehouse.js +97 -0
- package/lib/types.d.ts +77 -0
- package/lib/types.js +1 -0
- package/lib/util.d.ts +70 -0
- package/lib/util.js +164 -0
- package/package.json +51 -0
- package/src/actions/create_invoice.ts +275 -0
- package/src/actions/create_payment.ts +138 -0
- package/src/actions/create_proforma.ts +187 -0
- package/src/actions/create_return_invoice.ts +217 -0
- package/src/actions/create_transfer.ts +160 -0
- package/src/actions/index.ts +27 -0
- package/src/commands/adjust_inventory.ts +250 -0
- package/src/commands/bank.ts +243 -0
- package/src/commands/basic.ts +64 -0
- package/src/commands/category.ts +176 -0
- package/src/commands/channel.ts +219 -0
- package/src/commands/client.ts +368 -0
- package/src/commands/client_disabled.ts +158 -0
- package/src/commands/index.ts +87 -0
- package/src/commands/join.ts +80 -0
- package/src/commands/measureunit.ts +276 -0
- package/src/commands/measureunit_family.ts +209 -0
- package/src/commands/payment_term.ts +224 -0
- package/src/commands/price_list.ts +434 -0
- package/src/commands/product.ts +359 -0
- package/src/commands/product_disabled.ts +152 -0
- package/src/commands/rep.ts +209 -0
- package/src/commands/tag.ts +173 -0
- package/src/commands/tax.ts +178 -0
- package/src/commands/warehouse.ts +204 -0
- package/src/index.ts +7 -0
- package/src/test/actions/create_invoice.ts +214 -0
- package/src/test/actions/create_payment.ts +131 -0
- package/src/test/actions/create_proforma.ts +242 -0
- package/src/test/actions/create_return_invoice.ts +226 -0
- package/src/test/actions/create_transfer.ts +142 -0
- package/src/test/commands/adjust_inventory.ts +100 -0
- package/src/test/commands/bank.ts +100 -0
- package/src/test/commands/basic.ts +342 -0
- package/src/test/commands/category.ts +100 -0
- package/src/test/commands/channel.ts +100 -0
- package/src/test/commands/client.ts +100 -0
- package/src/test/commands/client_disabled.ts +100 -0
- package/src/test/commands/join.ts +342 -0
- package/src/test/commands/measureunit.ts +100 -0
- package/src/test/commands/measureunit_family.ts +100 -0
- package/src/test/commands/payment_term.ts +100 -0
- package/src/test/commands/price_list.ts +100 -0
- package/src/test/commands/product.ts +100 -0
- package/src/test/commands/product_disabled.ts +100 -0
- package/src/test/commands/rep.ts +100 -0
- package/src/test/commands/tag.ts +100 -0
- package/src/test/commands/tax.ts +100 -0
- package/src/test/commands/warehouse.ts +100 -0
- package/src/types.ts +76 -0
- package/src/util.ts +205 -0
- package/tsconfig.json +15 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { CommandEvent, Result } from "../../types";
|
|
2
|
+
import { Commands } from "../../index.js";
|
|
3
|
+
|
|
4
|
+
let commandEvent: CommandEvent | any = {
|
|
5
|
+
app: {
|
|
6
|
+
_id: "6391a53edb71ef6435719794",
|
|
7
|
+
name: "SAP",
|
|
8
|
+
disabled: false,
|
|
9
|
+
available_app: {
|
|
10
|
+
_id: "6391a268db71ef64357195da",
|
|
11
|
+
name: "repzo-sap-absjo",
|
|
12
|
+
title: "SAP ABS JO",
|
|
13
|
+
logo: "https://www.e2abs.com/wp-content/uploads/2021/03/Website-Main-Logo-1.svg",
|
|
14
|
+
description: "",
|
|
15
|
+
disabled: false,
|
|
16
|
+
JSONSchema: {
|
|
17
|
+
title: "SAP Integration Settings",
|
|
18
|
+
type: "object",
|
|
19
|
+
required: ["repzoApiKey", "sapHostUrl"],
|
|
20
|
+
properties: {
|
|
21
|
+
repzoApiKey: {
|
|
22
|
+
type: "string",
|
|
23
|
+
title: "Repzo API KEY",
|
|
24
|
+
},
|
|
25
|
+
sapHostUrl: {
|
|
26
|
+
type: "string",
|
|
27
|
+
title: "SAP Host Url",
|
|
28
|
+
},
|
|
29
|
+
errorEmail: {
|
|
30
|
+
type: "string",
|
|
31
|
+
format: "email",
|
|
32
|
+
title: "Email in case of error",
|
|
33
|
+
},
|
|
34
|
+
warehouseDefaultUpdateDate: {
|
|
35
|
+
type: "string",
|
|
36
|
+
format: "date",
|
|
37
|
+
title: "Warehouse: Default Update Date",
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
options_JSONSchema: {
|
|
42
|
+
title: "SAP Integration Optional Settings",
|
|
43
|
+
type: "object",
|
|
44
|
+
required: [],
|
|
45
|
+
properties: {
|
|
46
|
+
bench_time_warehouse: {
|
|
47
|
+
title: "Bench Time: Warehouse",
|
|
48
|
+
type: "string",
|
|
49
|
+
format: "date",
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
app_settings: {
|
|
54
|
+
repo: "",
|
|
55
|
+
serviceEndPoint: "",
|
|
56
|
+
_id: "6391a268db71ef64357195db",
|
|
57
|
+
},
|
|
58
|
+
app_category: "6249fa8466312f76e595634a",
|
|
59
|
+
commands: [
|
|
60
|
+
{
|
|
61
|
+
command: "basic",
|
|
62
|
+
name: "Full Sync",
|
|
63
|
+
description: "",
|
|
64
|
+
_id: "6391a268db71ef64357195dc",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
command: "join",
|
|
68
|
+
name: "Join",
|
|
69
|
+
description: "",
|
|
70
|
+
_id: "6391a268db71ef64357195dd",
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
actions: [],
|
|
74
|
+
createdAt: "2022-12-08T08:38:00.915Z",
|
|
75
|
+
updatedAt: "2022-12-08T09:42:49.236Z",
|
|
76
|
+
__v: 0,
|
|
77
|
+
},
|
|
78
|
+
company_namespace: ["unisap"],
|
|
79
|
+
formData: {
|
|
80
|
+
repzoApiKey: "L98_Pc8qZG2R5hZIIMjxLQNUgUzT3_0aX2BuLvkyh74",
|
|
81
|
+
sapHostUrl: "http://unipal.b1pro.com:8083/api",
|
|
82
|
+
errorEmail: "maram.alshen@repzoapp.com",
|
|
83
|
+
serviceApiKey: "awdas",
|
|
84
|
+
warehouseDefaultUpdateDate: "2015-01-01",
|
|
85
|
+
},
|
|
86
|
+
options_formData: {},
|
|
87
|
+
createdAt: "2022-12-08T08:50:06.903Z",
|
|
88
|
+
updatedAt: "2022-12-08T09:43:21.620Z",
|
|
89
|
+
__v: 0,
|
|
90
|
+
},
|
|
91
|
+
end_of_day: "04:00",
|
|
92
|
+
nameSpace: ["unisap"], // demosv
|
|
93
|
+
timezone: "Asia/Amman",
|
|
94
|
+
meta: "",
|
|
95
|
+
env: "staging",
|
|
96
|
+
sync_id: "47c9c804-e136-4d54-928a-000008",
|
|
97
|
+
command: "payment_term",
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
Commands(commandEvent);
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { CommandEvent, Result } from "../../types";
|
|
2
|
+
import { Commands } from "../../index.js";
|
|
3
|
+
|
|
4
|
+
let commandEvent: CommandEvent | any = {
|
|
5
|
+
app: {
|
|
6
|
+
_id: "6391a53edb71ef6435719794",
|
|
7
|
+
name: "SAP",
|
|
8
|
+
disabled: false,
|
|
9
|
+
available_app: {
|
|
10
|
+
_id: "6391a268db71ef64357195da",
|
|
11
|
+
name: "repzo-sap-absjo",
|
|
12
|
+
title: "SAP ABS JO",
|
|
13
|
+
logo: "https://www.e2abs.com/wp-content/uploads/2021/03/Website-Main-Logo-1.svg",
|
|
14
|
+
description: "",
|
|
15
|
+
disabled: false,
|
|
16
|
+
JSONSchema: {
|
|
17
|
+
title: "SAP Integration Settings",
|
|
18
|
+
type: "object",
|
|
19
|
+
required: ["repzoApiKey", "sapHostUrl"],
|
|
20
|
+
properties: {
|
|
21
|
+
repzoApiKey: {
|
|
22
|
+
type: "string",
|
|
23
|
+
title: "Repzo API KEY",
|
|
24
|
+
},
|
|
25
|
+
sapHostUrl: {
|
|
26
|
+
type: "string",
|
|
27
|
+
title: "SAP Host Url",
|
|
28
|
+
},
|
|
29
|
+
errorEmail: {
|
|
30
|
+
type: "string",
|
|
31
|
+
format: "email",
|
|
32
|
+
title: "Email in case of error",
|
|
33
|
+
},
|
|
34
|
+
warehouseDefaultUpdateDate: {
|
|
35
|
+
type: "string",
|
|
36
|
+
format: "date",
|
|
37
|
+
title: "Warehouse: Default Update Date",
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
options_JSONSchema: {
|
|
42
|
+
title: "SAP Integration Optional Settings",
|
|
43
|
+
type: "object",
|
|
44
|
+
required: [],
|
|
45
|
+
properties: {
|
|
46
|
+
bench_time_warehouse: {
|
|
47
|
+
title: "Bench Time: Warehouse",
|
|
48
|
+
type: "string",
|
|
49
|
+
format: "date",
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
app_settings: {
|
|
54
|
+
repo: "",
|
|
55
|
+
serviceEndPoint: "",
|
|
56
|
+
_id: "6391a268db71ef64357195db",
|
|
57
|
+
},
|
|
58
|
+
app_category: "6249fa8466312f76e595634a",
|
|
59
|
+
commands: [
|
|
60
|
+
{
|
|
61
|
+
command: "basic",
|
|
62
|
+
name: "Full Sync",
|
|
63
|
+
description: "",
|
|
64
|
+
_id: "6391a268db71ef64357195dc",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
command: "join",
|
|
68
|
+
name: "Join",
|
|
69
|
+
description: "",
|
|
70
|
+
_id: "6391a268db71ef64357195dd",
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
actions: [],
|
|
74
|
+
createdAt: "2022-12-08T08:38:00.915Z",
|
|
75
|
+
updatedAt: "2022-12-08T09:42:49.236Z",
|
|
76
|
+
__v: 0,
|
|
77
|
+
},
|
|
78
|
+
company_namespace: ["unisap"],
|
|
79
|
+
formData: {
|
|
80
|
+
repzoApiKey: "L98_Pc8qZG2R5hZIIMjxLQNUgUzT3_0aX2BuLvkyh74",
|
|
81
|
+
sapHostUrl: "http://unipal.b1pro.com:8083/api",
|
|
82
|
+
errorEmail: "maram.alshen@repzoapp.com",
|
|
83
|
+
serviceApiKey: "awdas",
|
|
84
|
+
warehouseDefaultUpdateDate: "2015-01-01",
|
|
85
|
+
},
|
|
86
|
+
options_formData: {},
|
|
87
|
+
createdAt: "2022-12-08T08:50:06.903Z",
|
|
88
|
+
updatedAt: "2022-12-08T09:43:21.620Z",
|
|
89
|
+
__v: 0,
|
|
90
|
+
},
|
|
91
|
+
end_of_day: "04:00",
|
|
92
|
+
nameSpace: ["unisap"],
|
|
93
|
+
timezone: "Asia/Amman",
|
|
94
|
+
meta: "",
|
|
95
|
+
env: "staging",
|
|
96
|
+
sync_id: "47c9c804-e136-4d54-928a-000013",
|
|
97
|
+
command: "price_list",
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
Commands(commandEvent);
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { CommandEvent, Result } from "../../types";
|
|
2
|
+
import { Commands } from "../../index.js";
|
|
3
|
+
|
|
4
|
+
let commandEvent: CommandEvent | any = {
|
|
5
|
+
app: {
|
|
6
|
+
_id: "6391a53edb71ef6435719794",
|
|
7
|
+
name: "SAP",
|
|
8
|
+
disabled: false,
|
|
9
|
+
available_app: {
|
|
10
|
+
_id: "6391a268db71ef64357195da",
|
|
11
|
+
name: "repzo-sap-absjo",
|
|
12
|
+
title: "SAP ABS JO",
|
|
13
|
+
logo: "https://www.e2abs.com/wp-content/uploads/2021/03/Website-Main-Logo-1.svg",
|
|
14
|
+
description: "",
|
|
15
|
+
disabled: false,
|
|
16
|
+
JSONSchema: {
|
|
17
|
+
title: "SAP Integration Settings",
|
|
18
|
+
type: "object",
|
|
19
|
+
required: ["repzoApiKey", "sapHostUrl"],
|
|
20
|
+
properties: {
|
|
21
|
+
repzoApiKey: {
|
|
22
|
+
type: "string",
|
|
23
|
+
title: "Repzo API KEY",
|
|
24
|
+
},
|
|
25
|
+
sapHostUrl: {
|
|
26
|
+
type: "string",
|
|
27
|
+
title: "SAP Host Url",
|
|
28
|
+
},
|
|
29
|
+
errorEmail: {
|
|
30
|
+
type: "string",
|
|
31
|
+
format: "email",
|
|
32
|
+
title: "Email in case of error",
|
|
33
|
+
},
|
|
34
|
+
warehouseDefaultUpdateDate: {
|
|
35
|
+
type: "string",
|
|
36
|
+
format: "date",
|
|
37
|
+
title: "Warehouse: Default Update Date",
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
options_JSONSchema: {
|
|
42
|
+
title: "SAP Integration Optional Settings",
|
|
43
|
+
type: "object",
|
|
44
|
+
required: [],
|
|
45
|
+
properties: {
|
|
46
|
+
bench_time_warehouse: {
|
|
47
|
+
title: "Bench Time: Warehouse",
|
|
48
|
+
type: "string",
|
|
49
|
+
format: "date",
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
app_settings: {
|
|
54
|
+
repo: "",
|
|
55
|
+
serviceEndPoint: "",
|
|
56
|
+
_id: "6391a268db71ef64357195db",
|
|
57
|
+
},
|
|
58
|
+
app_category: "6249fa8466312f76e595634a",
|
|
59
|
+
commands: [
|
|
60
|
+
{
|
|
61
|
+
command: "basic",
|
|
62
|
+
name: "Full Sync",
|
|
63
|
+
description: "",
|
|
64
|
+
_id: "6391a268db71ef64357195dc",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
command: "join",
|
|
68
|
+
name: "Join",
|
|
69
|
+
description: "",
|
|
70
|
+
_id: "6391a268db71ef64357195dd",
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
actions: [],
|
|
74
|
+
createdAt: "2022-12-08T08:38:00.915Z",
|
|
75
|
+
updatedAt: "2022-12-08T09:42:49.236Z",
|
|
76
|
+
__v: 0,
|
|
77
|
+
},
|
|
78
|
+
company_namespace: ["unisap"],
|
|
79
|
+
formData: {
|
|
80
|
+
repzoApiKey: "L98_Pc8qZG2R5hZIIMjxLQNUgUzT3_0aX2BuLvkyh74",
|
|
81
|
+
sapHostUrl: "http://unipal.b1pro.com:8083/api",
|
|
82
|
+
errorEmail: "maram.alshen@repzoapp.com",
|
|
83
|
+
serviceApiKey: "awdas",
|
|
84
|
+
warehouseDefaultUpdateDate: "2015-01-01",
|
|
85
|
+
},
|
|
86
|
+
options_formData: {},
|
|
87
|
+
createdAt: "2022-12-08T08:50:06.903Z",
|
|
88
|
+
updatedAt: "2022-12-08T09:43:21.620Z",
|
|
89
|
+
__v: 0,
|
|
90
|
+
},
|
|
91
|
+
end_of_day: "04:00",
|
|
92
|
+
nameSpace: ["unisap"],
|
|
93
|
+
timezone: "Asia/Amman",
|
|
94
|
+
meta: "",
|
|
95
|
+
env: "staging",
|
|
96
|
+
sync_id: "47c9c804-e136-4d54-928a-000011",
|
|
97
|
+
command: "product",
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
Commands(commandEvent);
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { CommandEvent, Result } from "../../types";
|
|
2
|
+
import { Commands } from "../../index.js";
|
|
3
|
+
|
|
4
|
+
let commandEvent: CommandEvent | any = {
|
|
5
|
+
app: {
|
|
6
|
+
_id: "6391a53edb71ef6435719794",
|
|
7
|
+
name: "SAP",
|
|
8
|
+
disabled: false,
|
|
9
|
+
available_app: {
|
|
10
|
+
_id: "6391a268db71ef64357195da",
|
|
11
|
+
name: "repzo-sap-absjo",
|
|
12
|
+
title: "SAP ABS JO",
|
|
13
|
+
logo: "https://www.e2abs.com/wp-content/uploads/2021/03/Website-Main-Logo-1.svg",
|
|
14
|
+
description: "",
|
|
15
|
+
disabled: false,
|
|
16
|
+
JSONSchema: {
|
|
17
|
+
title: "SAP Integration Settings",
|
|
18
|
+
type: "object",
|
|
19
|
+
required: ["repzoApiKey", "sapHostUrl"],
|
|
20
|
+
properties: {
|
|
21
|
+
repzoApiKey: {
|
|
22
|
+
type: "string",
|
|
23
|
+
title: "Repzo API KEY",
|
|
24
|
+
},
|
|
25
|
+
sapHostUrl: {
|
|
26
|
+
type: "string",
|
|
27
|
+
title: "SAP Host Url",
|
|
28
|
+
},
|
|
29
|
+
errorEmail: {
|
|
30
|
+
type: "string",
|
|
31
|
+
format: "email",
|
|
32
|
+
title: "Email in case of error",
|
|
33
|
+
},
|
|
34
|
+
warehouseDefaultUpdateDate: {
|
|
35
|
+
type: "string",
|
|
36
|
+
format: "date",
|
|
37
|
+
title: "Warehouse: Default Update Date",
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
options_JSONSchema: {
|
|
42
|
+
title: "SAP Integration Optional Settings",
|
|
43
|
+
type: "object",
|
|
44
|
+
required: [],
|
|
45
|
+
properties: {
|
|
46
|
+
bench_time_warehouse: {
|
|
47
|
+
title: "Bench Time: Warehouse",
|
|
48
|
+
type: "string",
|
|
49
|
+
format: "date",
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
app_settings: {
|
|
54
|
+
repo: "",
|
|
55
|
+
serviceEndPoint: "",
|
|
56
|
+
_id: "6391a268db71ef64357195db",
|
|
57
|
+
},
|
|
58
|
+
app_category: "6249fa8466312f76e595634a",
|
|
59
|
+
commands: [
|
|
60
|
+
{
|
|
61
|
+
command: "basic",
|
|
62
|
+
name: "Full Sync",
|
|
63
|
+
description: "",
|
|
64
|
+
_id: "6391a268db71ef64357195dc",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
command: "join",
|
|
68
|
+
name: "Join",
|
|
69
|
+
description: "",
|
|
70
|
+
_id: "6391a268db71ef64357195dd",
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
actions: [],
|
|
74
|
+
createdAt: "2022-12-08T08:38:00.915Z",
|
|
75
|
+
updatedAt: "2022-12-08T09:42:49.236Z",
|
|
76
|
+
__v: 0,
|
|
77
|
+
},
|
|
78
|
+
company_namespace: ["unisap"],
|
|
79
|
+
formData: {
|
|
80
|
+
repzoApiKey: "L98_Pc8qZG2R5hZIIMjxLQNUgUzT3_0aX2BuLvkyh74",
|
|
81
|
+
sapHostUrl: "http://unipal.b1pro.com:8083/api",
|
|
82
|
+
errorEmail: "maram.alshen@repzoapp.com",
|
|
83
|
+
serviceApiKey: "awdas",
|
|
84
|
+
warehouseDefaultUpdateDate: "2015-01-01",
|
|
85
|
+
},
|
|
86
|
+
options_formData: {},
|
|
87
|
+
createdAt: "2022-12-08T08:50:06.903Z",
|
|
88
|
+
updatedAt: "2022-12-08T09:43:21.620Z",
|
|
89
|
+
__v: 0,
|
|
90
|
+
},
|
|
91
|
+
end_of_day: "04:00",
|
|
92
|
+
nameSpace: ["unisap"],
|
|
93
|
+
timezone: "Asia/Amman",
|
|
94
|
+
meta: "",
|
|
95
|
+
env: "staging",
|
|
96
|
+
sync_id: "47c9c804-e136-4d54-928a-000012",
|
|
97
|
+
command: "disabled_product",
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
Commands(commandEvent);
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { CommandEvent, Result } from "../../types";
|
|
2
|
+
import { Commands } from "../../index.js";
|
|
3
|
+
|
|
4
|
+
let commandEvent: CommandEvent | any = {
|
|
5
|
+
app: {
|
|
6
|
+
_id: "6391a53edb71ef6435719794",
|
|
7
|
+
name: "SAP",
|
|
8
|
+
disabled: false,
|
|
9
|
+
available_app: {
|
|
10
|
+
_id: "6391a268db71ef64357195da",
|
|
11
|
+
name: "repzo-sap-absjo",
|
|
12
|
+
title: "SAP ABS JO",
|
|
13
|
+
logo: "https://www.e2abs.com/wp-content/uploads/2021/03/Website-Main-Logo-1.svg",
|
|
14
|
+
description: "",
|
|
15
|
+
disabled: false,
|
|
16
|
+
JSONSchema: {
|
|
17
|
+
title: "SAP Integration Settings",
|
|
18
|
+
type: "object",
|
|
19
|
+
required: ["repzoApiKey", "sapHostUrl"],
|
|
20
|
+
properties: {
|
|
21
|
+
repzoApiKey: {
|
|
22
|
+
type: "string",
|
|
23
|
+
title: "Repzo API KEY",
|
|
24
|
+
},
|
|
25
|
+
sapHostUrl: {
|
|
26
|
+
type: "string",
|
|
27
|
+
title: "SAP Host Url",
|
|
28
|
+
},
|
|
29
|
+
errorEmail: {
|
|
30
|
+
type: "string",
|
|
31
|
+
format: "email",
|
|
32
|
+
title: "Email in case of error",
|
|
33
|
+
},
|
|
34
|
+
warehouseDefaultUpdateDate: {
|
|
35
|
+
type: "string",
|
|
36
|
+
format: "date",
|
|
37
|
+
title: "Warehouse: Default Update Date",
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
options_JSONSchema: {
|
|
42
|
+
title: "SAP Integration Optional Settings",
|
|
43
|
+
type: "object",
|
|
44
|
+
required: [],
|
|
45
|
+
properties: {
|
|
46
|
+
bench_time_warehouse: {
|
|
47
|
+
title: "Bench Time: Warehouse",
|
|
48
|
+
type: "string",
|
|
49
|
+
format: "date",
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
app_settings: {
|
|
54
|
+
repo: "",
|
|
55
|
+
serviceEndPoint: "",
|
|
56
|
+
_id: "6391a268db71ef64357195db",
|
|
57
|
+
},
|
|
58
|
+
app_category: "6249fa8466312f76e595634a",
|
|
59
|
+
commands: [
|
|
60
|
+
{
|
|
61
|
+
command: "basic",
|
|
62
|
+
name: "Full Sync",
|
|
63
|
+
description: "",
|
|
64
|
+
_id: "6391a268db71ef64357195dc",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
command: "join",
|
|
68
|
+
name: "Join",
|
|
69
|
+
description: "",
|
|
70
|
+
_id: "6391a268db71ef64357195dd",
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
actions: [],
|
|
74
|
+
createdAt: "2022-12-08T08:38:00.915Z",
|
|
75
|
+
updatedAt: "2022-12-08T09:42:49.236Z",
|
|
76
|
+
__v: 0,
|
|
77
|
+
},
|
|
78
|
+
company_namespace: ["unisap"],
|
|
79
|
+
formData: {
|
|
80
|
+
repzoApiKey: "L98_Pc8qZG2R5hZIIMjxLQNUgUzT3_0aX2BuLvkyh74",
|
|
81
|
+
sapHostUrl: "http://unipal.b1pro.com:8083/api",
|
|
82
|
+
errorEmail: "maram.alshen@repzoapp.com",
|
|
83
|
+
serviceApiKey: "awdas",
|
|
84
|
+
warehouseDefaultUpdateDate: "2015-01-01",
|
|
85
|
+
},
|
|
86
|
+
options_formData: {},
|
|
87
|
+
createdAt: "2022-12-08T08:50:06.903Z",
|
|
88
|
+
updatedAt: "2022-12-08T09:43:21.620Z",
|
|
89
|
+
__v: 0,
|
|
90
|
+
},
|
|
91
|
+
end_of_day: "04:00",
|
|
92
|
+
nameSpace: ["unisap"],
|
|
93
|
+
timezone: "Asia/Amman",
|
|
94
|
+
meta: "",
|
|
95
|
+
env: "staging",
|
|
96
|
+
sync_id: "47c9c804-e136-4d54-928a-000001",
|
|
97
|
+
command: "rep",
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
Commands(commandEvent);
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { CommandEvent, Result } from "../../types";
|
|
2
|
+
import { Commands } from "../../index.js";
|
|
3
|
+
|
|
4
|
+
let commandEvent: CommandEvent | any = {
|
|
5
|
+
app: {
|
|
6
|
+
_id: "6391a53edb71ef6435719794",
|
|
7
|
+
name: "SAP",
|
|
8
|
+
disabled: false,
|
|
9
|
+
available_app: {
|
|
10
|
+
_id: "6391a268db71ef64357195da",
|
|
11
|
+
name: "repzo-sap-absjo",
|
|
12
|
+
title: "SAP ABS JO",
|
|
13
|
+
logo: "https://www.e2abs.com/wp-content/uploads/2021/03/Website-Main-Logo-1.svg",
|
|
14
|
+
description: "",
|
|
15
|
+
disabled: false,
|
|
16
|
+
JSONSchema: {
|
|
17
|
+
title: "SAP Integration Settings",
|
|
18
|
+
type: "object",
|
|
19
|
+
required: ["repzoApiKey", "sapHostUrl"],
|
|
20
|
+
properties: {
|
|
21
|
+
repzoApiKey: {
|
|
22
|
+
type: "string",
|
|
23
|
+
title: "Repzo API KEY",
|
|
24
|
+
},
|
|
25
|
+
sapHostUrl: {
|
|
26
|
+
type: "string",
|
|
27
|
+
title: "SAP Host Url",
|
|
28
|
+
},
|
|
29
|
+
errorEmail: {
|
|
30
|
+
type: "string",
|
|
31
|
+
format: "email",
|
|
32
|
+
title: "Email in case of error",
|
|
33
|
+
},
|
|
34
|
+
warehouseDefaultUpdateDate: {
|
|
35
|
+
type: "string",
|
|
36
|
+
format: "date",
|
|
37
|
+
title: "Warehouse: Default Update Date",
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
options_JSONSchema: {
|
|
42
|
+
title: "SAP Integration Optional Settings",
|
|
43
|
+
type: "object",
|
|
44
|
+
required: [],
|
|
45
|
+
properties: {
|
|
46
|
+
bench_time_warehouse: {
|
|
47
|
+
title: "Bench Time: Warehouse",
|
|
48
|
+
type: "string",
|
|
49
|
+
format: "date",
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
app_settings: {
|
|
54
|
+
repo: "",
|
|
55
|
+
serviceEndPoint: "",
|
|
56
|
+
_id: "6391a268db71ef64357195db",
|
|
57
|
+
},
|
|
58
|
+
app_category: "6249fa8466312f76e595634a",
|
|
59
|
+
commands: [
|
|
60
|
+
{
|
|
61
|
+
command: "basic",
|
|
62
|
+
name: "Full Sync",
|
|
63
|
+
description: "",
|
|
64
|
+
_id: "6391a268db71ef64357195dc",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
command: "join",
|
|
68
|
+
name: "Join",
|
|
69
|
+
description: "",
|
|
70
|
+
_id: "6391a268db71ef64357195dd",
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
actions: [],
|
|
74
|
+
createdAt: "2022-12-08T08:38:00.915Z",
|
|
75
|
+
updatedAt: "2022-12-08T09:42:49.236Z",
|
|
76
|
+
__v: 0,
|
|
77
|
+
},
|
|
78
|
+
company_namespace: ["unisap"],
|
|
79
|
+
formData: {
|
|
80
|
+
repzoApiKey: "L98_Pc8qZG2R5hZIIMjxLQNUgUzT3_0aX2BuLvkyh74",
|
|
81
|
+
sapHostUrl: "http://unipal.b1pro.com:8083/api",
|
|
82
|
+
errorEmail: "maram.alshen@repzoapp.com",
|
|
83
|
+
serviceApiKey: "awdas",
|
|
84
|
+
warehouseDefaultUpdateDate: "2015-01-01",
|
|
85
|
+
},
|
|
86
|
+
options_formData: {},
|
|
87
|
+
createdAt: "2022-12-08T08:50:06.903Z",
|
|
88
|
+
updatedAt: "2022-12-08T09:43:21.620Z",
|
|
89
|
+
__v: 0,
|
|
90
|
+
},
|
|
91
|
+
end_of_day: "04:00",
|
|
92
|
+
nameSpace: ["unisap"],
|
|
93
|
+
timezone: "Asia/Amman",
|
|
94
|
+
meta: "",
|
|
95
|
+
env: "staging",
|
|
96
|
+
sync_id: "47c9c804-e136-4d54-928a-000003",
|
|
97
|
+
command: "tag",
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
Commands(commandEvent);
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { CommandEvent, Result } from "../../types";
|
|
2
|
+
import { Commands } from "../../index.js";
|
|
3
|
+
|
|
4
|
+
let commandEvent: CommandEvent | any = {
|
|
5
|
+
app: {
|
|
6
|
+
_id: "6391a53edb71ef6435719794",
|
|
7
|
+
name: "SAP",
|
|
8
|
+
disabled: false,
|
|
9
|
+
available_app: {
|
|
10
|
+
_id: "6391a268db71ef64357195da",
|
|
11
|
+
name: "repzo-sap-absjo",
|
|
12
|
+
title: "SAP ABS JO",
|
|
13
|
+
logo: "https://www.e2abs.com/wp-content/uploads/2021/03/Website-Main-Logo-1.svg",
|
|
14
|
+
description: "",
|
|
15
|
+
disabled: false,
|
|
16
|
+
JSONSchema: {
|
|
17
|
+
title: "SAP Integration Settings",
|
|
18
|
+
type: "object",
|
|
19
|
+
required: ["repzoApiKey", "sapHostUrl"],
|
|
20
|
+
properties: {
|
|
21
|
+
repzoApiKey: {
|
|
22
|
+
type: "string",
|
|
23
|
+
title: "Repzo API KEY",
|
|
24
|
+
},
|
|
25
|
+
sapHostUrl: {
|
|
26
|
+
type: "string",
|
|
27
|
+
title: "SAP Host Url",
|
|
28
|
+
},
|
|
29
|
+
errorEmail: {
|
|
30
|
+
type: "string",
|
|
31
|
+
format: "email",
|
|
32
|
+
title: "Email in case of error",
|
|
33
|
+
},
|
|
34
|
+
warehouseDefaultUpdateDate: {
|
|
35
|
+
type: "string",
|
|
36
|
+
format: "date",
|
|
37
|
+
title: "Warehouse: Default Update Date",
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
options_JSONSchema: {
|
|
42
|
+
title: "SAP Integration Optional Settings",
|
|
43
|
+
type: "object",
|
|
44
|
+
required: [],
|
|
45
|
+
properties: {
|
|
46
|
+
bench_time_warehouse: {
|
|
47
|
+
title: "Bench Time: Warehouse",
|
|
48
|
+
type: "string",
|
|
49
|
+
format: "date",
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
app_settings: {
|
|
54
|
+
repo: "",
|
|
55
|
+
serviceEndPoint: "",
|
|
56
|
+
_id: "6391a268db71ef64357195db",
|
|
57
|
+
},
|
|
58
|
+
app_category: "6249fa8466312f76e595634a",
|
|
59
|
+
commands: [
|
|
60
|
+
{
|
|
61
|
+
command: "basic",
|
|
62
|
+
name: "Full Sync",
|
|
63
|
+
description: "",
|
|
64
|
+
_id: "6391a268db71ef64357195dc",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
command: "join",
|
|
68
|
+
name: "Join",
|
|
69
|
+
description: "",
|
|
70
|
+
_id: "6391a268db71ef64357195dd",
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
actions: [],
|
|
74
|
+
createdAt: "2022-12-08T08:38:00.915Z",
|
|
75
|
+
updatedAt: "2022-12-08T09:42:49.236Z",
|
|
76
|
+
__v: 0,
|
|
77
|
+
},
|
|
78
|
+
company_namespace: ["unisap"],
|
|
79
|
+
formData: {
|
|
80
|
+
repzoApiKey: "L98_Pc8qZG2R5hZIIMjxLQNUgUzT3_0aX2BuLvkyh74",
|
|
81
|
+
sapHostUrl: "http://unipal.b1pro.com:8083/api",
|
|
82
|
+
errorEmail: "maram.alshen@repzoapp.com",
|
|
83
|
+
serviceApiKey: "awdas",
|
|
84
|
+
warehouseDefaultUpdateDate: "2015-01-01",
|
|
85
|
+
},
|
|
86
|
+
options_formData: {},
|
|
87
|
+
createdAt: "2022-12-08T08:50:06.903Z",
|
|
88
|
+
updatedAt: "2022-12-08T09:43:21.620Z",
|
|
89
|
+
__v: 0,
|
|
90
|
+
},
|
|
91
|
+
end_of_day: "04:00",
|
|
92
|
+
nameSpace: ["unisap"],
|
|
93
|
+
timezone: "Asia/Amman",
|
|
94
|
+
meta: "",
|
|
95
|
+
env: "staging",
|
|
96
|
+
sync_id: "47c9c804-e136-4d54-928a-000002",
|
|
97
|
+
command: "tax",
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
Commands(commandEvent);
|