@things-factory/sales 10.1.255 → 10.1.256
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/dist-client/tsconfig.tsbuildinfo +1 -1
- package/dist-server/index.d.ts +1 -0
- package/dist-server/index.js +1 -0
- package/dist-server/index.js.map +1 -1
- package/dist-server/tsconfig.tsbuildinfo +1 -1
- package/dist-server/work-doors.d.ts +1 -0
- package/dist-server/work-doors.js +13 -0
- package/dist-server/work-doors.js.map +1 -0
- package/package.json +6 -6
- package/translations/en.json +4 -1
- package/translations/es.json +4 -1
- package/translations/ja.json +4 -1
- package/translations/ko.json +4 -1
- package/translations/ms.json +4 -1
- package/translations/zh.json +4 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const auth_base_1 = require("@things-factory/auth-base");
|
|
4
|
+
/*
|
|
5
|
+
* The work this module does through its doors that a report of one's week takes in by itself (ADR-0185 decision 6,
|
|
6
|
+
* Q5): The opportunities, quotations and products of the sales seat. Each name is a translation key of this module.
|
|
7
|
+
*/
|
|
8
|
+
(0, auth_base_1.registerWorkDoors)([
|
|
9
|
+
{ work: 'work.sales.opportunities', fields: ['createOpportunity', 'updateOpportunity', 'loseOpportunity'] },
|
|
10
|
+
{ work: 'work.sales.quotations', fields: ['createQuotation', 'updateQuotation', 'reviseQuotation', 'sendQuotation', 'acceptQuotation', 'rejectQuotation', 'expireQuotation'] },
|
|
11
|
+
{ work: 'work.sales.products', fields: ['updateMultipleSalesProduct', 'deleteSalesProducts'] }
|
|
12
|
+
]);
|
|
13
|
+
//# sourceMappingURL=work-doors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-doors.js","sourceRoot":"","sources":["../server/work-doors.ts"],"names":[],"mappings":";;AAAA,yDAA6D;AAE7D;;;GAGG;AACH,IAAA,6BAAiB,EAAC;IAChB,EAAE,IAAI,EAAE,0BAA0B,EAAE,MAAM,EAAE,CAAC,mBAAmB,EAAE,mBAAmB,EAAE,iBAAiB,CAAC,EAAE;IAC3G,EAAE,IAAI,EAAE,uBAAuB,EAAE,MAAM,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,eAAe,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,iBAAiB,CAAC,EAAE;IAC9K,EAAE,IAAI,EAAE,qBAAqB,EAAE,MAAM,EAAE,CAAC,4BAA4B,EAAE,qBAAqB,CAAC,EAAE;CAC/F,CAAC,CAAA","sourcesContent":["import { registerWorkDoors } from '@things-factory/auth-base'\n\n/*\n * The work this module does through its doors that a report of one's week takes in by itself (ADR-0185 decision 6,\n * Q5): The opportunities, quotations and products of the sales seat. Each name is a translation key of this module.\n */\nregisterWorkDoors([\n { work: 'work.sales.opportunities', fields: ['createOpportunity', 'updateOpportunity', 'loseOpportunity'] },\n { work: 'work.sales.quotations', fields: ['createQuotation', 'updateQuotation', 'reviseQuotation', 'sendQuotation', 'acceptQuotation', 'rejectQuotation', 'expireQuotation'] },\n { work: 'work.sales.products', fields: ['updateMultipleSalesProduct', 'deleteSalesProducts'] }\n])\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/sales",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.256",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "dist-client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
"@operato/shell": "^10.0.0",
|
|
41
41
|
"@operato/styles": "^10.29.1",
|
|
42
42
|
"@operato/utils": "^10.0.0",
|
|
43
|
-
"@things-factory/ai-assistant": "^10.1.
|
|
44
|
-
"@things-factory/auth-base": "^10.1.
|
|
45
|
-
"@things-factory/biz-base": "^10.1.
|
|
46
|
-
"@things-factory/invoice": "^10.1.
|
|
43
|
+
"@things-factory/ai-assistant": "^10.1.256",
|
|
44
|
+
"@things-factory/auth-base": "^10.1.256",
|
|
45
|
+
"@things-factory/biz-base": "^10.1.256",
|
|
46
|
+
"@things-factory/invoice": "^10.1.256",
|
|
47
47
|
"@things-factory/shell": "^10.1.254"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "2fd641697190ce6e87bcf454a60b2321553e8110"
|
|
50
50
|
}
|
package/translations/en.json
CHANGED
|
@@ -145,5 +145,8 @@
|
|
|
145
145
|
"text.quotation-send-confirm-purchase": "From {party} · total {total}. Once sent, its amounts cannot be changed - revise it to change them.",
|
|
146
146
|
"error.opportunity-not-won": "Only a won opportunity is opened again this way.",
|
|
147
147
|
"error.opportunity-reopen-reason-required": "Enter why it is opened again.",
|
|
148
|
-
"text.opportunity-event-reopened": "Reopened"
|
|
148
|
+
"text.opportunity-event-reopened": "Reopened",
|
|
149
|
+
"work.sales.opportunities": "Sales opportunities",
|
|
150
|
+
"work.sales.quotations": "Quotations",
|
|
151
|
+
"work.sales.products": "Sales products"
|
|
149
152
|
}
|
package/translations/es.json
CHANGED
|
@@ -137,5 +137,8 @@
|
|
|
137
137
|
"text.quotation-send-confirm-purchase": "De {party} · total {total}. Una vez enviada, sus importes no se pueden cambiar; revísela para cambiarlos.",
|
|
138
138
|
"error.opportunity-not-won": "Solo una oportunidad ganada se reabre así.",
|
|
139
139
|
"error.opportunity-reopen-reason-required": "Indique por qué se reabre.",
|
|
140
|
-
"text.opportunity-event-reopened": "Reabierta"
|
|
140
|
+
"text.opportunity-event-reopened": "Reabierta",
|
|
141
|
+
"work.sales.opportunities": "Oportunidades de venta",
|
|
142
|
+
"work.sales.quotations": "Presupuestos",
|
|
143
|
+
"work.sales.products": "Productos de venta"
|
|
141
144
|
}
|
package/translations/ja.json
CHANGED
|
@@ -137,5 +137,8 @@
|
|
|
137
137
|
"text.quotation-send-confirm-purchase": "送付元 {party} · 合計 {total}。送付後は金額を変更できません。変更するには改訂します。",
|
|
138
138
|
"error.opportunity-not-won": "受注した商談だけをこの方法で再開できます。",
|
|
139
139
|
"error.opportunity-reopen-reason-required": "再開する理由を入力してください。",
|
|
140
|
-
"text.opportunity-event-reopened": "再開"
|
|
140
|
+
"text.opportunity-event-reopened": "再開",
|
|
141
|
+
"work.sales.opportunities": "営業機会の管理",
|
|
142
|
+
"work.sales.quotations": "見積の作成・送付",
|
|
143
|
+
"work.sales.products": "販売商品の管理"
|
|
141
144
|
}
|
package/translations/ko.json
CHANGED
|
@@ -145,5 +145,8 @@
|
|
|
145
145
|
"text.quotation-send-confirm-purchase": "보낸 곳 {party} · 합계 {total}. 보낸 뒤에는 금액을 고칠 수 없습니다 — 고치려면 새 버전을 만듭니다.",
|
|
146
146
|
"error.opportunity-not-won": "수주한 영업 기회만 이렇게 다시 열 수 있습니다.",
|
|
147
147
|
"error.opportunity-reopen-reason-required": "다시 여는 사유를 입력하세요.",
|
|
148
|
-
"text.opportunity-event-reopened": "다시 열림"
|
|
148
|
+
"text.opportunity-event-reopened": "다시 열림",
|
|
149
|
+
"work.sales.opportunities": "영업 기회 관리",
|
|
150
|
+
"work.sales.quotations": "견적 작성 · 발송",
|
|
151
|
+
"work.sales.products": "판매 상품 관리"
|
|
149
152
|
}
|
package/translations/ms.json
CHANGED
|
@@ -137,5 +137,8 @@
|
|
|
137
137
|
"text.quotation-send-confirm-purchase": "Daripada {party} · jumlah {total}. Selepas dihantar, amaunnya tidak boleh diubah - semak semula untuk mengubahnya.",
|
|
138
138
|
"error.opportunity-not-won": "Hanya peluang yang dimenangi boleh dibuka semula begini.",
|
|
139
139
|
"error.opportunity-reopen-reason-required": "Masukkan sebab ia dibuka semula.",
|
|
140
|
-
"text.opportunity-event-reopened": "Dibuka semula"
|
|
140
|
+
"text.opportunity-event-reopened": "Dibuka semula",
|
|
141
|
+
"work.sales.opportunities": "Peluang jualan",
|
|
142
|
+
"work.sales.quotations": "Sebut harga",
|
|
143
|
+
"work.sales.products": "Produk jualan"
|
|
141
144
|
}
|
package/translations/zh.json
CHANGED
|
@@ -137,5 +137,8 @@
|
|
|
137
137
|
"text.quotation-send-confirm-purchase": "发件方 {party} · 合计 {total}。发送后金额不可更改,如需更改请修订。",
|
|
138
138
|
"error.opportunity-not-won": "只有赢单的商机可以这样重新打开。",
|
|
139
139
|
"error.opportunity-reopen-reason-required": "请输入重新打开的原因。",
|
|
140
|
-
"text.opportunity-event-reopened": "重新打开"
|
|
140
|
+
"text.opportunity-event-reopened": "重新打开",
|
|
141
|
+
"work.sales.opportunities": "销售机会管理",
|
|
142
|
+
"work.sales.quotations": "报价编写与发送",
|
|
143
|
+
"work.sales.products": "销售产品管理"
|
|
141
144
|
}
|