From dabe3720771a4c3993b366524d16ac8b857c3e8e Mon Sep 17 00:00:00 2001 From: Bello Babakolo Date: Wed, 27 Nov 2024 15:09:21 +0100 Subject: [PATCH] bugFix(order): fix order bad request query --- .../src/lib/documents/fragments/shop.gql | 2 +- .../graphql/src/lib/generated/generated.ts | 405 +++++++++++++++--- 2 files changed, 349 insertions(+), 58 deletions(-) diff --git a/packages/core/graphql/src/lib/documents/fragments/shop.gql b/packages/core/graphql/src/lib/documents/fragments/shop.gql index 52a58869..2a8eb81e 100644 --- a/packages/core/graphql/src/lib/documents/fragments/shop.gql +++ b/packages/core/graphql/src/lib/documents/fragments/shop.gql @@ -3,7 +3,7 @@ fragment ShopFragment on IoRestorecommerceShopShop { shopNumber name description - domain + domains organization { ...OrganizationFragment } diff --git a/packages/core/graphql/src/lib/generated/generated.ts b/packages/core/graphql/src/lib/generated/generated.ts index c7e3257c..efc7176f 100644 --- a/packages/core/graphql/src/lib/generated/generated.ts +++ b/packages/core/graphql/src/lib/generated/generated.ts @@ -365,12 +365,12 @@ export type FulfillmentFulfillmentProductMutationMutateArgs = { export type FulfillmentFulfillmentProductQuery = { __typename?: 'FulfillmentFulfillmentProductQuery'; - Find?: Maybe; + Find?: Maybe; Read?: Maybe; }; export type FulfillmentFulfillmentProductQueryFindArgs = { - input: IIoRestorecommerceFulfillmentProductPackingSolutionQueryList; + input: IIoRestorecommerceFulfillmentProductFulfillmentSolutionQueryList; }; export type FulfillmentFulfillmentProductQueryReadArgs = { @@ -645,8 +645,36 @@ export type IIoRestorecommerceCredentialCredentialList = { totalCount?: InputMaybe; }; +export type IIoRestorecommerceCurrencyCurrency = { + countryIds?: InputMaybe>; + customExchangeRates?: InputMaybe< + Array + >; + id?: InputMaybe; + meta?: InputMaybe; + name?: InputMaybe; + precision?: InputMaybe; + symbol?: InputMaybe; +}; + +export type IIoRestorecommerceCurrencyCurrencyList = { + items?: InputMaybe>; + mode?: InputMaybe; + /** target scope */ + scope?: InputMaybe; + totalCount?: InputMaybe; +}; + +export type IIoRestorecommerceCurrencyExchangeRate = { + amount?: InputMaybe; + expenses?: InputMaybe; + rate?: InputMaybe; + toCurrencyId?: InputMaybe; +}; + export type IIoRestorecommerceCustomerCommercial = { organizationId?: InputMaybe; + templateIds?: InputMaybe>; }; export type IIoRestorecommerceCustomerCustomer = { @@ -655,7 +683,7 @@ export type IIoRestorecommerceCustomerCustomer = { meta?: InputMaybe; private?: InputMaybe; publicSector?: InputMaybe; - settings?: InputMaybe>; + settingId?: InputMaybe; }; export type IIoRestorecommerceCustomerCustomerList = { @@ -673,6 +701,7 @@ export type IIoRestorecommerceCustomerPrivate = { export type IIoRestorecommerceCustomerPublicSector = { organizationId?: InputMaybe; + templateIds?: InputMaybe>; }; export type IIoRestorecommerceFileFile = { @@ -681,7 +710,7 @@ export type IIoRestorecommerceFileFile = { contentType?: InputMaybe; filename?: InputMaybe; id?: InputMaybe; - index?: InputMaybe; + ordinal?: InputMaybe; tags?: InputMaybe>; thumbnail?: InputMaybe; url?: InputMaybe; @@ -701,6 +730,7 @@ export type IIoRestorecommerceFilterFilterOp = { }; export type IIoRestorecommerceFulfillmentCourierFulfillmentCourier = { + api?: InputMaybe; configuration?: InputMaybe; credentialId?: InputMaybe; description?: InputMaybe; @@ -843,7 +873,7 @@ export type IIoRestorecommerceFulfillmentProductFulfillmentProductList = { totalCount?: InputMaybe; }; -export type IIoRestorecommerceFulfillmentProductPackingSolutionQuery = { +export type IIoRestorecommerceFulfillmentProductFulfillmentSolutionQuery = { customerId?: InputMaybe; items?: InputMaybe>; preferences?: InputMaybe; @@ -853,16 +883,18 @@ export type IIoRestorecommerceFulfillmentProductPackingSolutionQuery = { shopId?: InputMaybe; }; -export type IIoRestorecommerceFulfillmentProductPackingSolutionQueryList = { +export type IIoRestorecommerceFulfillmentProductFulfillmentSolutionQueryList = { items?: InputMaybe< - Array + Array >; totalCount?: InputMaybe; }; export type IIoRestorecommerceFulfillmentProductPreferences = { - couriers?: InputMaybe>; + courierIds?: InputMaybe>; + fulfillmentProductIds?: InputMaybe>; options?: InputMaybe>; + partialFulfillmentAllowed?: InputMaybe; }; export type IIoRestorecommerceFulfillmentProductVariant = { @@ -908,6 +940,7 @@ export type IIoRestorecommerceInvoiceFulfillmentItem = { export type IIoRestorecommerceInvoiceInvoice = { customerId?: InputMaybe; + customerOrderNumber?: InputMaybe; documents?: InputMaybe>; fromDate?: InputMaybe; id?: InputMaybe; @@ -929,8 +962,9 @@ export type IIoRestorecommerceInvoiceInvoice = { }; export type IIoRestorecommerceInvoiceInvoiceId = { - channelIds?: InputMaybe>; + documentIds?: InputMaybe>; id?: InputMaybe; + notificationChannelIds?: InputMaybe>; options?: InputMaybe; }; @@ -1467,10 +1501,12 @@ export type IIoRestorecommerceProductPackage = { }; export type IIoRestorecommerceProductPhysicalProduct = { + templates?: InputMaybe>; variants?: InputMaybe>; }; export type IIoRestorecommerceProductPhysicalVariant = { + active?: InputMaybe; description?: InputMaybe; files?: InputMaybe>; id?: InputMaybe; @@ -1483,6 +1519,8 @@ export type IIoRestorecommerceProductPhysicalVariant = { stockKeepingUnit?: InputMaybe; stockLevel?: InputMaybe; taxIds?: InputMaybe>; + validFrom?: InputMaybe; + validTo?: InputMaybe; }; export type IIoRestorecommerceProductProduct = { @@ -1493,7 +1531,7 @@ export type IIoRestorecommerceProductProduct = { id?: InputMaybe; meta?: InputMaybe; product?: InputMaybe; - shopId?: InputMaybe; + shopIds?: InputMaybe>; tags?: InputMaybe>; }; @@ -1523,10 +1561,12 @@ export type IIoRestorecommerceProductPrototypeProductPrototypeList = { }; export type IIoRestorecommerceProductServiceProduct = { + templates?: InputMaybe>; variants?: InputMaybe>; }; export type IIoRestorecommerceProductServiceVariant = { + active?: InputMaybe; description?: InputMaybe; files?: InputMaybe>; id?: InputMaybe; @@ -1538,13 +1578,17 @@ export type IIoRestorecommerceProductServiceVariant = { stockKeepingUnit?: InputMaybe; stockLevel?: InputMaybe; taxIds?: InputMaybe>; + validFrom?: InputMaybe; + validTo?: InputMaybe; }; export type IIoRestorecommerceProductVirtualProduct = { + templates?: InputMaybe>; variants?: InputMaybe>; }; export type IIoRestorecommerceProductVirtualVariant = { + active?: InputMaybe; description?: InputMaybe; files?: InputMaybe>; id?: InputMaybe; @@ -1556,6 +1600,8 @@ export type IIoRestorecommerceProductVirtualVariant = { stockKeepingUnit?: InputMaybe; stockLevel?: InputMaybe; taxIds?: InputMaybe>; + validFrom?: InputMaybe; + validTo?: InputMaybe; }; export type IIoRestorecommercePropertyProperty = { @@ -1668,15 +1714,32 @@ export type IIoRestorecommerceRuleTarget = { subjects?: InputMaybe>; }; +export type IIoRestorecommerceSettingSetting = { + description?: InputMaybe; + id?: InputMaybe; + meta?: InputMaybe; + name?: InputMaybe; + settings?: InputMaybe>; +}; + +export type IIoRestorecommerceSettingSettingList = { + items?: InputMaybe>; + mode?: InputMaybe; + /** target scope */ + scope?: InputMaybe; + totalCount?: InputMaybe; +}; + export type IIoRestorecommerceShopShop = { description?: InputMaybe; - domain?: InputMaybe; + domains?: InputMaybe>; id?: InputMaybe; meta?: InputMaybe; name?: InputMaybe; organizationId?: InputMaybe; - settings?: InputMaybe>; + settingId?: InputMaybe; shopNumber?: InputMaybe; + templateIds?: InputMaybe>; }; export type IIoRestorecommerceShopShopList = { @@ -1700,6 +1763,7 @@ export type IIoRestorecommerceTaxTax = { meta?: InputMaybe; name?: InputMaybe; rate?: InputMaybe; + roundMode?: InputMaybe; typeId?: InputMaybe; variant?: InputMaybe; }; @@ -1727,15 +1791,25 @@ export type IIoRestorecommerceTaxTypeTaxTypeList = { totalCount?: InputMaybe; }; +export type IIoRestorecommerceTemplateLocalization = { + l10n?: InputMaybe; + localCodes?: InputMaybe>; +}; + export type IIoRestorecommerceTemplateTemplate = { attributes?: InputMaybe>; + body?: InputMaybe; description?: InputMaybe; - files?: InputMaybe>; id?: InputMaybe; images?: InputMaybe>; + layout?: InputMaybe; + localization?: InputMaybe>; meta?: InputMaybe; name?: InputMaybe; - reference?: InputMaybe; + ordinal?: InputMaybe; + section?: InputMaybe; + styles?: InputMaybe>; + useCase?: InputMaybe; }; export type IIoRestorecommerceTemplateTemplateList = { @@ -1826,6 +1900,10 @@ export type IIoRestorecommerceUserChangePasswordRequest = { password?: InputMaybe; }; +export type IIoRestorecommerceUserCompleteTotpSetupRequest = { + code?: InputMaybe; +}; + export type IIoRestorecommerceUserConfirmEmailChangeRequest = { activationCode?: InputMaybe; identifier?: InputMaybe; @@ -1843,6 +1921,11 @@ export type IIoRestorecommerceUserConfirmUserInvitationRequest = { password?: InputMaybe; }; +export type IIoRestorecommerceUserExchangeTotpRequest = { + code?: InputMaybe; + totpSessionToken?: InputMaybe; +}; + export type IIoRestorecommerceUserFindByRoleRequest = { attributes?: InputMaybe>; role?: InputMaybe; @@ -1898,6 +1981,10 @@ export type IIoRestorecommerceUserSendInvitationEmailRequest = { invitedByUserIdentifier?: InputMaybe; }; +export type IIoRestorecommerceUserSetupTotpRequest = { + identifier?: InputMaybe; +}; + export type IIoRestorecommerceUserTenantRequest = { domain?: InputMaybe; }; @@ -1928,10 +2015,14 @@ export type IIoRestorecommerceUserUser = { newEmail?: InputMaybe; password?: InputMaybe; passwordHash?: InputMaybe; + passwordHashHistory?: InputMaybe>; properties?: InputMaybe>; roleAssociations?: InputMaybe>; timezoneId?: InputMaybe; tokens?: InputMaybe>; + totpSecret?: InputMaybe; + totpSecretProcessing?: InputMaybe; + totpSessionTokens?: InputMaybe>; userType?: InputMaybe; }; @@ -1977,23 +2068,28 @@ export type IdentityMutation = { export type IdentityOAuthMutation = { __typename?: 'IdentityOAuthMutation'; - AvailableServices?: Maybe; ExchangeCode?: Maybe; - GenerateLinks?: Maybe; - GetToken?: Maybe; }; export type IdentityOAuthMutationExchangeCodeArgs = { input: IIoRestorecommerceOauthExchangeCodeRequest; }; -export type IdentityOAuthMutationGetTokenArgs = { +export type IdentityOAuthQuery = { + __typename?: 'IdentityOAuthQuery'; + AvailableServices?: Maybe; + GenerateLinks?: Maybe; + GetToken?: Maybe; +}; + +export type IdentityOAuthQueryGetTokenArgs = { input: IIoRestorecommerceOauthGetTokenRequest; }; export type IdentityQuery = { __typename?: 'IdentityQuery'; authentication_log: IdentityAuthenticationLogQuery; + o_auth: IdentityOAuthQuery; role: IdentityRoleQuery; token: IdentityTokenQuery; user: IdentityUserQuery; @@ -2059,19 +2155,22 @@ export type IdentityUserMutation = { __typename?: 'IdentityUserMutation'; Activate?: Maybe; ChangePassword?: Maybe; + CompleteTOTPSetup?: Maybe; ConfirmEmailChange?: Maybe; ConfirmPasswordChange?: Maybe; ConfirmUserInvitation?: Maybe; Delete?: Maybe; DeleteUsersByOrg?: Maybe; + ExchangeTOTP?: Maybe; GetUnauthenticatedSubjectTokenForTenant?: Maybe; - Login?: Maybe; + Login?: Maybe; Mutate?: Maybe; Register?: Maybe; RequestEmailChange?: Maybe; RequestPasswordChange?: Maybe; SendActivationEmail?: Maybe; SendInvitationEmail?: Maybe; + SetupTOTP?: Maybe; Unregister?: Maybe; }; @@ -2083,6 +2182,10 @@ export type IdentityUserMutationChangePasswordArgs = { input: IIoRestorecommerceUserChangePasswordRequest; }; +export type IdentityUserMutationCompleteTotpSetupArgs = { + input: IIoRestorecommerceUserCompleteTotpSetupRequest; +}; + export type IdentityUserMutationConfirmEmailChangeArgs = { input: IIoRestorecommerceUserConfirmEmailChangeRequest; }; @@ -2103,6 +2206,10 @@ export type IdentityUserMutationDeleteUsersByOrgArgs = { input: IIoRestorecommerceUserOrgIdRequest; }; +export type IdentityUserMutationExchangeTotpArgs = { + input: IIoRestorecommerceUserExchangeTotpRequest; +}; + export type IdentityUserMutationGetUnauthenticatedSubjectTokenForTenantArgs = { input: IIoRestorecommerceUserTenantRequest; }; @@ -2135,6 +2242,10 @@ export type IdentityUserMutationSendInvitationEmailArgs = { input: IIoRestorecommerceUserSendInvitationEmailRequest; }; +export type IdentityUserMutationSetupTotpArgs = { + input: IIoRestorecommerceUserSetupTotpRequest; +}; + export type IdentityUserMutationUnregisterArgs = { input: IIoRestorecommerceUserUnregisterRequest; }; @@ -2538,14 +2649,28 @@ export type IoRestorecommerceCredentialCredentialResponse = { export type IoRestorecommerceCurrencyCurrency = { __typename?: 'IoRestorecommerceCurrencyCurrency'; - countryId?: Maybe; + countryIds?: Maybe>; customExchangeRates?: Maybe>; id?: Maybe; meta?: Maybe; name?: Maybe; + precision?: Maybe; symbol?: Maybe; }; +export type IoRestorecommerceCurrencyCurrencyListResponse = { + __typename?: 'IoRestorecommerceCurrencyCurrencyListResponse'; + items?: Maybe>; + operationStatus?: Maybe; + totalCount?: Maybe; +}; + +export type IoRestorecommerceCurrencyCurrencyResponse = { + __typename?: 'IoRestorecommerceCurrencyCurrencyResponse'; + payload?: Maybe; + status?: Maybe; +}; + export type IoRestorecommerceCurrencyExchangeRate = { __typename?: 'IoRestorecommerceCurrencyExchangeRate'; amount?: Maybe; @@ -2558,6 +2683,8 @@ export type IoRestorecommerceCustomerCommercial = { __typename?: 'IoRestorecommerceCustomerCommercial'; organization?: Maybe; organizationId?: Maybe; + templateIds?: Maybe>; + templates?: Maybe>; }; export type IoRestorecommerceCustomerCustomer = { @@ -2567,7 +2694,8 @@ export type IoRestorecommerceCustomerCustomer = { meta?: Maybe; private?: Maybe; publicSector?: Maybe; - settings?: Maybe>; + setting?: Maybe; + settingId?: Maybe; }; export type IoRestorecommerceCustomerCustomerListResponse = { @@ -2601,6 +2729,8 @@ export type IoRestorecommerceCustomerPublicSector = { __typename?: 'IoRestorecommerceCustomerPublicSector'; organization?: Maybe; organizationId?: Maybe; + templateIds?: Maybe>; + templates?: Maybe>; }; export type IoRestorecommerceFileFile = { @@ -2610,7 +2740,7 @@ export type IoRestorecommerceFileFile = { contentType?: Maybe; filename?: Maybe; id?: Maybe; - index?: Maybe; + ordinal?: Maybe; tags?: Maybe>; thumbnail?: Maybe; url?: Maybe; @@ -2658,6 +2788,7 @@ export enum IoRestorecommerceFilterFilterValueType { export type IoRestorecommerceFulfillmentCourierFulfillmentCourier = { __typename?: 'IoRestorecommerceFulfillmentCourierFulfillmentCourier'; + api?: Maybe; configuration?: Maybe; credentialId?: Maybe; description?: Maybe; @@ -2810,35 +2941,38 @@ export type IoRestorecommerceFulfillmentProductFulfillmentProductResponse = { status?: Maybe; }; -export type IoRestorecommerceFulfillmentProductPackingSolution = { - __typename?: 'IoRestorecommerceFulfillmentProductPackingSolution'; +export type IoRestorecommerceFulfillmentProductFulfillmentSolution = { + __typename?: 'IoRestorecommerceFulfillmentProductFulfillmentSolution'; amounts?: Maybe>; - compactness?: Maybe; - homogeneity?: Maybe; + courierIds?: Maybe>; parcels?: Maybe>; - score?: Maybe; }; -export type IoRestorecommerceFulfillmentProductPackingSolutionListResponse = { - __typename?: 'IoRestorecommerceFulfillmentProductPackingSolutionListResponse'; - items?: Maybe< - Array - >; - operationStatus?: Maybe; - totalCount?: Maybe; -}; +export type IoRestorecommerceFulfillmentProductFulfillmentSolutionListResponse = + { + __typename?: 'IoRestorecommerceFulfillmentProductFulfillmentSolutionListResponse'; + items?: Maybe< + Array + >; + operationStatus?: Maybe; + totalCount?: Maybe; + }; -export type IoRestorecommerceFulfillmentProductPackingSolutionResponse = { - __typename?: 'IoRestorecommerceFulfillmentProductPackingSolutionResponse'; +export type IoRestorecommerceFulfillmentProductFulfillmentSolutionResponse = { + __typename?: 'IoRestorecommerceFulfillmentProductFulfillmentSolutionResponse'; reference?: Maybe; - solutions?: Maybe>; + solutions?: Maybe< + Array + >; status?: Maybe; }; export type IoRestorecommerceFulfillmentProductPreferences = { __typename?: 'IoRestorecommerceFulfillmentProductPreferences'; - couriers?: Maybe>; + courierIds?: Maybe>; + fulfillmentProductIds?: Maybe>; options?: Maybe>; + partialFulfillmentAllowed?: Maybe; }; export type IoRestorecommerceFulfillmentProductVariant = { @@ -2892,6 +3026,7 @@ export type IoRestorecommerceInvoiceInvoice = { __typename?: 'IoRestorecommerceInvoiceInvoice'; customer?: Maybe; customerId?: Maybe; + customerOrderNumber?: Maybe; documents?: Maybe>; fromDate?: Maybe; id?: Maybe; @@ -3812,11 +3947,13 @@ export type IoRestorecommerceProductPackage = { export type IoRestorecommerceProductPhysicalProduct = { __typename?: 'IoRestorecommerceProductPhysicalProduct'; + templates?: Maybe>; variants?: Maybe>; }; export type IoRestorecommerceProductPhysicalVariant = { __typename?: 'IoRestorecommerceProductPhysicalVariant'; + active?: Maybe; description?: Maybe; files?: Maybe>; id?: Maybe; @@ -3829,6 +3966,8 @@ export type IoRestorecommerceProductPhysicalVariant = { stockKeepingUnit?: Maybe; stockLevel?: Maybe; taxIds?: Maybe>; + validFrom?: Maybe; + validTo?: Maybe; }; export type IoRestorecommerceProductProduct = { @@ -3840,8 +3979,8 @@ export type IoRestorecommerceProductProduct = { id?: Maybe; meta?: Maybe; product?: Maybe; - shop?: Maybe; - shopId?: Maybe; + shopIds?: Maybe>; + shops?: Maybe>; tags?: Maybe>; }; @@ -3886,11 +4025,13 @@ export type IoRestorecommerceProductPrototypeProductPrototypeResponse = { export type IoRestorecommerceProductServiceProduct = { __typename?: 'IoRestorecommerceProductServiceProduct'; + templates?: Maybe>; variants?: Maybe>; }; export type IoRestorecommerceProductServiceVariant = { __typename?: 'IoRestorecommerceProductServiceVariant'; + active?: Maybe; description?: Maybe; files?: Maybe>; id?: Maybe; @@ -3902,15 +4043,19 @@ export type IoRestorecommerceProductServiceVariant = { stockKeepingUnit?: Maybe; stockLevel?: Maybe; taxIds?: Maybe>; + validFrom?: Maybe; + validTo?: Maybe; }; export type IoRestorecommerceProductVirtualProduct = { __typename?: 'IoRestorecommerceProductVirtualProduct'; + templates?: Maybe>; variants?: Maybe>; }; export type IoRestorecommerceProductVirtualVariant = { __typename?: 'IoRestorecommerceProductVirtualVariant'; + active?: Maybe; description?: Maybe; files?: Maybe>; id?: Maybe; @@ -3922,6 +4067,8 @@ export type IoRestorecommerceProductVirtualVariant = { stockKeepingUnit?: Maybe; stockLevel?: Maybe; taxIds?: Maybe>; + validFrom?: Maybe; + validTo?: Maybe; }; export type IoRestorecommercePropertyProperty = { @@ -4050,17 +4197,42 @@ export type IoRestorecommerceRuleTarget = { subjects?: Maybe>; }; +export type IoRestorecommerceSettingSetting = { + __typename?: 'IoRestorecommerceSettingSetting'; + description?: Maybe; + id?: Maybe; + meta?: Maybe; + name?: Maybe; + settings?: Maybe>; +}; + +export type IoRestorecommerceSettingSettingListResponse = { + __typename?: 'IoRestorecommerceSettingSettingListResponse'; + items?: Maybe>; + operationStatus?: Maybe; + totalCount?: Maybe; +}; + +export type IoRestorecommerceSettingSettingResponse = { + __typename?: 'IoRestorecommerceSettingSettingResponse'; + payload?: Maybe; + status?: Maybe; +}; + export type IoRestorecommerceShopShop = { __typename?: 'IoRestorecommerceShopShop'; description?: Maybe; - domain?: Maybe; + domains?: Maybe>; id?: Maybe; meta?: Maybe; name?: Maybe; organization?: Maybe; organizationId?: Maybe; - settings?: Maybe>; + setting?: Maybe; + settingId?: Maybe; shopNumber?: Maybe; + templateIds?: Maybe>; + templates?: Maybe>; }; export type IoRestorecommerceShopShopListResponse = { @@ -4100,6 +4272,12 @@ export type IoRestorecommerceStatusStatusListResponse = { status?: Maybe>; }; +export enum IoRestorecommerceTaxRoundMode { + Ceil = 'CEIL', + Floor = 'FLOOR', + Half = 'HALF', +} + export type IoRestorecommerceTaxTax = { __typename?: 'IoRestorecommerceTaxTax'; abbreviation?: Maybe; @@ -4109,6 +4287,7 @@ export type IoRestorecommerceTaxTax = { meta?: Maybe; name?: Maybe; rate?: Maybe; + roundMode?: Maybe; type?: Maybe; typeId?: Maybe; variant?: Maybe; @@ -4148,16 +4327,27 @@ export type IoRestorecommerceTaxTypeTaxTypeResponse = { status?: Maybe; }; +export type IoRestorecommerceTemplateLocalization = { + __typename?: 'IoRestorecommerceTemplateLocalization'; + l10n?: Maybe; + localCodes?: Maybe>; +}; + export type IoRestorecommerceTemplateTemplate = { __typename?: 'IoRestorecommerceTemplateTemplate'; attributes?: Maybe>; + body?: Maybe; description?: Maybe; - files?: Maybe>; id?: Maybe; images?: Maybe>; + layout?: Maybe; + localization?: Maybe>; meta?: Maybe; name?: Maybe; - reference?: Maybe; + ordinal?: Maybe; + section?: Maybe; + styles?: Maybe>; + useCase?: Maybe; }; export type IoRestorecommerceTemplateTemplateListResponse = { @@ -4173,6 +4363,15 @@ export type IoRestorecommerceTemplateTemplateResponse = { status?: Maybe; }; +export enum IoRestorecommerceTemplateTemplateUseCase { + ChangePasswordEmail = 'CHANGE_PASSWORD_EMAIL', + InvitationEmail = 'INVITATION_EMAIL', + InvoiceEmail = 'INVOICE_EMAIL', + InvoicePdf = 'INVOICE_PDF', + Miscellaneous = 'MISCELLANEOUS', + RegistrationEmail = 'REGISTRATION_EMAIL', +} + export type IoRestorecommerceTimezoneTimezone = { __typename?: 'IoRestorecommerceTimezoneTimezone'; abbreviationDst?: Maybe; @@ -4267,6 +4466,19 @@ export type IoRestorecommerceUserDeleteUsersByOrgResponse = { userIds?: Maybe>; }; +export type IoRestorecommerceUserLoginResponse = { + __typename?: 'IoRestorecommerceUserLoginResponse'; + payload?: Maybe; + status?: Maybe; + totpSessionToken?: Maybe; +}; + +export type IoRestorecommerceUserSetupTotpResponse = { + __typename?: 'IoRestorecommerceUserSetupTOTPResponse'; + operationStatus?: Maybe; + totpSecret?: Maybe; +}; + export type IoRestorecommerceUserTenantResponse = { __typename?: 'IoRestorecommerceUserTenantResponse'; token?: Maybe; @@ -4296,11 +4508,15 @@ export type IoRestorecommerceUserUser = { newEmail?: Maybe; password?: Maybe; passwordHash?: Maybe; + passwordHashHistory?: Maybe>; properties?: Maybe>; roleAssociations?: Maybe>; timezone?: Maybe; timezoneId?: Maybe; tokens?: Maybe>; + totpSecret?: Maybe; + totpSecretProcessing?: Maybe; + totpSessionTokens?: Maybe>; userType?: Maybe; }; @@ -4435,9 +4651,9 @@ export type OrderingOrderMutation = { CreateFulfillment?: Maybe; CreateInvoice?: Maybe; Delete?: Maybe; - Evaluate?: Maybe; + EvaluateFulfillment?: Maybe; Mutate?: Maybe; - QueryPackingSolution?: Maybe; + QueryFulfillmentSolution?: Maybe; Submit?: Maybe; TriggerFulfillment?: Maybe; TriggerInvoice?: Maybe; @@ -4460,7 +4676,7 @@ export type OrderingOrderMutationDeleteArgs = { input: IIoRestorecommerceResourcebaseDeleteRequest; }; -export type OrderingOrderMutationEvaluateArgs = { +export type OrderingOrderMutationEvaluateFulfillmentArgs = { input: IIoRestorecommerceOrderOrderList; }; @@ -4468,7 +4684,7 @@ export type OrderingOrderMutationMutateArgs = { input: IIoRestorecommerceOrderOrderList; }; -export type OrderingOrderMutationQueryPackingSolutionArgs = { +export type OrderingOrderMutationQueryFulfillmentSolutionArgs = { input: IIoRestorecommerceOrderFulfillmentRequestList; }; @@ -4490,9 +4706,14 @@ export type OrderingOrderMutationWithdrawArgs = { export type OrderingOrderQuery = { __typename?: 'OrderingOrderQuery'; + Evaluate?: Maybe; Read?: Maybe; }; +export type OrderingOrderQueryEvaluateArgs = { + input: IIoRestorecommerceOrderOrderList; +}; + export type OrderingOrderQueryReadArgs = { input: IIoRestorecommerceResourcebaseReadRequest; }; @@ -4636,6 +4857,11 @@ export type ProtoIoRestorecommerceCredentialCredentialListResponse = { details?: Maybe; }; +export type ProtoIoRestorecommerceCurrencyCurrencyListResponse = { + __typename?: 'ProtoIoRestorecommerceCurrencyCurrencyListResponse'; + details?: Maybe; +}; + export type ProtoIoRestorecommerceCustomerCustomerListResponse = { __typename?: 'ProtoIoRestorecommerceCustomerCustomerListResponse'; details?: Maybe; @@ -4658,10 +4884,10 @@ export type ProtoIoRestorecommerceFulfillmentProductFulfillmentProductListRespon details?: Maybe; }; -export type ProtoIoRestorecommerceFulfillmentProductPackingSolutionListResponse = +export type ProtoIoRestorecommerceFulfillmentProductFulfillmentSolutionListResponse = { - __typename?: 'ProtoIoRestorecommerceFulfillmentProductPackingSolutionListResponse'; - details?: Maybe; + __typename?: 'ProtoIoRestorecommerceFulfillmentProductFulfillmentSolutionListResponse'; + details?: Maybe; }; export type ProtoIoRestorecommerceInvoiceInvoiceListResponse = { @@ -4815,6 +5041,11 @@ export type ProtoIoRestorecommerceRuleRuleListResponse = { details?: Maybe; }; +export type ProtoIoRestorecommerceSettingSettingListResponse = { + __typename?: 'ProtoIoRestorecommerceSettingSettingListResponse'; + details?: Maybe; +}; + export type ProtoIoRestorecommerceShopShopListResponse = { __typename?: 'ProtoIoRestorecommerceShopShopListResponse'; details?: Maybe; @@ -4860,6 +5091,16 @@ export type ProtoIoRestorecommerceUserDeleteUsersByOrgResponse = { details?: Maybe; }; +export type ProtoIoRestorecommerceUserLoginResponse = { + __typename?: 'ProtoIoRestorecommerceUserLoginResponse'; + details?: Maybe; +}; + +export type ProtoIoRestorecommerceUserSetupTotpResponse = { + __typename?: 'ProtoIoRestorecommerceUserSetupTOTPResponse'; + details?: Maybe; +}; + export type ProtoIoRestorecommerceUserTenantResponse = { __typename?: 'ProtoIoRestorecommerceUserTenantResponse'; details?: Maybe; @@ -5034,6 +5275,29 @@ export type ResourceCredentialQueryReadArgs = { input: IIoRestorecommerceResourcebaseReadRequest; }; +export type ResourceCurrencyMutation = { + __typename?: 'ResourceCurrencyMutation'; + Delete?: Maybe; + Mutate?: Maybe; +}; + +export type ResourceCurrencyMutationDeleteArgs = { + input: IIoRestorecommerceResourcebaseDeleteRequest; +}; + +export type ResourceCurrencyMutationMutateArgs = { + input: IIoRestorecommerceCurrencyCurrencyList; +}; + +export type ResourceCurrencyQuery = { + __typename?: 'ResourceCurrencyQuery'; + Read?: Maybe; +}; + +export type ResourceCurrencyQueryReadArgs = { + input: IIoRestorecommerceResourcebaseReadRequest; +}; + export type ResourceCustomerMutation = { __typename?: 'ResourceCustomerMutation'; Delete?: Maybe; @@ -5111,10 +5375,12 @@ export type ResourceMutation = { contact_point_type: ResourceContactPointTypeMutation; country: ResourceCountryMutation; credential: ResourceCredentialMutation; + currency: ResourceCurrencyMutation; customer: ResourceCustomerMutation; locale: ResourceLocaleMutation; location: ResourceLocationMutation; organization: ResourceOrganizationMutation; + setting: ResourceSettingMutation; shop: ResourceShopMutation; tax: ResourceTaxMutation; tax_type: ResourceTaxTypeMutation; @@ -5154,10 +5420,12 @@ export type ResourceQuery = { contact_point_type: ResourceContactPointTypeQuery; country: ResourceCountryQuery; credential: ResourceCredentialQuery; + currency: ResourceCurrencyQuery; customer: ResourceCustomerQuery; locale: ResourceLocaleQuery; location: ResourceLocationQuery; organization: ResourceOrganizationQuery; + setting: ResourceSettingQuery; shop: ResourceShopQuery; tax: ResourceTaxQuery; tax_type: ResourceTaxTypeQuery; @@ -5166,6 +5434,29 @@ export type ResourceQuery = { unit_code: ResourceUnitCodeQuery; }; +export type ResourceSettingMutation = { + __typename?: 'ResourceSettingMutation'; + Delete?: Maybe; + Mutate?: Maybe; +}; + +export type ResourceSettingMutationDeleteArgs = { + input: IIoRestorecommerceResourcebaseDeleteRequest; +}; + +export type ResourceSettingMutationMutateArgs = { + input: IIoRestorecommerceSettingSettingList; +}; + +export type ResourceSettingQuery = { + __typename?: 'ResourceSettingQuery'; + Read?: Maybe; +}; + +export type ResourceSettingQueryReadArgs = { + input: IIoRestorecommerceResourcebaseReadRequest; +}; + export type ResourceShopMutation = { __typename?: 'ResourceShopMutation'; Delete?: Maybe; @@ -6307,7 +6598,7 @@ export type OrderFragmentFragment = { shopNumber?: string | null; name?: string | null; description?: string | null; - domain?: string | null; + domains?: Array | null; organization?: { __typename?: 'IoRestorecommerceOrganizationOrganization'; id?: string | null; @@ -7050,7 +7341,7 @@ export type ShopFragmentFragment = { shopNumber?: string | null; name?: string | null; description?: string | null; - domain?: string | null; + domains?: Array | null; organization?: { __typename?: 'IoRestorecommerceOrganizationOrganization'; id?: string | null; @@ -9434,7 +9725,7 @@ export type OrderingOrderMutateMutation = { shopNumber?: string | null; name?: string | null; description?: string | null; - domain?: string | null; + domains?: Array | null; organization?: { __typename?: 'IoRestorecommerceOrganizationOrganization'; id?: string | null; @@ -10151,7 +10442,7 @@ export type OrderingOrderReadQuery = { shopNumber?: string | null; name?: string | null; description?: string | null; - domain?: string | null; + domains?: Array | null; organization?: { __typename?: 'IoRestorecommerceOrganizationOrganization'; id?: string | null; @@ -11049,7 +11340,7 @@ export const ShopFragmentFragmentDoc = gql` shopNumber name description - domain + domains organization { ...OrganizationFragment }