@connect-plus-online/ogabai-integrations 0.0.75 → 0.0.76
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/index.cjs.js +31 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.mts +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.esm.js +30 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
// src/types/user.ts
|
|
4
|
+
var userRoleExample = {
|
|
5
|
+
name: "Admin",
|
|
6
|
+
description: "Admin",
|
|
7
|
+
privileges: [
|
|
8
|
+
{
|
|
9
|
+
feature: "inventory_product",
|
|
10
|
+
actions: ["read", "write", "update", "delete"]
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
id: "",
|
|
14
|
+
shortname: "admin",
|
|
15
|
+
isRootAdmin: "",
|
|
16
|
+
isSuperAdmin: "",
|
|
17
|
+
createdAt: "",
|
|
18
|
+
storeId: "",
|
|
19
|
+
userRoleStatus: "active"
|
|
20
|
+
};
|
|
21
|
+
var APPLICATION_FEATURES = [
|
|
22
|
+
{ key: "inventory_product", title: "Inventory Product", description: "Inventory Product" },
|
|
23
|
+
{ key: "inventory_package", title: "Inventory Package", description: "Inventory Package" },
|
|
24
|
+
{ key: "inventory_price", title: "Inventory Price", description: "Inventory Price" },
|
|
25
|
+
{ key: "inventory_stock", title: "Inventory Stock", description: "Inventory Stock" },
|
|
26
|
+
{ key: "sale_product", title: "Sale Product", description: "Sale Product" },
|
|
27
|
+
{ key: "sale_order", title: "Sale Order", description: "Sale Order" },
|
|
28
|
+
{ key: "sale_payment", title: "Sale Payment", description: "Sale Payment" },
|
|
29
|
+
{ key: "user_userAccount", title: "User User Account", description: "User User Account" }
|
|
30
|
+
];
|
|
31
|
+
|
|
3
32
|
// src/types/subscription.ts
|
|
4
33
|
var SubscriptionPlanFeatureKeyLabels = {
|
|
5
34
|
product: "Product",
|
|
@@ -3266,6 +3295,7 @@ var createTransactionService = (client) => ({
|
|
|
3266
3295
|
}
|
|
3267
3296
|
});
|
|
3268
3297
|
|
|
3298
|
+
exports.APPLICATION_FEATURES = APPLICATION_FEATURES;
|
|
3269
3299
|
exports.AuthenticationError = AuthenticationError;
|
|
3270
3300
|
exports.GraphQLClient = GraphQLClient;
|
|
3271
3301
|
exports.NetworkError = NetworkError;
|
|
@@ -3421,5 +3451,6 @@ exports.updateSubscriptionResponse = updateSubscriptionResponse;
|
|
|
3421
3451
|
exports.updateSubscriptionResponseNestedFields = updateSubscriptionResponseNestedFields;
|
|
3422
3452
|
exports.updateTransactionResponse = updateTransactionResponse;
|
|
3423
3453
|
exports.updateTransactionResponseNestedFields = updateTransactionResponseNestedFields;
|
|
3454
|
+
exports.userRoleExample = userRoleExample;
|
|
3424
3455
|
//# sourceMappingURL=index.cjs.js.map
|
|
3425
3456
|
//# sourceMappingURL=index.cjs.js.map
|