@connect-plus-online/ogabai-integrations 0.0.61 → 0.0.63
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 +3 -9
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.mts +8 -14
- package/dist/index.d.ts +8 -14
- package/dist/index.esm.js +3 -9
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -884,14 +884,16 @@ type DeleteEntityResponse<K extends EntityKey> = DeleteEntityRequest<K>;
|
|
|
884
884
|
|
|
885
885
|
declare const createUserAccountService: (client: GraphQLClient) => {
|
|
886
886
|
createUserAccount: (input: CreateEntityRequest<UserAccount, "userAccount">, fetchFields?: {
|
|
887
|
-
root?: "userAccount"[] | undefined;
|
|
887
|
+
root?: ("userAccount" | "pin")[] | undefined;
|
|
888
888
|
nestedFields?: (Record<"userAccount", UserAccountFields> & {
|
|
889
889
|
userAccount: UserAccountFields;
|
|
890
890
|
store: StoreFields;
|
|
891
891
|
privileges: PrivilegeFields;
|
|
892
892
|
user: UserFields;
|
|
893
893
|
}) | undefined;
|
|
894
|
-
} | undefined, option?: RequestOption) => Promise<EntityResponse<UserAccount, "userAccount">
|
|
894
|
+
} | undefined, option?: RequestOption) => Promise<(EntityResponse<UserAccount, "userAccount"> & {
|
|
895
|
+
pin?: string;
|
|
896
|
+
}) | undefined>;
|
|
895
897
|
updateUserAccount: (input: UpdateEntityRequest<UserAccount, "userAccount">, fetchFields?: {
|
|
896
898
|
root?: "userAccount"[] | undefined;
|
|
897
899
|
nestedFields?: (Record<"userAccount", UserAccountFields> & {
|
|
@@ -961,21 +963,15 @@ type UserRoleService = ReturnType<typeof createUserRoleService>;
|
|
|
961
963
|
declare const createApplicationFeatureService: (client: GraphQLClient) => {
|
|
962
964
|
createApplicationFeature: (input: CreateEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
|
|
963
965
|
root?: "applicationFeature"[] | undefined;
|
|
964
|
-
nestedFields?:
|
|
965
|
-
privileges: PrivilegeFields;
|
|
966
|
-
}) | undefined;
|
|
966
|
+
nestedFields?: Record<"applicationFeature", ApplicationFeatureFields> | undefined;
|
|
967
967
|
} | undefined, option?: RequestOption) => Promise<EntityResponse<ApplicationFeature, "applicationFeature"> | undefined>;
|
|
968
968
|
updateApplicationFeature: (input: UpdateEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
|
|
969
969
|
root?: "applicationFeature"[] | undefined;
|
|
970
|
-
nestedFields?:
|
|
971
|
-
privileges: PrivilegeFields;
|
|
972
|
-
}) | undefined;
|
|
970
|
+
nestedFields?: Record<"applicationFeature", ApplicationFeatureFields> | undefined;
|
|
973
971
|
} | undefined, option?: RequestOption) => Promise<EntityResponse<ApplicationFeature, "applicationFeature"> | undefined>;
|
|
974
972
|
getApplicationFeature: (input: GetEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
|
|
975
973
|
root?: "applicationFeature"[] | undefined;
|
|
976
|
-
nestedFields?:
|
|
977
|
-
privileges: PrivilegeFields;
|
|
978
|
-
}) | undefined;
|
|
974
|
+
nestedFields?: Record<"applicationFeature", ApplicationFeatureFields> | undefined;
|
|
979
975
|
} | undefined, option?: RequestOption) => Promise<EntityResponse<ApplicationFeature, "applicationFeature"> | undefined>;
|
|
980
976
|
removeApplicationFeature: (input: DeleteEntityRequest<"applicationFeature">, fetchFields?: {
|
|
981
977
|
root?: "applicationFeatureId"[] | undefined;
|
|
@@ -983,9 +979,7 @@ declare const createApplicationFeatureService: (client: GraphQLClient) => {
|
|
|
983
979
|
} | undefined, option?: RequestOption) => Promise<DeleteEntityResponse<"applicationFeature"> | undefined>;
|
|
984
980
|
getApplicationFeatures: (input: ListEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
|
|
985
981
|
root?: ("total" | "applicationFeatures")[] | undefined;
|
|
986
|
-
nestedFields?:
|
|
987
|
-
privileges: PrivilegeFields;
|
|
988
|
-
}) | undefined;
|
|
982
|
+
nestedFields?: Record<"applicationFeatures", ApplicationFeatureFields> | undefined;
|
|
989
983
|
} | undefined, option?: RequestOption) => Promise<ListEntityResponse<ApplicationFeature, "applicationFeature"> | undefined>;
|
|
990
984
|
};
|
|
991
985
|
type ApplicationFeatureService = ReturnType<typeof createApplicationFeatureService>;
|
package/dist/index.d.ts
CHANGED
|
@@ -884,14 +884,16 @@ type DeleteEntityResponse<K extends EntityKey> = DeleteEntityRequest<K>;
|
|
|
884
884
|
|
|
885
885
|
declare const createUserAccountService: (client: GraphQLClient) => {
|
|
886
886
|
createUserAccount: (input: CreateEntityRequest<UserAccount, "userAccount">, fetchFields?: {
|
|
887
|
-
root?: "userAccount"[] | undefined;
|
|
887
|
+
root?: ("userAccount" | "pin")[] | undefined;
|
|
888
888
|
nestedFields?: (Record<"userAccount", UserAccountFields> & {
|
|
889
889
|
userAccount: UserAccountFields;
|
|
890
890
|
store: StoreFields;
|
|
891
891
|
privileges: PrivilegeFields;
|
|
892
892
|
user: UserFields;
|
|
893
893
|
}) | undefined;
|
|
894
|
-
} | undefined, option?: RequestOption) => Promise<EntityResponse<UserAccount, "userAccount">
|
|
894
|
+
} | undefined, option?: RequestOption) => Promise<(EntityResponse<UserAccount, "userAccount"> & {
|
|
895
|
+
pin?: string;
|
|
896
|
+
}) | undefined>;
|
|
895
897
|
updateUserAccount: (input: UpdateEntityRequest<UserAccount, "userAccount">, fetchFields?: {
|
|
896
898
|
root?: "userAccount"[] | undefined;
|
|
897
899
|
nestedFields?: (Record<"userAccount", UserAccountFields> & {
|
|
@@ -961,21 +963,15 @@ type UserRoleService = ReturnType<typeof createUserRoleService>;
|
|
|
961
963
|
declare const createApplicationFeatureService: (client: GraphQLClient) => {
|
|
962
964
|
createApplicationFeature: (input: CreateEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
|
|
963
965
|
root?: "applicationFeature"[] | undefined;
|
|
964
|
-
nestedFields?:
|
|
965
|
-
privileges: PrivilegeFields;
|
|
966
|
-
}) | undefined;
|
|
966
|
+
nestedFields?: Record<"applicationFeature", ApplicationFeatureFields> | undefined;
|
|
967
967
|
} | undefined, option?: RequestOption) => Promise<EntityResponse<ApplicationFeature, "applicationFeature"> | undefined>;
|
|
968
968
|
updateApplicationFeature: (input: UpdateEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
|
|
969
969
|
root?: "applicationFeature"[] | undefined;
|
|
970
|
-
nestedFields?:
|
|
971
|
-
privileges: PrivilegeFields;
|
|
972
|
-
}) | undefined;
|
|
970
|
+
nestedFields?: Record<"applicationFeature", ApplicationFeatureFields> | undefined;
|
|
973
971
|
} | undefined, option?: RequestOption) => Promise<EntityResponse<ApplicationFeature, "applicationFeature"> | undefined>;
|
|
974
972
|
getApplicationFeature: (input: GetEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
|
|
975
973
|
root?: "applicationFeature"[] | undefined;
|
|
976
|
-
nestedFields?:
|
|
977
|
-
privileges: PrivilegeFields;
|
|
978
|
-
}) | undefined;
|
|
974
|
+
nestedFields?: Record<"applicationFeature", ApplicationFeatureFields> | undefined;
|
|
979
975
|
} | undefined, option?: RequestOption) => Promise<EntityResponse<ApplicationFeature, "applicationFeature"> | undefined>;
|
|
980
976
|
removeApplicationFeature: (input: DeleteEntityRequest<"applicationFeature">, fetchFields?: {
|
|
981
977
|
root?: "applicationFeatureId"[] | undefined;
|
|
@@ -983,9 +979,7 @@ declare const createApplicationFeatureService: (client: GraphQLClient) => {
|
|
|
983
979
|
} | undefined, option?: RequestOption) => Promise<DeleteEntityResponse<"applicationFeature"> | undefined>;
|
|
984
980
|
getApplicationFeatures: (input: ListEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
|
|
985
981
|
root?: ("total" | "applicationFeatures")[] | undefined;
|
|
986
|
-
nestedFields?:
|
|
987
|
-
privileges: PrivilegeFields;
|
|
988
|
-
}) | undefined;
|
|
982
|
+
nestedFields?: Record<"applicationFeatures", ApplicationFeatureFields> | undefined;
|
|
989
983
|
} | undefined, option?: RequestOption) => Promise<ListEntityResponse<ApplicationFeature, "applicationFeature"> | undefined>;
|
|
990
984
|
};
|
|
991
985
|
type ApplicationFeatureService = ReturnType<typeof createApplicationFeatureService>;
|
package/dist/index.esm.js
CHANGED
|
@@ -1021,7 +1021,7 @@ var createUserAccountService = (client) => ({
|
|
|
1021
1021
|
"createUserAccount",
|
|
1022
1022
|
{
|
|
1023
1023
|
schema: buildSchema(userAccountSchema.create),
|
|
1024
|
-
defaultRootFields: userAccountIntegration.create.responseFields,
|
|
1024
|
+
defaultRootFields: [...userAccountIntegration.create.responseFields, "pin"],
|
|
1025
1025
|
defaultNestedFields: userAccountIntegration.create.nestedFields
|
|
1026
1026
|
}
|
|
1027
1027
|
),
|
|
@@ -1168,17 +1168,11 @@ var createUserRoleService = (client) => ({
|
|
|
1168
1168
|
var ENTITY3 = "applicationFeature";
|
|
1169
1169
|
var applicationFeatureIntegration = createStandardEntityIntegration({
|
|
1170
1170
|
key: ENTITY3,
|
|
1171
|
-
fields: applicationFeatureQuery
|
|
1172
|
-
nested: {
|
|
1173
|
-
privileges: privilegeQuery
|
|
1174
|
-
}
|
|
1171
|
+
fields: applicationFeatureQuery
|
|
1175
1172
|
});
|
|
1176
1173
|
var applicationFeatureListIntegration = createListIntegration({
|
|
1177
1174
|
key: "applicationFeatures",
|
|
1178
|
-
fields: applicationFeatureQuery
|
|
1179
|
-
nested: {
|
|
1180
|
-
privileges: privilegeQuery
|
|
1181
|
-
}
|
|
1175
|
+
fields: applicationFeatureQuery
|
|
1182
1176
|
});
|
|
1183
1177
|
var applicationFeatureDeleteIntegration = createDeleteIntegration(ENTITY3);
|
|
1184
1178
|
|