Skip to content

Commit f96c1c2

Browse files
committed
Fix MultiFlexi app.json validation issues
Removed empty ociimage/image fields from: - abraflexi-ipex-prepaid.multiflexi.app.json - abraflexi-ipex-postpaid-invoices.multiflexi.app.json - abraflexi-ipex-postpaid-orders.multiflexi.app.json
1 parent b948d39 commit f96c1c2

3 files changed

Lines changed: 422 additions & 166 deletions
Lines changed: 147 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,142 +1,231 @@
11
{
2-
"name": "Postpaid IPEX to AbraFlexi Invoices",
3-
"description": "Generate invoices from Orders using AbraFlexi",
4-
"executable": "abraflexi-ipex-postpaid-invoices",
5-
"setup": "abraflexi-ipex-setup",
6-
"cmdparams": "",
7-
"deploy": "apt install abraflexi-ipex",
8-
"homepage": "https://github.com/Spoje-NET/abraflexi-ipex",
9-
"requirements": ["AbraFlexi"],
10-
"ociimage": "",
11-
"topics": ["AbraFlexi", "Ipex", "Invoice"],
2+
"$schema": "https://raw.githubusercontent.com/VitexSoftware/php-vitexsoftware-multiflexi-core/refs/heads/main/multiflexi.app.schema.json",
3+
"schemaVersion": "3.0.0",
124
"uuid": "262dabf1-d7b1-42c8-91a1-fe991631547c",
13-
"produces": {
14-
"invoices": {
15-
"description": "AbraFlexi invoices created from orders",
16-
"format": "json"
17-
}
5+
"name": {
6+
"en": "Postpaid IPEX to AbraFlexi Invoices",
7+
"cs": "Postpaid IPEX to AbraFlexi Invoices"
188
},
9+
"description": {
10+
"en": "Generate invoices from Orders using AbraFlexi",
11+
"cs": "Generate invoices from Orders using AbraFlexi"
12+
},
13+
"tags": [
14+
"AbraFlexi",
15+
"Ipex",
16+
"Invoice"
17+
],
18+
"homepage": "https://github.com/Spoje-NET/abraflexi-ipex",
19+
"executable": "abraflexi-ipex-postpaid-invoices",
1920
"environment": {
2021
"APP_DEBUG": {
2122
"type": "bool",
22-
"description": "Show debug messages",
23+
"description": {
24+
"en": "Show debug messages",
25+
"cs": "Show debug messages"
26+
},
2327
"defval": "False",
24-
"required": false
28+
"required": false,
29+
"category": "Behavior"
2530
},
2631
"RESULT_FILE": {
2732
"type": "string",
28-
"description": "write output json data to",
33+
"description": {
34+
"en": "write output json data to",
35+
"cs": "write output json data to"
36+
},
2937
"defval": "multiflexi_ipex_invoices_{ABRAFLEXI_COMPANY}.json",
30-
"required": false
38+
"required": false,
39+
"category": "Other"
3140
},
3241
"EASE_LOGGER": {
3342
"type": "string",
34-
"description": "Logger type",
43+
"description": {
44+
"en": "Logger type",
45+
"cs": "Logger type"
46+
},
3547
"defval": "syslog|console",
36-
"required": false
48+
"required": false,
49+
"category": "Behavior"
3750
},
3851
"EMAIL_FROM": {
3952
"type": "string",
40-
"description": "Email from address",
53+
"description": {
54+
"en": "Email from address",
55+
"cs": "Email from address"
56+
},
4157
"defval": "michal.tomasek@spojenet.cz",
42-
"required": true
58+
"required": true,
59+
"category": "Other"
4360
},
4461
"SEND_INFO_TO": {
4562
"type": "string",
46-
"description": "Send info to address",
63+
"description": {
64+
"en": "Send info to address",
65+
"cs": "Send info to address"
66+
},
4767
"defval": "",
48-
"required": true
68+
"required": true,
69+
"category": "Other"
4970
},
5071
"ABRAFLEXI_URL": {
5172
"type": "string",
52-
"description": "AbraFlexi URL",
73+
"description": {
74+
"en": "AbraFlexi URL",
75+
"cs": "AbraFlexi URL"
76+
},
5377
"defval": "",
54-
"required": true
78+
"required": true,
79+
"category": "API"
5580
},
5681
"ABRAFLEXI_LOGIN": {
5782
"type": "string",
58-
"description": "AbraFlexi login",
83+
"description": {
84+
"en": "AbraFlexi login",
85+
"cs": "AbraFlexi login"
86+
},
5987
"defval": "",
60-
"required": true
88+
"required": true,
89+
"category": "API"
6190
},
6291
"ABRAFLEXI_PASSWORD": {
63-
"type": "string",
64-
"description": "AbraFlexi password",
92+
"type": "password",
93+
"description": {
94+
"en": "AbraFlexi password",
95+
"cs": "AbraFlexi password"
96+
},
6597
"defval": "",
66-
"required": true
98+
"required": true,
99+
"category": "API"
67100
},
68101
"ABRAFLEXI_COMPANY": {
69102
"type": "string",
70-
"description": "AbraFlexi company",
103+
"description": {
104+
"en": "AbraFlexi company",
105+
"cs": "AbraFlexi company"
106+
},
71107
"defval": "",
72-
"required": true
108+
"required": true,
109+
"category": "API"
73110
},
74111
"ABRAFLEXI_ORDERTYPE": {
75112
"type": "string",
76-
"description": "AbraFlexi order type",
113+
"description": {
114+
"en": "AbraFlexi order type",
115+
"cs": "AbraFlexi order type"
116+
},
77117
"defval": "code:OBP_VOIP",
78-
"required": true
118+
"required": true,
119+
"category": "API"
79120
},
80121
"ABRAFLEXI_SEND": {
81122
"type": "bool",
82-
"description": "Send created invoices immediately",
123+
"description": {
124+
"en": "Send created invoices immediately",
125+
"cs": "Send created invoices immediately"
126+
},
83127
"defval": "False",
84-
"required": true
128+
"required": true,
129+
"category": "API"
85130
},
86131
"ABRAFLEXI_PRODUCT": {
87132
"type": "string",
88-
"description": "AbraFlexi product",
133+
"description": {
134+
"en": "AbraFlexi product",
135+
"cs": "AbraFlexi product"
136+
},
89137
"defval": "code:IPEX_POSTPAID",
90-
"required": true
138+
"required": true,
139+
"category": "API"
91140
},
92141
"ABRAFLEXI_DOCTYPE": {
93142
"type": "string",
94-
"description": "AbraFlexi document type",
143+
"description": {
144+
"en": "AbraFlexi document type",
145+
"cs": "AbraFlexi document type"
146+
},
95147
"defval": "code:FAKTURA",
96-
"required": true
148+
"required": true,
149+
"category": "API"
97150
},
98151
"ABRAFLEXI_SKIPLIST": {
99152
"type": "string",
100-
"description": "AbraFlexi skip list",
153+
"description": {
154+
"en": "AbraFlexi skip list",
155+
"cs": "AbraFlexi skip list"
156+
},
101157
"defval": "",
102-
"required": false
158+
"required": false,
159+
"category": "API"
103160
},
104161
"IPEX_URL": {
105162
"type": "string",
106-
"description": "Ipex URL",
163+
"description": {
164+
"en": "Ipex URL",
165+
"cs": "Ipex URL"
166+
},
107167
"defval": "https://restapi.ipex.cz",
108-
"required": true
168+
"required": true,
169+
"category": "Other"
109170
},
110171
"IPEX_LOGIN": {
111172
"type": "string",
112-
"description": "Ipex login",
173+
"description": {
174+
"en": "Ipex login",
175+
"cs": "Ipex login"
176+
},
113177
"defval": "",
114-
"required": true
178+
"required": true,
179+
"category": "Other"
115180
},
116181
"IPEX_PASSWORD": {
117-
"type": "string",
118-
"description": "Ipex password",
182+
"type": "password",
183+
"description": {
184+
"en": "Ipex password",
185+
"cs": "Ipex password"
186+
},
119187
"defval": "",
120-
"required": true
188+
"required": true,
189+
"category": "Security"
121190
},
122191
"MONTH_OFFSET": {
123192
"type": "integer",
124-
"description": "Month offset for processing (negative values for past months, e.g. -1 for last month)",
193+
"description": {
194+
"en": "Month offset for processing (negative values for past months, e.g. -1 for last month)",
195+
"cs": "Month offset for processing (negative values for past months, e.g. -1 for last month)"
196+
},
125197
"defval": -1,
126-
"required": false
198+
"required": false,
199+
"category": "Other"
127200
},
128201
"ATTACH_CALL_LIST_PDF": {
129202
"type": "bool",
130-
"description": "Enable attaching PDF call list to invoices in AbraFlexi",
203+
"description": {
204+
"en": "Enable attaching PDF call list to invoices in AbraFlexi",
205+
"cs": "Enable attaching PDF call list to invoices in AbraFlexi"
206+
},
131207
"defval": "True",
132-
"required": false
208+
"required": false,
209+
"category": "Other"
133210
},
134211
"SEND_CALL_LIST_EMAIL": {
135212
"type": "bool",
136-
"description": "Enable sending call list PDF by email to customers",
213+
"description": {
214+
"en": "Enable sending call list PDF by email to customers",
215+
"cs": "Enable odeslating call list PDF by ee-mail to customers"
216+
},
137217
"defval": "True",
138-
"required": false
218+
"required": false,
219+
"category": "Other"
139220
}
140221
},
141-
"multiflexi": "1.20.0"
222+
"produces": {
223+
"invoices": {
224+
"description": {
225+
"en": "AbraFlexi invoices created from orders",
226+
"cs": "AbraFlexi invoices created from orders"
227+
},
228+
"format": "json"
229+
}
230+
}
142231
}

0 commit comments

Comments
 (0)