@moovio/sdk 0.15.6 → 0.16.0
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 +54 -43
- package/bin/mcp-server.js +1376 -629
- package/bin/mcp-server.js.map +25 -12
- package/docs/sdks/images/README.md +328 -0
- package/examples/package-lock.json +1 -1
- package/funcs/imagesDelete.d.ts +15 -0
- package/funcs/imagesDelete.d.ts.map +1 -0
- package/funcs/imagesDelete.js +137 -0
- package/funcs/imagesDelete.js.map +1 -0
- package/funcs/imagesGetMetadata.d.ts +14 -0
- package/funcs/imagesGetMetadata.d.ts.map +1 -0
- package/funcs/imagesGetMetadata.js +126 -0
- package/funcs/imagesGetMetadata.js.map +1 -0
- package/funcs/imagesGetPublic.d.ts +21 -0
- package/funcs/imagesGetPublic.d.ts.map +1 -0
- package/funcs/imagesGetPublic.js +144 -0
- package/funcs/imagesGetPublic.js.map +1 -0
- package/funcs/imagesList.d.ts +14 -0
- package/funcs/imagesList.d.ts.map +1 -0
- package/funcs/imagesList.js +122 -0
- package/funcs/imagesList.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +9 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/imagesDelete.d.ts +8 -0
- package/mcp-server/tools/imagesDelete.d.ts.map +1 -0
- package/mcp-server/tools/imagesDelete.js +61 -0
- package/mcp-server/tools/imagesDelete.js.map +1 -0
- package/mcp-server/tools/imagesGetMetadata.d.ts +8 -0
- package/mcp-server/tools/imagesGetMetadata.d.ts.map +1 -0
- package/mcp-server/tools/imagesGetMetadata.js +62 -0
- package/mcp-server/tools/imagesGetMetadata.js.map +1 -0
- package/mcp-server/tools/imagesGetPublic.d.ts +8 -0
- package/mcp-server/tools/imagesGetPublic.d.ts.map +1 -0
- package/mcp-server/tools/imagesGetPublic.js +62 -0
- package/mcp-server/tools/imagesGetPublic.js.map +1 -0
- package/mcp-server/tools/imagesList.d.ts +8 -0
- package/mcp-server/tools/imagesList.d.ts.map +1 -0
- package/mcp-server/tools/imagesList.js +62 -0
- package/mcp-server/tools/imagesList.js.map +1 -0
- package/models/components/imagemetadata.d.ts +49 -0
- package/models/components/imagemetadata.d.ts.map +1 -0
- package/models/components/imagemetadata.js +77 -0
- package/models/components/imagemetadata.js.map +1 -0
- package/models/components/index.d.ts +1 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -0
- package/models/components/index.js.map +1 -1
- package/models/components/paymentmethodswallet.d.ts +2 -2
- package/models/components/security.d.ts +4 -4
- package/models/components/security.d.ts.map +1 -1
- package/models/components/security.js +4 -4
- package/models/components/security.js.map +1 -1
- package/models/components/wallet.d.ts +2 -2
- package/models/components/wallettype.d.ts +4 -4
- package/models/components/wallettype.js +2 -2
- package/models/operations/deleteimage.d.ts +98 -0
- package/models/operations/deleteimage.d.ts.map +1 -0
- package/models/operations/deleteimage.js +142 -0
- package/models/operations/deleteimage.js.map +1 -0
- package/models/operations/getimagemetadata.d.ts +101 -0
- package/models/operations/getimagemetadata.d.ts.map +1 -0
- package/models/operations/getimagemetadata.js +147 -0
- package/models/operations/getimagemetadata.js.map +1 -0
- package/models/operations/getpublicimage.d.ts +94 -0
- package/models/operations/getpublicimage.d.ts.map +1 -0
- package/models/operations/getpublicimage.js +160 -0
- package/models/operations/getpublicimage.js.map +1 -0
- package/models/operations/index.d.ts +4 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +4 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listimagemetadata.d.ts +99 -0
- package/models/operations/listimagemetadata.d.ts.map +1 -0
- package/models/operations/listimagemetadata.js +145 -0
- package/models/operations/listimagemetadata.js.map +1 -0
- package/package.json +1 -1
- package/sdk/images.d.ts +25 -0
- package/sdk/images.d.ts.map +1 -0
- package/sdk/images.js +42 -0
- package/sdk/images.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/imagesDelete.ts +195 -0
- package/src/funcs/imagesGetMetadata.ts +180 -0
- package/src/funcs/imagesGetPublic.ts +196 -0
- package/src/funcs/imagesList.ts +176 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +9 -1
- package/src/mcp-server/tools/imagesDelete.ts +33 -0
- package/src/mcp-server/tools/imagesGetMetadata.ts +35 -0
- package/src/mcp-server/tools/imagesGetPublic.ts +35 -0
- package/src/mcp-server/tools/imagesList.ts +35 -0
- package/src/models/components/imagemetadata.ts +90 -0
- package/src/models/components/index.ts +1 -0
- package/src/models/components/paymentmethodswallet.ts +2 -2
- package/src/models/components/security.ts +8 -8
- package/src/models/components/wallet.ts +2 -2
- package/src/models/components/wallettype.ts +4 -4
- package/src/models/operations/deleteimage.ts +216 -0
- package/src/models/operations/getimagemetadata.ts +223 -0
- package/src/models/operations/getpublicimage.ts +244 -0
- package/src/models/operations/index.ts +4 -0
- package/src/models/operations/listimagemetadata.ts +219 -0
- package/src/sdk/images.ts +74 -0
- package/src/sdk/sdk.ts +6 -0
|
@@ -27,8 +27,8 @@ export type Wallet = {
|
|
|
27
27
|
* Type of a wallet.
|
|
28
28
|
*
|
|
29
29
|
* @remarks
|
|
30
|
-
* - `default`: The
|
|
31
|
-
* - `general`:
|
|
30
|
+
* - `default`: The system-generated wallet automatically created when an account is granted the wallet capability.
|
|
31
|
+
* - `general`: An additional, user-defined wallet created via API or Dashboard.
|
|
32
32
|
*/
|
|
33
33
|
walletType: WalletType;
|
|
34
34
|
/**
|
|
@@ -4,8 +4,8 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
4
4
|
* Type of a wallet.
|
|
5
5
|
*
|
|
6
6
|
* @remarks
|
|
7
|
-
* - `default`: The
|
|
8
|
-
* - `general`:
|
|
7
|
+
* - `default`: The system-generated wallet automatically created when an account is granted the wallet capability.
|
|
8
|
+
* - `general`: An additional, user-defined wallet created via API or Dashboard.
|
|
9
9
|
*/
|
|
10
10
|
export declare const WalletType: {
|
|
11
11
|
readonly Default: "default";
|
|
@@ -15,8 +15,8 @@ export declare const WalletType: {
|
|
|
15
15
|
* Type of a wallet.
|
|
16
16
|
*
|
|
17
17
|
* @remarks
|
|
18
|
-
* - `default`: The
|
|
19
|
-
* - `general`:
|
|
18
|
+
* - `default`: The system-generated wallet automatically created when an account is granted the wallet capability.
|
|
19
|
+
* - `general`: An additional, user-defined wallet created via API or Dashboard.
|
|
20
20
|
*/
|
|
21
21
|
export type WalletType = ClosedEnum<typeof WalletType>;
|
|
22
22
|
/** @internal */
|
|
@@ -42,8 +42,8 @@ const z = __importStar(require("zod"));
|
|
|
42
42
|
* Type of a wallet.
|
|
43
43
|
*
|
|
44
44
|
* @remarks
|
|
45
|
-
* - `default`: The
|
|
46
|
-
* - `general`:
|
|
45
|
+
* - `default`: The system-generated wallet automatically created when an account is granted the wallet capability.
|
|
46
|
+
* - `general`: An additional, user-defined wallet created via API or Dashboard.
|
|
47
47
|
*/
|
|
48
48
|
exports.WalletType = {
|
|
49
49
|
Default: "default",
|
|
@@ -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 DeleteImageGlobals = {
|
|
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 DeleteImageRequest = {
|
|
21
|
+
accountID: string;
|
|
22
|
+
imageID: string;
|
|
23
|
+
};
|
|
24
|
+
export type DeleteImageResponse = {
|
|
25
|
+
headers: {
|
|
26
|
+
[k: string]: Array<string>;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
/** @internal */
|
|
30
|
+
export declare const DeleteImageGlobals$inboundSchema: z.ZodType<DeleteImageGlobals, z.ZodTypeDef, unknown>;
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type DeleteImageGlobals$Outbound = {
|
|
33
|
+
"x-moov-version": string;
|
|
34
|
+
};
|
|
35
|
+
/** @internal */
|
|
36
|
+
export declare const DeleteImageGlobals$outboundSchema: z.ZodType<DeleteImageGlobals$Outbound, z.ZodTypeDef, DeleteImageGlobals>;
|
|
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 DeleteImageGlobals$ {
|
|
42
|
+
/** @deprecated use `DeleteImageGlobals$inboundSchema` instead. */
|
|
43
|
+
const inboundSchema: z.ZodType<DeleteImageGlobals, z.ZodTypeDef, unknown>;
|
|
44
|
+
/** @deprecated use `DeleteImageGlobals$outboundSchema` instead. */
|
|
45
|
+
const outboundSchema: z.ZodType<DeleteImageGlobals$Outbound, z.ZodTypeDef, DeleteImageGlobals>;
|
|
46
|
+
/** @deprecated use `DeleteImageGlobals$Outbound` instead. */
|
|
47
|
+
type Outbound = DeleteImageGlobals$Outbound;
|
|
48
|
+
}
|
|
49
|
+
export declare function deleteImageGlobalsToJSON(deleteImageGlobals: DeleteImageGlobals): string;
|
|
50
|
+
export declare function deleteImageGlobalsFromJSON(jsonString: string): SafeParseResult<DeleteImageGlobals, SDKValidationError>;
|
|
51
|
+
/** @internal */
|
|
52
|
+
export declare const DeleteImageRequest$inboundSchema: z.ZodType<DeleteImageRequest, z.ZodTypeDef, unknown>;
|
|
53
|
+
/** @internal */
|
|
54
|
+
export type DeleteImageRequest$Outbound = {
|
|
55
|
+
accountID: string;
|
|
56
|
+
imageID: string;
|
|
57
|
+
};
|
|
58
|
+
/** @internal */
|
|
59
|
+
export declare const DeleteImageRequest$outboundSchema: z.ZodType<DeleteImageRequest$Outbound, z.ZodTypeDef, DeleteImageRequest>;
|
|
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 DeleteImageRequest$ {
|
|
65
|
+
/** @deprecated use `DeleteImageRequest$inboundSchema` instead. */
|
|
66
|
+
const inboundSchema: z.ZodType<DeleteImageRequest, z.ZodTypeDef, unknown>;
|
|
67
|
+
/** @deprecated use `DeleteImageRequest$outboundSchema` instead. */
|
|
68
|
+
const outboundSchema: z.ZodType<DeleteImageRequest$Outbound, z.ZodTypeDef, DeleteImageRequest>;
|
|
69
|
+
/** @deprecated use `DeleteImageRequest$Outbound` instead. */
|
|
70
|
+
type Outbound = DeleteImageRequest$Outbound;
|
|
71
|
+
}
|
|
72
|
+
export declare function deleteImageRequestToJSON(deleteImageRequest: DeleteImageRequest): string;
|
|
73
|
+
export declare function deleteImageRequestFromJSON(jsonString: string): SafeParseResult<DeleteImageRequest, SDKValidationError>;
|
|
74
|
+
/** @internal */
|
|
75
|
+
export declare const DeleteImageResponse$inboundSchema: z.ZodType<DeleteImageResponse, z.ZodTypeDef, unknown>;
|
|
76
|
+
/** @internal */
|
|
77
|
+
export type DeleteImageResponse$Outbound = {
|
|
78
|
+
Headers: {
|
|
79
|
+
[k: string]: Array<string>;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
/** @internal */
|
|
83
|
+
export declare const DeleteImageResponse$outboundSchema: z.ZodType<DeleteImageResponse$Outbound, z.ZodTypeDef, DeleteImageResponse>;
|
|
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 DeleteImageResponse$ {
|
|
89
|
+
/** @deprecated use `DeleteImageResponse$inboundSchema` instead. */
|
|
90
|
+
const inboundSchema: z.ZodType<DeleteImageResponse, z.ZodTypeDef, unknown>;
|
|
91
|
+
/** @deprecated use `DeleteImageResponse$outboundSchema` instead. */
|
|
92
|
+
const outboundSchema: z.ZodType<DeleteImageResponse$Outbound, z.ZodTypeDef, DeleteImageResponse>;
|
|
93
|
+
/** @deprecated use `DeleteImageResponse$Outbound` instead. */
|
|
94
|
+
type Outbound = DeleteImageResponse$Outbound;
|
|
95
|
+
}
|
|
96
|
+
export declare function deleteImageResponseToJSON(deleteImageResponse: DeleteImageResponse): string;
|
|
97
|
+
export declare function deleteImageResponseFromJSON(jsonString: string): SafeParseResult<DeleteImageResponse, SDKValidationError>;
|
|
98
|
+
//# sourceMappingURL=deleteimage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteimage.d.ts","sourceRoot":"","sources":["../../src/models/operations/deleteimage.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;;;;;;;;;;OAYG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,E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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.DeleteImageResponse$ = exports.DeleteImageResponse$outboundSchema = exports.DeleteImageResponse$inboundSchema = exports.DeleteImageRequest$ = exports.DeleteImageRequest$outboundSchema = exports.DeleteImageRequest$inboundSchema = exports.DeleteImageGlobals$ = exports.DeleteImageGlobals$outboundSchema = exports.DeleteImageGlobals$inboundSchema = void 0;
|
|
40
|
+
exports.deleteImageGlobalsToJSON = deleteImageGlobalsToJSON;
|
|
41
|
+
exports.deleteImageGlobalsFromJSON = deleteImageGlobalsFromJSON;
|
|
42
|
+
exports.deleteImageRequestToJSON = deleteImageRequestToJSON;
|
|
43
|
+
exports.deleteImageRequestFromJSON = deleteImageRequestFromJSON;
|
|
44
|
+
exports.deleteImageResponseToJSON = deleteImageResponseToJSON;
|
|
45
|
+
exports.deleteImageResponseFromJSON = deleteImageResponseFromJSON;
|
|
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.DeleteImageGlobals$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.DeleteImageGlobals$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 DeleteImageGlobals$;
|
|
70
|
+
(function (DeleteImageGlobals$) {
|
|
71
|
+
/** @deprecated use `DeleteImageGlobals$inboundSchema` instead. */
|
|
72
|
+
DeleteImageGlobals$.inboundSchema = exports.DeleteImageGlobals$inboundSchema;
|
|
73
|
+
/** @deprecated use `DeleteImageGlobals$outboundSchema` instead. */
|
|
74
|
+
DeleteImageGlobals$.outboundSchema = exports.DeleteImageGlobals$outboundSchema;
|
|
75
|
+
})(DeleteImageGlobals$ || (exports.DeleteImageGlobals$ = DeleteImageGlobals$ = {}));
|
|
76
|
+
function deleteImageGlobalsToJSON(deleteImageGlobals) {
|
|
77
|
+
return JSON.stringify(exports.DeleteImageGlobals$outboundSchema.parse(deleteImageGlobals));
|
|
78
|
+
}
|
|
79
|
+
function deleteImageGlobalsFromJSON(jsonString) {
|
|
80
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeleteImageGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeleteImageGlobals' from JSON`);
|
|
81
|
+
}
|
|
82
|
+
/** @internal */
|
|
83
|
+
exports.DeleteImageRequest$inboundSchema = z.object({
|
|
84
|
+
accountID: z.string(),
|
|
85
|
+
imageID: z.string(),
|
|
86
|
+
});
|
|
87
|
+
/** @internal */
|
|
88
|
+
exports.DeleteImageRequest$outboundSchema = z.object({
|
|
89
|
+
accountID: z.string(),
|
|
90
|
+
imageID: 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 DeleteImageRequest$;
|
|
97
|
+
(function (DeleteImageRequest$) {
|
|
98
|
+
/** @deprecated use `DeleteImageRequest$inboundSchema` instead. */
|
|
99
|
+
DeleteImageRequest$.inboundSchema = exports.DeleteImageRequest$inboundSchema;
|
|
100
|
+
/** @deprecated use `DeleteImageRequest$outboundSchema` instead. */
|
|
101
|
+
DeleteImageRequest$.outboundSchema = exports.DeleteImageRequest$outboundSchema;
|
|
102
|
+
})(DeleteImageRequest$ || (exports.DeleteImageRequest$ = DeleteImageRequest$ = {}));
|
|
103
|
+
function deleteImageRequestToJSON(deleteImageRequest) {
|
|
104
|
+
return JSON.stringify(exports.DeleteImageRequest$outboundSchema.parse(deleteImageRequest));
|
|
105
|
+
}
|
|
106
|
+
function deleteImageRequestFromJSON(jsonString) {
|
|
107
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeleteImageRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeleteImageRequest' from JSON`);
|
|
108
|
+
}
|
|
109
|
+
/** @internal */
|
|
110
|
+
exports.DeleteImageResponse$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.DeleteImageResponse$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 DeleteImageResponse$;
|
|
130
|
+
(function (DeleteImageResponse$) {
|
|
131
|
+
/** @deprecated use `DeleteImageResponse$inboundSchema` instead. */
|
|
132
|
+
DeleteImageResponse$.inboundSchema = exports.DeleteImageResponse$inboundSchema;
|
|
133
|
+
/** @deprecated use `DeleteImageResponse$outboundSchema` instead. */
|
|
134
|
+
DeleteImageResponse$.outboundSchema = exports.DeleteImageResponse$outboundSchema;
|
|
135
|
+
})(DeleteImageResponse$ || (exports.DeleteImageResponse$ = DeleteImageResponse$ = {}));
|
|
136
|
+
function deleteImageResponseToJSON(deleteImageResponse) {
|
|
137
|
+
return JSON.stringify(exports.DeleteImageResponse$outboundSchema.parse(deleteImageResponse));
|
|
138
|
+
}
|
|
139
|
+
function deleteImageResponseFromJSON(jsonString) {
|
|
140
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DeleteImageResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DeleteImageResponse' from JSON`);
|
|
141
|
+
}
|
|
142
|
+
//# sourceMappingURL=deleteimage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deleteimage.js","sourceRoot":"","sources":["../../src/models/operations/deleteimage.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8EH,4DAMC;AAED,gEAQC;AAyCD,4DAMC;AAED,gEAQC;AA8CD,8DAMC;AAED,kEAQC;AAnND,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AA8BjD,gBAAgB;AACH,QAAA,gCAAgC,GAIzC,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,iCAAiC,GAI1C,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;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,YAAY,EAAE,gBAAgB;KAC/B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAG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,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,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 GetImageMetadataGlobals = {
|
|
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 GetImageMetadataRequest = {
|
|
22
|
+
accountID: string;
|
|
23
|
+
imageID: string;
|
|
24
|
+
};
|
|
25
|
+
export type GetImageMetadataResponse = {
|
|
26
|
+
headers: {
|
|
27
|
+
[k: string]: Array<string>;
|
|
28
|
+
};
|
|
29
|
+
result: components.ImageMetadata;
|
|
30
|
+
};
|
|
31
|
+
/** @internal */
|
|
32
|
+
export declare const GetImageMetadataGlobals$inboundSchema: z.ZodType<GetImageMetadataGlobals, z.ZodTypeDef, unknown>;
|
|
33
|
+
/** @internal */
|
|
34
|
+
export type GetImageMetadataGlobals$Outbound = {
|
|
35
|
+
"x-moov-version": string;
|
|
36
|
+
};
|
|
37
|
+
/** @internal */
|
|
38
|
+
export declare const GetImageMetadataGlobals$outboundSchema: z.ZodType<GetImageMetadataGlobals$Outbound, z.ZodTypeDef, GetImageMetadataGlobals>;
|
|
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 GetImageMetadataGlobals$ {
|
|
44
|
+
/** @deprecated use `GetImageMetadataGlobals$inboundSchema` instead. */
|
|
45
|
+
const inboundSchema: z.ZodType<GetImageMetadataGlobals, z.ZodTypeDef, unknown>;
|
|
46
|
+
/** @deprecated use `GetImageMetadataGlobals$outboundSchema` instead. */
|
|
47
|
+
const outboundSchema: z.ZodType<GetImageMetadataGlobals$Outbound, z.ZodTypeDef, GetImageMetadataGlobals>;
|
|
48
|
+
/** @deprecated use `GetImageMetadataGlobals$Outbound` instead. */
|
|
49
|
+
type Outbound = GetImageMetadataGlobals$Outbound;
|
|
50
|
+
}
|
|
51
|
+
export declare function getImageMetadataGlobalsToJSON(getImageMetadataGlobals: GetImageMetadataGlobals): string;
|
|
52
|
+
export declare function getImageMetadataGlobalsFromJSON(jsonString: string): SafeParseResult<GetImageMetadataGlobals, SDKValidationError>;
|
|
53
|
+
/** @internal */
|
|
54
|
+
export declare const GetImageMetadataRequest$inboundSchema: z.ZodType<GetImageMetadataRequest, z.ZodTypeDef, unknown>;
|
|
55
|
+
/** @internal */
|
|
56
|
+
export type GetImageMetadataRequest$Outbound = {
|
|
57
|
+
accountID: string;
|
|
58
|
+
imageID: string;
|
|
59
|
+
};
|
|
60
|
+
/** @internal */
|
|
61
|
+
export declare const GetImageMetadataRequest$outboundSchema: z.ZodType<GetImageMetadataRequest$Outbound, z.ZodTypeDef, GetImageMetadataRequest>;
|
|
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 GetImageMetadataRequest$ {
|
|
67
|
+
/** @deprecated use `GetImageMetadataRequest$inboundSchema` instead. */
|
|
68
|
+
const inboundSchema: z.ZodType<GetImageMetadataRequest, z.ZodTypeDef, unknown>;
|
|
69
|
+
/** @deprecated use `GetImageMetadataRequest$outboundSchema` instead. */
|
|
70
|
+
const outboundSchema: z.ZodType<GetImageMetadataRequest$Outbound, z.ZodTypeDef, GetImageMetadataRequest>;
|
|
71
|
+
/** @deprecated use `GetImageMetadataRequest$Outbound` instead. */
|
|
72
|
+
type Outbound = GetImageMetadataRequest$Outbound;
|
|
73
|
+
}
|
|
74
|
+
export declare function getImageMetadataRequestToJSON(getImageMetadataRequest: GetImageMetadataRequest): string;
|
|
75
|
+
export declare function getImageMetadataRequestFromJSON(jsonString: string): SafeParseResult<GetImageMetadataRequest, SDKValidationError>;
|
|
76
|
+
/** @internal */
|
|
77
|
+
export declare const GetImageMetadataResponse$inboundSchema: z.ZodType<GetImageMetadataResponse, z.ZodTypeDef, unknown>;
|
|
78
|
+
/** @internal */
|
|
79
|
+
export type GetImageMetadataResponse$Outbound = {
|
|
80
|
+
Headers: {
|
|
81
|
+
[k: string]: Array<string>;
|
|
82
|
+
};
|
|
83
|
+
Result: components.ImageMetadata$Outbound;
|
|
84
|
+
};
|
|
85
|
+
/** @internal */
|
|
86
|
+
export declare const GetImageMetadataResponse$outboundSchema: z.ZodType<GetImageMetadataResponse$Outbound, z.ZodTypeDef, GetImageMetadataResponse>;
|
|
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 GetImageMetadataResponse$ {
|
|
92
|
+
/** @deprecated use `GetImageMetadataResponse$inboundSchema` instead. */
|
|
93
|
+
const inboundSchema: z.ZodType<GetImageMetadataResponse, z.ZodTypeDef, unknown>;
|
|
94
|
+
/** @deprecated use `GetImageMetadataResponse$outboundSchema` instead. */
|
|
95
|
+
const outboundSchema: z.ZodType<GetImageMetadataResponse$Outbound, z.ZodTypeDef, GetImageMetadataResponse>;
|
|
96
|
+
/** @deprecated use `GetImageMetadataResponse$Outbound` instead. */
|
|
97
|
+
type Outbound = GetImageMetadataResponse$Outbound;
|
|
98
|
+
}
|
|
99
|
+
export declare function getImageMetadataResponseToJSON(getImageMetadataResponse: GetImageMetadataResponse): string;
|
|
100
|
+
export declare function getImageMetadataResponseFromJSON(jsonString: string): SafeParseResult<GetImageMetadataResponse, SDKValidationError>;
|
|
101
|
+
//# sourceMappingURL=getimagemetadata.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getimagemetadata.d.ts","sourceRoot":"","sources":["../../src/models/operations/getimagemetadata.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,uBAAuB,GAAG;IACpC;;;;;;;;;;;;OAYG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,aAAa,CAAC;CAClC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,uBAAu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B,6BAA6B,CAC3C,uBAAuB,EAAE,uBAAuB,GAC/C,MAAM,CAIR;AAED,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,uBAAuB,EAAE,kBAAkB,CAAC,CAM9D;AAED,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,wBAAwB,EACxB,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,iCAAiC,GAAG;IAC9C,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,UAAU,CAAC,sBAAsB,CAAC;CAC3C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,iCAAiC,EACjC,CAAC,CAAC,UAAU,EACZ,wBAAwB,CASxB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,yBAAyB,CAAC;IACzC,wEAAwE;IACjE,MAAM,aAAa,4DAAyC,CAAC;IACpE,yEAAyE;IAClE,MAAM,cAAc,sFAA0C,CAAC;IACtE,mEAAmE;IACnE,KAAY,QAAQ,GAAG,iCAAiC,CAAC;CAC1D;AAED,wBAAgB,8BAA8B,CAC5C,wBAAwB,EAAE,wBAAwB,GACjD,MAAM,CAIR;AAED,wBAAgB,gCAAgC,CAC9C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,wBAAwB,EAAE,kBAAkB,CAAC,CAM/D"}
|
|
@@ -0,0 +1,147 @@
|
|
|
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.GetImageMetadataResponse$ = exports.GetImageMetadataResponse$outboundSchema = exports.GetImageMetadataResponse$inboundSchema = exports.GetImageMetadataRequest$ = exports.GetImageMetadataRequest$outboundSchema = exports.GetImageMetadataRequest$inboundSchema = exports.GetImageMetadataGlobals$ = exports.GetImageMetadataGlobals$outboundSchema = exports.GetImageMetadataGlobals$inboundSchema = void 0;
|
|
40
|
+
exports.getImageMetadataGlobalsToJSON = getImageMetadataGlobalsToJSON;
|
|
41
|
+
exports.getImageMetadataGlobalsFromJSON = getImageMetadataGlobalsFromJSON;
|
|
42
|
+
exports.getImageMetadataRequestToJSON = getImageMetadataRequestToJSON;
|
|
43
|
+
exports.getImageMetadataRequestFromJSON = getImageMetadataRequestFromJSON;
|
|
44
|
+
exports.getImageMetadataResponseToJSON = getImageMetadataResponseToJSON;
|
|
45
|
+
exports.getImageMetadataResponseFromJSON = getImageMetadataResponseFromJSON;
|
|
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.GetImageMetadataGlobals$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.GetImageMetadataGlobals$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 GetImageMetadataGlobals$;
|
|
71
|
+
(function (GetImageMetadataGlobals$) {
|
|
72
|
+
/** @deprecated use `GetImageMetadataGlobals$inboundSchema` instead. */
|
|
73
|
+
GetImageMetadataGlobals$.inboundSchema = exports.GetImageMetadataGlobals$inboundSchema;
|
|
74
|
+
/** @deprecated use `GetImageMetadataGlobals$outboundSchema` instead. */
|
|
75
|
+
GetImageMetadataGlobals$.outboundSchema = exports.GetImageMetadataGlobals$outboundSchema;
|
|
76
|
+
})(GetImageMetadataGlobals$ || (exports.GetImageMetadataGlobals$ = GetImageMetadataGlobals$ = {}));
|
|
77
|
+
function getImageMetadataGlobalsToJSON(getImageMetadataGlobals) {
|
|
78
|
+
return JSON.stringify(exports.GetImageMetadataGlobals$outboundSchema.parse(getImageMetadataGlobals));
|
|
79
|
+
}
|
|
80
|
+
function getImageMetadataGlobalsFromJSON(jsonString) {
|
|
81
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetImageMetadataGlobals$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetImageMetadataGlobals' from JSON`);
|
|
82
|
+
}
|
|
83
|
+
/** @internal */
|
|
84
|
+
exports.GetImageMetadataRequest$inboundSchema = z.object({
|
|
85
|
+
accountID: z.string(),
|
|
86
|
+
imageID: z.string(),
|
|
87
|
+
});
|
|
88
|
+
/** @internal */
|
|
89
|
+
exports.GetImageMetadataRequest$outboundSchema = z.object({
|
|
90
|
+
accountID: z.string(),
|
|
91
|
+
imageID: z.string(),
|
|
92
|
+
});
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
96
|
+
*/
|
|
97
|
+
var GetImageMetadataRequest$;
|
|
98
|
+
(function (GetImageMetadataRequest$) {
|
|
99
|
+
/** @deprecated use `GetImageMetadataRequest$inboundSchema` instead. */
|
|
100
|
+
GetImageMetadataRequest$.inboundSchema = exports.GetImageMetadataRequest$inboundSchema;
|
|
101
|
+
/** @deprecated use `GetImageMetadataRequest$outboundSchema` instead. */
|
|
102
|
+
GetImageMetadataRequest$.outboundSchema = exports.GetImageMetadataRequest$outboundSchema;
|
|
103
|
+
})(GetImageMetadataRequest$ || (exports.GetImageMetadataRequest$ = GetImageMetadataRequest$ = {}));
|
|
104
|
+
function getImageMetadataRequestToJSON(getImageMetadataRequest) {
|
|
105
|
+
return JSON.stringify(exports.GetImageMetadataRequest$outboundSchema.parse(getImageMetadataRequest));
|
|
106
|
+
}
|
|
107
|
+
function getImageMetadataRequestFromJSON(jsonString) {
|
|
108
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetImageMetadataRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetImageMetadataRequest' from JSON`);
|
|
109
|
+
}
|
|
110
|
+
/** @internal */
|
|
111
|
+
exports.GetImageMetadataResponse$inboundSchema = z.object({
|
|
112
|
+
Headers: z.record(z.array(z.string())),
|
|
113
|
+
Result: components.ImageMetadata$inboundSchema,
|
|
114
|
+
}).transform((v) => {
|
|
115
|
+
return (0, primitives_js_1.remap)(v, {
|
|
116
|
+
"Headers": "headers",
|
|
117
|
+
"Result": "result",
|
|
118
|
+
});
|
|
119
|
+
});
|
|
120
|
+
/** @internal */
|
|
121
|
+
exports.GetImageMetadataResponse$outboundSchema = z.object({
|
|
122
|
+
headers: z.record(z.array(z.string())),
|
|
123
|
+
result: components.ImageMetadata$outboundSchema,
|
|
124
|
+
}).transform((v) => {
|
|
125
|
+
return (0, primitives_js_1.remap)(v, {
|
|
126
|
+
headers: "Headers",
|
|
127
|
+
result: "Result",
|
|
128
|
+
});
|
|
129
|
+
});
|
|
130
|
+
/**
|
|
131
|
+
* @internal
|
|
132
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
133
|
+
*/
|
|
134
|
+
var GetImageMetadataResponse$;
|
|
135
|
+
(function (GetImageMetadataResponse$) {
|
|
136
|
+
/** @deprecated use `GetImageMetadataResponse$inboundSchema` instead. */
|
|
137
|
+
GetImageMetadataResponse$.inboundSchema = exports.GetImageMetadataResponse$inboundSchema;
|
|
138
|
+
/** @deprecated use `GetImageMetadataResponse$outboundSchema` instead. */
|
|
139
|
+
GetImageMetadataResponse$.outboundSchema = exports.GetImageMetadataResponse$outboundSchema;
|
|
140
|
+
})(GetImageMetadataResponse$ || (exports.GetImageMetadataResponse$ = GetImageMetadataResponse$ = {}));
|
|
141
|
+
function getImageMetadataResponseToJSON(getImageMetadataResponse) {
|
|
142
|
+
return JSON.stringify(exports.GetImageMetadataResponse$outboundSchema.parse(getImageMetadataResponse));
|
|
143
|
+
}
|
|
144
|
+
function getImageMetadataResponseFromJSON(jsonString) {
|
|
145
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetImageMetadataResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetImageMetadataResponse' from JSON`);
|
|
146
|
+
}
|
|
147
|
+
//# sourceMappingURL=getimagemetadata.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getimagemetadata.js","sourceRoot":"","sources":["../../src/models/operations/getimagemetadata.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgFH,sEAMC;AAED,0EAQC;AAyCD,sEAMC;AAED,0EAQC;AAmDD,wEAMC;AAED,4EAQC;AA1ND,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAEjD,mEAAqD;AA8BrD,gBAAgB;AACH,QAAA,qCAAqC,GAI9C,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,sCAAsC,GAI/C,CAAC,CAAC,MAAM,CAAC;IACX,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC;CAChD,CAAC,CAAC,SAAS,CAAC,CAAC,CA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