@moovio/sdk 0.16.3 → 0.16.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +62 -44
- package/bin/mcp-server.js +1897 -591
- package/bin/mcp-server.js.map +41 -12
- package/docs/sdks/products/README.md +592 -0
- package/examples/package-lock.json +1 -1
- package/funcs/productsCreate.d.ts +15 -0
- package/funcs/productsCreate.d.ts.map +1 -0
- package/funcs/productsCreate.js +138 -0
- package/funcs/productsCreate.js.map +1 -0
- package/funcs/productsDisable.d.ts +17 -0
- package/funcs/productsDisable.d.ts.map +1 -0
- package/funcs/productsDisable.js +139 -0
- package/funcs/productsDisable.js.map +1 -0
- package/funcs/productsGet.d.ts +14 -0
- package/funcs/productsGet.d.ts.map +1 -0
- package/funcs/productsGet.js +126 -0
- package/funcs/productsGet.js.map +1 -0
- package/funcs/productsList.d.ts +14 -0
- package/funcs/productsList.d.ts.map +1 -0
- package/funcs/productsList.js +127 -0
- package/funcs/productsList.js.map +1 -0
- package/funcs/productsUpdate.d.ts +15 -0
- package/funcs/productsUpdate.d.ts.map +1 -0
- package/funcs/productsUpdate.js +142 -0
- package/funcs/productsUpdate.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +11 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/productsCreate.d.ts +8 -0
- package/mcp-server/tools/productsCreate.d.ts.map +1 -0
- package/mcp-server/tools/productsCreate.js +62 -0
- package/mcp-server/tools/productsCreate.js.map +1 -0
- package/mcp-server/tools/productsDisable.d.ts +8 -0
- package/mcp-server/tools/productsDisable.d.ts.map +1 -0
- package/mcp-server/tools/productsDisable.js +63 -0
- package/mcp-server/tools/productsDisable.js.map +1 -0
- package/mcp-server/tools/productsGet.d.ts +8 -0
- package/mcp-server/tools/productsGet.d.ts.map +1 -0
- package/mcp-server/tools/productsGet.js +62 -0
- package/mcp-server/tools/productsGet.js.map +1 -0
- package/mcp-server/tools/productsList.d.ts +8 -0
- package/mcp-server/tools/productsList.d.ts.map +1 -0
- package/mcp-server/tools/productsList.js +62 -0
- package/mcp-server/tools/productsList.js.map +1 -0
- package/mcp-server/tools/productsUpdate.d.ts +8 -0
- package/mcp-server/tools/productsUpdate.d.ts.map +1 -0
- package/mcp-server/tools/productsUpdate.js +62 -0
- package/mcp-server/tools/productsUpdate.js.map +1 -0
- package/models/components/amountdecimalvalidationerror.d.ts +31 -0
- package/models/components/amountdecimalvalidationerror.d.ts.map +1 -0
- package/models/components/amountdecimalvalidationerror.js +71 -0
- package/models/components/amountdecimalvalidationerror.js.map +1 -0
- package/models/components/assignproductimage.d.ts +32 -0
- package/models/components/assignproductimage.d.ts.map +1 -0
- package/models/components/assignproductimage.js +69 -0
- package/models/components/assignproductimage.js.map +1 -0
- package/models/components/assignproductimagevalidationerror.d.ts +29 -0
- package/models/components/assignproductimagevalidationerror.d.ts.map +1 -0
- package/models/components/assignproductimagevalidationerror.js +69 -0
- package/models/components/assignproductimagevalidationerror.js.map +1 -0
- package/models/components/createproductoption.d.ts +54 -0
- package/models/components/createproductoption.d.ts.map +1 -0
- package/models/components/createproductoption.js +76 -0
- package/models/components/createproductoption.js.map +1 -0
- package/models/components/createproductoptiongroup.d.ts +60 -0
- package/models/components/createproductoptiongroup.d.ts.map +1 -0
- package/models/components/createproductoptiongroup.js +78 -0
- package/models/components/createproductoptiongroup.js.map +1 -0
- package/models/components/feeproperties.d.ts +6 -0
- package/models/components/feeproperties.d.ts.map +1 -1
- package/models/components/feeproperties.js +3 -0
- package/models/components/feeproperties.js.map +1 -1
- package/models/components/index.d.ts +13 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +13 -0
- package/models/components/index.js.map +1 -1
- package/models/components/partnerpricing.d.ts +8 -4
- package/models/components/partnerpricing.d.ts.map +1 -1
- package/models/components/partnerpricing.js +2 -2
- package/models/components/partnerpricing.js.map +1 -1
- package/models/components/partnerpricingagreement.d.ts +7 -3
- package/models/components/partnerpricingagreement.d.ts.map +1 -1
- package/models/components/partnerpricingagreement.js +2 -2
- package/models/components/partnerpricingagreement.js.map +1 -1
- package/models/components/product.d.ts +81 -0
- package/models/components/product.d.ts.map +1 -0
- package/models/components/product.js +88 -0
- package/models/components/product.js.map +1 -0
- package/models/components/productimagemetadata.d.ts +42 -0
- package/models/components/productimagemetadata.d.ts.map +1 -0
- package/models/components/productimagemetadata.js +73 -0
- package/models/components/productimagemetadata.js.map +1 -0
- package/models/components/productoption.d.ts +57 -0
- package/models/components/productoption.d.ts.map +1 -0
- package/models/components/productoption.js +76 -0
- package/models/components/productoption.js.map +1 -0
- package/models/components/productoptiongroup.d.ts +63 -0
- package/models/components/productoptiongroup.d.ts.map +1 -0
- package/models/components/productoptiongroup.js +78 -0
- package/models/components/productoptiongroup.js.map +1 -0
- package/models/components/productoptiongroupvalidationerror.d.ts +42 -0
- package/models/components/productoptiongroupvalidationerror.d.ts.map +1 -0
- package/models/components/productoptiongroupvalidationerror.js +78 -0
- package/models/components/productoptiongroupvalidationerror.js.map +1 -0
- package/models/components/productoptionvalidationerror.d.ts +40 -0
- package/models/components/productoptionvalidationerror.d.ts.map +1 -0
- package/models/components/productoptionvalidationerror.js +76 -0
- package/models/components/productoptionvalidationerror.js.map +1 -0
- package/models/components/productrequest.d.ts +61 -0
- package/models/components/productrequest.d.ts.map +1 -0
- package/models/components/productrequest.js +80 -0
- package/models/components/productrequest.js.map +1 -0
- package/models/components/volumerange.d.ts +51 -0
- package/models/components/volumerange.d.ts.map +1 -0
- package/models/components/volumerange.js +76 -0
- package/models/components/volumerange.js.map +1 -0
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/productrequestvalidationerror.d.ts +61 -0
- package/models/errors/productrequestvalidationerror.d.ts.map +1 -0
- package/models/errors/productrequestvalidationerror.js +105 -0
- package/models/errors/productrequestvalidationerror.js.map +1 -0
- package/models/operations/createproduct.d.ts +101 -0
- package/models/operations/createproduct.d.ts.map +1 -0
- package/models/operations/createproduct.js +155 -0
- package/models/operations/createproduct.js.map +1 -0
- package/models/operations/disableproduct.d.ts +98 -0
- package/models/operations/disableproduct.d.ts.map +1 -0
- package/models/operations/disableproduct.js +142 -0
- package/models/operations/disableproduct.js.map +1 -0
- package/models/operations/getproduct.d.ts +101 -0
- package/models/operations/getproduct.d.ts.map +1 -0
- package/models/operations/getproduct.js +147 -0
- package/models/operations/getproduct.js.map +1 -0
- package/models/operations/index.d.ts +5 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +5 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listproducts.d.ts +103 -0
- package/models/operations/listproducts.d.ts.map +1 -0
- package/models/operations/listproducts.js +149 -0
- package/models/operations/listproducts.js.map +1 -0
- package/models/operations/updateproduct.d.ts +103 -0
- package/models/operations/updateproduct.d.ts.map +1 -0
- package/models/operations/updateproduct.js +157 -0
- package/models/operations/updateproduct.js.map +1 -0
- package/package.json +1 -1
- package/sdk/products.d.ts +27 -0
- package/sdk/products.d.ts.map +1 -0
- package/sdk/products.js +49 -0
- package/sdk/products.js.map +1 -0
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/productsCreate.ts +200 -0
- package/src/funcs/productsDisable.ts +199 -0
- package/src/funcs/productsGet.ts +182 -0
- package/src/funcs/productsList.ts +182 -0
- package/src/funcs/productsUpdate.ts +206 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +11 -1
- package/src/mcp-server/tools/productsCreate.ts +35 -0
- package/src/mcp-server/tools/productsDisable.ts +35 -0
- package/src/mcp-server/tools/productsGet.ts +35 -0
- package/src/mcp-server/tools/productsList.ts +35 -0
- package/src/mcp-server/tools/productsUpdate.ts +35 -0
- package/src/models/components/amountdecimalvalidationerror.ts +72 -0
- package/src/models/components/assignproductimage.ts +69 -0
- package/src/models/components/assignproductimagevalidationerror.ts +69 -0
- package/src/models/components/createproductoption.ts +102 -0
- package/src/models/components/createproductoptiongroup.ts +110 -0
- package/src/models/components/feeproperties.ts +13 -0
- package/src/models/components/index.ts +13 -0
- package/src/models/components/partnerpricing.ts +10 -6
- package/src/models/components/partnerpricingagreement.ts +9 -5
- package/src/models/components/product.ts +148 -0
- package/src/models/components/productimagemetadata.ts +83 -0
- package/src/models/components/productoption.ts +101 -0
- package/src/models/components/productoptiongroup.ts +113 -0
- package/src/models/components/productoptiongroupvalidationerror.ts +91 -0
- package/src/models/components/productoptionvalidationerror.ts +88 -0
- package/src/models/components/productrequest.ts +117 -0
- package/src/models/components/volumerange.ts +95 -0
- package/src/models/errors/index.ts +1 -0
- package/src/models/errors/productrequestvalidationerror.ts +124 -0
- package/src/models/operations/createproduct.ts +231 -0
- package/src/models/operations/disableproduct.ts +216 -0
- package/src/models/operations/getproduct.ts +223 -0
- package/src/models/operations/index.ts +5 -0
- package/src/models/operations/listproducts.ts +227 -0
- package/src/models/operations/updateproduct.ts +235 -0
- package/src/sdk/products.ts +86 -0
- package/src/sdk/sdk.ts +6 -0
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import * as components from "../components/index.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
export type CreateProductGlobals = {
|
|
6
|
+
/**
|
|
7
|
+
* Specify an API version.
|
|
8
|
+
*
|
|
9
|
+
* @remarks
|
|
10
|
+
*
|
|
11
|
+
* API versioning follows the format `vYYYY.QQ.BB`, where
|
|
12
|
+
* - `YYYY` is the year
|
|
13
|
+
* - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
14
|
+
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
15
|
+
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
16
|
+
*
|
|
17
|
+
* The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
18
|
+
*/
|
|
19
|
+
xMoovVersion?: string | undefined;
|
|
20
|
+
};
|
|
21
|
+
export type CreateProductRequest = {
|
|
22
|
+
accountID: string;
|
|
23
|
+
productRequest: components.ProductRequest;
|
|
24
|
+
};
|
|
25
|
+
export type CreateProductResponse = {
|
|
26
|
+
headers: {
|
|
27
|
+
[k: string]: Array<string>;
|
|
28
|
+
};
|
|
29
|
+
result: components.Product;
|
|
30
|
+
};
|
|
31
|
+
/** @internal */
|
|
32
|
+
export declare const CreateProductGlobals$inboundSchema: z.ZodType<CreateProductGlobals, z.ZodTypeDef, unknown>;
|
|
33
|
+
/** @internal */
|
|
34
|
+
export type CreateProductGlobals$Outbound = {
|
|
35
|
+
"x-moov-version": string;
|
|
36
|
+
};
|
|
37
|
+
/** @internal */
|
|
38
|
+
export declare const CreateProductGlobals$outboundSchema: z.ZodType<CreateProductGlobals$Outbound, z.ZodTypeDef, CreateProductGlobals>;
|
|
39
|
+
/**
|
|
40
|
+
* @internal
|
|
41
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
42
|
+
*/
|
|
43
|
+
export declare namespace CreateProductGlobals$ {
|
|
44
|
+
/** @deprecated use `CreateProductGlobals$inboundSchema` instead. */
|
|
45
|
+
const inboundSchema: z.ZodType<CreateProductGlobals, z.ZodTypeDef, unknown>;
|
|
46
|
+
/** @deprecated use `CreateProductGlobals$outboundSchema` instead. */
|
|
47
|
+
const outboundSchema: z.ZodType<CreateProductGlobals$Outbound, z.ZodTypeDef, CreateProductGlobals>;
|
|
48
|
+
/** @deprecated use `CreateProductGlobals$Outbound` instead. */
|
|
49
|
+
type Outbound = CreateProductGlobals$Outbound;
|
|
50
|
+
}
|
|
51
|
+
export declare function createProductGlobalsToJSON(createProductGlobals: CreateProductGlobals): string;
|
|
52
|
+
export declare function createProductGlobalsFromJSON(jsonString: string): SafeParseResult<CreateProductGlobals, SDKValidationError>;
|
|
53
|
+
/** @internal */
|
|
54
|
+
export declare const CreateProductRequest$inboundSchema: z.ZodType<CreateProductRequest, z.ZodTypeDef, unknown>;
|
|
55
|
+
/** @internal */
|
|
56
|
+
export type CreateProductRequest$Outbound = {
|
|
57
|
+
accountID: string;
|
|
58
|
+
ProductRequest: components.ProductRequest$Outbound;
|
|
59
|
+
};
|
|
60
|
+
/** @internal */
|
|
61
|
+
export declare const CreateProductRequest$outboundSchema: z.ZodType<CreateProductRequest$Outbound, z.ZodTypeDef, CreateProductRequest>;
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
65
|
+
*/
|
|
66
|
+
export declare namespace CreateProductRequest$ {
|
|
67
|
+
/** @deprecated use `CreateProductRequest$inboundSchema` instead. */
|
|
68
|
+
const inboundSchema: z.ZodType<CreateProductRequest, z.ZodTypeDef, unknown>;
|
|
69
|
+
/** @deprecated use `CreateProductRequest$outboundSchema` instead. */
|
|
70
|
+
const outboundSchema: z.ZodType<CreateProductRequest$Outbound, z.ZodTypeDef, CreateProductRequest>;
|
|
71
|
+
/** @deprecated use `CreateProductRequest$Outbound` instead. */
|
|
72
|
+
type Outbound = CreateProductRequest$Outbound;
|
|
73
|
+
}
|
|
74
|
+
export declare function createProductRequestToJSON(createProductRequest: CreateProductRequest): string;
|
|
75
|
+
export declare function createProductRequestFromJSON(jsonString: string): SafeParseResult<CreateProductRequest, SDKValidationError>;
|
|
76
|
+
/** @internal */
|
|
77
|
+
export declare const CreateProductResponse$inboundSchema: z.ZodType<CreateProductResponse, z.ZodTypeDef, unknown>;
|
|
78
|
+
/** @internal */
|
|
79
|
+
export type CreateProductResponse$Outbound = {
|
|
80
|
+
Headers: {
|
|
81
|
+
[k: string]: Array<string>;
|
|
82
|
+
};
|
|
83
|
+
Result: components.Product$Outbound;
|
|
84
|
+
};
|
|
85
|
+
/** @internal */
|
|
86
|
+
export declare const CreateProductResponse$outboundSchema: z.ZodType<CreateProductResponse$Outbound, z.ZodTypeDef, CreateProductResponse>;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
90
|
+
*/
|
|
91
|
+
export declare namespace CreateProductResponse$ {
|
|
92
|
+
/** @deprecated use `CreateProductResponse$inboundSchema` instead. */
|
|
93
|
+
const inboundSchema: z.ZodType<CreateProductResponse, z.ZodTypeDef, unknown>;
|
|
94
|
+
/** @deprecated use `CreateProductResponse$outboundSchema` instead. */
|
|
95
|
+
const outboundSchema: z.ZodType<CreateProductResponse$Outbound, z.ZodTypeDef, CreateProductResponse>;
|
|
96
|
+
/** @deprecated use `CreateProductResponse$Outbound` instead. */
|
|
97
|
+
type Outbound = CreateProductResponse$Outbound;
|
|
98
|
+
}
|
|
99
|
+
export declare function createProductResponseToJSON(createProductResponse: CreateProductResponse): string;
|
|
100
|
+
export declare function createProductResponseFromJSON(jsonString: string): SafeParseResult<CreateProductResponse, SDKValidationError>;
|
|
101
|
+
//# sourceMappingURL=createproduct.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createproduct.d.ts","sourceRoot":"","sources":["../../src/models/operations/createproduct.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;;;;;;;;;;OAYG;IACH,Y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QAAQ,GAAG,8BAA8B,CAAC;CACvD;AAED,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR;AAED,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.CreateProductResponse$ = exports.CreateProductResponse$outboundSchema = exports.CreateProductResponse$inboundSchema = exports.CreateProductRequest$ = exports.CreateProductRequest$outboundSchema = exports.CreateProductRequest$inboundSchema = exports.CreateProductGlobals$ = exports.CreateProductGlobals$outboundSchema = exports.CreateProductGlobals$inboundSchema = void 0;
|
|
40
|
+
exports.createProductGlobalsToJSON = createProductGlobalsToJSON;
|
|
41
|
+
exports.createProductGlobalsFromJSON = createProductGlobalsFromJSON;
|
|
42
|
+
exports.createProductRequestToJSON = createProductRequestToJSON;
|
|
43
|
+
exports.createProductRequestFromJSON = createProductRequestFromJSON;
|
|
44
|
+
exports.createProductResponseToJSON = createProductResponseToJSON;
|
|
45
|
+
exports.createProductResponseFromJSON = createProductResponseFromJSON;
|
|
46
|
+
const z = __importStar(require("zod"));
|
|
47
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
48
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
49
|
+
const components = __importStar(require("../components/index.js"));
|
|
50
|
+
/** @internal */
|
|
51
|
+
exports.CreateProductGlobals$inboundSchema = z.object({
|
|
52
|
+
"x-moov-version": z.string().default("v2024.01.00"),
|
|
53
|
+
}).transform((v) => {
|
|
54
|
+
return (0, primitives_js_1.remap)(v, {
|
|
55
|
+
"x-moov-version": "xMoovVersion",
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
/** @internal */
|
|
59
|
+
exports.CreateProductGlobals$outboundSchema = z.object({
|
|
60
|
+
xMoovVersion: z.string().default("v2024.01.00"),
|
|
61
|
+
}).transform((v) => {
|
|
62
|
+
return (0, primitives_js_1.remap)(v, {
|
|
63
|
+
xMoovVersion: "x-moov-version",
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
69
|
+
*/
|
|
70
|
+
var CreateProductGlobals$;
|
|
71
|
+
(function (CreateProductGlobals$) {
|
|
72
|
+
/** @deprecated use `CreateProductGlobals$inboundSchema` instead. */
|
|
73
|
+
CreateProductGlobals$.inboundSchema = exports.CreateProductGlobals$inboundSchema;
|
|
74
|
+
/** @deprecated use `CreateProductGlobals$outboundSchema` instead. */
|
|
75
|
+
CreateProductGlobals$.outboundSchema = exports.CreateProductGlobals$outboundSchema;
|
|
76
|
+
})(CreateProductGlobals$ || (exports.CreateProductGlobals$ = CreateProductGlobals$ = {}));
|
|
77
|
+
function createProductGlobalsToJSON(createProductGlobals) {
|
|
78
|
+
return JSON.stringify(exports.CreateProductGlobals$outboundSchema.parse(createProductGlobals));
|
|
79
|
+
}
|
|
80
|
+
function createProductGlobalsFromJSON(jsonString) {
|
|
81
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateProductGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProductGlobals' from JSON`);
|
|
82
|
+
}
|
|
83
|
+
/** @internal */
|
|
84
|
+
exports.CreateProductRequest$inboundSchema = z.object({
|
|
85
|
+
accountID: z.string(),
|
|
86
|
+
ProductRequest: components.ProductRequest$inboundSchema,
|
|
87
|
+
}).transform((v) => {
|
|
88
|
+
return (0, primitives_js_1.remap)(v, {
|
|
89
|
+
"ProductRequest": "productRequest",
|
|
90
|
+
});
|
|
91
|
+
});
|
|
92
|
+
/** @internal */
|
|
93
|
+
exports.CreateProductRequest$outboundSchema = z.object({
|
|
94
|
+
accountID: z.string(),
|
|
95
|
+
productRequest: components.ProductRequest$outboundSchema,
|
|
96
|
+
}).transform((v) => {
|
|
97
|
+
return (0, primitives_js_1.remap)(v, {
|
|
98
|
+
productRequest: "ProductRequest",
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
104
|
+
*/
|
|
105
|
+
var CreateProductRequest$;
|
|
106
|
+
(function (CreateProductRequest$) {
|
|
107
|
+
/** @deprecated use `CreateProductRequest$inboundSchema` instead. */
|
|
108
|
+
CreateProductRequest$.inboundSchema = exports.CreateProductRequest$inboundSchema;
|
|
109
|
+
/** @deprecated use `CreateProductRequest$outboundSchema` instead. */
|
|
110
|
+
CreateProductRequest$.outboundSchema = exports.CreateProductRequest$outboundSchema;
|
|
111
|
+
})(CreateProductRequest$ || (exports.CreateProductRequest$ = CreateProductRequest$ = {}));
|
|
112
|
+
function createProductRequestToJSON(createProductRequest) {
|
|
113
|
+
return JSON.stringify(exports.CreateProductRequest$outboundSchema.parse(createProductRequest));
|
|
114
|
+
}
|
|
115
|
+
function createProductRequestFromJSON(jsonString) {
|
|
116
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateProductRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProductRequest' from JSON`);
|
|
117
|
+
}
|
|
118
|
+
/** @internal */
|
|
119
|
+
exports.CreateProductResponse$inboundSchema = z.object({
|
|
120
|
+
Headers: z.record(z.array(z.string())),
|
|
121
|
+
Result: components.Product$inboundSchema,
|
|
122
|
+
}).transform((v) => {
|
|
123
|
+
return (0, primitives_js_1.remap)(v, {
|
|
124
|
+
"Headers": "headers",
|
|
125
|
+
"Result": "result",
|
|
126
|
+
});
|
|
127
|
+
});
|
|
128
|
+
/** @internal */
|
|
129
|
+
exports.CreateProductResponse$outboundSchema = z.object({
|
|
130
|
+
headers: z.record(z.array(z.string())),
|
|
131
|
+
result: components.Product$outboundSchema,
|
|
132
|
+
}).transform((v) => {
|
|
133
|
+
return (0, primitives_js_1.remap)(v, {
|
|
134
|
+
headers: "Headers",
|
|
135
|
+
result: "Result",
|
|
136
|
+
});
|
|
137
|
+
});
|
|
138
|
+
/**
|
|
139
|
+
* @internal
|
|
140
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
141
|
+
*/
|
|
142
|
+
var CreateProductResponse$;
|
|
143
|
+
(function (CreateProductResponse$) {
|
|
144
|
+
/** @deprecated use `CreateProductResponse$inboundSchema` instead. */
|
|
145
|
+
CreateProductResponse$.inboundSchema = exports.CreateProductResponse$inboundSchema;
|
|
146
|
+
/** @deprecated use `CreateProductResponse$outboundSchema` instead. */
|
|
147
|
+
CreateProductResponse$.outboundSchema = exports.CreateProductResponse$outboundSchema;
|
|
148
|
+
})(CreateProductResponse$ || (exports.CreateProductResponse$ = CreateProductResponse$ = {}));
|
|
149
|
+
function createProductResponseToJSON(createProductResponse) {
|
|
150
|
+
return JSON.stringify(exports.CreateProductResponse$outboundSchema.parse(createProductResponse));
|
|
151
|
+
}
|
|
152
|
+
function createProductResponseFromJSON(jsonString) {
|
|
153
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.CreateProductResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'CreateProductResponse' from JSON`);
|
|
154
|
+
}
|
|
155
|
+
//# sourceMappingURL=createproduct.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createproduct.js","sourceRoot":"","sources":["../../src/models/operations/createproduct.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgFH,gEAMC;AAED,oEAQC;AAiDD,gEAMC;AAED,oEAQC;AAmDD,kEAMC;AAED,sEAQC;AAlOD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AA8BrD,gBAAgB;AACH,QAAA,kCAAkC,GAI3C,CAAC,CAAC,MAAM,CAAC;IACX,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,aAAa,C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EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,QAAQ;KACnB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAQH,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;IACtC,MAAM,EAAE,UAAU,CAAC,sBAAsB;CAC1C,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,OAAO,EAAE,SAAS;QAClB,MAAM,EAAE,QAAQ;KACjB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,sBAAsB,CAOtC;AAPD,WAAiB,sBAAsB;IACrC,qEAAqE;IACxD,oCAAa,GAAG,2CAAmC,CAAC;IACjE,sEAAsE;IACzD,qCAAc,GAAG,4CAAoC,CAAC;AAGrE,CAAC,EAPgB,sBAAsB,sCAAtB,sBAAsB,QAOtC;AAED,SAAgB,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,4CAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AAED,SAAgB,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type DisableProductGlobals = {
|
|
5
|
+
/**
|
|
6
|
+
* Specify an API version.
|
|
7
|
+
*
|
|
8
|
+
* @remarks
|
|
9
|
+
*
|
|
10
|
+
* API versioning follows the format `vYYYY.QQ.BB`, where
|
|
11
|
+
* - `YYYY` is the year
|
|
12
|
+
* - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
13
|
+
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
14
|
+
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
15
|
+
*
|
|
16
|
+
* The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
17
|
+
*/
|
|
18
|
+
xMoovVersion?: string | undefined;
|
|
19
|
+
};
|
|
20
|
+
export type DisableProductRequest = {
|
|
21
|
+
accountID: string;
|
|
22
|
+
productID: string;
|
|
23
|
+
};
|
|
24
|
+
export type DisableProductResponse = {
|
|
25
|
+
headers: {
|
|
26
|
+
[k: string]: Array<string>;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
/** @internal */
|
|
30
|
+
export declare const DisableProductGlobals$inboundSchema: z.ZodType<DisableProductGlobals, z.ZodTypeDef, unknown>;
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type DisableProductGlobals$Outbound = {
|
|
33
|
+
"x-moov-version": string;
|
|
34
|
+
};
|
|
35
|
+
/** @internal */
|
|
36
|
+
export declare const DisableProductGlobals$outboundSchema: z.ZodType<DisableProductGlobals$Outbound, z.ZodTypeDef, DisableProductGlobals>;
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
40
|
+
*/
|
|
41
|
+
export declare namespace DisableProductGlobals$ {
|
|
42
|
+
/** @deprecated use `DisableProductGlobals$inboundSchema` instead. */
|
|
43
|
+
const inboundSchema: z.ZodType<DisableProductGlobals, z.ZodTypeDef, unknown>;
|
|
44
|
+
/** @deprecated use `DisableProductGlobals$outboundSchema` instead. */
|
|
45
|
+
const outboundSchema: z.ZodType<DisableProductGlobals$Outbound, z.ZodTypeDef, DisableProductGlobals>;
|
|
46
|
+
/** @deprecated use `DisableProductGlobals$Outbound` instead. */
|
|
47
|
+
type Outbound = DisableProductGlobals$Outbound;
|
|
48
|
+
}
|
|
49
|
+
export declare function disableProductGlobalsToJSON(disableProductGlobals: DisableProductGlobals): string;
|
|
50
|
+
export declare function disableProductGlobalsFromJSON(jsonString: string): SafeParseResult<DisableProductGlobals, SDKValidationError>;
|
|
51
|
+
/** @internal */
|
|
52
|
+
export declare const DisableProductRequest$inboundSchema: z.ZodType<DisableProductRequest, z.ZodTypeDef, unknown>;
|
|
53
|
+
/** @internal */
|
|
54
|
+
export type DisableProductRequest$Outbound = {
|
|
55
|
+
accountID: string;
|
|
56
|
+
productID: string;
|
|
57
|
+
};
|
|
58
|
+
/** @internal */
|
|
59
|
+
export declare const DisableProductRequest$outboundSchema: z.ZodType<DisableProductRequest$Outbound, z.ZodTypeDef, DisableProductRequest>;
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
63
|
+
*/
|
|
64
|
+
export declare namespace DisableProductRequest$ {
|
|
65
|
+
/** @deprecated use `DisableProductRequest$inboundSchema` instead. */
|
|
66
|
+
const inboundSchema: z.ZodType<DisableProductRequest, z.ZodTypeDef, unknown>;
|
|
67
|
+
/** @deprecated use `DisableProductRequest$outboundSchema` instead. */
|
|
68
|
+
const outboundSchema: z.ZodType<DisableProductRequest$Outbound, z.ZodTypeDef, DisableProductRequest>;
|
|
69
|
+
/** @deprecated use `DisableProductRequest$Outbound` instead. */
|
|
70
|
+
type Outbound = DisableProductRequest$Outbound;
|
|
71
|
+
}
|
|
72
|
+
export declare function disableProductRequestToJSON(disableProductRequest: DisableProductRequest): string;
|
|
73
|
+
export declare function disableProductRequestFromJSON(jsonString: string): SafeParseResult<DisableProductRequest, SDKValidationError>;
|
|
74
|
+
/** @internal */
|
|
75
|
+
export declare const DisableProductResponse$inboundSchema: z.ZodType<DisableProductResponse, z.ZodTypeDef, unknown>;
|
|
76
|
+
/** @internal */
|
|
77
|
+
export type DisableProductResponse$Outbound = {
|
|
78
|
+
Headers: {
|
|
79
|
+
[k: string]: Array<string>;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
/** @internal */
|
|
83
|
+
export declare const DisableProductResponse$outboundSchema: z.ZodType<DisableProductResponse$Outbound, z.ZodTypeDef, DisableProductResponse>;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
87
|
+
*/
|
|
88
|
+
export declare namespace DisableProductResponse$ {
|
|
89
|
+
/** @deprecated use `DisableProductResponse$inboundSchema` instead. */
|
|
90
|
+
const inboundSchema: z.ZodType<DisableProductResponse, z.ZodTypeDef, unknown>;
|
|
91
|
+
/** @deprecated use `DisableProductResponse$outboundSchema` instead. */
|
|
92
|
+
const outboundSchema: z.ZodType<DisableProductResponse$Outbound, z.ZodTypeDef, DisableProductResponse>;
|
|
93
|
+
/** @deprecated use `DisableProductResponse$Outbound` instead. */
|
|
94
|
+
type Outbound = DisableProductResponse$Outbound;
|
|
95
|
+
}
|
|
96
|
+
export declare function disableProductResponseToJSON(disableProductResponse: DisableProductResponse): string;
|
|
97
|
+
export declare function disableProductResponseFromJSON(jsonString: string): SafeParseResult<DisableProductResponse, SDKValidationError>;
|
|
98
|
+
//# sourceMappingURL=disableproduct.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"disableproduct.d.ts","sourceRoot":"","sources":["../../src/models/operations/disableproduct.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9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Y,QAAQ,GAAG,+BAA+B,CAAC;CACxD;AAED,wBAAgB,4BAA4B,CAC1C,sBAAsB,EAAE,sBAAsB,GAC7C,MAAM,CAIR;AAED,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.DisableProductResponse$ = exports.DisableProductResponse$outboundSchema = exports.DisableProductResponse$inboundSchema = exports.DisableProductRequest$ = exports.DisableProductRequest$outboundSchema = exports.DisableProductRequest$inboundSchema = exports.DisableProductGlobals$ = exports.DisableProductGlobals$outboundSchema = exports.DisableProductGlobals$inboundSchema = void 0;
|
|
40
|
+
exports.disableProductGlobalsToJSON = disableProductGlobalsToJSON;
|
|
41
|
+
exports.disableProductGlobalsFromJSON = disableProductGlobalsFromJSON;
|
|
42
|
+
exports.disableProductRequestToJSON = disableProductRequestToJSON;
|
|
43
|
+
exports.disableProductRequestFromJSON = disableProductRequestFromJSON;
|
|
44
|
+
exports.disableProductResponseToJSON = disableProductResponseToJSON;
|
|
45
|
+
exports.disableProductResponseFromJSON = disableProductResponseFromJSON;
|
|
46
|
+
const z = __importStar(require("zod"));
|
|
47
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
48
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
49
|
+
/** @internal */
|
|
50
|
+
exports.DisableProductGlobals$inboundSchema = z.object({
|
|
51
|
+
"x-moov-version": z.string().default("v2024.01.00"),
|
|
52
|
+
}).transform((v) => {
|
|
53
|
+
return (0, primitives_js_1.remap)(v, {
|
|
54
|
+
"x-moov-version": "xMoovVersion",
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
/** @internal */
|
|
58
|
+
exports.DisableProductGlobals$outboundSchema = z.object({
|
|
59
|
+
xMoovVersion: z.string().default("v2024.01.00"),
|
|
60
|
+
}).transform((v) => {
|
|
61
|
+
return (0, primitives_js_1.remap)(v, {
|
|
62
|
+
xMoovVersion: "x-moov-version",
|
|
63
|
+
});
|
|
64
|
+
});
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
68
|
+
*/
|
|
69
|
+
var DisableProductGlobals$;
|
|
70
|
+
(function (DisableProductGlobals$) {
|
|
71
|
+
/** @deprecated use `DisableProductGlobals$inboundSchema` instead. */
|
|
72
|
+
DisableProductGlobals$.inboundSchema = exports.DisableProductGlobals$inboundSchema;
|
|
73
|
+
/** @deprecated use `DisableProductGlobals$outboundSchema` instead. */
|
|
74
|
+
DisableProductGlobals$.outboundSchema = exports.DisableProductGlobals$outboundSchema;
|
|
75
|
+
})(DisableProductGlobals$ || (exports.DisableProductGlobals$ = DisableProductGlobals$ = {}));
|
|
76
|
+
function disableProductGlobalsToJSON(disableProductGlobals) {
|
|
77
|
+
return JSON.stringify(exports.DisableProductGlobals$outboundSchema.parse(disableProductGlobals));
|
|
78
|
+
}
|
|
79
|
+
function disableProductGlobalsFromJSON(jsonString) {
|
|
80
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DisableProductGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DisableProductGlobals' from JSON`);
|
|
81
|
+
}
|
|
82
|
+
/** @internal */
|
|
83
|
+
exports.DisableProductRequest$inboundSchema = z.object({
|
|
84
|
+
accountID: z.string(),
|
|
85
|
+
productID: z.string(),
|
|
86
|
+
});
|
|
87
|
+
/** @internal */
|
|
88
|
+
exports.DisableProductRequest$outboundSchema = z.object({
|
|
89
|
+
accountID: z.string(),
|
|
90
|
+
productID: z.string(),
|
|
91
|
+
});
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
95
|
+
*/
|
|
96
|
+
var DisableProductRequest$;
|
|
97
|
+
(function (DisableProductRequest$) {
|
|
98
|
+
/** @deprecated use `DisableProductRequest$inboundSchema` instead. */
|
|
99
|
+
DisableProductRequest$.inboundSchema = exports.DisableProductRequest$inboundSchema;
|
|
100
|
+
/** @deprecated use `DisableProductRequest$outboundSchema` instead. */
|
|
101
|
+
DisableProductRequest$.outboundSchema = exports.DisableProductRequest$outboundSchema;
|
|
102
|
+
})(DisableProductRequest$ || (exports.DisableProductRequest$ = DisableProductRequest$ = {}));
|
|
103
|
+
function disableProductRequestToJSON(disableProductRequest) {
|
|
104
|
+
return JSON.stringify(exports.DisableProductRequest$outboundSchema.parse(disableProductRequest));
|
|
105
|
+
}
|
|
106
|
+
function disableProductRequestFromJSON(jsonString) {
|
|
107
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DisableProductRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DisableProductRequest' from JSON`);
|
|
108
|
+
}
|
|
109
|
+
/** @internal */
|
|
110
|
+
exports.DisableProductResponse$inboundSchema = z.object({
|
|
111
|
+
Headers: z.record(z.array(z.string())),
|
|
112
|
+
}).transform((v) => {
|
|
113
|
+
return (0, primitives_js_1.remap)(v, {
|
|
114
|
+
"Headers": "headers",
|
|
115
|
+
});
|
|
116
|
+
});
|
|
117
|
+
/** @internal */
|
|
118
|
+
exports.DisableProductResponse$outboundSchema = z.object({
|
|
119
|
+
headers: z.record(z.array(z.string())),
|
|
120
|
+
}).transform((v) => {
|
|
121
|
+
return (0, primitives_js_1.remap)(v, {
|
|
122
|
+
headers: "Headers",
|
|
123
|
+
});
|
|
124
|
+
});
|
|
125
|
+
/**
|
|
126
|
+
* @internal
|
|
127
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
128
|
+
*/
|
|
129
|
+
var DisableProductResponse$;
|
|
130
|
+
(function (DisableProductResponse$) {
|
|
131
|
+
/** @deprecated use `DisableProductResponse$inboundSchema` instead. */
|
|
132
|
+
DisableProductResponse$.inboundSchema = exports.DisableProductResponse$inboundSchema;
|
|
133
|
+
/** @deprecated use `DisableProductResponse$outboundSchema` instead. */
|
|
134
|
+
DisableProductResponse$.outboundSchema = exports.DisableProductResponse$outboundSchema;
|
|
135
|
+
})(DisableProductResponse$ || (exports.DisableProductResponse$ = DisableProductResponse$ = {}));
|
|
136
|
+
function disableProductResponseToJSON(disableProductResponse) {
|
|
137
|
+
return JSON.stringify(exports.DisableProductResponse$outboundSchema.parse(disableProductResponse));
|
|
138
|
+
}
|
|
139
|
+
function disableProductResponseFromJSON(jsonString) {
|
|
140
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DisableProductResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DisableProductResponse' from JSON`);
|
|
141
|
+
}
|
|
142
|
+
//# sourceMappingURL=disableproduct.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"disableproduct.js","sourceRoot":"","sources":["../../src/models/operations/disableproduct.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8EH,kEAMC;AAED,sEAQC;AAyCD,kEAMC;AAED,sEAQC;AA8CD,oEAMC;AAED,wEAQC;AAnND,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AA8BjD,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC;CACpD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,gBAAgB,EAAE,cAAc;KACjC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC;CAChD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IAC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BAA8C;IAE9C,OAAO,IAAI,CAAC,SAAS,CACnB,6CAAqC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CACpE,CAAC;AACJ,CAAC;AAED,SAAgB,8BAA8B,CAC5C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4CAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import * as components from "../components/index.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
export type GetProductGlobals = {
|
|
6
|
+
/**
|
|
7
|
+
* Specify an API version.
|
|
8
|
+
*
|
|
9
|
+
* @remarks
|
|
10
|
+
*
|
|
11
|
+
* API versioning follows the format `vYYYY.QQ.BB`, where
|
|
12
|
+
* - `YYYY` is the year
|
|
13
|
+
* - `QQ` is the two-digit month for the first month of the quarter (e.g., 01, 04, 07, 10)
|
|
14
|
+
* - `BB` is the build number, starting at `.01`, for subsequent builds in the same quarter.
|
|
15
|
+
* - For example, `v2024.01.00` is the initial release of the first quarter of 2024.
|
|
16
|
+
*
|
|
17
|
+
* The `latest` version represents the most recent development state. It may include breaking changes and should be treated as a beta release.
|
|
18
|
+
*/
|
|
19
|
+
xMoovVersion?: string | undefined;
|
|
20
|
+
};
|
|
21
|
+
export type GetProductRequest = {
|
|
22
|
+
accountID: string;
|
|
23
|
+
productID: string;
|
|
24
|
+
};
|
|
25
|
+
export type GetProductResponse = {
|
|
26
|
+
headers: {
|
|
27
|
+
[k: string]: Array<string>;
|
|
28
|
+
};
|
|
29
|
+
result: components.Product;
|
|
30
|
+
};
|
|
31
|
+
/** @internal */
|
|
32
|
+
export declare const GetProductGlobals$inboundSchema: z.ZodType<GetProductGlobals, z.ZodTypeDef, unknown>;
|
|
33
|
+
/** @internal */
|
|
34
|
+
export type GetProductGlobals$Outbound = {
|
|
35
|
+
"x-moov-version": string;
|
|
36
|
+
};
|
|
37
|
+
/** @internal */
|
|
38
|
+
export declare const GetProductGlobals$outboundSchema: z.ZodType<GetProductGlobals$Outbound, z.ZodTypeDef, GetProductGlobals>;
|
|
39
|
+
/**
|
|
40
|
+
* @internal
|
|
41
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
42
|
+
*/
|
|
43
|
+
export declare namespace GetProductGlobals$ {
|
|
44
|
+
/** @deprecated use `GetProductGlobals$inboundSchema` instead. */
|
|
45
|
+
const inboundSchema: z.ZodType<GetProductGlobals, z.ZodTypeDef, unknown>;
|
|
46
|
+
/** @deprecated use `GetProductGlobals$outboundSchema` instead. */
|
|
47
|
+
const outboundSchema: z.ZodType<GetProductGlobals$Outbound, z.ZodTypeDef, GetProductGlobals>;
|
|
48
|
+
/** @deprecated use `GetProductGlobals$Outbound` instead. */
|
|
49
|
+
type Outbound = GetProductGlobals$Outbound;
|
|
50
|
+
}
|
|
51
|
+
export declare function getProductGlobalsToJSON(getProductGlobals: GetProductGlobals): string;
|
|
52
|
+
export declare function getProductGlobalsFromJSON(jsonString: string): SafeParseResult<GetProductGlobals, SDKValidationError>;
|
|
53
|
+
/** @internal */
|
|
54
|
+
export declare const GetProductRequest$inboundSchema: z.ZodType<GetProductRequest, z.ZodTypeDef, unknown>;
|
|
55
|
+
/** @internal */
|
|
56
|
+
export type GetProductRequest$Outbound = {
|
|
57
|
+
accountID: string;
|
|
58
|
+
productID: string;
|
|
59
|
+
};
|
|
60
|
+
/** @internal */
|
|
61
|
+
export declare const GetProductRequest$outboundSchema: z.ZodType<GetProductRequest$Outbound, z.ZodTypeDef, GetProductRequest>;
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
65
|
+
*/
|
|
66
|
+
export declare namespace GetProductRequest$ {
|
|
67
|
+
/** @deprecated use `GetProductRequest$inboundSchema` instead. */
|
|
68
|
+
const inboundSchema: z.ZodType<GetProductRequest, z.ZodTypeDef, unknown>;
|
|
69
|
+
/** @deprecated use `GetProductRequest$outboundSchema` instead. */
|
|
70
|
+
const outboundSchema: z.ZodType<GetProductRequest$Outbound, z.ZodTypeDef, GetProductRequest>;
|
|
71
|
+
/** @deprecated use `GetProductRequest$Outbound` instead. */
|
|
72
|
+
type Outbound = GetProductRequest$Outbound;
|
|
73
|
+
}
|
|
74
|
+
export declare function getProductRequestToJSON(getProductRequest: GetProductRequest): string;
|
|
75
|
+
export declare function getProductRequestFromJSON(jsonString: string): SafeParseResult<GetProductRequest, SDKValidationError>;
|
|
76
|
+
/** @internal */
|
|
77
|
+
export declare const GetProductResponse$inboundSchema: z.ZodType<GetProductResponse, z.ZodTypeDef, unknown>;
|
|
78
|
+
/** @internal */
|
|
79
|
+
export type GetProductResponse$Outbound = {
|
|
80
|
+
Headers: {
|
|
81
|
+
[k: string]: Array<string>;
|
|
82
|
+
};
|
|
83
|
+
Result: components.Product$Outbound;
|
|
84
|
+
};
|
|
85
|
+
/** @internal */
|
|
86
|
+
export declare const GetProductResponse$outboundSchema: z.ZodType<GetProductResponse$Outbound, z.ZodTypeDef, GetProductResponse>;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
90
|
+
*/
|
|
91
|
+
export declare namespace GetProductResponse$ {
|
|
92
|
+
/** @deprecated use `GetProductResponse$inboundSchema` instead. */
|
|
93
|
+
const inboundSchema: z.ZodType<GetProductResponse, z.ZodTypeDef, unknown>;
|
|
94
|
+
/** @deprecated use `GetProductResponse$outboundSchema` instead. */
|
|
95
|
+
const outboundSchema: z.ZodType<GetProductResponse$Outbound, z.ZodTypeDef, GetProductResponse>;
|
|
96
|
+
/** @deprecated use `GetProductResponse$Outbound` instead. */
|
|
97
|
+
type Outbound = GetProductResponse$Outbound;
|
|
98
|
+
}
|
|
99
|
+
export declare function getProductResponseToJSON(getProductResponse: GetProductResponse): string;
|
|
100
|
+
export declare function getProductResponseFromJSON(jsonString: string): SafeParseResult<GetProductResponse, SDKValidationError>;
|
|
101
|
+
//# sourceMappingURL=getproduct.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getproduct.d.ts","sourceRoot":"","sources":["../../src/models/operations/getproduct.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;;;;;;;;;;;OAYG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,OAAO,CAAC;CAC5B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,iBAAiB,EACjB,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,0BAA0B,GAAG;IACvC,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,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