UNPKG

@shopify/shopify-api

Version:

Shopify API Library for Node - accelerate development with support for authentication, graphql proxy, webhooks

1 lines 2.45 kB
{"version":3,"file":"deprecated_api_call.mjs","sources":["../../../../../../../rest/admin/2023-04/deprecated_api_call.ts"],"sourcesContent":["/***********************************************************************************************************************\n* This file is auto-generated. If you have an issue, please create a GitHub issue. *\n***********************************************************************************************************************/\n\nimport {Base, FindAllResponse} from '../../base';\nimport {ResourcePath, ResourceNames} from '../../types';\nimport {Session} from '../../../lib/session/session';\nimport {ApiVersion} from '../../../lib/types';\n\ninterface AllArgs {\n [key: string]: unknown;\n session: Session;\n}\n\nexport class DeprecatedApiCall extends Base {\n public static apiVersion = ApiVersion.April23;\n\n protected static hasOne: {[key: string]: typeof Base} = {};\n protected static hasMany: {[key: string]: typeof Base} = {};\n protected static paths: ResourcePath[] = [\n {\"http_method\": \"get\", \"operation\": \"get\", \"ids\": [], \"path\": \"deprecated_api_calls.json\"}\n ];\n protected static resourceNames: ResourceNames[] = [\n {\n \"singular\": \"deprecated_api_call\",\n \"plural\": \"deprecated_api_calls\"\n }\n ];\n\n public static async all(\n {\n session,\n ...otherArgs\n }: AllArgs\n ): Promise<FindAllResponse<DeprecatedApiCall>> {\n const response = await this.baseFind<DeprecatedApiCall>({\n session: session,\n urlIds: {},\n params: {...otherArgs},\n });\n\n return response;\n }\n\n public data_updated_at: string | null;\n public deprecated_api_calls: {[key: string]: unknown}[] | null;\n}\n"],"names":[],"mappings":";;;AAAA;;AAEwH;AAYlH,MAAO,iBAAkB,SAAQ,IAAI,CAAA;AAClC,IAAA,OAAO,UAAU,GAAG,UAAU,CAAC,OAAO;AAEnC,IAAA,OAAO,MAAM,GAAiC,EAAE;AAChD,IAAA,OAAO,OAAO,GAAiC,EAAE;IACjD,OAAO,KAAK,GAAmB;AACvC,QAAA,EAAC,aAAa,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,2BAA2B;KAC1F;IACS,OAAO,aAAa,GAAoB;AAChD,QAAA;AACE,YAAA,UAAU,EAAE,qBAAqB;AACjC,YAAA,QAAQ,EAAE;AACX;KACF;IAEM,aAAa,GAAG,CACrB,EACE,OAAO,EACP,GAAG,SAAS,EACJ,EAAA;AAEV,QAAA,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,QAAQ,CAAoB;AACtD,YAAA,OAAO,EAAE,OAAO;AAChB,YAAA,MAAM,EAAE,EAAE;AACV,YAAA,MAAM,EAAE,EAAC,GAAG,SAAS,EAAC;AACvB,SAAA,CAAC;AAEF,QAAA,OAAO,QAAQ;IACjB;AAEO,IAAA,eAAe;AACf,IAAA,oBAAoB;;;;;"}