@connect-plus-online/ogabai-integrations 0.0.62 → 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.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"> | undefined>;
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> & {
@@ -960,11 +962,9 @@ type UserRoleService = ReturnType<typeof createUserRoleService>;
960
962
 
961
963
  declare const createApplicationFeatureService: (client: GraphQLClient) => {
962
964
  createApplicationFeature: (input: CreateEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
963
- root?: ("applicationFeature" | "pin")[] | undefined;
965
+ root?: "applicationFeature"[] | undefined;
964
966
  nestedFields?: Record<"applicationFeature", ApplicationFeatureFields> | undefined;
965
- } | undefined, option?: RequestOption) => Promise<(EntityResponse<ApplicationFeature, "applicationFeature"> & {
966
- pin?: string;
967
- }) | undefined>;
967
+ } | undefined, option?: RequestOption) => Promise<EntityResponse<ApplicationFeature, "applicationFeature"> | undefined>;
968
968
  updateApplicationFeature: (input: UpdateEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
969
969
  root?: "applicationFeature"[] | undefined;
970
970
  nestedFields?: Record<"applicationFeature", ApplicationFeatureFields> | undefined;
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"> | undefined>;
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> & {
@@ -960,11 +962,9 @@ type UserRoleService = ReturnType<typeof createUserRoleService>;
960
962
 
961
963
  declare const createApplicationFeatureService: (client: GraphQLClient) => {
962
964
  createApplicationFeature: (input: CreateEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
963
- root?: ("applicationFeature" | "pin")[] | undefined;
965
+ root?: "applicationFeature"[] | undefined;
964
966
  nestedFields?: Record<"applicationFeature", ApplicationFeatureFields> | undefined;
965
- } | undefined, option?: RequestOption) => Promise<(EntityResponse<ApplicationFeature, "applicationFeature"> & {
966
- pin?: string;
967
- }) | undefined>;
967
+ } | undefined, option?: RequestOption) => Promise<EntityResponse<ApplicationFeature, "applicationFeature"> | undefined>;
968
968
  updateApplicationFeature: (input: UpdateEntityRequest<ApplicationFeature, "applicationFeature">, fetchFields?: {
969
969
  root?: "applicationFeature"[] | undefined;
970
970
  nestedFields?: Record<"applicationFeature", ApplicationFeatureFields> | undefined;
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
  ),
@@ -1217,7 +1217,7 @@ var createApplicationFeatureService = (client) => ({
1217
1217
  "createApplicationFeature",
1218
1218
  {
1219
1219
  schema: buildSchema(applicationFeatureSchema.create),
1220
- defaultRootFields: [...applicationFeatureIntegration.create.responseFields, "pin"],
1220
+ defaultRootFields: applicationFeatureIntegration.create.responseFields,
1221
1221
  defaultNestedFields: applicationFeatureIntegration.create.nestedFields
1222
1222
  }
1223
1223
  ),