|
@@ -1780,6 +1780,8 @@ export type Mutation = {
|
|
|
createRole: Role;
|
|
createRole: Role;
|
|
|
/** Update an existing Role */
|
|
/** Update an existing Role */
|
|
|
updateRole: Role;
|
|
updateRole: Role;
|
|
|
|
|
+ /** Delete an existing Role */
|
|
|
|
|
+ deleteRole: DeletionResponse;
|
|
|
/** Create a new ShippingMethod */
|
|
/** Create a new ShippingMethod */
|
|
|
createShippingMethod: ShippingMethod;
|
|
createShippingMethod: ShippingMethod;
|
|
|
/** Update an existing ShippingMethod */
|
|
/** Update an existing ShippingMethod */
|
|
@@ -2053,6 +2055,10 @@ export type MutationUpdateRoleArgs = {
|
|
|
input: UpdateRoleInput;
|
|
input: UpdateRoleInput;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+export type MutationDeleteRoleArgs = {
|
|
|
|
|
+ id: Scalars['ID'];
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
export type MutationCreateShippingMethodArgs = {
|
|
export type MutationCreateShippingMethodArgs = {
|
|
|
input: CreateShippingMethodInput;
|
|
input: CreateShippingMethodInput;
|
|
|
};
|
|
};
|
|
@@ -4810,6 +4816,14 @@ export type UpdateRoleMutation = { __typename?: 'Mutation' } & {
|
|
|
updateRole: { __typename?: 'Role' } & RoleFragment;
|
|
updateRole: { __typename?: 'Role' } & RoleFragment;
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+export type DeleteRoleMutationVariables = {
|
|
|
|
|
+ id: Scalars['ID'];
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+export type DeleteRoleMutation = { __typename?: 'Mutation' } & {
|
|
|
|
|
+ deleteRole: { __typename?: 'DeletionResponse' } & Pick<DeletionResponse, 'result' | 'message'>;
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
export type ShippingMethodFragment = { __typename?: 'ShippingMethod' } & Pick<
|
|
export type ShippingMethodFragment = { __typename?: 'ShippingMethod' } & Pick<
|
|
|
ShippingMethod,
|
|
ShippingMethod,
|
|
|
'id' | 'code' | 'description'
|
|
'id' | 'code' | 'description'
|
|
@@ -6055,6 +6069,12 @@ export namespace UpdateRole {
|
|
|
export type UpdateRole = RoleFragment;
|
|
export type UpdateRole = RoleFragment;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+export namespace DeleteRole {
|
|
|
|
|
+ export type Variables = DeleteRoleMutationVariables;
|
|
|
|
|
+ export type Mutation = DeleteRoleMutation;
|
|
|
|
|
+ export type DeleteRole = DeleteRoleMutation['deleteRole'];
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
export namespace ShippingMethod {
|
|
export namespace ShippingMethod {
|
|
|
export type Fragment = ShippingMethodFragment;
|
|
export type Fragment = ShippingMethodFragment;
|
|
|
export type Calculator = ShippingMethodFragment['calculator'];
|
|
export type Calculator = ShippingMethodFragment['calculator'];
|