Codeunit 30401 Shpfy GQL NextStaffMembers

Shopify Connector, Microsoft.Integration.Shopify

src/Apps/W1/Shopify/App/src/GraphQL/Codeunits/ShpfyGQLNextStaffMembers.Codeunit.al33 lines, Copyright (c) Microsoft Corporation. MIT

// ------------------------------------------------------------------------------------------------// Copyright (c) Microsoft Corporation. All rights reserved.// Licensed under the MIT License. See License.txt in the project root for license information.// ------------------------------------------------------------------------------------------------namespace Microsoft.Integration.Shopify;/// <summary>/// Codeunit Shpfy GQL NextStaffMembers (ID 30401)./// Implements the IGraphQL interface for retrieving the next set of Shopify staff members using GraphQL./// </summary>codeunit 30401 "Shpfy GQL NextStaffMembers" implements "Shpfy IGraphQL"{    Access = Internal;    /// <summary>    /// Returns the GraphQL query for retrieving the next set of staff members.    /// </summary>    /// <returns>The GraphQL query as a text string.</returns>    internal procedure GetGraphQL(): Text    begin        exit('{"query":"{ staffMembers (first: 20, after:\"{{After}}\") { edges { node { accountType active email exists firstName id initials isShopOwner lastName locale name phone } } pageInfo { hasNextPage endCursor } } }"}');    end;    /// <summary>    /// Returns the expected cost of the GraphQL query.    /// </summary>    /// <returns>The expected cost as an integer.</returns>    internal procedure GetExpectedCost(): Integer    begin        exit(7);    end;}