@novu/api 0.0.5 → 0.1.1
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/FUNCTIONS.md +15 -8
- package/README.md +218 -45
- package/docs/sdks/credentials/README.md +44 -0
- package/docs/sdks/messages/README.md +8 -2
- package/docs/sdks/notifications/README.md +2 -32
- package/docs/sdks/novu/README.md +247 -244
- package/docs/sdks/novumessages/README.md +4 -4
- package/docs/sdks/novunotifications/README.md +4 -2
- package/docs/sdks/preferences/README.md +4 -4
- package/docs/sdks/properties/README.md +2 -2
- package/docs/sdks/subscribers/README.md +2 -4
- package/funcs/create.d.ts +9 -0
- package/funcs/create.d.ts.map +1 -0
- package/funcs/{healthControllerHealthCheck.js → create.js} +17 -16
- package/funcs/create.js.map +1 -0
- package/funcs/supportControllerFetchUserOrganizations.d.ts +10 -0
- package/funcs/supportControllerFetchUserOrganizations.d.ts.map +1 -0
- package/funcs/{generateRandomNumber.js → supportControllerFetchUserOrganizations.js} +16 -31
- package/funcs/supportControllerFetchUserOrganizations.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/schemas.d.ts +1 -1
- package/lib/schemas.d.ts.map +1 -1
- package/lib/schemas.js +4 -1
- package/lib/schemas.js.map +1 -1
- package/models/components/createsupportthreaddto.d.ts +29 -0
- package/models/components/createsupportthreaddto.d.ts.map +1 -0
- package/models/components/{idempotencetestingresponse.js → createsupportthreaddto.js} +19 -19
- package/models/components/createsupportthreaddto.js.map +1 -0
- package/models/components/index.d.ts +2 -3
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -3
- package/models/components/index.js.map +1 -1
- package/models/components/plaincardrequestdto.d.ts +100 -0
- package/models/components/plaincardrequestdto.d.ts.map +1 -0
- package/models/components/plaincardrequestdto.js +139 -0
- package/models/components/plaincardrequestdto.js.map +1 -0
- package/models/errors/index.d.ts +0 -1
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -1
- package/models/errors/index.js.map +1 -1
- package/models/operations/index.d.ts +2 -3
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -3
- package/models/operations/index.js.map +1 -1
- package/models/operations/supportcontrollercreatethread.d.ts +35 -0
- package/models/operations/supportcontrollercreatethread.d.ts.map +1 -0
- package/models/operations/supportcontrollercreatethread.js +73 -0
- package/models/operations/supportcontrollercreatethread.js.map +1 -0
- package/models/operations/supportcontrollerfetchuserorganizations.d.ts +56 -0
- package/models/operations/supportcontrollerfetchuserorganizations.d.ts.map +1 -0
- package/models/operations/supportcontrollerfetchuserorganizations.js +96 -0
- package/models/operations/supportcontrollerfetchuserorganizations.js.map +1 -0
- package/package.json +5 -1
- package/sdk/sdk.d.ts +8 -3
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +14 -12
- package/sdk/sdk.js.map +1 -1
- package/sources/json-development.json +116 -1161
- package/src/funcs/{testIdempotency.ts → create.ts} +15 -57
- package/src/funcs/{healthControllerHealthCheck.ts → supportControllerFetchUserOrganizations.ts} +22 -25
- package/src/lib/config.ts +3 -3
- package/src/lib/schemas.ts +5 -0
- package/src/models/components/createsupportthreaddto.ts +66 -0
- package/src/models/components/index.ts +2 -3
- package/src/models/components/plaincardrequestdto.ts +223 -0
- package/src/models/errors/index.ts +0 -1
- package/src/models/operations/index.ts +2 -3
- package/src/models/operations/supportcontrollercreatethread.ts +90 -0
- package/src/models/operations/supportcontrollerfetchuserorganizations.ts +163 -0
- package/src/sdk/sdk.ts +34 -38
- package/funcs/generateRandomNumber.d.ts +0 -10
- package/funcs/generateRandomNumber.d.ts.map +0 -1
- package/funcs/generateRandomNumber.js.map +0 -1
- package/funcs/healthControllerHealthCheck.d.ts +0 -10
- package/funcs/healthControllerHealthCheck.d.ts.map +0 -1
- package/funcs/healthControllerHealthCheck.js.map +0 -1
- package/funcs/testIdempotency.d.ts +0 -11
- package/funcs/testIdempotency.d.ts.map +0 -1
- package/funcs/testIdempotency.js +0 -129
- package/funcs/testIdempotency.js.map +0 -1
- package/models/components/idempotencetestingresponse.d.ts +0 -32
- package/models/components/idempotencetestingresponse.d.ts.map +0 -1
- package/models/components/idempotencetestingresponse.js.map +0 -1
- package/models/components/idempotencybehaviorenum.d.ts +0 -37
- package/models/components/idempotencybehaviorenum.d.ts.map +0 -1
- package/models/components/idempotencybehaviorenum.js +0 -54
- package/models/components/idempotencybehaviorenum.js.map +0 -1
- package/models/components/idempotencytestingdto.d.ts +0 -33
- package/models/components/idempotencytestingdto.d.ts.map +0 -1
- package/models/components/idempotencytestingdto.js +0 -60
- package/models/components/idempotencytestingdto.js.map +0 -1
- package/models/errors/healthcontrollerhealthcheck.d.ts +0 -153
- package/models/errors/healthcontrollerhealthcheck.d.ts.map +0 -1
- package/models/errors/healthcontrollerhealthcheck.js +0 -190
- package/models/errors/healthcontrollerhealthcheck.js.map +0 -1
- package/models/operations/healthcontrollergeneraterandomnumber.d.ts +0 -64
- package/models/operations/healthcontrollergeneraterandomnumber.d.ts.map +0 -1
- package/models/operations/healthcontrollergeneraterandomnumber.js +0 -108
- package/models/operations/healthcontrollergeneraterandomnumber.js.map +0 -1
- package/models/operations/healthcontrollerhealthcheck.d.ts +0 -165
- package/models/operations/healthcontrollerhealthcheck.d.ts.map +0 -1
- package/models/operations/healthcontrollerhealthcheck.js +0 -206
- package/models/operations/healthcontrollerhealthcheck.js.map +0 -1
- package/models/operations/healthcontrollertestidempotency.d.ts +0 -66
- package/models/operations/healthcontrollertestidempotency.d.ts.map +0 -1
- package/models/operations/healthcontrollertestidempotency.js +0 -112
- package/models/operations/healthcontrollertestidempotency.js.map +0 -1
- package/src/funcs/generateRandomNumber.ts +0 -183
- package/src/models/components/idempotencetestingresponse.ts +0 -69
- package/src/models/components/idempotencybehaviorenum.ts +0 -42
- package/src/models/components/idempotencytestingdto.ts +0 -74
- package/src/models/errors/healthcontrollerhealthcheck.ts +0 -291
- package/src/models/operations/healthcontrollergeneraterandomnumber.ts +0 -177
- package/src/models/operations/healthcontrollerhealthcheck.ts +0 -358
- package/src/models/operations/healthcontrollertestidempotency.ts +0 -174
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,6DAA2C;AAC3C,mEAAiD;AACjD,sFAAoE;AACpE,0EAAwD;AACxD,uEAAqD;AACrD,2EAAyD;AACzD,iFAA+D;AAC/D,+EAA6D;AAC7D,gEAA8C;AAC9C,wDAAsC;AACtC,qDAAmC;AACnC,gEAA8C;AAC9C,kEAAgD;AAChD,4DAA0C;AAC1C,uEAAqD;AACrD,+DAA6C;AAC7C,2DAAyC;AACzC,sDAAoC;AACpC,0DAAwC;AACxC,6DAA2C;AAC3C,0DAAwC;AACxC,yDAAuC;AACvC,uDAAqC;AACrC,uDAAqC;AACrC,4DAA0C;AAC1C,mEAAiD;AACjD,kEAAgD;AAChD,6DAA2C;AAC3C,8DAA4C;AAC5C,sDAAoC;AACpC,sDAAoC;AACpC,4DAA0C;AAC1C,8DAA4C;AAC5C,gEAA8C;AAC9C,mEAAiD;AACjD,yDAAuC;AACvC,6DAA2C;AAC3C,4DAA0C;AAC1C,2DAAyC;AACzC,sDAAoC;AACpC,sDAAoC;AACpC,kDAAgC;AAChC,wDAAsC;AACtC,0DAAwC;AACxC,kEAAgD;AAChD,kEAAgD;AAChD,4DAA0C;AAC1C,0DAAwC;AACxC,uDAAqC;AACrC,0DAAwC;AACxC,+DAA6C;AAC7C,2EAAyD;AACzD,2DAAyC;AACzC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/components/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,6DAA2C;AAC3C,mEAAiD;AACjD,sFAAoE;AACpE,0EAAwD;AACxD,uEAAqD;AACrD,2EAAyD;AACzD,iFAA+D;AAC/D,+EAA6D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AClC,4DAA0C;AAC1C,iEAA+C;AAC/C,4DAA0C;AAC1C,6DAA2C;AAC3C,wDAAsC;AACtC,wDAAsC;AACtC,qDAAmC;AACnC,mDAAiC;AACjC,gDAA8B;AAC9B,uDAAqC;AACrC,0DAAwC;AACxC,8DAA4C;AAC5C,+DAA6C;AAC7C,mEAAiD;AACjD,iEAA+C;AAC/C,uEAAqD;AACrD,uDAAqC;AACrC,2DAAyC;AACzC,4DAA0C;AAC1C,mEAAiD;AACjD,yEAAuD;AACvD,mFAAiE;AACjE,4EAA0D;AAC1D,mFAAiE;AACjE,4EAA0D;AAC1D,6EAA2D;AAC3D,kEAAgD;AAChD,wDAAsC;AACtC,sEAAoD"}
|
|
@@ -0,0 +1,100 @@
|
|
|
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 Customer = {};
|
|
5
|
+
export type PlainCardRequestDtoTenant = {};
|
|
6
|
+
export type Thread = {};
|
|
7
|
+
export type PlainCardRequestDto = {
|
|
8
|
+
cardKeys?: Array<string> | undefined;
|
|
9
|
+
customer?: Customer | null | undefined;
|
|
10
|
+
tenant?: PlainCardRequestDtoTenant | null | undefined;
|
|
11
|
+
thread?: Thread | null | undefined;
|
|
12
|
+
timestamp: string;
|
|
13
|
+
};
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const Customer$inboundSchema: z.ZodType<Customer, z.ZodTypeDef, unknown>;
|
|
16
|
+
/** @internal */
|
|
17
|
+
export type Customer$Outbound = {};
|
|
18
|
+
/** @internal */
|
|
19
|
+
export declare const Customer$outboundSchema: z.ZodType<Customer$Outbound, z.ZodTypeDef, Customer>;
|
|
20
|
+
/**
|
|
21
|
+
* @internal
|
|
22
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
23
|
+
*/
|
|
24
|
+
export declare namespace Customer$ {
|
|
25
|
+
/** @deprecated use `Customer$inboundSchema` instead. */
|
|
26
|
+
const inboundSchema: z.ZodType<Customer, z.ZodTypeDef, unknown>;
|
|
27
|
+
/** @deprecated use `Customer$outboundSchema` instead. */
|
|
28
|
+
const outboundSchema: z.ZodType<Customer$Outbound, z.ZodTypeDef, Customer>;
|
|
29
|
+
/** @deprecated use `Customer$Outbound` instead. */
|
|
30
|
+
type Outbound = Customer$Outbound;
|
|
31
|
+
}
|
|
32
|
+
export declare function customerToJSON(customer: Customer): string;
|
|
33
|
+
export declare function customerFromJSON(jsonString: string): SafeParseResult<Customer, SDKValidationError>;
|
|
34
|
+
/** @internal */
|
|
35
|
+
export declare const PlainCardRequestDtoTenant$inboundSchema: z.ZodType<PlainCardRequestDtoTenant, z.ZodTypeDef, unknown>;
|
|
36
|
+
/** @internal */
|
|
37
|
+
export type PlainCardRequestDtoTenant$Outbound = {};
|
|
38
|
+
/** @internal */
|
|
39
|
+
export declare const PlainCardRequestDtoTenant$outboundSchema: z.ZodType<PlainCardRequestDtoTenant$Outbound, z.ZodTypeDef, PlainCardRequestDtoTenant>;
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
43
|
+
*/
|
|
44
|
+
export declare namespace PlainCardRequestDtoTenant$ {
|
|
45
|
+
/** @deprecated use `PlainCardRequestDtoTenant$inboundSchema` instead. */
|
|
46
|
+
const inboundSchema: z.ZodType<PlainCardRequestDtoTenant, z.ZodTypeDef, unknown>;
|
|
47
|
+
/** @deprecated use `PlainCardRequestDtoTenant$outboundSchema` instead. */
|
|
48
|
+
const outboundSchema: z.ZodType<PlainCardRequestDtoTenant$Outbound, z.ZodTypeDef, PlainCardRequestDtoTenant>;
|
|
49
|
+
/** @deprecated use `PlainCardRequestDtoTenant$Outbound` instead. */
|
|
50
|
+
type Outbound = PlainCardRequestDtoTenant$Outbound;
|
|
51
|
+
}
|
|
52
|
+
export declare function plainCardRequestDtoTenantToJSON(plainCardRequestDtoTenant: PlainCardRequestDtoTenant): string;
|
|
53
|
+
export declare function plainCardRequestDtoTenantFromJSON(jsonString: string): SafeParseResult<PlainCardRequestDtoTenant, SDKValidationError>;
|
|
54
|
+
/** @internal */
|
|
55
|
+
export declare const Thread$inboundSchema: z.ZodType<Thread, z.ZodTypeDef, unknown>;
|
|
56
|
+
/** @internal */
|
|
57
|
+
export type Thread$Outbound = {};
|
|
58
|
+
/** @internal */
|
|
59
|
+
export declare const Thread$outboundSchema: z.ZodType<Thread$Outbound, z.ZodTypeDef, Thread>;
|
|
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 Thread$ {
|
|
65
|
+
/** @deprecated use `Thread$inboundSchema` instead. */
|
|
66
|
+
const inboundSchema: z.ZodType<Thread, z.ZodTypeDef, unknown>;
|
|
67
|
+
/** @deprecated use `Thread$outboundSchema` instead. */
|
|
68
|
+
const outboundSchema: z.ZodType<Thread$Outbound, z.ZodTypeDef, Thread>;
|
|
69
|
+
/** @deprecated use `Thread$Outbound` instead. */
|
|
70
|
+
type Outbound = Thread$Outbound;
|
|
71
|
+
}
|
|
72
|
+
export declare function threadToJSON(thread: Thread): string;
|
|
73
|
+
export declare function threadFromJSON(jsonString: string): SafeParseResult<Thread, SDKValidationError>;
|
|
74
|
+
/** @internal */
|
|
75
|
+
export declare const PlainCardRequestDto$inboundSchema: z.ZodType<PlainCardRequestDto, z.ZodTypeDef, unknown>;
|
|
76
|
+
/** @internal */
|
|
77
|
+
export type PlainCardRequestDto$Outbound = {
|
|
78
|
+
cardKeys?: Array<string> | undefined;
|
|
79
|
+
customer?: Customer$Outbound | null | undefined;
|
|
80
|
+
tenant?: PlainCardRequestDtoTenant$Outbound | null | undefined;
|
|
81
|
+
thread?: Thread$Outbound | null | undefined;
|
|
82
|
+
timestamp: string;
|
|
83
|
+
};
|
|
84
|
+
/** @internal */
|
|
85
|
+
export declare const PlainCardRequestDto$outboundSchema: z.ZodType<PlainCardRequestDto$Outbound, z.ZodTypeDef, PlainCardRequestDto>;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
89
|
+
*/
|
|
90
|
+
export declare namespace PlainCardRequestDto$ {
|
|
91
|
+
/** @deprecated use `PlainCardRequestDto$inboundSchema` instead. */
|
|
92
|
+
const inboundSchema: z.ZodType<PlainCardRequestDto, z.ZodTypeDef, unknown>;
|
|
93
|
+
/** @deprecated use `PlainCardRequestDto$outboundSchema` instead. */
|
|
94
|
+
const outboundSchema: z.ZodType<PlainCardRequestDto$Outbound, z.ZodTypeDef, PlainCardRequestDto>;
|
|
95
|
+
/** @deprecated use `PlainCardRequestDto$Outbound` instead. */
|
|
96
|
+
type Outbound = PlainCardRequestDto$Outbound;
|
|
97
|
+
}
|
|
98
|
+
export declare function plainCardRequestDtoToJSON(plainCardRequestDto: PlainCardRequestDto): string;
|
|
99
|
+
export declare function plainCardRequestDtoFromJSON(jsonString: string): SafeParseResult<PlainCardRequestDto, SDKValidationError>;
|
|
100
|
+
//# sourceMappingURL=plaincardrequestdto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plaincardrequestdto.d.ts","sourceRoot":"","sources":["../../src/models/components/plaincardrequestdto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,QAAQ,GAAG,EAAE,CAAC;AAE1B,MAAM,MAAM,yBAAyB,GAAG,EAAE,CAAC;AAE3C,MAAM,MAAM,MAAM,GAAG,EAAE,CAAC;AAExB,MAAM,MAAM,mBAAmB,GAAG;I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,MAAM,MAAM,4BAA4B,GAAG;IACzC,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC;IACrC,QAAQ,CAAC,EAAE,iBAAiB,GAAG,IAAI,GAAG,SAAS,CAAC;IAChD,MAAM,CAAC,EAAE,kCAAkC,GAAG,IAAI,GAAG,SAAS,CAAC;IAC/D,MAAM,CAAC,EAAE,eAAe,GAAG,IAAI,GAAG,SAAS,CAAC;IAC5C,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CAQnB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,oBAAoB,CAAC;IACpC,mEAAmE;IAC5D,MAAM,aAAa,uDAAoC,CAAC;IAC/D,oEAAoE;IAC7D,MAAM,cAAc,4EAAqC,CAAC;IACjE,8DAA8D;IAC9D,KAAY,QAAQ,GAAG,4BAA4B,CAAC;CACrD;AAED,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR;AAED,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
|
|
@@ -0,0 +1,139 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.plainCardRequestDtoFromJSON = exports.plainCardRequestDtoToJSON = exports.PlainCardRequestDto$ = exports.PlainCardRequestDto$outboundSchema = exports.PlainCardRequestDto$inboundSchema = exports.threadFromJSON = exports.threadToJSON = exports.Thread$ = exports.Thread$outboundSchema = exports.Thread$inboundSchema = exports.plainCardRequestDtoTenantFromJSON = exports.plainCardRequestDtoTenantToJSON = exports.PlainCardRequestDtoTenant$ = exports.PlainCardRequestDtoTenant$outboundSchema = exports.PlainCardRequestDtoTenant$inboundSchema = exports.customerFromJSON = exports.customerToJSON = exports.Customer$ = exports.Customer$outboundSchema = exports.Customer$inboundSchema = void 0;
|
|
30
|
+
const z = __importStar(require("zod"));
|
|
31
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
32
|
+
/** @internal */
|
|
33
|
+
exports.Customer$inboundSchema = z.object({});
|
|
34
|
+
/** @internal */
|
|
35
|
+
exports.Customer$outboundSchema = z.object({});
|
|
36
|
+
/**
|
|
37
|
+
* @internal
|
|
38
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
39
|
+
*/
|
|
40
|
+
var Customer$;
|
|
41
|
+
(function (Customer$) {
|
|
42
|
+
/** @deprecated use `Customer$inboundSchema` instead. */
|
|
43
|
+
Customer$.inboundSchema = exports.Customer$inboundSchema;
|
|
44
|
+
/** @deprecated use `Customer$outboundSchema` instead. */
|
|
45
|
+
Customer$.outboundSchema = exports.Customer$outboundSchema;
|
|
46
|
+
})(Customer$ || (exports.Customer$ = Customer$ = {}));
|
|
47
|
+
function customerToJSON(customer) {
|
|
48
|
+
return JSON.stringify(exports.Customer$outboundSchema.parse(customer));
|
|
49
|
+
}
|
|
50
|
+
exports.customerToJSON = customerToJSON;
|
|
51
|
+
function customerFromJSON(jsonString) {
|
|
52
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Customer$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Customer' from JSON`);
|
|
53
|
+
}
|
|
54
|
+
exports.customerFromJSON = customerFromJSON;
|
|
55
|
+
/** @internal */
|
|
56
|
+
exports.PlainCardRequestDtoTenant$inboundSchema = z.object({});
|
|
57
|
+
/** @internal */
|
|
58
|
+
exports.PlainCardRequestDtoTenant$outboundSchema = z.object({});
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
62
|
+
*/
|
|
63
|
+
var PlainCardRequestDtoTenant$;
|
|
64
|
+
(function (PlainCardRequestDtoTenant$) {
|
|
65
|
+
/** @deprecated use `PlainCardRequestDtoTenant$inboundSchema` instead. */
|
|
66
|
+
PlainCardRequestDtoTenant$.inboundSchema = exports.PlainCardRequestDtoTenant$inboundSchema;
|
|
67
|
+
/** @deprecated use `PlainCardRequestDtoTenant$outboundSchema` instead. */
|
|
68
|
+
PlainCardRequestDtoTenant$.outboundSchema = exports.PlainCardRequestDtoTenant$outboundSchema;
|
|
69
|
+
})(PlainCardRequestDtoTenant$ || (exports.PlainCardRequestDtoTenant$ = PlainCardRequestDtoTenant$ = {}));
|
|
70
|
+
function plainCardRequestDtoTenantToJSON(plainCardRequestDtoTenant) {
|
|
71
|
+
return JSON.stringify(exports.PlainCardRequestDtoTenant$outboundSchema.parse(plainCardRequestDtoTenant));
|
|
72
|
+
}
|
|
73
|
+
exports.plainCardRequestDtoTenantToJSON = plainCardRequestDtoTenantToJSON;
|
|
74
|
+
function plainCardRequestDtoTenantFromJSON(jsonString) {
|
|
75
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PlainCardRequestDtoTenant$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PlainCardRequestDtoTenant' from JSON`);
|
|
76
|
+
}
|
|
77
|
+
exports.plainCardRequestDtoTenantFromJSON = plainCardRequestDtoTenantFromJSON;
|
|
78
|
+
/** @internal */
|
|
79
|
+
exports.Thread$inboundSchema = z
|
|
80
|
+
.object({});
|
|
81
|
+
/** @internal */
|
|
82
|
+
exports.Thread$outboundSchema = z.object({});
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
86
|
+
*/
|
|
87
|
+
var Thread$;
|
|
88
|
+
(function (Thread$) {
|
|
89
|
+
/** @deprecated use `Thread$inboundSchema` instead. */
|
|
90
|
+
Thread$.inboundSchema = exports.Thread$inboundSchema;
|
|
91
|
+
/** @deprecated use `Thread$outboundSchema` instead. */
|
|
92
|
+
Thread$.outboundSchema = exports.Thread$outboundSchema;
|
|
93
|
+
})(Thread$ || (exports.Thread$ = Thread$ = {}));
|
|
94
|
+
function threadToJSON(thread) {
|
|
95
|
+
return JSON.stringify(exports.Thread$outboundSchema.parse(thread));
|
|
96
|
+
}
|
|
97
|
+
exports.threadToJSON = threadToJSON;
|
|
98
|
+
function threadFromJSON(jsonString) {
|
|
99
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Thread$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Thread' from JSON`);
|
|
100
|
+
}
|
|
101
|
+
exports.threadFromJSON = threadFromJSON;
|
|
102
|
+
/** @internal */
|
|
103
|
+
exports.PlainCardRequestDto$inboundSchema = z.object({
|
|
104
|
+
cardKeys: z.array(z.string()).optional(),
|
|
105
|
+
customer: z.nullable(z.lazy(() => exports.Customer$inboundSchema)).optional(),
|
|
106
|
+
tenant: z.nullable(z.lazy(() => exports.PlainCardRequestDtoTenant$inboundSchema))
|
|
107
|
+
.optional(),
|
|
108
|
+
thread: z.nullable(z.lazy(() => exports.Thread$inboundSchema)).optional(),
|
|
109
|
+
timestamp: z.string(),
|
|
110
|
+
});
|
|
111
|
+
/** @internal */
|
|
112
|
+
exports.PlainCardRequestDto$outboundSchema = z.object({
|
|
113
|
+
cardKeys: z.array(z.string()).optional(),
|
|
114
|
+
customer: z.nullable(z.lazy(() => exports.Customer$outboundSchema)).optional(),
|
|
115
|
+
tenant: z.nullable(z.lazy(() => exports.PlainCardRequestDtoTenant$outboundSchema))
|
|
116
|
+
.optional(),
|
|
117
|
+
thread: z.nullable(z.lazy(() => exports.Thread$outboundSchema)).optional(),
|
|
118
|
+
timestamp: z.string(),
|
|
119
|
+
});
|
|
120
|
+
/**
|
|
121
|
+
* @internal
|
|
122
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
123
|
+
*/
|
|
124
|
+
var PlainCardRequestDto$;
|
|
125
|
+
(function (PlainCardRequestDto$) {
|
|
126
|
+
/** @deprecated use `PlainCardRequestDto$inboundSchema` instead. */
|
|
127
|
+
PlainCardRequestDto$.inboundSchema = exports.PlainCardRequestDto$inboundSchema;
|
|
128
|
+
/** @deprecated use `PlainCardRequestDto$outboundSchema` instead. */
|
|
129
|
+
PlainCardRequestDto$.outboundSchema = exports.PlainCardRequestDto$outboundSchema;
|
|
130
|
+
})(PlainCardRequestDto$ || (exports.PlainCardRequestDto$ = PlainCardRequestDto$ = {}));
|
|
131
|
+
function plainCardRequestDtoToJSON(plainCardRequestDto) {
|
|
132
|
+
return JSON.stringify(exports.PlainCardRequestDto$outboundSchema.parse(plainCardRequestDto));
|
|
133
|
+
}
|
|
134
|
+
exports.plainCardRequestDtoToJSON = plainCardRequestDtoToJSON;
|
|
135
|
+
function plainCardRequestDtoFromJSON(jsonString) {
|
|
136
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.PlainCardRequestDto$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'PlainCardRequestDto' from JSON`);
|
|
137
|
+
}
|
|
138
|
+
exports.plainCardRequestDtoFromJSON = plainCardRequestDtoFromJSON;
|
|
139
|
+
//# sourceMappingURL=plaincardrequestdto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plaincardrequestdto.js","sourceRoot":"","sources":["../../src/models/components/plaincardrequestdto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;AAkBjD,gBAAgB;AACH,QAAA,sBAAsB,GAI/B,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAKjB,gBAAgB;AACH,QAAA,uBAAuB,GAIhC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB;;;GAGG;AACH,IAAiB,SAAS,CAOzB;AAPD,WAAiB,SAAS;IACxB,wDAAwD;IAC3C,uBAAa,GAAG,8BAAsB,CAAC;IACpD,yDAAyD;IAC5C,wBAAc,GAAG,+BAAuB,CAAC;AAGxD,CAAC,EAPgB,SAAS,yBAAT,SAAS,QAOzB;AAED,SAAgB,cAAc,CAAC,QAAkB;IAC/C,OAAO,IAAI,CAAC,SAAS,CAAC,+BAAuB,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;AACjE,CAAC;AAFD,wCAEC;AAED,SAAgB,gBAAgB,CAC9B,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,8BAAsB,CA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QAAQ,EAAE;IACtE,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,gDAAwC,CAAC,CAAC;SACvE,QAAQ,EAAE;IACb,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,6BAAqB,CAAC,CAAC,CAAC,QAAQ,EAAE;IAClE,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;CACtB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,oBAAoB,CAOpC;AAPD,WAAiB,oBAAoB;IACnC,mEAAmE;IACtD,kCAAa,GAAG,yCAAiC,CAAC;IAC/D,oEAAoE;IACvD,mCAAc,GAAG,0CAAkC,CAAC;AAGnE,CAAC,EAPgB,oBAAoB,oCAApB,oBAAoB,QAOpC;AAED,SAAgB,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC;AAND,8DAMC;AAED,SAAgB,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;AARD,kEAQC"}
|
package/models/errors/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC;AAC9B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC"}
|
package/models/errors/index.js
CHANGED
|
@@ -18,7 +18,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
20
|
__exportStar(require("./errordto.js"), exports);
|
|
21
|
-
__exportStar(require("./healthcontrollerhealthcheck.js"), exports);
|
|
22
21
|
__exportStar(require("./httpclienterrors.js"), exports);
|
|
23
22
|
__exportStar(require("./sdkerror.js"), exports);
|
|
24
23
|
__exportStar(require("./sdkvalidationerror.js"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,gDAA8B;AAC9B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/errors/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,gDAA8B;AAC9B,wDAAsC;AACtC,gDAA8B;AAC9B,0DAAwC;AACxC,0DAAwC"}
|
|
@@ -2,9 +2,6 @@ export * from "./eventscontrollerbroadcasteventtoall.js";
|
|
|
2
2
|
export * from "./eventscontrollercancel.js";
|
|
3
3
|
export * from "./eventscontrollertrigger.js";
|
|
4
4
|
export * from "./eventscontrollertriggerbulk.js";
|
|
5
|
-
export * from "./healthcontrollergeneraterandomnumber.js";
|
|
6
|
-
export * from "./healthcontrollerhealthcheck.js";
|
|
7
|
-
export * from "./healthcontrollertestidempotency.js";
|
|
8
5
|
export * from "./integrationscontrollercreateintegration.js";
|
|
9
6
|
export * from "./integrationscontrollergetactiveintegrations.js";
|
|
10
7
|
export * from "./integrationscontrollergetwebhooksupportstatus.js";
|
|
@@ -40,6 +37,8 @@ export * from "./subscriberscontrollerupdatesubscriberchannel.js";
|
|
|
40
37
|
export * from "./subscriberscontrollerupdatesubscriberglobalpreferences.js";
|
|
41
38
|
export * from "./subscriberscontrollerupdatesubscriberonlineflag.js";
|
|
42
39
|
export * from "./subscriberscontrollerupdatesubscriberpreference.js";
|
|
40
|
+
export * from "./supportcontrollercreatethread.js";
|
|
41
|
+
export * from "./supportcontrollerfetchuserorganizations.js";
|
|
43
42
|
export * from "./topicscontrollerassign.js";
|
|
44
43
|
export * from "./topicscontrollercreatetopic.js";
|
|
45
44
|
export * from "./topicscontrollerdeletetopic.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":"AAIA,cAAc,0CAA0C,CAAC;AACzD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":"AAIA,cAAc,0CAA0C,CAAC;AACzD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,kDAAkD,CAAC;AACjE,cAAc,oDAAoD,CAAC;AACnE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,oDAAoD,CAAC;AACnE,cAAc,kDAAkD,CAAC;AACjE,cAAc,sCAAsC,CAAC;AACrD,cAAc,sDAAsD,CAAC;AACrE,cAAc,oCAAoC,CAAC;AACnD,cAAc,mDAAmD,CAAC;AAClE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,iDAAiD,CAAC;AAChE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,uDAAuD,CAAC;AACtE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,yCAAyC,CAAC;AACxD,cAAc,0DAA0D,CAAC;AACzE,cAAc,0CAA0C,CAAC;AACzD,cAAc,qDAAqD,CAAC;AACpE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,0CAA0C,CAAC;AACzD,cAAc,mDAAmD,CAAC;AAClE,cAAc,4CAA4C,CAAC;AAC3D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,mDAAmD,CAAC;AAClE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,sDAAsD,CAAC;AACrE,cAAc,sDAAsD,CAAC;AACrE,cAAc,oCAAoC,CAAC;AACnD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yCAAyC,CAAC;AACxD,cAAc,iCAAiC,CAAC;AAChD,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC"}
|
|
@@ -21,9 +21,6 @@ __exportStar(require("./eventscontrollerbroadcasteventtoall.js"), exports);
|
|
|
21
21
|
__exportStar(require("./eventscontrollercancel.js"), exports);
|
|
22
22
|
__exportStar(require("./eventscontrollertrigger.js"), exports);
|
|
23
23
|
__exportStar(require("./eventscontrollertriggerbulk.js"), exports);
|
|
24
|
-
__exportStar(require("./healthcontrollergeneraterandomnumber.js"), exports);
|
|
25
|
-
__exportStar(require("./healthcontrollerhealthcheck.js"), exports);
|
|
26
|
-
__exportStar(require("./healthcontrollertestidempotency.js"), exports);
|
|
27
24
|
__exportStar(require("./integrationscontrollercreateintegration.js"), exports);
|
|
28
25
|
__exportStar(require("./integrationscontrollergetactiveintegrations.js"), exports);
|
|
29
26
|
__exportStar(require("./integrationscontrollergetwebhooksupportstatus.js"), exports);
|
|
@@ -59,6 +56,8 @@ __exportStar(require("./subscriberscontrollerupdatesubscriberchannel.js"), expor
|
|
|
59
56
|
__exportStar(require("./subscriberscontrollerupdatesubscriberglobalpreferences.js"), exports);
|
|
60
57
|
__exportStar(require("./subscriberscontrollerupdatesubscriberonlineflag.js"), exports);
|
|
61
58
|
__exportStar(require("./subscriberscontrollerupdatesubscriberpreference.js"), exports);
|
|
59
|
+
__exportStar(require("./supportcontrollercreatethread.js"), exports);
|
|
60
|
+
__exportStar(require("./supportcontrollerfetchuserorganizations.js"), exports);
|
|
62
61
|
__exportStar(require("./topicscontrollerassign.js"), exports);
|
|
63
62
|
__exportStar(require("./topicscontrollercreatetopic.js"), exports);
|
|
64
63
|
__exportStar(require("./topicscontrollerdeletetopic.js"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,2EAAyD;AACzD,8DAA4C;AAC5C,+DAA6C;AAC7C,mEAAiD;AACjD
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/operations/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;AAEH,2EAAyD;AACzD,8DAA4C;AAC5C,+DAA6C;AAC7C,mEAAiD;AACjD,+EAA6D;AAC7D,mFAAiE;AACjE,qFAAmE;AACnE,8EAA4D;AAC5D,+EAA6D;AAC7D,qFAAmE;AACnE,mFAAiE;AACjE,uEAAqD;AACrD,uFAAqE;AACrE,qEAAmD;AACnD,oFAAkE;AAClE,+EAA6D;AAC7D,8EAA4D;AAC5D,gFAA8D;AAC9D,kFAAgE;AAChE,4EAA0D;AAC1D,8EAA4D;AAC5D,6EAA2D;AAC3D,wFAAsE;AACtE,iFAA+D;AAC/D,0EAAwD;AACxD,2FAAyE;AACzE,2EAAyD;AACzD,sFAAoE;AACpE,4EAA0D;AAC1D,6EAA2D;AAC3D,gFAA8D;AAC9D,2EAAyD;AACzD,oFAAkE;AAClE,6EAA2D;AAC3D,6EAA2D;AAC3D,oFAAkE;AAClE,8FAA4E;AAC5E,uFAAqE;AACrE,uFAAqE;AACrE,qEAAmD;AACnD,+EAA6D;AAC7D,8DAA4C;AAC5C,mEAAiD;AACjD,mEAAiD;AACjD,gEAA8C;AAC9C,0EAAwD;AACxD,kEAAgD;AAChD,yEAAuD;AACvD,mEAAiD"}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 SupportControllerCreateThreadRequest = {
|
|
6
|
+
/**
|
|
7
|
+
* A header for idempotency purposes
|
|
8
|
+
*/
|
|
9
|
+
idempotencyKey?: string | undefined;
|
|
10
|
+
createSupportThreadDto: components.CreateSupportThreadDto;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare const SupportControllerCreateThreadRequest$inboundSchema: z.ZodType<SupportControllerCreateThreadRequest, z.ZodTypeDef, unknown>;
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type SupportControllerCreateThreadRequest$Outbound = {
|
|
16
|
+
"idempotency-key"?: string | undefined;
|
|
17
|
+
CreateSupportThreadDto: components.CreateSupportThreadDto$Outbound;
|
|
18
|
+
};
|
|
19
|
+
/** @internal */
|
|
20
|
+
export declare const SupportControllerCreateThreadRequest$outboundSchema: z.ZodType<SupportControllerCreateThreadRequest$Outbound, z.ZodTypeDef, SupportControllerCreateThreadRequest>;
|
|
21
|
+
/**
|
|
22
|
+
* @internal
|
|
23
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
24
|
+
*/
|
|
25
|
+
export declare namespace SupportControllerCreateThreadRequest$ {
|
|
26
|
+
/** @deprecated use `SupportControllerCreateThreadRequest$inboundSchema` instead. */
|
|
27
|
+
const inboundSchema: z.ZodType<SupportControllerCreateThreadRequest, z.ZodTypeDef, unknown>;
|
|
28
|
+
/** @deprecated use `SupportControllerCreateThreadRequest$outboundSchema` instead. */
|
|
29
|
+
const outboundSchema: z.ZodType<SupportControllerCreateThreadRequest$Outbound, z.ZodTypeDef, SupportControllerCreateThreadRequest>;
|
|
30
|
+
/** @deprecated use `SupportControllerCreateThreadRequest$Outbound` instead. */
|
|
31
|
+
type Outbound = SupportControllerCreateThreadRequest$Outbound;
|
|
32
|
+
}
|
|
33
|
+
export declare function supportControllerCreateThreadRequestToJSON(supportControllerCreateThreadRequest: SupportControllerCreateThreadRequest): string;
|
|
34
|
+
export declare function supportControllerCreateThreadRequestFromJSON(jsonString: string): SafeParseResult<SupportControllerCreateThreadRequest, SDKValidationError>;
|
|
35
|
+
//# sourceMappingURL=supportcontrollercreatethread.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supportcontrollercreatethread.d.ts","sourceRoot":"","sources":["../../src/models/operations/supportcontrollercreatethread.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,oCAAoC,GAAG;IACjD;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,sBAAsB,EAAE,UAAU,CAAC,sBAAsB,CAAC;CAC3D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kDAAkD,EAAE,CAAC,CAAC,OAAO,CACxE,oCAAoC,EACpC,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,6CAA6C,GAAG;IAC1D,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,sBAAsB,EAAE,UAAU,CAAC,+BAA+B,CAAC;CACpE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mDAAmD,EAAE,CAAC,CAAC,OAAO,CACzE,6CAA6C,EAC7C,CAAC,CAAC,UAAU,EACZ,oCAAoC,CASpC,CAAC;AAEH;;;GAGG;AACH,yBAAiB,qCAAqC,CAAC;IACrD,oFAAoF;IAC7E,MAAM,aAAa,wEAC0B,CAAC;IACrD,qFAAqF;IAC9E,MAAM,cAAc,8GAC0B,CAAC;IACtD,+EAA+E;IAC/E,KAAY,QAAQ,GAAG,6CAA6C,CAAC;CACtE;AAED,wBAAgB,0CAA0C,CACxD,oCAAoC,EAAE,oCAAoC,GACzE,MAAM,CAMR;AAED,wBAAgB,4CAA4C,CAC1D,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,oCAAoC,EAAE,kBAAkB,CAAC,CAO3E"}
|
|
@@ -0,0 +1,73 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.supportControllerCreateThreadRequestFromJSON = exports.supportControllerCreateThreadRequestToJSON = exports.SupportControllerCreateThreadRequest$ = exports.SupportControllerCreateThreadRequest$outboundSchema = exports.SupportControllerCreateThreadRequest$inboundSchema = void 0;
|
|
30
|
+
const z = __importStar(require("zod"));
|
|
31
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
33
|
+
const components = __importStar(require("../components/index.js"));
|
|
34
|
+
/** @internal */
|
|
35
|
+
exports.SupportControllerCreateThreadRequest$inboundSchema = z.object({
|
|
36
|
+
"idempotency-key": z.string().optional(),
|
|
37
|
+
CreateSupportThreadDto: components.CreateSupportThreadDto$inboundSchema,
|
|
38
|
+
}).transform((v) => {
|
|
39
|
+
return (0, primitives_js_1.remap)(v, {
|
|
40
|
+
"idempotency-key": "idempotencyKey",
|
|
41
|
+
"CreateSupportThreadDto": "createSupportThreadDto",
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
/** @internal */
|
|
45
|
+
exports.SupportControllerCreateThreadRequest$outboundSchema = z.object({
|
|
46
|
+
idempotencyKey: z.string().optional(),
|
|
47
|
+
createSupportThreadDto: components.CreateSupportThreadDto$outboundSchema,
|
|
48
|
+
}).transform((v) => {
|
|
49
|
+
return (0, primitives_js_1.remap)(v, {
|
|
50
|
+
idempotencyKey: "idempotency-key",
|
|
51
|
+
createSupportThreadDto: "CreateSupportThreadDto",
|
|
52
|
+
});
|
|
53
|
+
});
|
|
54
|
+
/**
|
|
55
|
+
* @internal
|
|
56
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
57
|
+
*/
|
|
58
|
+
var SupportControllerCreateThreadRequest$;
|
|
59
|
+
(function (SupportControllerCreateThreadRequest$) {
|
|
60
|
+
/** @deprecated use `SupportControllerCreateThreadRequest$inboundSchema` instead. */
|
|
61
|
+
SupportControllerCreateThreadRequest$.inboundSchema = exports.SupportControllerCreateThreadRequest$inboundSchema;
|
|
62
|
+
/** @deprecated use `SupportControllerCreateThreadRequest$outboundSchema` instead. */
|
|
63
|
+
SupportControllerCreateThreadRequest$.outboundSchema = exports.SupportControllerCreateThreadRequest$outboundSchema;
|
|
64
|
+
})(SupportControllerCreateThreadRequest$ || (exports.SupportControllerCreateThreadRequest$ = SupportControllerCreateThreadRequest$ = {}));
|
|
65
|
+
function supportControllerCreateThreadRequestToJSON(supportControllerCreateThreadRequest) {
|
|
66
|
+
return JSON.stringify(exports.SupportControllerCreateThreadRequest$outboundSchema.parse(supportControllerCreateThreadRequest));
|
|
67
|
+
}
|
|
68
|
+
exports.supportControllerCreateThreadRequestToJSON = supportControllerCreateThreadRequestToJSON;
|
|
69
|
+
function supportControllerCreateThreadRequestFromJSON(jsonString) {
|
|
70
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SupportControllerCreateThreadRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SupportControllerCreateThreadRequest' from JSON`);
|
|
71
|
+
}
|
|
72
|
+
exports.supportControllerCreateThreadRequestFromJSON = supportControllerCreateThreadRequestFromJSON;
|
|
73
|
+
//# sourceMappingURL=supportcontrollercreatethread.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supportcontrollercreatethread.js","sourceRoot":"","sources":["../../src/models/operations/supportcontrollercreatethread.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;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EAAE,EAAE,CACJ,0DAAkD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACzE,kEAAkE,CACnE,CAAC;AACJ,CAAC;AATD,oGASC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 SupportControllerFetchUserOrganizationsRequest = {
|
|
6
|
+
/**
|
|
7
|
+
* A header for idempotency purposes
|
|
8
|
+
*/
|
|
9
|
+
idempotencyKey?: string | undefined;
|
|
10
|
+
plainCardRequestDto: components.PlainCardRequestDto;
|
|
11
|
+
};
|
|
12
|
+
export type SupportControllerFetchUserOrganizationsResponseBody = {};
|
|
13
|
+
/** @internal */
|
|
14
|
+
export declare const SupportControllerFetchUserOrganizationsRequest$inboundSchema: z.ZodType<SupportControllerFetchUserOrganizationsRequest, z.ZodTypeDef, unknown>;
|
|
15
|
+
/** @internal */
|
|
16
|
+
export type SupportControllerFetchUserOrganizationsRequest$Outbound = {
|
|
17
|
+
"idempotency-key"?: string | undefined;
|
|
18
|
+
PlainCardRequestDto: components.PlainCardRequestDto$Outbound;
|
|
19
|
+
};
|
|
20
|
+
/** @internal */
|
|
21
|
+
export declare const SupportControllerFetchUserOrganizationsRequest$outboundSchema: z.ZodType<SupportControllerFetchUserOrganizationsRequest$Outbound, z.ZodTypeDef, SupportControllerFetchUserOrganizationsRequest>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
25
|
+
*/
|
|
26
|
+
export declare namespace SupportControllerFetchUserOrganizationsRequest$ {
|
|
27
|
+
/** @deprecated use `SupportControllerFetchUserOrganizationsRequest$inboundSchema` instead. */
|
|
28
|
+
const inboundSchema: z.ZodType<SupportControllerFetchUserOrganizationsRequest, z.ZodTypeDef, unknown>;
|
|
29
|
+
/** @deprecated use `SupportControllerFetchUserOrganizationsRequest$outboundSchema` instead. */
|
|
30
|
+
const outboundSchema: z.ZodType<SupportControllerFetchUserOrganizationsRequest$Outbound, z.ZodTypeDef, SupportControllerFetchUserOrganizationsRequest>;
|
|
31
|
+
/** @deprecated use `SupportControllerFetchUserOrganizationsRequest$Outbound` instead. */
|
|
32
|
+
type Outbound = SupportControllerFetchUserOrganizationsRequest$Outbound;
|
|
33
|
+
}
|
|
34
|
+
export declare function supportControllerFetchUserOrganizationsRequestToJSON(supportControllerFetchUserOrganizationsRequest: SupportControllerFetchUserOrganizationsRequest): string;
|
|
35
|
+
export declare function supportControllerFetchUserOrganizationsRequestFromJSON(jsonString: string): SafeParseResult<SupportControllerFetchUserOrganizationsRequest, SDKValidationError>;
|
|
36
|
+
/** @internal */
|
|
37
|
+
export declare const SupportControllerFetchUserOrganizationsResponseBody$inboundSchema: z.ZodType<SupportControllerFetchUserOrganizationsResponseBody, z.ZodTypeDef, unknown>;
|
|
38
|
+
/** @internal */
|
|
39
|
+
export type SupportControllerFetchUserOrganizationsResponseBody$Outbound = {};
|
|
40
|
+
/** @internal */
|
|
41
|
+
export declare const SupportControllerFetchUserOrganizationsResponseBody$outboundSchema: z.ZodType<SupportControllerFetchUserOrganizationsResponseBody$Outbound, z.ZodTypeDef, SupportControllerFetchUserOrganizationsResponseBody>;
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
45
|
+
*/
|
|
46
|
+
export declare namespace SupportControllerFetchUserOrganizationsResponseBody$ {
|
|
47
|
+
/** @deprecated use `SupportControllerFetchUserOrganizationsResponseBody$inboundSchema` instead. */
|
|
48
|
+
const inboundSchema: z.ZodType<SupportControllerFetchUserOrganizationsResponseBody, z.ZodTypeDef, unknown>;
|
|
49
|
+
/** @deprecated use `SupportControllerFetchUserOrganizationsResponseBody$outboundSchema` instead. */
|
|
50
|
+
const outboundSchema: z.ZodType<SupportControllerFetchUserOrganizationsResponseBody$Outbound, z.ZodTypeDef, SupportControllerFetchUserOrganizationsResponseBody>;
|
|
51
|
+
/** @deprecated use `SupportControllerFetchUserOrganizationsResponseBody$Outbound` instead. */
|
|
52
|
+
type Outbound = SupportControllerFetchUserOrganizationsResponseBody$Outbound;
|
|
53
|
+
}
|
|
54
|
+
export declare function supportControllerFetchUserOrganizationsResponseBodyToJSON(supportControllerFetchUserOrganizationsResponseBody: SupportControllerFetchUserOrganizationsResponseBody): string;
|
|
55
|
+
export declare function supportControllerFetchUserOrganizationsResponseBodyFromJSON(jsonString: string): SafeParseResult<SupportControllerFetchUserOrganizationsResponseBody, SDKValidationError>;
|
|
56
|
+
//# sourceMappingURL=supportcontrollerfetchuserorganizations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supportcontrollerfetchuserorganizations.d.ts","sourceRoot":"","sources":["../../src/models/operations/supportcontrollerfetchuserorganizations.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,8CAA8C,GAAG;IAC3D;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,mBAAmB,EAAE,UAAU,CAAC,mBAAmB,CAAC;CACrD,CAAC;AAEF,MAAM,MAAM,mDAAmD,GAAG,EAAE,CAAC;AAErE,gBAAgB;AAChB,eAAO,MAAM,4DAA4D,EACvE,CAAC,CAAC,OAAO,CACP,8CAA8C,EAC9C,CAAC,CAAC,UAAU,EACZ,OAAO,CASP,CAAC;AAEL,gBAAgB;AAChB,MAAM,MAAM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