@connect-plus-online/ogabai-integrations 0.0.59 → 0.0.60
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 +6 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.mts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.esm.js +6 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -163,6 +163,7 @@ interface UserAccount {
|
|
|
163
163
|
userRoleId: string;
|
|
164
164
|
userRole?: UserRole;
|
|
165
165
|
store?: Store;
|
|
166
|
+
user?: User;
|
|
166
167
|
}
|
|
167
168
|
interface UserTypeCounts {
|
|
168
169
|
total: number;
|
|
@@ -879,6 +880,7 @@ declare const createUserAccountService: (client: GraphQLClient) => {
|
|
|
879
880
|
userAccount: UserAccountFields;
|
|
880
881
|
store: StoreFields;
|
|
881
882
|
privileges: PrivilegeFields;
|
|
883
|
+
user: UserFields;
|
|
882
884
|
}) | undefined;
|
|
883
885
|
} | undefined, option?: RequestOption) => Promise<EntityResponse<UserAccount, "userAccount"> | undefined>;
|
|
884
886
|
updateUserAccount: (input: UpdateEntityRequest<UserAccount, "userAccount">, fetchFields?: {
|
|
@@ -887,6 +889,7 @@ declare const createUserAccountService: (client: GraphQLClient) => {
|
|
|
887
889
|
userAccount: UserAccountFields;
|
|
888
890
|
store: StoreFields;
|
|
889
891
|
privileges: PrivilegeFields;
|
|
892
|
+
user: UserFields;
|
|
890
893
|
}) | undefined;
|
|
891
894
|
} | undefined, option?: RequestOption) => Promise<EntityResponse<UserAccount, "userAccount"> | undefined>;
|
|
892
895
|
getUserAccount: (input: GetEntityRequest<UserAccount, "userAccount">, fetchFields?: {
|
|
@@ -895,6 +898,7 @@ declare const createUserAccountService: (client: GraphQLClient) => {
|
|
|
895
898
|
userAccount: UserAccountFields;
|
|
896
899
|
store: StoreFields;
|
|
897
900
|
privileges: PrivilegeFields;
|
|
901
|
+
user: UserFields;
|
|
898
902
|
}) | undefined;
|
|
899
903
|
} | undefined, option?: RequestOption) => Promise<EntityResponse<UserAccount, "userAccount"> | undefined>;
|
|
900
904
|
removeUserAccount: (input: DeleteEntityRequest<"userAccount">, fetchFields?: {
|
|
@@ -907,6 +911,7 @@ declare const createUserAccountService: (client: GraphQLClient) => {
|
|
|
907
911
|
privileges: PrivilegeFields;
|
|
908
912
|
userAccount: UserAccountFields;
|
|
909
913
|
store: StoreFields;
|
|
914
|
+
user: UserFields;
|
|
910
915
|
}) | undefined;
|
|
911
916
|
} | undefined, option?: RequestOption) => Promise<ListEntityResponse<UserAccount, "userAccount"> | undefined>;
|
|
912
917
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -163,6 +163,7 @@ interface UserAccount {
|
|
|
163
163
|
userRoleId: string;
|
|
164
164
|
userRole?: UserRole;
|
|
165
165
|
store?: Store;
|
|
166
|
+
user?: User;
|
|
166
167
|
}
|
|
167
168
|
interface UserTypeCounts {
|
|
168
169
|
total: number;
|
|
@@ -879,6 +880,7 @@ declare const createUserAccountService: (client: GraphQLClient) => {
|
|
|
879
880
|
userAccount: UserAccountFields;
|
|
880
881
|
store: StoreFields;
|
|
881
882
|
privileges: PrivilegeFields;
|
|
883
|
+
user: UserFields;
|
|
882
884
|
}) | undefined;
|
|
883
885
|
} | undefined, option?: RequestOption) => Promise<EntityResponse<UserAccount, "userAccount"> | undefined>;
|
|
884
886
|
updateUserAccount: (input: UpdateEntityRequest<UserAccount, "userAccount">, fetchFields?: {
|
|
@@ -887,6 +889,7 @@ declare const createUserAccountService: (client: GraphQLClient) => {
|
|
|
887
889
|
userAccount: UserAccountFields;
|
|
888
890
|
store: StoreFields;
|
|
889
891
|
privileges: PrivilegeFields;
|
|
892
|
+
user: UserFields;
|
|
890
893
|
}) | undefined;
|
|
891
894
|
} | undefined, option?: RequestOption) => Promise<EntityResponse<UserAccount, "userAccount"> | undefined>;
|
|
892
895
|
getUserAccount: (input: GetEntityRequest<UserAccount, "userAccount">, fetchFields?: {
|
|
@@ -895,6 +898,7 @@ declare const createUserAccountService: (client: GraphQLClient) => {
|
|
|
895
898
|
userAccount: UserAccountFields;
|
|
896
899
|
store: StoreFields;
|
|
897
900
|
privileges: PrivilegeFields;
|
|
901
|
+
user: UserFields;
|
|
898
902
|
}) | undefined;
|
|
899
903
|
} | undefined, option?: RequestOption) => Promise<EntityResponse<UserAccount, "userAccount"> | undefined>;
|
|
900
904
|
removeUserAccount: (input: DeleteEntityRequest<"userAccount">, fetchFields?: {
|
|
@@ -907,6 +911,7 @@ declare const createUserAccountService: (client: GraphQLClient) => {
|
|
|
907
911
|
privileges: PrivilegeFields;
|
|
908
912
|
userAccount: UserAccountFields;
|
|
909
913
|
store: StoreFields;
|
|
914
|
+
user: UserFields;
|
|
910
915
|
}) | undefined;
|
|
911
916
|
} | undefined, option?: RequestOption) => Promise<ListEntityResponse<UserAccount, "userAccount"> | undefined>;
|
|
912
917
|
};
|
package/dist/index.esm.js
CHANGED
|
@@ -239,7 +239,8 @@ var userAccountQuery = [
|
|
|
239
239
|
"userId",
|
|
240
240
|
"userRoleId",
|
|
241
241
|
"store",
|
|
242
|
-
"userRole"
|
|
242
|
+
"userRole",
|
|
243
|
+
"user"
|
|
243
244
|
];
|
|
244
245
|
var userRoleQuery = [
|
|
245
246
|
"createdAt",
|
|
@@ -920,7 +921,8 @@ var userAccountIntegration = createStandardEntityIntegration({
|
|
|
920
921
|
nested: {
|
|
921
922
|
userAccount: userAccountQuery,
|
|
922
923
|
store: storeQuery,
|
|
923
|
-
privileges: privilegeQuery
|
|
924
|
+
privileges: privilegeQuery,
|
|
925
|
+
user: userQuery
|
|
924
926
|
}
|
|
925
927
|
});
|
|
926
928
|
var userAccountListIntegration = createListIntegration({
|
|
@@ -929,7 +931,8 @@ var userAccountListIntegration = createListIntegration({
|
|
|
929
931
|
nested: {
|
|
930
932
|
privileges: privilegeQuery,
|
|
931
933
|
userAccount: userAccountQuery,
|
|
932
|
-
store: storeQuery
|
|
934
|
+
store: storeQuery,
|
|
935
|
+
user: userQuery
|
|
933
936
|
}
|
|
934
937
|
});
|
|
935
938
|
var userAccountDeleteIntegration = createDeleteIntegration(ENTITY);
|