@connect-plus-online/ogabai-integrations 0.0.73 → 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 +1 -104
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.mts +5 -35
- package/dist/index.d.ts +5 -35
- package/dist/index.esm.js +2 -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"
|
|
@@ -656,6 +648,7 @@ var subscriptionQuery = [
|
|
|
656
648
|
"trialEnd",
|
|
657
649
|
"updatedAt",
|
|
658
650
|
"userId",
|
|
651
|
+
"storeIds",
|
|
659
652
|
"version",
|
|
660
653
|
"paymentDataJson",
|
|
661
654
|
"paymentReference"
|
|
@@ -1841,101 +1834,6 @@ var createUserRoleService = (client) => ({
|
|
|
1841
1834
|
)
|
|
1842
1835
|
});
|
|
1843
1836
|
|
|
1844
|
-
// src/services/user/types/application-feature.type.ts
|
|
1845
|
-
var ENTITY7 = "applicationFeature";
|
|
1846
|
-
var applicationFeatureIntegration = createStandardEntityIntegration({
|
|
1847
|
-
key: ENTITY7,
|
|
1848
|
-
fields: applicationFeatureQuery
|
|
1849
|
-
});
|
|
1850
|
-
var applicationFeatureListIntegration = createListIntegration({
|
|
1851
|
-
key: "applicationFeatures",
|
|
1852
|
-
fields: applicationFeatureQuery
|
|
1853
|
-
});
|
|
1854
|
-
var applicationFeatureDeleteIntegration = createDeleteIntegration(ENTITY7);
|
|
1855
|
-
|
|
1856
|
-
// src/services/user/schemas/application-feature.schema.ts
|
|
1857
|
-
var applicationFeatureSchema = {
|
|
1858
|
-
get: {
|
|
1859
|
-
operation: "query",
|
|
1860
|
-
name: "getApplicationFeature",
|
|
1861
|
-
variables: "($applicationFeature: ApplicationFeatureInput!)",
|
|
1862
|
-
field: "(applicationFeature: $applicationFeature)"
|
|
1863
|
-
},
|
|
1864
|
-
list: {
|
|
1865
|
-
operation: "query",
|
|
1866
|
-
name: "getApplicationFeatures",
|
|
1867
|
-
variables: "($limit: Int!, $skip: Int!, $search: String, $applicationFeature: ApplicationFeatureInput, $applicationFeatureIds: [String])",
|
|
1868
|
-
field: "(limit: $limit, skip: $skip, search: $search, applicationFeature: $applicationFeature, applicationFeatureIds: $applicationFeatureIds)"
|
|
1869
|
-
},
|
|
1870
|
-
create: {
|
|
1871
|
-
operation: "mutation",
|
|
1872
|
-
name: "createApplicationFeature",
|
|
1873
|
-
variables: "($applicationFeature: ApplicationFeatureInput!)",
|
|
1874
|
-
field: "(applicationFeature: $applicationFeature)"
|
|
1875
|
-
},
|
|
1876
|
-
update: {
|
|
1877
|
-
operation: "mutation",
|
|
1878
|
-
name: "updateApplicationFeature",
|
|
1879
|
-
variables: "($applicationFeatureId: String!, $applicationFeature: ApplicationFeatureInput!)",
|
|
1880
|
-
field: "(applicationFeatureId: $applicationFeatureId, applicationFeature: $applicationFeature)"
|
|
1881
|
-
},
|
|
1882
|
-
delete: {
|
|
1883
|
-
operation: "mutation",
|
|
1884
|
-
name: "removeApplicationFeature",
|
|
1885
|
-
variables: "($applicationFeatureId: String!)",
|
|
1886
|
-
field: "(applicationFeatureId: $applicationFeatureId)"
|
|
1887
|
-
}
|
|
1888
|
-
};
|
|
1889
|
-
|
|
1890
|
-
// src/services/user/application-feature.service.ts
|
|
1891
|
-
var createApplicationFeatureService = (client) => ({
|
|
1892
|
-
createApplicationFeature: createOperationExecutor(
|
|
1893
|
-
client,
|
|
1894
|
-
"createApplicationFeature",
|
|
1895
|
-
{
|
|
1896
|
-
schema: buildSchema(applicationFeatureSchema.create),
|
|
1897
|
-
defaultRootFields: applicationFeatureIntegration.create.responseFields,
|
|
1898
|
-
defaultNestedFields: applicationFeatureIntegration.create.nestedFields
|
|
1899
|
-
}
|
|
1900
|
-
),
|
|
1901
|
-
updateApplicationFeature: createOperationExecutor(
|
|
1902
|
-
client,
|
|
1903
|
-
"updateApplicationFeature",
|
|
1904
|
-
{
|
|
1905
|
-
schema: buildSchema(applicationFeatureSchema.update),
|
|
1906
|
-
defaultRootFields: applicationFeatureIntegration.update.responseFields,
|
|
1907
|
-
defaultNestedFields: applicationFeatureIntegration.update.nestedFields
|
|
1908
|
-
}
|
|
1909
|
-
),
|
|
1910
|
-
getApplicationFeature: createOperationExecutor(
|
|
1911
|
-
client,
|
|
1912
|
-
"getApplicationFeature",
|
|
1913
|
-
{
|
|
1914
|
-
schema: buildSchema(applicationFeatureSchema.get),
|
|
1915
|
-
defaultRootFields: applicationFeatureIntegration.get.responseFields,
|
|
1916
|
-
defaultNestedFields: applicationFeatureIntegration.get.nestedFields
|
|
1917
|
-
}
|
|
1918
|
-
),
|
|
1919
|
-
removeApplicationFeature: createOperationExecutor(
|
|
1920
|
-
client,
|
|
1921
|
-
"removeApplicationFeature",
|
|
1922
|
-
{
|
|
1923
|
-
schema: buildSchema(applicationFeatureSchema.delete),
|
|
1924
|
-
defaultRootFields: applicationFeatureDeleteIntegration.responseFields,
|
|
1925
|
-
defaultNestedFields: {}
|
|
1926
|
-
}
|
|
1927
|
-
),
|
|
1928
|
-
getApplicationFeatures: createOperationExecutor(
|
|
1929
|
-
client,
|
|
1930
|
-
"getApplicationFeatures",
|
|
1931
|
-
{
|
|
1932
|
-
schema: buildSchema(applicationFeatureSchema.list),
|
|
1933
|
-
defaultRootFields: [...applicationFeatureListIntegration.responseFields],
|
|
1934
|
-
defaultNestedFields: applicationFeatureListIntegration.nestedFields
|
|
1935
|
-
}
|
|
1936
|
-
)
|
|
1937
|
-
});
|
|
1938
|
-
|
|
1939
1837
|
// src/services/inventory/types/product.type.ts
|
|
1940
1838
|
var getCustomerProductCountsByIdsResponse = [
|
|
1941
1839
|
"customersProductCounts"
|
|
@@ -3398,7 +3296,6 @@ exports.addSubscriptionResponseNestedFields = addSubscriptionResponseNestedField
|
|
|
3398
3296
|
exports.addTransactionResponse = addTransactionResponse;
|
|
3399
3297
|
exports.addTransactionResponseNestedFields = addTransactionResponseNestedFields;
|
|
3400
3298
|
exports.compose = compose;
|
|
3401
|
-
exports.createApplicationFeatureService = createApplicationFeatureService;
|
|
3402
3299
|
exports.createAuthService = createAuthService;
|
|
3403
3300
|
exports.createOrderService = createOrderService;
|
|
3404
3301
|
exports.createPackageService = createPackageService;
|