@wenex/sdk 1.1.25 → 1.1.27

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Note: <keep all update>
2
+ * Note: <keep all update> Collection | ConfigKey
3
3
  * - Replace all "_" in app service names with "-"
4
4
  * - Enums of Collection and Database exists at "./enums"
5
5
  */
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * Note: <keep all update>
3
+ * Note: <keep all update> Collection | ConfigKey
4
4
  * - Replace all "_" in app service names with "-"
5
5
  * - Enums of Collection and Database exists at "./enums"
6
6
  */
@@ -1 +1 @@
1
- {"version":3,"file":"collection.js","sourceRoot":"","sources":["../../src/common/core/collection.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,6DAA0D;AA+DnD,MAAM,UAAU,GAAG,CAAC,IAAU,EAAE,EAAa,EAAc,EAAE;IAClE,IAAI,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC;QAAE,MAAM,KAAK,CAAC,aAAa,IAAI,EAAE,CAAC,CAAC;IAC7E,MAAM,IAAI,GAAG,EAAE,IAAI,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC,EAAE,WAAW,EAAE,CAAC;IACjE,MAAM,UAAU,GAAG,GAAG,IAAK,CAAC,WAAW,EAAE,IAAI,IAAI,EAAO,CAAC;IACzD,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,4BAAC,CAAC,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,CAAC;QAC3C,MAAM,KAAK,CAAC,oBAAoB,CAAC,CAAC;IACpC,CAAC;;QAAM,OAAO,UAAwB,CAAC;AACzC,CAAC,CAAC;AAPW,QAAA,UAAU,cAOrB;AAEK,MAAM,IAAI,GAAG,CAAC,UAAsB,EAAoB,EAAE;IAC/D,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,4BAAC,CAAC,CAA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AIf"}
@@ -1,4 +1,47 @@
1
1
  export declare enum ConfigKey {
2
2
  RBAC = "RBAC",// Role-Based Access Control (RBAC)
3
- CQRS = "CQRS"
3
+ CQRS = "CQRS",// Command and Query Responsibility Segregation (CQRS)
4
+ AuthGrants = "auth/grants",
5
+ DomainApps = "domain/apps",
6
+ DomainClients = "domain/clients",
7
+ ContextConfigs = "context/configs",
8
+ ContextSettings = "context/settings",
9
+ IdentityUsers = "identity/users",
10
+ IdentitySessions = "identity/sessions",
11
+ IdentityProfiles = "identity/profiles",
12
+ EssentialSagas = "essential/sagas",
13
+ EssentialSagaStages = "essential/saga-stages",
14
+ FinancialWallets = "financial/wallets",
15
+ FinancialAccounts = "financial/accounts",
16
+ FinancialInvoices = "financial/invoices",
17
+ FinancialCurrencies = "financial/currencies",
18
+ FinancialTransactions = "financial/transactions",
19
+ GeneralEvents = "general/events",
20
+ GeneralArtifacts = "general/artifacts",
21
+ GeneralWorkflows = "general/workflows",
22
+ GeneralActivities = "general/activities",
23
+ SpecialStats = "special/stats",
24
+ SpecialFiles = "special/files",
25
+ TouchEmails = "touch/emails",
26
+ TouchSmss = "touch/smss",
27
+ TouchPushes = "touch/pushes",
28
+ TouchNotices = "touch/notices",
29
+ TouchPushHistories = "touch/push-histories",
30
+ ContentNotes = "content/notes",
31
+ ContentPosts = "content/posts",
32
+ ContentTickets = "content/tickets",
33
+ LogisticCargoes = "logistic/cargoes",
34
+ LogisticDrivers = "logistic/drivers",
35
+ LogisticTravels = "logistic/travels",
36
+ LogisticVehicles = "logistic/vehicles",
37
+ LogisticLocations = "logistic/locations",
38
+ ConjointMembers = "conjoint/members",
39
+ ConjointAccounts = "conjoint/accounts",
40
+ ConjointChannels = "conjoint/channels",
41
+ ConjointContacts = "conjoint/contacts",
42
+ ConjointMessages = "conjoint/messages",
43
+ CareerBranches = "career/branches",
44
+ CareerServices = "career/services",
45
+ CareerEmployees = "career/employees",
46
+ CareerBusinesses = "career/businesses"
4
47
  }
@@ -5,5 +5,64 @@ var ConfigKey;
5
5
  (function (ConfigKey) {
6
6
  ConfigKey["RBAC"] = "RBAC";
7
7
  ConfigKey["CQRS"] = "CQRS";
8
+ // --------------------------------------------------------
9
+ // Note: Base on Collection type at "core/collection.ts"
10
+ // --------------------------------------------------------
11
+ // Auth
12
+ ConfigKey["AuthGrants"] = "auth/grants";
13
+ // Domain
14
+ ConfigKey["DomainApps"] = "domain/apps";
15
+ ConfigKey["DomainClients"] = "domain/clients";
16
+ // Context
17
+ ConfigKey["ContextConfigs"] = "context/configs";
18
+ ConfigKey["ContextSettings"] = "context/settings";
19
+ // Identity
20
+ ConfigKey["IdentityUsers"] = "identity/users";
21
+ ConfigKey["IdentitySessions"] = "identity/sessions";
22
+ ConfigKey["IdentityProfiles"] = "identity/profiles";
23
+ // Essential
24
+ ConfigKey["EssentialSagas"] = "essential/sagas";
25
+ ConfigKey["EssentialSagaStages"] = "essential/saga-stages";
26
+ // Financial
27
+ ConfigKey["FinancialWallets"] = "financial/wallets";
28
+ ConfigKey["FinancialAccounts"] = "financial/accounts";
29
+ ConfigKey["FinancialInvoices"] = "financial/invoices";
30
+ ConfigKey["FinancialCurrencies"] = "financial/currencies";
31
+ ConfigKey["FinancialTransactions"] = "financial/transactions";
32
+ // General
33
+ ConfigKey["GeneralEvents"] = "general/events";
34
+ ConfigKey["GeneralArtifacts"] = "general/artifacts";
35
+ ConfigKey["GeneralWorkflows"] = "general/workflows";
36
+ ConfigKey["GeneralActivities"] = "general/activities";
37
+ // Special
38
+ ConfigKey["SpecialStats"] = "special/stats";
39
+ ConfigKey["SpecialFiles"] = "special/files";
40
+ // Touch
41
+ ConfigKey["TouchEmails"] = "touch/emails";
42
+ ConfigKey["TouchSmss"] = "touch/smss";
43
+ ConfigKey["TouchPushes"] = "touch/pushes";
44
+ ConfigKey["TouchNotices"] = "touch/notices";
45
+ ConfigKey["TouchPushHistories"] = "touch/push-histories";
46
+ // Content
47
+ ConfigKey["ContentNotes"] = "content/notes";
48
+ ConfigKey["ContentPosts"] = "content/posts";
49
+ ConfigKey["ContentTickets"] = "content/tickets";
50
+ // Logistic
51
+ ConfigKey["LogisticCargoes"] = "logistic/cargoes";
52
+ ConfigKey["LogisticDrivers"] = "logistic/drivers";
53
+ ConfigKey["LogisticTravels"] = "logistic/travels";
54
+ ConfigKey["LogisticVehicles"] = "logistic/vehicles";
55
+ ConfigKey["LogisticLocations"] = "logistic/locations";
56
+ // Conjoint
57
+ ConfigKey["ConjointMembers"] = "conjoint/members";
58
+ ConfigKey["ConjointAccounts"] = "conjoint/accounts";
59
+ ConfigKey["ConjointChannels"] = "conjoint/channels";
60
+ ConfigKey["ConjointContacts"] = "conjoint/contacts";
61
+ ConfigKey["ConjointMessages"] = "conjoint/messages";
62
+ // Career
63
+ ConfigKey["CareerBranches"] = "career/branches";
64
+ ConfigKey["CareerServices"] = "career/services";
65
+ ConfigKey["CareerEmployees"] = "career/employees";
66
+ ConfigKey["CareerBusinesses"] = "career/businesses";
8
67
  })(ConfigKey || (exports.ConfigKey = ConfigKey = {}));
9
68
  //# sourceMappingURL=key.enum.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"key.enum.js","sourceRoot":"","sources":["../../../../src/common/enums/context/configs/key.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,0BAAa,CAAA;IACb,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,yBAAT,SAAS,QAGpB"}
1
+ {"version":3,"file":"key.enum.js","sourceRoot":"","sources":["../../../../src/common/enums/context/configs/key.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,SA4EX;AA5ED,WAAY,SAAS;IACnB,0BAAa,CAAA;IACb,0BAAa,CAAA;IAEb,2DAA2D;IAC3D,wDAAwD;IACxD,2DAA2D;IAE3D,OAAO;IACP,uCAA0B,CAAA;IAE1B,SAAS;IACT,uCAA0B,CAAA;IAC1B,6CAAgC,CAAA;IAEhC,UAAU;IACV,+CAAkC,CAAA;IAClC,iDAAoC,CAAA;IAEpC,WAAW;IACX,6CAAgC,CAAA;IAChC,mDAAsC,CAAA;IACtC,mDAAsC,CAAA;IAEtC,YAAY;IACZ,+CAAkC,CAAA;IAClC,0DAA6C,CAAA;IAE7C,YAAY;IACZ,mDAAsC,CAAA;IACtC,qDAAwC,CAAA;IACxC,qDAAwC,CAAA;IACxC,yDAA4C,CAAA;IAC5C,6DAAgD,CAAA;IAEhD,UAAU;IACV,6CAAgC,CAAA;IAChC,mDAAsC,CAAA;IACtC,mDAAsC,CAAA;IACtC,qDAAwC,CAAA;IAExC,UAAU;IACV,2CAA8B,CAAA;IAC9B,2CAA8B,CAAA;IAE9B,QAAQ;IACR,yCAA4B,CAAA;IAC5B,qCAAwB,CAAA;IACxB,yCAA4B,CAAA;IAC5B,2CAA8B,CAAA;IAC9B,wDAA2C,CAAA;IAE3C,UAAU;IACV,2CAA8B,CAAA;IAC9B,2CAA8B,CAAA;IAC9B,+CAAkC,CAAA;IAElC,WAAW;IACX,iDAAoC,CAAA;IACpC,iDAAoC,CAAA;IACpC,iDAAoC,CAAA;IACpC,mDAAsC,CAAA;IACtC,qDAAwC,CAAA;IAExC,WAAW;IACX,iDAAoC,CAAA;IACpC,mDAAsC,CAAA;IACtC,mDAAsC,CAAA;IACtC,mDAAsC,CAAA;IACtC,mDAAsC,CAAA;IAEtC,SAAS;IACT,+CAAkC,CAAA;IAClC,+CAAkC,CAAA;IAClC,iDAAoC,CAAA;IACpC,mDAAsC,CAAA;AACxC,CAAC,EA5EW,SAAS,yBAAT,SAAS,QA4EpB"}
@@ -1,3 +1,3 @@
1
1
  export declare enum CurrencyProvider {
2
- WENEX = "WENEX"
2
+ UNKNOWN = "UNKNOWN"
3
3
  }
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CurrencyProvider = void 0;
4
4
  var CurrencyProvider;
5
5
  (function (CurrencyProvider) {
6
- CurrencyProvider["WENEX"] = "WENEX";
6
+ CurrencyProvider["UNKNOWN"] = "UNKNOWN";
7
7
  })(CurrencyProvider || (exports.CurrencyProvider = CurrencyProvider = {}));
8
8
  //# sourceMappingURL=provider.enum.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"provider.enum.js","sourceRoot":"","sources":["../../../../src/common/enums/financial/currencies/provider.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAEX;AAFD,WAAY,gBAAgB;IAC1B,mCAAe,CAAA;AACjB,CAAC,EAFW,gBAAgB,gCAAhB,gBAAgB,QAE3B"}
1
+ {"version":3,"file":"provider.enum.js","sourceRoot":"","sources":["../../../../src/common/enums/financial/currencies/provider.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAEX;AAFD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;AACrB,CAAC,EAFW,gBAAgB,gCAAhB,gBAAgB,QAE3B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wenex/sdk",
3
- "version": "1.1.25",
3
+ "version": "1.1.27",
4
4
  "description": "Wenex SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",