UNPKG

@shipengine/connect-order-source-api

Version:

This is the typescript/javascript definitions for the order source api

15 lines 921 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GetConnectionContextResponseSchema = exports.GetConnectionContextResponse = void 0; const tslib_1 = require("tslib"); const joi_1 = tslib_1.__importDefault(require("joi")); /** @description the connection context response which will allow you to update the connection_context for all future requests. */ class GetConnectionContextResponse { /** @description the connection context that will be sent as part of the auth.connection_context for other requests. ex: ```{ 'user_id': 'fake_234', 'store_id': '12324' }``` */ connection_context; } exports.GetConnectionContextResponse = GetConnectionContextResponse; exports.GetConnectionContextResponseSchema = joi_1.default.object({ connection_context: joi_1.default.object().pattern(/.*/, [joi_1.default.string()]), }); //# sourceMappingURL=get-connection-context-response.js.map