|
@@ -1809,10 +1809,14 @@ export type Mutation = {
|
|
|
createTaxCategory: TaxCategory,
|
|
createTaxCategory: TaxCategory,
|
|
|
/** Update an existing TaxCategory */
|
|
/** Update an existing TaxCategory */
|
|
|
updateTaxCategory: TaxCategory,
|
|
updateTaxCategory: TaxCategory,
|
|
|
|
|
+ /** Deletes a TaxCategory */
|
|
|
|
|
+ deleteTaxCategory: DeletionResponse,
|
|
|
/** Create a new TaxRate */
|
|
/** Create a new TaxRate */
|
|
|
createTaxRate: TaxRate,
|
|
createTaxRate: TaxRate,
|
|
|
/** Update an existing TaxRate */
|
|
/** Update an existing TaxRate */
|
|
|
updateTaxRate: TaxRate,
|
|
updateTaxRate: TaxRate,
|
|
|
|
|
+ /** Delete a TaxRate */
|
|
|
|
|
+ deleteTaxRate: DeletionResponse,
|
|
|
/** Create a new Zone */
|
|
/** Create a new Zone */
|
|
|
createZone: Zone,
|
|
createZone: Zone,
|
|
|
/** Update an existing Zone */
|
|
/** Update an existing Zone */
|
|
@@ -2169,6 +2173,11 @@ export type MutationUpdateTaxCategoryArgs = {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+export type MutationDeleteTaxCategoryArgs = {
|
|
|
|
|
+ id: Scalars['ID']
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
export type MutationCreateTaxRateArgs = {
|
|
export type MutationCreateTaxRateArgs = {
|
|
|
input: CreateTaxRateInput
|
|
input: CreateTaxRateInput
|
|
|
};
|
|
};
|
|
@@ -2179,6 +2188,11 @@ export type MutationUpdateTaxRateArgs = {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+export type MutationDeleteTaxRateArgs = {
|
|
|
|
|
+ id: Scalars['ID']
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
export type MutationCreateZoneArgs = {
|
|
export type MutationCreateZoneArgs = {
|
|
|
input: CreateZoneInput
|
|
input: CreateZoneInput
|
|
|
};
|
|
};
|
|
@@ -4332,6 +4346,13 @@ export type UpdateTaxRateMutationVariables = {
|
|
|
|
|
|
|
|
export type UpdateTaxRateMutation = ({ __typename?: 'Mutation' } & { updateTaxRate: ({ __typename?: 'TaxRate' } & TaxRateFragment) });
|
|
export type UpdateTaxRateMutation = ({ __typename?: 'Mutation' } & { updateTaxRate: ({ __typename?: 'TaxRate' } & TaxRateFragment) });
|
|
|
|
|
|
|
|
|
|
+export type DeleteTaxRateMutationVariables = {
|
|
|
|
|
+ id: Scalars['ID']
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+export type DeleteTaxRateMutation = ({ __typename?: 'Mutation' } & { deleteTaxRate: ({ __typename?: 'DeletionResponse' } & Pick<DeletionResponse, 'result' | 'message'>) });
|
|
|
|
|
+
|
|
|
export type ChannelFragment = ({ __typename?: 'Channel' } & Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'pricesIncludeTax' | 'currencyCode' | 'defaultLanguageCode'> & { defaultShippingZone: Maybe<({ __typename?: 'Zone' } & Pick<Zone, 'id' | 'name'>)>, defaultTaxZone: Maybe<({ __typename?: 'Zone' } & Pick<Zone, 'id' | 'name'>)> });
|
|
export type ChannelFragment = ({ __typename?: 'Channel' } & Pick<Channel, 'id' | 'createdAt' | 'updatedAt' | 'code' | 'token' | 'pricesIncludeTax' | 'currencyCode' | 'defaultLanguageCode'> & { defaultShippingZone: Maybe<({ __typename?: 'Zone' } & Pick<Zone, 'id' | 'name'>)>, defaultTaxZone: Maybe<({ __typename?: 'Zone' } & Pick<Zone, 'id' | 'name'>)> });
|
|
|
|
|
|
|
|
export type GetChannelsQueryVariables = {};
|
|
export type GetChannelsQueryVariables = {};
|
|
@@ -5326,6 +5347,12 @@ export namespace UpdateTaxRate {
|
|
|
export type UpdateTaxRate = TaxRateFragment;
|
|
export type UpdateTaxRate = TaxRateFragment;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+export namespace DeleteTaxRate {
|
|
|
|
|
+ export type Variables = DeleteTaxRateMutationVariables;
|
|
|
|
|
+ export type Mutation = DeleteTaxRateMutation;
|
|
|
|
|
+ export type DeleteTaxRate = DeleteTaxRateMutation['deleteTaxRate'];
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
export namespace Channel {
|
|
export namespace Channel {
|
|
|
export type Fragment = ChannelFragment;
|
|
export type Fragment = ChannelFragment;
|
|
|
export type DefaultShippingZone = (NonNullable<ChannelFragment['defaultShippingZone']>);
|
|
export type DefaultShippingZone = (NonNullable<ChannelFragment['defaultShippingZone']>);
|