| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248 |
- import {
- administratorFragment,
- assetFragment,
- canceledOrderFragment,
- channelFragment,
- collectionFragment,
- countryFragment,
- currentUserFragment,
- customerFragment,
- customerGroupFragment,
- facetValueFragment,
- facetWithValuesFragment,
- fulfillmentFragment,
- globalSettingsFragment,
- orderFragment,
- orderWithLinesFragment,
- orderWithModificationsFragment,
- paymentFragment,
- productOptionGroupFragment,
- productVariantFragment,
- productWithOptionsFragment,
- productWithVariantsFragment,
- promotionFragment,
- refundFragment,
- roleFragment,
- shippingMethodFragment,
- taxRateFragment,
- variantWithStockFragment,
- zoneFragment,
- } from './fragments-admin';
- import { graphql } from './graphql-admin';
- export const getTasksDocument = graphql(`
- query GetTasks {
- scheduledTasks {
- id
- description
- schedule
- scheduleDescription
- lastResult
- enabled
- }
- }
- `);
- export const updateTaskDocument = graphql(`
- mutation UpdateTask($input: UpdateScheduledTaskInput!) {
- updateScheduledTask(input: $input) {
- id
- enabled
- }
- }
- `);
- export const runTaskDocument = graphql(`
- mutation RunTask($id: String!) {
- runScheduledTask(id: $id) {
- success
- }
- }
- `);
- export const createAdministratorDocument = graphql(
- `
- mutation CreateAdministrator($input: CreateAdministratorInput!) {
- createAdministrator(input: $input) {
- ...Administrator
- }
- }
- `,
- [administratorFragment],
- );
- export const getAdministratorsDocument = graphql(
- `
- query GetAdministrators($options: AdministratorListOptions) {
- administrators(options: $options) {
- items {
- ...Administrator
- }
- totalItems
- }
- }
- `,
- [administratorFragment],
- );
- export const getAdministratorDocument = graphql(
- `
- query GetAdministrator($id: ID!) {
- administrator(id: $id) {
- ...Administrator
- }
- }
- `,
- [administratorFragment],
- );
- export const getActiveAdministratorDocument = graphql(
- `
- query ActiveAdministrator {
- activeAdministrator {
- ...Administrator
- }
- }
- `,
- [administratorFragment],
- );
- export const updateAdministratorDocument = graphql(
- `
- mutation UpdateAdministrator($input: UpdateAdministratorInput!) {
- updateAdministrator(input: $input) {
- ...Administrator
- }
- }
- `,
- [administratorFragment],
- );
- export const updateActiveAdministratorDocument = graphql(
- `
- mutation UpdateActiveAdministrator($input: UpdateActiveAdministratorInput!) {
- updateActiveAdministrator(input: $input) {
- ...Administrator
- }
- }
- `,
- [administratorFragment],
- );
- export const deleteAdministratorDocument = graphql(`
- mutation DeleteAdministrator($id: ID!) {
- deleteAdministrator(id: $id) {
- message
- result
- }
- }
- `);
- export const updateProductDocument = graphql(
- `
- mutation UpdateProduct($input: UpdateProductInput!) {
- updateProduct(input: $input) {
- ...ProductWithVariants
- }
- }
- `,
- [productWithVariantsFragment],
- );
- export const updateProductOptionGroupDocument = graphql(`
- mutation UpdateOptionGroup($input: UpdateProductOptionGroupInput!) {
- updateProductOptionGroup(input: $input) {
- id
- }
- }
- `);
- export const createProductDocument = graphql(
- `
- mutation CreateProduct($input: CreateProductInput!) {
- createProduct(input: $input) {
- ...ProductWithVariants
- }
- }
- `,
- [productWithVariantsFragment],
- );
- export const getProductWithVariantsDocument = graphql(
- `
- query GetProductWithVariants($id: ID, $slug: String) {
- product(slug: $slug, id: $id) {
- ...ProductWithVariants
- }
- }
- `,
- [productWithVariantsFragment],
- );
- export const getProductListDocument = graphql(`
- query GetProductList($options: ProductListOptions) {
- products(options: $options) {
- items {
- id
- languageCode
- name
- slug
- featuredAsset {
- id
- preview
- }
- }
- totalItems
- }
- }
- `);
- export const getProductWithFacetValuesDocument = graphql(`
- query GetProductWithFacetValues($id: ID!) {
- product(id: $id) {
- id
- facetValues {
- id
- name
- code
- }
- variants {
- id
- facetValues {
- id
- name
- code
- }
- }
- }
- }
- `);
- export const getProductsListWithVariantsDocument = graphql(`
- query GetProductListWithVariants {
- products {
- items {
- id
- name
- variants {
- id
- name
- }
- }
- totalItems
- }
- }
- `);
- export const createProductVariantsDocument = graphql(
- `
- mutation CreateProductVariants($input: [CreateProductVariantInput!]!) {
- createProductVariants(input: $input) {
- ...ProductVariant
- }
- }
- `,
- [productVariantFragment],
- );
- export const updateProductVariantsDocument = graphql(
- `
- mutation UpdateProductVariants($input: [UpdateProductVariantInput!]!) {
- updateProductVariants(input: $input) {
- ...ProductVariant
- }
- }
- `,
- [productVariantFragment],
- );
- export const updateTaxRateDocument = graphql(
- `
- mutation UpdateTaxRate($input: UpdateTaxRateInput!) {
- updateTaxRate(input: $input) {
- ...TaxRate
- }
- }
- `,
- [taxRateFragment],
- );
- export const createFacetDocument = graphql(
- `
- mutation CreateFacet($input: CreateFacetInput!) {
- createFacet(input: $input) {
- ...FacetWithValues
- }
- }
- `,
- [facetWithValuesFragment],
- );
- export const updateFacetDocument = graphql(
- `
- mutation UpdateFacet($input: UpdateFacetInput!) {
- updateFacet(input: $input) {
- ...FacetWithValues
- }
- }
- `,
- [facetWithValuesFragment],
- );
- export const createFacetValueDocument = graphql(
- `
- mutation CreateFacetValue($input: CreateFacetValueInput!) {
- createFacetValue(input: $input) {
- ...FacetValue
- }
- }
- `,
- [facetValueFragment],
- );
- export const updateFacetValueDocument = graphql(
- `
- mutation UpdateFacetValue($input: UpdateFacetValueInput!) {
- updateFacetValue(input: $input) {
- ...FacetValue
- }
- }
- `,
- [facetValueFragment],
- );
- export const createFacetValuesDocument = graphql(
- `
- mutation CreateFacetValues($input: [CreateFacetValueInput!]!) {
- createFacetValues(input: $input) {
- ...FacetValue
- }
- }
- `,
- [facetValueFragment],
- );
- export const updateFacetValuesDocument = graphql(
- `
- mutation UpdateFacetValues($input: [UpdateFacetValueInput!]!) {
- updateFacetValues(input: $input) {
- ...FacetValue
- }
- }
- `,
- [facetValueFragment],
- );
- export const deleteFacetValuesDocument = graphql(`
- mutation DeleteFacetValues($ids: [ID!]!, $force: Boolean) {
- deleteFacetValues(ids: $ids, force: $force) {
- result
- message
- }
- }
- `);
- export const deleteFacetDocument = graphql(`
- mutation DeleteFacet($id: ID!, $force: Boolean) {
- deleteFacet(id: $id, force: $force) {
- result
- message
- }
- }
- `);
- export const getCustomerListDocument = graphql(`
- query GetCustomerList($options: CustomerListOptions) {
- customers(options: $options) {
- items {
- id
- title
- firstName
- lastName
- emailAddress
- phoneNumber
- user {
- id
- identifier
- verified
- }
- }
- totalItems
- }
- }
- `);
- export const getCustomerIdsDocument = graphql(`
- query GetCustomerIds {
- customers {
- items {
- id
- }
- }
- }
- `);
- export const getAssetListDocument = graphql(
- `
- query GetAssetList($options: AssetListOptions) {
- assets(options: $options) {
- items {
- ...Asset
- }
- totalItems
- }
- }
- `,
- [assetFragment],
- );
- export const createRoleDocument = graphql(
- `
- mutation CreateRole($input: CreateRoleInput!) {
- createRole(input: $input) {
- ...Role
- }
- }
- `,
- [roleFragment],
- );
- export const createCollectionDocument = graphql(
- `
- mutation CreateCollection($input: CreateCollectionInput!) {
- createCollection(input: $input) {
- ...Collection
- }
- }
- `,
- [collectionFragment],
- );
- export const updateCollectionDocument = graphql(
- `
- mutation UpdateCollection($input: UpdateCollectionInput!) {
- updateCollection(input: $input) {
- ...Collection
- }
- }
- `,
- [collectionFragment],
- );
- export const getCustomerDocument = graphql(
- `
- query GetCustomer($id: ID!, $orderListOptions: OrderListOptions) {
- customer(id: $id) {
- ...Customer
- orders(options: $orderListOptions) {
- items {
- id
- code
- state
- total
- currencyCode
- updatedAt
- }
- totalItems
- }
- }
- }
- `,
- [customerFragment],
- );
- export const attemptLoginDocument = graphql(
- `
- mutation AttemptLogin($username: String!, $password: String!, $rememberMe: Boolean) {
- login(username: $username, password: $password, rememberMe: $rememberMe) {
- ...CurrentUser
- ... on ErrorResult {
- errorCode
- message
- }
- }
- }
- `,
- [currentUserFragment],
- );
- export const logoutDocument = graphql(`
- mutation Logout {
- logout {
- success
- }
- }
- `);
- export const getCountryListDocument = graphql(`
- query GetCountryList($options: CountryListOptions) {
- countries(options: $options) {
- items {
- id
- code
- name
- enabled
- }
- totalItems
- }
- }
- `);
- export const updateCountryDocument = graphql(
- `
- mutation UpdateCountry($input: UpdateCountryInput!) {
- updateCountry(input: $input) {
- ...Country
- }
- }
- `,
- [countryFragment],
- );
- export const getGlobalSettingsDocument = graphql(
- `
- query GetGlobalSettings {
- globalSettings {
- ...GlobalSettings
- }
- }
- `,
- [globalSettingsFragment],
- );
- export const getFacetListDocument = graphql(
- `
- query GetFacetList($options: FacetListOptions) {
- facets(options: $options) {
- items {
- ...FacetWithValues
- }
- totalItems
- }
- }
- `,
- [facetWithValuesFragment],
- );
- export const getFacetListSimpleDocument = graphql(`
- query GetFacetListSimple($options: FacetListOptions) {
- facets(options: $options) {
- items {
- id
- name
- }
- totalItems
- }
- }
- `);
- export const deleteProductDocument = graphql(`
- mutation DeleteProduct($id: ID!) {
- deleteProduct(id: $id) {
- result
- }
- }
- `);
- export const getProductSimpleDocument = graphql(`
- query GetProductSimple($id: ID, $slug: String) {
- product(slug: $slug, id: $id) {
- id
- slug
- }
- }
- `);
- export const getProductIdNameDocument = graphql(`
- query GetProductIdName($id: ID!) {
- product(id: $id) {
- id
- name
- }
- }
- `);
- export const getStockMovementDocument = graphql(
- `
- query GetStockMovement($id: ID!) {
- product(id: $id) {
- id
- variants {
- ...VariantWithStock
- }
- }
- }
- `,
- [variantWithStockFragment],
- );
- export const getStockMovementByTypeDocument = graphql(`
- query GetStockMovementByType($id: ID!, $type: StockMovementType!) {
- product(id: $id) {
- id
- variants {
- stockMovements(options: { type: $type }) {
- items {
- ... on StockMovement {
- id
- type
- quantity
- }
- }
- totalItems
- }
- }
- }
- }
- `);
- export const getRunningJobsDocument = graphql(`
- query GetRunningJobs($options: JobListOptions) {
- jobs(options: $options) {
- items {
- id
- queueName
- state
- isSettled
- duration
- }
- totalItems
- }
- }
- `);
- export const cancelJobDocument = graphql(`
- mutation CancelJob($id: ID!) {
- cancelJob(jobId: $id) {
- id
- state
- isSettled
- settledAt
- }
- }
- `);
- export const createPromotionDocument = graphql(
- `
- mutation CreatePromotion($input: CreatePromotionInput!) {
- createPromotion(input: $input) {
- ...Promotion
- ... on ErrorResult {
- errorCode
- message
- }
- }
- }
- `,
- [promotionFragment],
- );
- export const MeDocument = graphql(
- `
- query Me {
- me {
- ...CurrentUser
- }
- }
- `,
- [currentUserFragment],
- );
- export const createChannelDocument = graphql(
- `
- mutation CreateChannel($input: CreateChannelInput!) {
- createChannel(input: $input) {
- ...Channel
- ... on LanguageNotAvailableError {
- errorCode
- message
- languageCode
- }
- }
- }
- `,
- [channelFragment],
- );
- export const deleteProductVariantDocument = graphql(`
- mutation DeleteProductVariant($id: ID!) {
- deleteProductVariant(id: $id) {
- result
- message
- }
- }
- `);
- export const assignProductToChannelDocument = graphql(
- `
- mutation AssignProductsToChannel($input: AssignProductsToChannelInput!) {
- assignProductsToChannel(input: $input) {
- ...ProductWithVariants
- }
- }
- `,
- [productWithVariantsFragment],
- );
- export const removeProductFromChannelDocument = graphql(
- `
- mutation RemoveProductsFromChannel($input: RemoveProductsFromChannelInput!) {
- removeProductsFromChannel(input: $input) {
- ...ProductWithVariants
- }
- }
- `,
- [productWithVariantsFragment],
- );
- export const assignProductVariantToChannelDocument = graphql(
- `
- mutation AssignProductVariantsToChannel($input: AssignProductVariantsToChannelInput!) {
- assignProductVariantsToChannel(input: $input) {
- ...ProductVariant
- }
- }
- `,
- [productVariantFragment],
- );
- export const removeProductVariantFromChannelDocument = graphql(
- `
- mutation RemoveProductVariantsFromChannel($input: RemoveProductVariantsFromChannelInput!) {
- removeProductVariantsFromChannel(input: $input) {
- ...ProductVariant
- }
- }
- `,
- [productVariantFragment],
- );
- export const assignFacetsToChannelDocument = graphql(`
- mutation AssignFacetsToChannel($input: AssignFacetsToChannelInput!) {
- assignFacetsToChannel(input: $input) {
- id
- name
- }
- }
- `);
- export const removeFacetsFromChannelDocument = graphql(`
- mutation RemoveFacetsFromChannel($input: RemoveFacetsFromChannelInput!) {
- removeFacetsFromChannel(input: $input) {
- ... on Facet {
- id
- name
- }
- ... on FacetInUseError {
- errorCode
- message
- productCount
- variantCount
- }
- }
- }
- `);
- export const getEntityDuplicatorsDocument = graphql(`
- query GetEntityDuplicators {
- entityDuplicators {
- code
- description
- requiresPermission
- forEntities
- args {
- name
- type
- defaultValue
- }
- }
- }
- `);
- export const duplicateEntityDocument = graphql(`
- mutation DuplicateEntity($input: DuplicateEntityInput!) {
- duplicateEntity(input: $input) {
- ... on DuplicateEntitySuccess {
- newEntityId
- }
- ... on DuplicateEntityError {
- errorCode
- message
- duplicationError
- }
- }
- }
- `);
- export const updateAssetDocument = graphql(
- `
- mutation UpdateAsset($input: UpdateAssetInput!) {
- updateAsset(input: $input) {
- ...Asset
- ... on Asset {
- tags {
- id
- value
- }
- focalPoint {
- x
- y
- }
- }
- }
- }
- `,
- [assetFragment],
- );
- export const deleteAssetDocument = graphql(`
- mutation DeleteAsset($input: DeleteAssetInput!) {
- deleteAsset(input: $input) {
- result
- message
- }
- }
- `);
- export const updateChannelDocument = graphql(
- `
- mutation UpdateChannel($input: UpdateChannelInput!) {
- updateChannel(input: $input) {
- ...Channel
- ... on LanguageNotAvailableError {
- errorCode
- message
- languageCode
- }
- }
- }
- `,
- [channelFragment],
- );
- export const getCustomerHistoryDocument = graphql(`
- query GetCustomerHistory($id: ID!, $options: HistoryEntryListOptions) {
- customer(id: $id) {
- id
- history(options: $options) {
- totalItems
- items {
- id
- administrator {
- id
- }
- type
- data
- }
- }
- }
- }
- `);
- export const getOrderDocument = graphql(
- `
- query GetOrder($id: ID!) {
- order(id: $id) {
- ...OrderWithLines
- }
- }
- `,
- [orderWithLinesFragment],
- );
- export const createCustomerGroupDocument = graphql(
- `
- mutation CreateCustomerGroup($input: CreateCustomerGroupInput!) {
- createCustomerGroup(input: $input) {
- ...CustomerGroup
- }
- }
- `,
- [customerGroupFragment],
- );
- export const removeCustomersFromGroupDocument = graphql(
- `
- mutation RemoveCustomersFromGroup($groupId: ID!, $customerIds: [ID!]!) {
- removeCustomersFromGroup(customerGroupId: $groupId, customerIds: $customerIds) {
- ...CustomerGroup
- }
- }
- `,
- [customerGroupFragment],
- );
- export const createFulfillmentDocument = graphql(
- `
- mutation CreateFulfillment($input: FulfillOrderInput!) {
- addFulfillmentToOrder(input: $input) {
- ...Fulfillment
- ... on ErrorResult {
- errorCode
- message
- }
- ... on CreateFulfillmentError {
- fulfillmentHandlerError
- }
- }
- }
- `,
- [fulfillmentFragment],
- );
- export const transitFulfillmentDocument = graphql(
- `
- mutation TransitFulfillment($id: ID!, $state: String!) {
- transitionFulfillmentToState(id: $id, state: $state) {
- ...Fulfillment
- ... on FulfillmentStateTransitionError {
- errorCode
- message
- transitionError
- fromState
- toState
- }
- }
- }
- `,
- [fulfillmentFragment],
- );
- export const getOrderFulfillmentsDocument = graphql(`
- query GetOrderFulfillments($id: ID!) {
- order(id: $id) {
- id
- state
- fulfillments {
- id
- state
- nextStates
- method
- summary {
- orderLine {
- id
- }
- quantity
- }
- }
- }
- }
- `);
- export const getOrdersListDocument = graphql(
- `
- query GetOrderListFull($options: OrderListOptions) {
- orders(options: $options) {
- items {
- ...Order
- }
- totalItems
- }
- }
- `,
- [orderFragment],
- );
- export const createAddressDocument = graphql(`
- mutation CreateAddress($id: ID!, $input: CreateAddressInput!) {
- createCustomerAddress(customerId: $id, input: $input) {
- id
- fullName
- company
- streetLine1
- streetLine2
- city
- province
- postalCode
- country {
- code
- name
- }
- phoneNumber
- defaultShippingAddress
- defaultBillingAddress
- }
- }
- `);
- export const updateAddressDocument = graphql(`
- mutation UpdateAddress($input: UpdateAddressInput!) {
- updateCustomerAddress(input: $input) {
- id
- defaultShippingAddress
- defaultBillingAddress
- country {
- code
- name
- }
- }
- }
- `);
- export const createCustomerDocument = graphql(
- `
- mutation CreateCustomer($input: CreateCustomerInput!, $password: String) {
- createCustomer(input: $input, password: $password) {
- ...Customer
- ... on ErrorResult {
- errorCode
- message
- }
- }
- }
- `,
- [customerFragment],
- );
- export const updateCustomerDocument = graphql(
- `
- mutation UpdateCustomer($input: UpdateCustomerInput!) {
- updateCustomer(input: $input) {
- ...Customer
- ... on ErrorResult {
- errorCode
- message
- }
- }
- }
- `,
- [customerFragment],
- );
- export const deleteCustomerDocument = graphql(`
- mutation DeleteCustomer($id: ID!) {
- deleteCustomer(id: $id) {
- result
- }
- }
- `);
- export const updateCustomerNoteDocument = graphql(`
- mutation UpdateCustomerNote($input: UpdateCustomerNoteInput!) {
- updateCustomerNote(input: $input) {
- id
- data
- isPublic
- }
- }
- `);
- export const deleteCustomerNoteDocument = graphql(`
- mutation DeleteCustomerNote($id: ID!) {
- deleteCustomerNote(id: $id) {
- result
- message
- }
- }
- `);
- export const updateCustomerGroupDocument = graphql(
- `
- mutation UpdateCustomerGroup($input: UpdateCustomerGroupInput!) {
- updateCustomerGroup(input: $input) {
- ...CustomerGroup
- }
- }
- `,
- [customerGroupFragment],
- );
- export const deleteCustomerGroupDocument = graphql(`
- mutation DeleteCustomerGroup($id: ID!) {
- deleteCustomerGroup(id: $id) {
- result
- message
- }
- }
- `);
- export const getCustomerGroupsDocument = graphql(`
- query GetCustomerGroups($options: CustomerGroupListOptions) {
- customerGroups(options: $options) {
- items {
- id
- name
- }
- totalItems
- }
- }
- `);
- export const getCustomerGroupDocument = graphql(`
- query GetCustomerGroup($id: ID!, $options: CustomerListOptions) {
- customerGroup(id: $id) {
- id
- name
- customers(options: $options) {
- items {
- id
- }
- totalItems
- }
- }
- }
- `);
- export const addCustomersToGroupDocument = graphql(
- `
- mutation AddCustomersToGroup($groupId: ID!, $customerIds: [ID!]!) {
- addCustomersToGroup(customerGroupId: $groupId, customerIds: $customerIds) {
- ...CustomerGroup
- }
- }
- `,
- [customerGroupFragment],
- );
- export const getCustomerWithGroupsDocument = graphql(`
- query GetCustomerWithGroups($id: ID!) {
- customer(id: $id) {
- id
- groups {
- id
- name
- }
- }
- }
- `);
- export const adminTransitionToStateDocument = graphql(
- `
- mutation AdminTransition($id: ID!, $state: String!) {
- transitionOrderToState(id: $id, state: $state) {
- ...Order
- ... on OrderStateTransitionError {
- errorCode
- message
- transitionError
- fromState
- toState
- }
- }
- }
- `,
- [orderFragment],
- );
- export const cancelOrderDocument = graphql(
- `
- mutation CancelOrder($input: CancelOrderInput!) {
- cancelOrder(input: $input) {
- ...CanceledOrder
- ... on ErrorResult {
- errorCode
- message
- }
- }
- }
- `,
- [canceledOrderFragment],
- );
- export const updateGlobalSettingsDocument = graphql(
- `
- mutation UpdateGlobalSettings($input: UpdateGlobalSettingsInput!) {
- updateGlobalSettings(input: $input) {
- ...GlobalSettings
- ... on ErrorResult {
- errorCode
- message
- }
- }
- }
- `,
- [globalSettingsFragment],
- );
- export const updateRoleDocument = graphql(
- `
- mutation UpdateRole($input: UpdateRoleInput!) {
- updateRole(input: $input) {
- ...Role
- }
- }
- `,
- [roleFragment],
- );
- export const getProductsWithVariantPricesDocument = graphql(`
- query GetProductsWithVariantPrices {
- products {
- items {
- id
- slug
- variants {
- id
- price
- priceWithTax
- currencyCode
- sku
- facetValues {
- id
- code
- }
- }
- }
- }
- }
- `);
- export const createProductOptionGroupDocument = graphql(
- `
- mutation CreateProductOptionGroup($input: CreateProductOptionGroupInput!) {
- createProductOptionGroup(input: $input) {
- ...ProductOptionGroup
- }
- }
- `,
- [productOptionGroupFragment],
- );
- export const addOptionGroupToProductDocument = graphql(
- `
- mutation AddOptionGroupToProduct($productId: ID!, $optionGroupId: ID!) {
- addOptionGroupToProduct(productId: $productId, optionGroupId: $optionGroupId) {
- ...ProductWithOptions
- }
- }
- `,
- [productWithOptionsFragment],
- );
- export const removeOptionGroupFromProductDocument = graphql(
- `
- mutation RemoveOptionGroupFromProduct($productId: ID!, $optionGroupId: ID!, $force: Boolean) {
- removeOptionGroupFromProduct(
- productId: $productId
- optionGroupId: $optionGroupId
- force: $force
- ) {
- ...ProductWithOptions
- ... on ProductOptionInUseError {
- errorCode
- message
- optionGroupCode
- productVariantCount
- }
- }
- }
- `,
- [productWithOptionsFragment],
- );
- export const getOptionGroupDocument = graphql(`
- query GetOptionGroup($id: ID!) {
- productOptionGroup(id: $id) {
- id
- code
- options {
- id
- code
- }
- }
- }
- `);
- export const getProductVariantDocument = graphql(`
- query GetProductVariant($id: ID!) {
- productVariant(id: $id) {
- id
- name
- }
- }
- `);
- export const getProductWithVariantListDocument = graphql(
- `
- query GetProductWithVariantList($id: ID, $variantListOptions: ProductVariantListOptions) {
- product(id: $id) {
- id
- variantList(options: $variantListOptions) {
- items {
- ...ProductVariant
- }
- totalItems
- }
- }
- }
- `,
- [productVariantFragment],
- );
- export const createShippingMethodDocument = graphql(
- `
- mutation CreateShippingMethod($input: CreateShippingMethodInput!) {
- createShippingMethod(input: $input) {
- ...ShippingMethod
- }
- }
- `,
- [shippingMethodFragment],
- );
- export const settlePaymentDocument = graphql(
- `
- mutation SettlePayment($id: ID!) {
- settlePayment(id: $id) {
- ...Payment
- ... on ErrorResult {
- errorCode
- message
- }
- ... on SettlePaymentError {
- paymentErrorMessage
- }
- }
- }
- `,
- [paymentFragment],
- );
- export const getOrderHistoryDocument = graphql(`
- query GetOrderHistory($id: ID!, $options: HistoryEntryListOptions) {
- order(id: $id) {
- id
- history(options: $options) {
- totalItems
- items {
- id
- type
- administrator {
- id
- }
- data
- }
- }
- }
- }
- `);
- export const updateShippingMethodDocument = graphql(
- `
- mutation UpdateShippingMethod($input: UpdateShippingMethodInput!) {
- updateShippingMethod(input: $input) {
- ...ShippingMethod
- }
- }
- `,
- [shippingMethodFragment],
- );
- export const getAssetDocument = graphql(
- `
- query GetAsset($id: ID!) {
- asset(id: $id) {
- ...Asset
- width
- height
- }
- }
- `,
- [assetFragment],
- );
- export const getAssetFragmentFirstDocument = graphql(`
- fragment AssetFragFirst on Asset {
- id
- preview
- }
- query GetAssetFragmentFirst($id: ID!) {
- asset(id: $id) {
- ...AssetFragFirst
- }
- }
- `);
- export const assetWithTagsAndFocalPointFragmentDocument = graphql(
- `
- fragment AssetWithTagsAndFocalPoint on Asset {
- ...Asset
- focalPoint {
- x
- y
- }
- tags {
- id
- value
- }
- }
- `,
- [assetFragment],
- );
- export const createAssetsDocument = graphql(
- `
- mutation CreateAssets($input: [CreateAssetInput!]!) {
- createAssets(input: $input) {
- ...AssetWithTagsAndFocalPoint
- ... on MimeTypeError {
- message
- fileName
- mimeType
- }
- }
- }
- `,
- [assetWithTagsAndFocalPointFragmentDocument],
- );
- export const deleteShippingMethodDocument = graphql(`
- mutation DeleteShippingMethod($id: ID!) {
- deleteShippingMethod(id: $id) {
- result
- message
- }
- }
- `);
- export const assignPromotionsToChannelDocument = graphql(`
- mutation AssignPromotionToChannel($input: AssignPromotionsToChannelInput!) {
- assignPromotionsToChannel(input: $input) {
- id
- name
- }
- }
- `);
- export const removePromotionsFromChannelDocument = graphql(`
- mutation RemovePromotionFromChannel($input: RemovePromotionsFromChannelInput!) {
- removePromotionsFromChannel(input: $input) {
- id
- name
- }
- }
- `);
- export const getTaxRateDocument = graphql(
- `
- query GetTaxRate($id: ID!) {
- taxRate(id: $id) {
- ...TaxRate
- }
- }
- `,
- [taxRateFragment],
- );
- export const createTaxRateDocument = graphql(
- `
- mutation CreateTaxRate($input: CreateTaxRateInput!) {
- createTaxRate(input: $input) {
- ...TaxRate
- }
- }
- `,
- [taxRateFragment],
- );
- export const deleteTaxRateDocument = graphql(`
- mutation DeleteTaxRate($id: ID!) {
- deleteTaxRate(id: $id) {
- result
- message
- }
- }
- `);
- export const getTaxRatesListDocument = graphql(
- `
- query GetTaxRates($options: TaxRateListOptions) {
- taxRates(options: $options) {
- items {
- ...TaxRate
- }
- totalItems
- }
- }
- `,
- [taxRateFragment],
- );
- export const getShippingMethodListDocument = graphql(
- `
- query GetShippingMethodList {
- shippingMethods {
- items {
- ...ShippingMethod
- }
- totalItems
- }
- }
- `,
- [shippingMethodFragment],
- );
- export const getCollectionsDocument = graphql(`
- query GetCollections {
- collections {
- items {
- id
- name
- position
- parent {
- id
- name
- }
- }
- }
- }
- `);
- export const transitionPaymentToStateDocument = graphql(
- `
- mutation TransitionPaymentToState($id: ID!, $state: String!) {
- transitionPaymentToState(id: $id, state: $state) {
- ...Payment
- ... on ErrorResult {
- errorCode
- message
- }
- ... on PaymentStateTransitionError {
- transitionError
- }
- }
- }
- `,
- [paymentFragment],
- );
- export const getProductVariantListDocument = graphql(`
- query GetProductVariantList($options: ProductVariantListOptions, $productId: ID) {
- productVariants(options: $options, productId: $productId) {
- items {
- id
- name
- sku
- price
- priceWithTax
- currencyCode
- prices {
- currencyCode
- price
- }
- }
- totalItems
- }
- }
- `);
- export const deletePromotionDocument = graphql(`
- mutation DeletePromotion($id: ID!) {
- deletePromotion(id: $id) {
- result
- }
- }
- `);
- export const getChannelsDocument = graphql(`
- query GetChannels {
- channels {
- items {
- id
- code
- token
- }
- }
- }
- `);
- export const assignCollectionsToChannelDocument = graphql(
- `
- mutation AssignCollectionsToChannel($input: AssignCollectionsToChannelInput!) {
- assignCollectionsToChannel(input: $input) {
- ...Collection
- }
- }
- `,
- [collectionFragment],
- );
- export const getCollectionDocument = graphql(
- `
- query GetCollection($id: ID, $slug: String, $variantListOptions: ProductVariantListOptions) {
- collection(id: $id, slug: $slug) {
- ...Collection
- productVariants(options: $variantListOptions) {
- items {
- id
- name
- price
- }
- }
- }
- }
- `,
- [collectionFragment],
- );
- export const getFacetWithValuesDocument = graphql(
- `
- query GetFacetWithValues($id: ID!) {
- facet(id: $id) {
- ...FacetWithValues
- }
- }
- `,
- [facetWithValuesFragment],
- );
- export const getFacetWithValueListDocument = graphql(
- `
- query GetFacetWithValueList($id: ID!, $options: FacetValueListOptions) {
- facet(id: $id) {
- id
- languageCode
- isPrivate
- code
- name
- valueList(options: $options) {
- items {
- ...FacetValue
- }
- totalItems
- }
- }
- }
- `,
- [facetValueFragment],
- );
- export const getFacetValuesDocument = graphql(
- `
- query GetFacetValues($options: FacetValueListOptions) {
- facetValues(options: $options) {
- items {
- ...FacetValue
- }
- totalItems
- }
- }
- `,
- [facetValueFragment],
- );
- export const getFacetValueDocument = graphql(
- `
- query GetFacetValue($id: ID!) {
- facetValue(id: $id) {
- ...FacetValue
- }
- }
- `,
- [facetValueFragment],
- );
- export const getPromotionDocument = graphql(
- `
- query GetPromotion($id: ID!) {
- promotion(id: $id) {
- ...Promotion
- }
- }
- `,
- [promotionFragment],
- );
- export const getOrderListDocument = graphql(`
- query GetOrderList($options: OrderListOptions) {
- orders(options: $options) {
- items {
- id
- code
- state
- total
- totalWithTax
- totalQuantity
- customer {
- id
- emailAddress
- lastName
- }
- }
- totalItems
- }
- }
- `);
- export const getOrderWithPaymentsDocument = graphql(`
- query GetOrderWithPayments($id: ID!) {
- order(id: $id) {
- id
- payments {
- id
- errorMessage
- metadata
- refunds {
- id
- total
- }
- }
- }
- }
- `);
- export const getOrderListWithQtyDocument = graphql(`
- query GetOrderListWithQty($options: OrderListOptions) {
- orders(options: $options) {
- items {
- id
- code
- totalQuantity
- lines {
- id
- quantity
- }
- }
- }
- }
- `);
- export const refundOrderDocument = graphql(
- `
- mutation RefundOrder($input: RefundOrderInput!) {
- refundOrder(input: $input) {
- ...Refund
- ... on ErrorResult {
- errorCode
- message
- }
- }
- }
- `,
- [refundFragment],
- );
- export const settleRefundDocument = graphql(
- `
- mutation SettleRefund($input: SettleRefundInput!) {
- settleRefund(input: $input) {
- ...Refund
- ... on ErrorResult {
- errorCode
- message
- }
- }
- }
- `,
- [refundFragment],
- );
- export const addNoteToOrderDocument = graphql(`
- mutation AddNoteToOrder($input: AddNoteToOrderInput!) {
- addNoteToOrder(input: $input) {
- id
- }
- }
- `);
- export const updateOrderNoteDocument = graphql(`
- mutation UpdateOrderNote($input: UpdateOrderNoteInput!) {
- updateOrderNote(input: $input) {
- id
- data
- isPublic
- }
- }
- `);
- export const deleteOrderNoteDocument = graphql(`
- mutation DeleteOrderNote($id: ID!) {
- deleteOrderNote(id: $id) {
- result
- message
- }
- }
- `);
- export const getOrderLineFulfillmentsDocument = graphql(`
- query GetOrderLineFulfillments($id: ID!) {
- order(id: $id) {
- id
- lines {
- id
- fulfillmentLines {
- fulfillment {
- id
- state
- }
- orderLineId
- quantity
- }
- }
- }
- }
- `);
- export const getOrderListFulfillmentsDocument = graphql(`
- query GetOrderListFulfillments {
- orders {
- items {
- id
- state
- fulfillments {
- id
- state
- nextStates
- method
- }
- }
- }
- }
- `);
- export const cancelPaymentDocument = graphql(
- `
- mutation CancelPayment($paymentId: ID!) {
- cancelPayment(id: $paymentId) {
- ...Payment
- ... on ErrorResult {
- errorCode
- message
- }
- ... on PaymentStateTransitionError {
- transitionError
- }
- ... on CancelPaymentError {
- paymentErrorMessage
- }
- }
- }
- `,
- [paymentFragment],
- );
- export const setOrderCustomerDocument = graphql(`
- mutation SetOrderCustomer($input: SetOrderCustomerInput!) {
- setOrderCustomer(input: $input) {
- id
- customer {
- id
- }
- }
- }
- `);
- export const getOrderAssetEdgeCaseDocument = graphql(`
- query OrderAssetEdgeCase($id: ID!) {
- order(id: $id) {
- lines {
- id
- }
- id
- lines {
- id
- featuredAsset {
- preview
- }
- }
- }
- }
- `);
- export const getOrderWithLineCalculatedPropsDocument = graphql(`
- query GetOrderWithLineCalculatedProps($id: ID!) {
- order(id: $id) {
- id
- lines {
- id
- linePriceWithTax
- quantity
- }
- }
- }
- `);
- export const addManualPaymentDocument = graphql(`
- mutation AddManualPaymentToOrder($input: ManualPaymentInput!) {
- addManualPaymentToOrder(input: $input) {
- ... on Order {
- id
- code
- state
- active
- total
- totalWithTax
- lines {
- id
- }
- payments {
- id
- state
- }
- }
- ... on ErrorResult {
- errorCode
- message
- }
- }
- }
- `);
- export const modifyOrderDocument = graphql(
- `
- mutation ModifyOrder($input: ModifyOrderInput!) {
- modifyOrder(input: $input) {
- ...OrderWithModifications
- ... on ErrorResult {
- errorCode
- message
- }
- }
- }
- `,
- [orderWithModificationsFragment],
- );
- export const addManualPaymentToOrderDocument = graphql(
- `
- mutation AddManualPayment($input: ManualPaymentInput!) {
- addManualPaymentToOrder(input: $input) {
- ...OrderWithModifications
- ... on ErrorResult {
- errorCode
- message
- }
- }
- }
- `,
- [orderWithModificationsFragment],
- );
- export const getOrderWithModificationsDocument = graphql(
- `
- query GetOrderWithModifications($id: ID!) {
- order(id: $id) {
- ...OrderWithModifications
- }
- }
- `,
- [orderWithModificationsFragment],
- );
- export const getOrderWithCustomFieldsDocument = graphql(`
- query GetOrderCustomFields($id: ID!) {
- order(id: $id) {
- # Ignore error - customFields are dynamically generated at runtime, not in introspection schema
- customFields {
- points
- }
- lines {
- id
- # Ignore error - customFields are dynamically generated at runtime, not in introspection schema
- customFields {
- color
- }
- }
- }
- }
- `);
- export const getSettingsStoreValueDocument = graphql(`
- query GetSettingsStoreValue($key: String!) {
- getSettingsStoreValue(key: $key)
- }
- `);
- export const getSettingsStoreValuesDocument = graphql(`
- query GetSettingsStoreValues($keys: [String!]!) {
- getSettingsStoreValues(keys: $keys)
- }
- `);
- export const setSettingsStoreValueDocument = graphql(`
- mutation SetSettingsStoreValue($input: SettingsStoreInput!) {
- setSettingsStoreValue(input: $input) {
- key
- result
- error
- }
- }
- `);
- export const setSettingsStoreValuesDocument = graphql(`
- mutation SetSettingsStoreValues($inputs: [SettingsStoreInput!]!) {
- setSettingsStoreValues(inputs: $inputs) {
- key
- result
- error
- }
- }
- `);
- export const getCheckersDocument = graphql(`
- query GetCheckers {
- shippingEligibilityCheckers {
- code
- args {
- defaultValue
- description
- label
- list
- name
- required
- type
- }
- }
- }
- `);
- export const getZonesDocument = graphql(`
- query GetZones($options: ZoneListOptions) {
- zones(options: $options) {
- items {
- id
- name
- }
- totalItems
- }
- }
- `);
- export const getZoneDocument = graphql(
- `
- query GetZone($id: ID!) {
- zone(id: $id) {
- ...Zone
- }
- }
- `,
- [zoneFragment],
- );
- export const getActiveChannelWithZoneMembersDocument = graphql(`
- query GetActiveChannelWithZoneMembers {
- activeChannel {
- id
- defaultShippingZone {
- id
- members {
- name
- }
- }
- }
- }
- `);
- export const createZoneDocument = graphql(
- `
- mutation CreateZone($input: CreateZoneInput!) {
- createZone(input: $input) {
- ...Zone
- }
- }
- `,
- [zoneFragment],
- );
- export const updateZoneDocument = graphql(
- `
- mutation UpdateZone($input: UpdateZoneInput!) {
- updateZone(input: $input) {
- ...Zone
- }
- }
- `,
- [zoneFragment],
- );
- export const deleteZoneDocument = graphql(`
- mutation DeleteZone($id: ID!) {
- deleteZone(id: $id) {
- result
- message
- }
- }
- `);
- export const addMembersToZoneDocument = graphql(
- `
- mutation AddMembersToZone($zoneId: ID!, $memberIds: [ID!]!) {
- addMembersToZone(zoneId: $zoneId, memberIds: $memberIds) {
- ...Zone
- }
- }
- `,
- [zoneFragment],
- );
- export const removeMembersFromZoneDocument = graphql(
- `
- mutation RemoveMembersFromZone($zoneId: ID!, $memberIds: [ID!]!) {
- removeMembersFromZone(zoneId: $zoneId, memberIds: $memberIds) {
- ...Zone
- }
- }
- `,
- [zoneFragment],
- );
- export const getProductWithCustomFieldsDocument = graphql(`
- query GetProductWithCustomFields($id: ID!) {
- product(id: $id) {
- id
- customFields {
- publicField
- authenticatedField
- updateProductField
- updateProductOrCustomerField
- superadminField
- }
- }
- }
- `);
- export const getProductWithPublicCustomFieldsDocument = graphql(`
- query GetProductWithPublicCustomFields($id: ID!) {
- product(id: $id) {
- id
- customFields {
- publicField
- authenticatedField
- updateProductField
- }
- }
- }
- `);
- export const authenticateDocument = graphql(
- `
- mutation Authenticate($input: AuthenticationInput!) {
- authenticate(input: $input) {
- ...CurrentUser
- ... on InvalidCredentialsError {
- authenticationError
- errorCode
- message
- }
- }
- }
- `,
- [currentUserFragment],
- );
- export const getCustomersDocument = graphql(`
- query GetCustomers {
- customers {
- totalItems
- items {
- id
- emailAddress
- }
- }
- }
- `);
- export const getCustomerUserAuthDocument = graphql(`
- query GetCustomerUserAuth($id: ID!) {
- customer(id: $id) {
- id
- user {
- id
- verified
- authenticationMethods {
- id
- strategy
- }
- }
- }
- }
- `);
- export const updatePromotionDocument = graphql(
- `
- mutation UpdatePromotion($input: UpdatePromotionInput!) {
- updatePromotion(input: $input) {
- ...Promotion
- ... on ErrorResult {
- errorCode
- message
- }
- }
- }
- `,
- [promotionFragment],
- );
- export const getPromotionListDocument = graphql(
- `
- query GetPromotionList($options: PromotionListOptions) {
- promotions(options: $options) {
- items {
- ...Promotion
- }
- totalItems
- }
- }
- `,
- [promotionFragment],
- );
- export const configurableOperationDefFragment = graphql(`
- fragment ConfigurableOperationDef on ConfigurableOperationDefinition {
- args {
- name
- type
- ui
- }
- code
- description
- }
- `);
- export const getAdjustmentOperationsDocument = graphql(
- `
- query GetAdjustmentOperations {
- promotionActions {
- ...ConfigurableOperationDef
- }
- promotionConditions {
- ...ConfigurableOperationDef
- }
- }
- `,
- [configurableOperationDefFragment],
- );
- export const getCustomerWithUserDocument = graphql(`
- query GetCustomerWithUser($id: ID!) {
- customer(id: $id) {
- id
- user {
- id
- identifier
- verified
- }
- }
- }
- `);
- export const getCustomerOrdersDocument = graphql(`
- query GetCustomerOrders($id: ID!) {
- customer(id: $id) {
- orders {
- items {
- id
- }
- totalItems
- }
- }
- }
- `);
- export const addNoteToCustomerDocument = graphql(
- `
- mutation AddNoteToCustomer($input: AddNoteToCustomerInput!) {
- addNoteToCustomer(input: $input) {
- ...Customer
- }
- }
- `,
- [customerFragment],
- );
- export const deleteCustomerAddressDocument = graphql(`
- mutation DeleteCustomerAddress($id: ID!) {
- deleteCustomerAddress(id: $id) {
- success
- }
- }
- `);
|