@connect-plus-online/ogabai-integrations 0.0.74 → 0.0.75
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 +0 -104
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.mts +3 -35
- package/dist/index.d.ts +3 -35
- package/dist/index.esm.js +1 -104
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -249,14 +249,6 @@ var userSchema = {
|
|
|
249
249
|
var user_schema_default = userSchema;
|
|
250
250
|
|
|
251
251
|
// src/services/user/user.entity.ts
|
|
252
|
-
var applicationFeatureQuery = [
|
|
253
|
-
"createdAt",
|
|
254
|
-
"description",
|
|
255
|
-
"id",
|
|
256
|
-
"name",
|
|
257
|
-
"shortname",
|
|
258
|
-
"applicationFeatureStatus"
|
|
259
|
-
];
|
|
260
252
|
var privilegeQuery = [
|
|
261
253
|
"actions",
|
|
262
254
|
"feature"
|
|
@@ -1842,101 +1834,6 @@ var createUserRoleService = (client) => ({
|
|
|
1842
1834
|
)
|
|
1843
1835
|
});
|
|
1844
1836
|
|
|
1845
|
-
// src/services/user/types/application-feature.type.ts
|
|
1846
|
-
var ENTITY7 = "applicationFeature";
|
|
1847
|
-
var applicationFeatureIntegration = createStandardEntityIntegration({
|
|
1848
|
-
key: ENTITY7,
|
|
1849
|
-
fields: applicationFeatureQuery
|
|
1850
|
-
});
|
|
1851
|
-
var applicationFeatureListIntegration = createListIntegration({
|
|
1852
|
-
key: "applicationFeatures",
|
|
1853
|
-
fields: applicationFeatureQuery
|
|
1854
|
-
});
|
|
1855
|
-
var applicationFeatureDeleteIntegration = createDeleteIntegration(ENTITY7);
|
|
1856
|
-
|
|
1857
|
-
// src/services/user/schemas/application-feature.schema.ts
|
|
1858
|
-
var applicationFeatureSchema = {
|
|
1859
|
-
get: {
|
|
1860
|
-
operation: "query",
|
|
1861
|
-
name: "getApplicationFeature",
|
|
1862
|
-
variables: "($applicationFeature: ApplicationFeatureInput!)",
|
|
1863
|
-
field: "(applicationFeature: $applicationFeature)"
|
|
1864
|
-
},
|
|
1865
|
-
list: {
|
|
1866
|
-
operation: "query",
|
|
1867
|
-
name: "getApplicationFeatures",
|
|
1868
|
-
variables: "($limit: Int!, $skip: Int!, $search: String, $applicationFeature: ApplicationFeatureInput, $applicationFeatureIds: [String])",
|
|
1869
|
-
field: "(limit: $limit, skip: $skip, search: $search, applicationFeature: $applicationFeature, applicationFeatureIds: $applicationFeatureIds)"
|
|
1870
|
-
},
|
|
1871
|
-
create: {
|
|
1872
|
-
operation: "mutation",
|
|
1873
|
-
name: "createApplicationFeature",
|
|
1874
|
-
variables: "($applicationFeature: ApplicationFeatureInput!)",
|
|
1875
|
-
field: "(applicationFeature: $applicationFeature)"
|
|
1876
|
-
},
|
|
1877
|
-
update: {
|
|
1878
|
-
operation: "mutation",
|
|
1879
|
-
name: "updateApplicationFeature",
|
|
1880
|
-
variables: "($applicationFeatureId: String!, $applicationFeature: ApplicationFeatureInput!)",
|
|
1881
|
-
field: "(applicationFeatureId: $applicationFeatureId, applicationFeature: $applicationFeature)"
|
|
1882
|
-
},
|
|
1883
|
-
delete: {
|
|
1884
|
-
operation: "mutation",
|
|
1885
|
-
name: "removeApplicationFeature",
|
|
1886
|
-
variables: "($applicationFeatureId: String!)",
|
|
1887
|
-
field: "(applicationFeatureId: $applicationFeatureId)"
|
|
1888
|
-
}
|
|
1889
|
-
};
|
|
1890
|
-
|
|
1891
|
-
// src/services/user/application-feature.service.ts
|
|
1892
|
-
var createApplicationFeatureService = (client) => ({
|
|
1893
|
-
createApplicationFeature: createOperationExecutor(
|
|
1894
|
-
client,
|
|
1895
|
-
"createApplicationFeature",
|
|
1896
|
-
{
|
|
1897
|
-
schema: buildSchema(applicationFeatureSchema.create),
|
|
1898
|
-
defaultRootFields: applicationFeatureIntegration.create.responseFields,
|
|
1899
|
-
defaultNestedFields: applicationFeatureIntegration.create.nestedFields
|
|
1900
|
-
}
|
|
1901
|
-
),
|
|
1902
|
-
updateApplicationFeature: createOperationExecutor(
|
|
1903
|
-
client,
|
|
1904
|
-
"updateApplicationFeature",
|
|
1905
|
-
{
|
|
1906
|
-
schema: buildSchema(applicationFeatureSchema.update),
|
|
1907
|
-
defaultRootFields: applicationFeatureIntegration.update.responseFields,
|
|
1908
|
-
defaultNestedFields: applicationFeatureIntegration.update.nestedFields
|
|
1909
|
-
}
|
|
1910
|
-
),
|
|
1911
|
-
getApplicationFeature: createOperationExecutor(
|
|
1912
|
-
client,
|
|
1913
|
-
"getApplicationFeature",
|
|
1914
|
-
{
|
|
1915
|
-
schema: buildSchema(applicationFeatureSchema.get),
|
|
1916
|
-
defaultRootFields: applicationFeatureIntegration.get.responseFields,
|
|
1917
|
-
defaultNestedFields: applicationFeatureIntegration.get.nestedFields
|
|
1918
|
-
}
|
|
1919
|
-
),
|
|
1920
|
-
removeApplicationFeature: createOperationExecutor(
|
|
1921
|
-
client,
|
|
1922
|
-
"removeApplicationFeature",
|
|
1923
|
-
{
|
|
1924
|
-
schema: buildSchema(applicationFeatureSchema.delete),
|
|
1925
|
-
defaultRootFields: applicationFeatureDeleteIntegration.responseFields,
|
|
1926
|
-
defaultNestedFields: {}
|
|
1927
|
-
}
|
|
1928
|
-
),
|
|
1929
|
-
getApplicationFeatures: createOperationExecutor(
|
|
1930
|
-
client,
|
|
1931
|
-
"getApplicationFeatures",
|
|
1932
|
-
{
|
|
1933
|
-
schema: buildSchema(applicationFeatureSchema.list),
|
|
1934
|
-
defaultRootFields: [...applicationFeatureListIntegration.responseFields],
|
|
1935
|
-
defaultNestedFields: applicationFeatureListIntegration.nestedFields
|
|
1936
|
-
}
|
|
1937
|
-
)
|
|
1938
|
-
});
|
|
1939
|
-
|
|
1940
1837
|
// src/services/inventory/types/product.type.ts
|
|
1941
1838
|
var getCustomerProductCountsByIdsResponse = [
|
|
1942
1839
|
"customersProductCounts"
|
|
@@ -3399,7 +3296,6 @@ exports.addSubscriptionResponseNestedFields = addSubscriptionResponseNestedField
|
|
|
3399
3296
|
exports.addTransactionResponse = addTransactionResponse;
|
|
3400
3297
|
exports.addTransactionResponseNestedFields = addTransactionResponseNestedFields;
|
|
3401
3298
|
exports.compose = compose;
|
|
3402
|
-
exports.createApplicationFeatureService = createApplicationFeatureService;
|
|
3403
3299
|
exports.createAuthService = createAuthService;
|
|
3404
3300
|
exports.createOrderService = createOrderService;
|
|
3405
3301
|
exports.createPackageService = createPackageService;
|