UNPKG

@shopify/shopify-api

Version:

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

40 lines (36 loc) 1.2 kB
'use strict'; var base = require('../../base.js'); var types = require('../../../lib/types.js'); /*********************************************************************************************************************** * This file is auto-generated. If you have an issue, please create a GitHub issue. * ***********************************************************************************************************************/ class Policy extends base.Base { static apiVersion = types.ApiVersion.April24; static hasOne = {}; static hasMany = {}; static paths = [ { "http_method": "get", "operation": "get", "ids": [], "path": "policies.json" } ]; static resourceNames = [ { "singular": "policy", "plural": "policies" } ]; static async all({ session, ...otherArgs }) { const response = await this.baseFind({ session: session, urlIds: {}, params: { ...otherArgs }, }); return response; } body; created_at; handle; title; updated_at; url; } exports.Policy = Policy; //# sourceMappingURL=policy.js.map