UNPKG

@warriorteam/redai-zalo-sdk

Version:

Comprehensive TypeScript/JavaScript SDK for Zalo APIs - Official Account v3.0, ZNS with Full Type Safety, Consultation Service, Broadcast Service, Group Messaging with List APIs, Social APIs, Enhanced Article Management, Promotion Service v3.0 with Multip

39 lines 946 B
"use strict"; /** * Authentication related types and interfaces */ Object.defineProperty(exports, "__esModule", { value: true }); exports.AuthMethod = exports.AuthScope = void 0; /** * Authentication scope for different APIs */ var AuthScope; (function (AuthScope) { /** * Official Account API scope */ AuthScope["OA"] = "oa"; /** * Social API scope */ AuthScope["SOCIAL"] = "social"; /** * ZNS (Zalo Notification Service) scope */ AuthScope["ZNS"] = "zns"; })(AuthScope || (exports.AuthScope = AuthScope = {})); /** * Authentication method */ var AuthMethod; (function (AuthMethod) { /** * OAuth 2.0 Authorization Code flow */ AuthMethod["AUTHORIZATION_CODE"] = "authorization_code"; /** * Refresh token flow */ AuthMethod["REFRESH_TOKEN"] = "refresh_token"; })(AuthMethod || (exports.AuthMethod = AuthMethod = {})); //# sourceMappingURL=auth.js.map