/** * Warning: This is an autogenerated file. * * Changes in this file won't take effect and will be overwritten */ // Base Types type Exact = { [K in keyof T]: T[K] }; type Maybe = T | null | undefined type Scalars = { Boolean: boolean String: string Float: number Int: number ID: string } // Operation related types export type UpdateItemsMutationMutationVariables = Exact<{ orderFormId: Maybe; items: Maybe> | Maybe>; splitItem: Maybe; allowedOutdatedData: Maybe | Scalars['String']>; }>; export type UpdateItemsMutationMutation = { updateItems: { id: string, canEditData: boolean, loggedIn: boolean, userProfileId: Maybe, userType: Maybe, value: number, allowManualPrice: Maybe, items: Array<{ isGift: boolean, parentAssemblyBinding: Maybe, sellingPriceWithAssemblies: Maybe, availability: Maybe, detailUrl: Maybe, id: string, listPrice: Maybe, manualPrice: Maybe, measurementUnit: Maybe, name: Maybe, price: Maybe, productCategories: Maybe, productCategoryIds: Maybe, productRefId: Maybe, productId: Maybe, quantity: number, seller: Maybe, sellingPrice: Maybe, skuName: Maybe, unitMultiplier: Maybe, uniqueId: string, refId: Maybe, additionalInfo: Maybe<{ brandName: Maybe }>, attachments: Array<{ name: Maybe, content: Maybe }>, attachmentOfferings: Array<{ name: Maybe, required: Maybe, schema: Maybe }>, bundleItems: Array<{ availability: Maybe, detailUrl: Maybe, id: string, listPrice: Maybe, measurementUnit: Maybe, name: Maybe, price: Maybe, productCategories: Maybe, productCategoryIds: Maybe, productRefId: Maybe, productId: Maybe, quantity: number, seller: Maybe, sellingPrice: Maybe, skuName: Maybe, unitMultiplier: Maybe, uniqueId: string, refId: Maybe, additionalInfo: Maybe<{ brandName: Maybe }>, attachments: Array<{ name: Maybe, content: Maybe }>, attachmentOfferings: Array<{ name: Maybe, required: Maybe, schema: Maybe }>, imageUrls: Maybe<{ at1x: string, at2x: string, at3x: string }>, offerings: Array<{ id: string, name: string, price: number, type: string, attachmentOfferings: Array<{ name: Maybe, required: Maybe, schema: Maybe }> }>, skuSpecifications: Array<{ fieldName: Maybe, fieldValues: Array> }> }>, options: Maybe, quantity: Maybe, seller: Maybe, inputValues: Maybe, options: Maybe, quantity: Maybe, seller: Maybe, inputValues: Maybe, options: Maybe, quantity: Maybe, seller: Maybe, inputValues: Maybe }>> }>> }>>>, imageUrls: Maybe<{ at1x: string, at2x: string, at3x: string }>, offerings: Array<{ id: string, name: string, price: number, type: string, attachmentOfferings: Array<{ name: Maybe, required: Maybe, schema: Maybe }> }>, skuSpecifications: Array<{ fieldName: Maybe, fieldValues: Array> }> }>, marketingData: { coupon: Maybe, utmCampaign: Maybe, utmMedium: Maybe, utmSource: Maybe, utmiCampaign: Maybe, utmiPart: Maybe, utmiPage: Maybe }, totalizers: Array<{ id: string, name: Maybe, value: number }>, shipping: { countries: Maybe>>, isValid: boolean, availableAddresses: Maybe, addressType: Maybe, city: Maybe, complement: Maybe, country: Maybe, neighborhood: Maybe, number: Maybe, postalCode: Maybe, receiverName: Maybe, reference: Maybe, state: Maybe, street: Maybe, isDisposable: Maybe }>>>, selectedAddress: Maybe<{ addressId: Maybe, addressType: Maybe, city: Maybe, complement: Maybe, country: Maybe, neighborhood: Maybe, number: Maybe, postalCode: Maybe, receiverName: Maybe, reference: Maybe, state: Maybe, street: Maybe, isDisposable: Maybe }>, deliveryOptions: Array<{ id: string, price: number, estimate: string, isSelected: boolean }> }, paymentData: { isValid: boolean, paymentSystems: Array<{ id: string, name: string, groupName: string, stringId: string, requiresDocument: boolean, isCustom: boolean, description: Maybe, requiresAuthentication: Maybe, dueDate: Maybe, validator: Maybe<{ regex: Maybe, mask: Maybe, cardCodeRegex: Maybe, cardCodeMask: Maybe, weights: Maybe>>, useCvv: Maybe, useExpirationDate: Maybe, useCardHolderName: Maybe, useBillingAddress: Maybe }> }>, payments: Array<{ paymentSystem: Maybe, bin: Maybe, accountId: Maybe, tokenId: Maybe, installments: Maybe, referenceValue: Maybe, value: Maybe }>, installmentOptions: Array<{ paymentSystem: string, installments: Array<{ count: number, hasInterestRate: Maybe, interestRate: Maybe, value: Maybe, total: number }> }>, availableAccounts: Array<{ accountId: string, paymentSystem: string, paymentSystemName: string, cardNumber: string, bin: string }> }, clientProfileData: Maybe<{ email: Maybe, firstName: Maybe, lastName: Maybe, document: Maybe, documentType: Maybe, phone: Maybe, isValid: boolean }>, clientPreferencesData: Maybe<{ locale: Maybe, optInNewsletter: Maybe }>, messages: { couponMessages: Array<{ code: Maybe }>, generalMessages: Array<{ code: Maybe, text: Maybe, status: Maybe }> } } }; // Query Related Code export const UpdateItemsMutation = { query: process.env.NODE_ENV === 'production' ? undefined : "mutation UpdateItemsMutation($orderFormId: ID, $items: [VTEX_ItemInput], $splitItem: Boolean, $allowedOutdatedData: [String!]) {\n updateItems(\n orderFormId: $orderFormId\n orderItems: $items\n splitItem: $splitItem\n allowedOutdatedData: $allowedOutdatedData\n ) {\n id\n items {\n isGift\n additionalInfo {\n brandName\n }\n attachments {\n name\n content\n }\n attachmentOfferings {\n name\n required\n schema\n }\n bundleItems {\n additionalInfo {\n brandName\n }\n attachments {\n name\n content\n }\n attachmentOfferings {\n name\n required\n schema\n }\n availability\n detailUrl\n id\n imageUrls {\n at1x\n at2x\n at3x\n }\n listPrice\n measurementUnit\n name\n offerings {\n id\n name\n price\n type\n attachmentOfferings {\n name\n required\n schema\n }\n }\n price\n productCategories\n productCategoryIds\n productRefId\n productId\n quantity\n seller\n sellingPrice\n skuName\n skuSpecifications {\n fieldName\n fieldValues\n }\n unitMultiplier\n uniqueId\n refId\n }\n parentAssemblyBinding\n sellingPriceWithAssemblies\n options {\n assemblyId\n id\n quantity\n seller\n inputValues\n options {\n assemblyId\n id\n quantity\n seller\n inputValues\n options {\n assemblyId\n id\n quantity\n seller\n inputValues\n }\n }\n }\n availability\n detailUrl\n id\n imageUrls {\n at1x\n at2x\n at3x\n }\n listPrice\n manualPrice\n measurementUnit\n name\n offerings {\n id\n name\n price\n type\n attachmentOfferings {\n name\n required\n schema\n }\n }\n price\n productCategories\n productCategoryIds\n productRefId\n productId\n quantity\n seller\n sellingPrice\n skuName\n skuSpecifications {\n fieldName\n fieldValues\n }\n unitMultiplier\n uniqueId\n refId\n }\n canEditData\n loggedIn\n userProfileId\n userType\n marketingData {\n coupon\n utmCampaign\n utmMedium\n utmSource\n utmiCampaign\n utmiPart\n utmiPage\n }\n totalizers {\n id\n name\n value\n }\n shipping {\n countries\n availableAddresses {\n addressId\n addressType\n city\n complement\n country\n neighborhood\n number\n postalCode\n receiverName\n reference\n state\n street\n isDisposable\n }\n selectedAddress {\n addressId\n addressType\n city\n complement\n country\n neighborhood\n number\n postalCode\n receiverName\n reference\n state\n street\n isDisposable\n }\n deliveryOptions {\n id\n price\n estimate\n isSelected\n }\n isValid\n }\n paymentData {\n paymentSystems {\n id\n name\n groupName\n validator {\n regex\n mask\n cardCodeRegex\n cardCodeMask\n weights\n useCvv\n useExpirationDate\n useCardHolderName\n useBillingAddress\n }\n stringId\n requiresDocument\n isCustom\n description\n requiresAuthentication\n dueDate\n }\n payments {\n paymentSystem\n bin\n accountId\n tokenId\n installments\n referenceValue\n value\n }\n installmentOptions {\n paymentSystem\n installments {\n count\n hasInterestRate\n interestRate\n value\n total\n }\n }\n availableAccounts {\n accountId\n paymentSystem\n paymentSystemName\n cardNumber\n bin\n }\n isValid\n }\n clientProfileData {\n email\n firstName\n lastName\n document\n documentType\n phone\n isValid\n }\n clientPreferencesData {\n locale\n optInNewsletter\n }\n messages {\n couponMessages {\n code\n }\n generalMessages {\n code\n text\n status\n }\n }\n value\n allowManualPrice\n }\n}\n", sha256Hash: "58c6b27468e2530e53d8b68798db289896be7643b4880cc7e15675f9cccea760", operationName: "UpdateItemsMutation", }