@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
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import * as components from "../components/index.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export type SupportControllerCreateThreadRequest = {
|
|
13
|
+
/**
|
|
14
|
+
* A header for idempotency purposes
|
|
15
|
+
*/
|
|
16
|
+
idempotencyKey?: string | undefined;
|
|
17
|
+
createSupportThreadDto: components.CreateSupportThreadDto;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const SupportControllerCreateThreadRequest$inboundSchema: z.ZodType<
|
|
22
|
+
SupportControllerCreateThreadRequest,
|
|
23
|
+
z.ZodTypeDef,
|
|
24
|
+
unknown
|
|
25
|
+
> = z.object({
|
|
26
|
+
"idempotency-key": z.string().optional(),
|
|
27
|
+
CreateSupportThreadDto: components.CreateSupportThreadDto$inboundSchema,
|
|
28
|
+
}).transform((v) => {
|
|
29
|
+
return remap$(v, {
|
|
30
|
+
"idempotency-key": "idempotencyKey",
|
|
31
|
+
"CreateSupportThreadDto": "createSupportThreadDto",
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export type SupportControllerCreateThreadRequest$Outbound = {
|
|
37
|
+
"idempotency-key"?: string | undefined;
|
|
38
|
+
CreateSupportThreadDto: components.CreateSupportThreadDto$Outbound;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
/** @internal */
|
|
42
|
+
export const SupportControllerCreateThreadRequest$outboundSchema: z.ZodType<
|
|
43
|
+
SupportControllerCreateThreadRequest$Outbound,
|
|
44
|
+
z.ZodTypeDef,
|
|
45
|
+
SupportControllerCreateThreadRequest
|
|
46
|
+
> = z.object({
|
|
47
|
+
idempotencyKey: z.string().optional(),
|
|
48
|
+
createSupportThreadDto: components.CreateSupportThreadDto$outboundSchema,
|
|
49
|
+
}).transform((v) => {
|
|
50
|
+
return remap$(v, {
|
|
51
|
+
idempotencyKey: "idempotency-key",
|
|
52
|
+
createSupportThreadDto: "CreateSupportThreadDto",
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
59
|
+
*/
|
|
60
|
+
export namespace SupportControllerCreateThreadRequest$ {
|
|
61
|
+
/** @deprecated use `SupportControllerCreateThreadRequest$inboundSchema` instead. */
|
|
62
|
+
export const inboundSchema =
|
|
63
|
+
SupportControllerCreateThreadRequest$inboundSchema;
|
|
64
|
+
/** @deprecated use `SupportControllerCreateThreadRequest$outboundSchema` instead. */
|
|
65
|
+
export const outboundSchema =
|
|
66
|
+
SupportControllerCreateThreadRequest$outboundSchema;
|
|
67
|
+
/** @deprecated use `SupportControllerCreateThreadRequest$Outbound` instead. */
|
|
68
|
+
export type Outbound = SupportControllerCreateThreadRequest$Outbound;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function supportControllerCreateThreadRequestToJSON(
|
|
72
|
+
supportControllerCreateThreadRequest: SupportControllerCreateThreadRequest,
|
|
73
|
+
): string {
|
|
74
|
+
return JSON.stringify(
|
|
75
|
+
SupportControllerCreateThreadRequest$outboundSchema.parse(
|
|
76
|
+
supportControllerCreateThreadRequest,
|
|
77
|
+
),
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export function supportControllerCreateThreadRequestFromJSON(
|
|
82
|
+
jsonString: string,
|
|
83
|
+
): SafeParseResult<SupportControllerCreateThreadRequest, SDKValidationError> {
|
|
84
|
+
return safeParse(
|
|
85
|
+
jsonString,
|
|
86
|
+
(x) =>
|
|
87
|
+
SupportControllerCreateThreadRequest$inboundSchema.parse(JSON.parse(x)),
|
|
88
|
+
`Failed to parse 'SupportControllerCreateThreadRequest' from JSON`,
|
|
89
|
+
);
|
|
90
|
+
}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import * as components from "../components/index.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export type SupportControllerFetchUserOrganizationsRequest = {
|
|
13
|
+
/**
|
|
14
|
+
* A header for idempotency purposes
|
|
15
|
+
*/
|
|
16
|
+
idempotencyKey?: string | undefined;
|
|
17
|
+
plainCardRequestDto: components.PlainCardRequestDto;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export type SupportControllerFetchUserOrganizationsResponseBody = {};
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const SupportControllerFetchUserOrganizationsRequest$inboundSchema:
|
|
24
|
+
z.ZodType<
|
|
25
|
+
SupportControllerFetchUserOrganizationsRequest,
|
|
26
|
+
z.ZodTypeDef,
|
|
27
|
+
unknown
|
|
28
|
+
> = z.object({
|
|
29
|
+
"idempotency-key": z.string().optional(),
|
|
30
|
+
PlainCardRequestDto: components.PlainCardRequestDto$inboundSchema,
|
|
31
|
+
}).transform((v) => {
|
|
32
|
+
return remap$(v, {
|
|
33
|
+
"idempotency-key": "idempotencyKey",
|
|
34
|
+
"PlainCardRequestDto": "plainCardRequestDto",
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
/** @internal */
|
|
39
|
+
export type SupportControllerFetchUserOrganizationsRequest$Outbound = {
|
|
40
|
+
"idempotency-key"?: string | undefined;
|
|
41
|
+
PlainCardRequestDto: components.PlainCardRequestDto$Outbound;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
/** @internal */
|
|
45
|
+
export const SupportControllerFetchUserOrganizationsRequest$outboundSchema:
|
|
46
|
+
z.ZodType<
|
|
47
|
+
SupportControllerFetchUserOrganizationsRequest$Outbound,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
SupportControllerFetchUserOrganizationsRequest
|
|
50
|
+
> = z.object({
|
|
51
|
+
idempotencyKey: z.string().optional(),
|
|
52
|
+
plainCardRequestDto: components.PlainCardRequestDto$outboundSchema,
|
|
53
|
+
}).transform((v) => {
|
|
54
|
+
return remap$(v, {
|
|
55
|
+
idempotencyKey: "idempotency-key",
|
|
56
|
+
plainCardRequestDto: "PlainCardRequestDto",
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
|
|
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 namespace SupportControllerFetchUserOrganizationsRequest$ {
|
|
65
|
+
/** @deprecated use `SupportControllerFetchUserOrganizationsRequest$inboundSchema` instead. */
|
|
66
|
+
export const inboundSchema =
|
|
67
|
+
SupportControllerFetchUserOrganizationsRequest$inboundSchema;
|
|
68
|
+
/** @deprecated use `SupportControllerFetchUserOrganizationsRequest$outboundSchema` instead. */
|
|
69
|
+
export const outboundSchema =
|
|
70
|
+
SupportControllerFetchUserOrganizationsRequest$outboundSchema;
|
|
71
|
+
/** @deprecated use `SupportControllerFetchUserOrganizationsRequest$Outbound` instead. */
|
|
72
|
+
export type Outbound =
|
|
73
|
+
SupportControllerFetchUserOrganizationsRequest$Outbound;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function supportControllerFetchUserOrganizationsRequestToJSON(
|
|
77
|
+
supportControllerFetchUserOrganizationsRequest:
|
|
78
|
+
SupportControllerFetchUserOrganizationsRequest,
|
|
79
|
+
): string {
|
|
80
|
+
return JSON.stringify(
|
|
81
|
+
SupportControllerFetchUserOrganizationsRequest$outboundSchema.parse(
|
|
82
|
+
supportControllerFetchUserOrganizationsRequest,
|
|
83
|
+
),
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function supportControllerFetchUserOrganizationsRequestFromJSON(
|
|
88
|
+
jsonString: string,
|
|
89
|
+
): SafeParseResult<
|
|
90
|
+
SupportControllerFetchUserOrganizationsRequest,
|
|
91
|
+
SDKValidationError
|
|
92
|
+
> {
|
|
93
|
+
return safeParse(
|
|
94
|
+
jsonString,
|
|
95
|
+
(x) =>
|
|
96
|
+
SupportControllerFetchUserOrganizationsRequest$inboundSchema.parse(
|
|
97
|
+
JSON.parse(x),
|
|
98
|
+
),
|
|
99
|
+
`Failed to parse 'SupportControllerFetchUserOrganizationsRequest' from JSON`,
|
|
100
|
+
);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/** @internal */
|
|
104
|
+
export const SupportControllerFetchUserOrganizationsResponseBody$inboundSchema:
|
|
105
|
+
z.ZodType<
|
|
106
|
+
SupportControllerFetchUserOrganizationsResponseBody,
|
|
107
|
+
z.ZodTypeDef,
|
|
108
|
+
unknown
|
|
109
|
+
> = z.object({});
|
|
110
|
+
|
|
111
|
+
/** @internal */
|
|
112
|
+
export type SupportControllerFetchUserOrganizationsResponseBody$Outbound = {};
|
|
113
|
+
|
|
114
|
+
/** @internal */
|
|
115
|
+
export const SupportControllerFetchUserOrganizationsResponseBody$outboundSchema:
|
|
116
|
+
z.ZodType<
|
|
117
|
+
SupportControllerFetchUserOrganizationsResponseBody$Outbound,
|
|
118
|
+
z.ZodTypeDef,
|
|
119
|
+
SupportControllerFetchUserOrganizationsResponseBody
|
|
120
|
+
> = z.object({});
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* @internal
|
|
124
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
125
|
+
*/
|
|
126
|
+
export namespace SupportControllerFetchUserOrganizationsResponseBody$ {
|
|
127
|
+
/** @deprecated use `SupportControllerFetchUserOrganizationsResponseBody$inboundSchema` instead. */
|
|
128
|
+
export const inboundSchema =
|
|
129
|
+
SupportControllerFetchUserOrganizationsResponseBody$inboundSchema;
|
|
130
|
+
/** @deprecated use `SupportControllerFetchUserOrganizationsResponseBody$outboundSchema` instead. */
|
|
131
|
+
export const outboundSchema =
|
|
132
|
+
SupportControllerFetchUserOrganizationsResponseBody$outboundSchema;
|
|
133
|
+
/** @deprecated use `SupportControllerFetchUserOrganizationsResponseBody$Outbound` instead. */
|
|
134
|
+
export type Outbound =
|
|
135
|
+
SupportControllerFetchUserOrganizationsResponseBody$Outbound;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export function supportControllerFetchUserOrganizationsResponseBodyToJSON(
|
|
139
|
+
supportControllerFetchUserOrganizationsResponseBody:
|
|
140
|
+
SupportControllerFetchUserOrganizationsResponseBody,
|
|
141
|
+
): string {
|
|
142
|
+
return JSON.stringify(
|
|
143
|
+
SupportControllerFetchUserOrganizationsResponseBody$outboundSchema.parse(
|
|
144
|
+
supportControllerFetchUserOrganizationsResponseBody,
|
|
145
|
+
),
|
|
146
|
+
);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export function supportControllerFetchUserOrganizationsResponseBodyFromJSON(
|
|
150
|
+
jsonString: string,
|
|
151
|
+
): SafeParseResult<
|
|
152
|
+
SupportControllerFetchUserOrganizationsResponseBody,
|
|
153
|
+
SDKValidationError
|
|
154
|
+
> {
|
|
155
|
+
return safeParse(
|
|
156
|
+
jsonString,
|
|
157
|
+
(x) =>
|
|
158
|
+
SupportControllerFetchUserOrganizationsResponseBody$inboundSchema.parse(
|
|
159
|
+
JSON.parse(x),
|
|
160
|
+
),
|
|
161
|
+
`Failed to parse 'SupportControllerFetchUserOrganizationsResponseBody' from JSON`,
|
|
162
|
+
);
|
|
163
|
+
}
|
package/src/sdk/sdk.ts
CHANGED
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { cancel } from "../funcs/cancel.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { testIdempotency } from "../funcs/testIdempotency.js";
|
|
6
|
+
import { create } from "../funcs/create.js";
|
|
7
|
+
import { supportControllerFetchUserOrganizations } from "../funcs/supportControllerFetchUserOrganizations.js";
|
|
9
8
|
import { trigger } from "../funcs/trigger.js";
|
|
10
9
|
import { triggerBroadcast } from "../funcs/triggerBroadcast.js";
|
|
11
10
|
import { triggerBulk } from "../funcs/triggerBulk.js";
|
|
@@ -45,41 +44,6 @@ export class Novu extends ClientSDK {
|
|
|
45
44
|
return (this._topics ??= new Topics(this._options));
|
|
46
45
|
}
|
|
47
46
|
|
|
48
|
-
async healthControllerHealthCheck(
|
|
49
|
-
idempotencyKey?: string | undefined,
|
|
50
|
-
options?: RequestOptions,
|
|
51
|
-
): Promise<operations.HealthControllerHealthCheckResponseBody> {
|
|
52
|
-
return unwrapAsync(healthControllerHealthCheck(
|
|
53
|
-
this,
|
|
54
|
-
idempotencyKey,
|
|
55
|
-
options,
|
|
56
|
-
));
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
async testIdempotency(
|
|
60
|
-
idempotencyTestingDto: components.IdempotencyTestingDto,
|
|
61
|
-
idempotencyKey?: string | undefined,
|
|
62
|
-
options?: RequestOptions,
|
|
63
|
-
): Promise<operations.HealthControllerTestIdempotencyResponse> {
|
|
64
|
-
return unwrapAsync(testIdempotency(
|
|
65
|
-
this,
|
|
66
|
-
idempotencyTestingDto,
|
|
67
|
-
idempotencyKey,
|
|
68
|
-
options,
|
|
69
|
-
));
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
async generateRandomNumber(
|
|
73
|
-
idempotencyKey?: string | undefined,
|
|
74
|
-
options?: RequestOptions,
|
|
75
|
-
): Promise<operations.HealthControllerGenerateRandomNumberResponse> {
|
|
76
|
-
return unwrapAsync(generateRandomNumber(
|
|
77
|
-
this,
|
|
78
|
-
idempotencyKey,
|
|
79
|
-
options,
|
|
80
|
-
));
|
|
81
|
-
}
|
|
82
|
-
|
|
83
47
|
/**
|
|
84
48
|
* Trigger event
|
|
85
49
|
*
|
|
@@ -163,4 +127,36 @@ export class Novu extends ClientSDK {
|
|
|
163
127
|
options,
|
|
164
128
|
));
|
|
165
129
|
}
|
|
130
|
+
|
|
131
|
+
async supportControllerFetchUserOrganizations(
|
|
132
|
+
plainCardRequestDto: components.PlainCardRequestDto,
|
|
133
|
+
idempotencyKey?: string | undefined,
|
|
134
|
+
options?: RequestOptions,
|
|
135
|
+
): Promise<operations.SupportControllerFetchUserOrganizationsResponseBody> {
|
|
136
|
+
return unwrapAsync(supportControllerFetchUserOrganizations(
|
|
137
|
+
this,
|
|
138
|
+
plainCardRequestDto,
|
|
139
|
+
idempotencyKey,
|
|
140
|
+
options,
|
|
141
|
+
));
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Topic creation
|
|
146
|
+
*
|
|
147
|
+
* @remarks
|
|
148
|
+
* Create a topic
|
|
149
|
+
*/
|
|
150
|
+
async create(
|
|
151
|
+
createSupportThreadDto: components.CreateSupportThreadDto,
|
|
152
|
+
idempotencyKey?: string | undefined,
|
|
153
|
+
options?: RequestOptions,
|
|
154
|
+
): Promise<void> {
|
|
155
|
+
return unwrapAsync(create(
|
|
156
|
+
this,
|
|
157
|
+
createSupportThreadDto,
|
|
158
|
+
idempotencyKey,
|
|
159
|
+
options,
|
|
160
|
+
));
|
|
161
|
+
}
|
|
166
162
|
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { NovuCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
4
|
-
import * as errors from "../models/errors/index.js";
|
|
5
|
-
import { SDKError } from "../models/errors/sdkerror.js";
|
|
6
|
-
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
7
|
-
import * as operations from "../models/operations/index.js";
|
|
8
|
-
import { Result } from "../types/fp.js";
|
|
9
|
-
export declare function generateRandomNumber(client: NovuCore, idempotencyKey?: string | undefined, options?: RequestOptions): Promise<Result<operations.HealthControllerGenerateRandomNumberResponse, errors.ErrorDto | errors.ErrorDto | errors.ValidationErrorDto | errors.ErrorDto | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
10
|
-
//# sourceMappingURL=generateRandomNumber.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generateRandomNumber.d.ts","sourceRoot":"","sources":["../src/funcs/generateRandomNumber.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAKtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,wBAAsB,oBAAoB,CACxC,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AE,IAAI,EAAE,IAAI,EAAE,CACf,EACD,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,sBAAsB,CAAC,EAC7C,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,gCAAgC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EACvE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EACX,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,sBAAsB,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAC7D,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EACX,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAC7C,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AA7JD,oDA6JC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { NovuCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
4
|
-
import * as errors from "../models/errors/index.js";
|
|
5
|
-
import { SDKError } from "../models/errors/sdkerror.js";
|
|
6
|
-
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
7
|
-
import * as operations from "../models/operations/index.js";
|
|
8
|
-
import { Result } from "../types/fp.js";
|
|
9
|
-
export declare function healthControllerHealthCheck(client: NovuCore, idempotencyKey?: string | undefined, options?: RequestOptions): Promise<Result<operations.HealthControllerHealthCheckResponseBody, errors.HealthControllerHealthCheckResponseBody | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
10
|
-
//# sourceMappingURL=healthControllerHealthCheck.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"healthControllerHealthCheck.d.ts","sourceRoot":"","sources":["../src/funcs/healthControllerHealthCheck.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAKtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,wBAAsB,2BAA2B,CAC/C,MAAM,EAAE,QAAQ,EAChB,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,uCAAuC,EAChD,MAAM,CAAC,uCAAuC,GAC9C,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CA+GA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"healthControllerHealthCheck.js","sourceRoot":"","sources":["../src/funcs/healthControllerHealthCheck.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,sDAAmD;AACnD,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAQ3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GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,cAAc,GAAG;QACrB,QAAQ,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAE;KAC/C,CAAC;IAEF,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAW5B,CAAC,CAAC,IAAI,CACJ,GAAG,EACH,UAAU,CAAC,qDAAqD,CACjE,EACD,CAAC,CAAC,OAAO,CACP,GAAG,EACH,MAAM,CAAC,qDAAqD,CAC7D,EACD,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAC7C,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AA/HD,kEA+HC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { NovuCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import * as components from "../models/components/index.js";
|
|
4
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js";
|
|
5
|
-
import * as errors from "../models/errors/index.js";
|
|
6
|
-
import { SDKError } from "../models/errors/sdkerror.js";
|
|
7
|
-
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
8
|
-
import * as operations from "../models/operations/index.js";
|
|
9
|
-
import { Result } from "../types/fp.js";
|
|
10
|
-
export declare function testIdempotency(client: NovuCore, idempotencyTestingDto: components.IdempotencyTestingDto, idempotencyKey?: string | undefined, options?: RequestOptions): Promise<Result<operations.HealthControllerTestIdempotencyResponse, errors.ErrorDto | errors.ErrorDto | errors.ValidationErrorDto | errors.ErrorDto | SDKError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>;
|
|
11
|
-
//# sourceMappingURL=testIdempotency.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"testIdempotency.d.ts","sourceRoot":"","sources":["../src/funcs/testIdempotency.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAKtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,MAAM,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,wBAAsB,eAAe,CACnC,MAAM,EAAE,QAAQ,EAChB,qBAAqB,EAAE,UAAU,CAAC,qBAAqB,EACvD,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,MAAM,CACJ,UAAU,CAAC,uCAAuC,EAChD,MAAM,CAAC,QAAQ,GACf,MAAM,CAAC,QAAQ,GACf,MAAM,CAAC,kBAAkB,GACzB,MAAM,CAAC,QAAQ,GACf,QAAQ,GACR,kBAAkB,GAClB,qBAAqB,GACrB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,eAAe,CAClB,CACF,CA+IA"}
|
package/funcs/testIdempotency.js
DELETED
|
@@ -1,129 +0,0 @@
|
|
|
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.testIdempotency = void 0;
|
|
30
|
-
const encodings_js_1 = require("../lib/encodings.js");
|
|
31
|
-
const M = __importStar(require("../lib/matchers.js"));
|
|
32
|
-
const primitives_js_1 = require("../lib/primitives.js");
|
|
33
|
-
const schemas_js_1 = require("../lib/schemas.js");
|
|
34
|
-
const security_js_1 = require("../lib/security.js");
|
|
35
|
-
const url_js_1 = require("../lib/url.js");
|
|
36
|
-
const errors = __importStar(require("../models/errors/index.js"));
|
|
37
|
-
const operations = __importStar(require("../models/operations/index.js"));
|
|
38
|
-
async function testIdempotency(client, idempotencyTestingDto, idempotencyKey, options) {
|
|
39
|
-
const input = {
|
|
40
|
-
idempotencyTestingDto: idempotencyTestingDto,
|
|
41
|
-
idempotencyKey: idempotencyKey,
|
|
42
|
-
};
|
|
43
|
-
const parsed = (0, schemas_js_1.safeParse)(input, (value) => operations.HealthControllerTestIdempotencyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
44
|
-
if (!parsed.ok) {
|
|
45
|
-
return parsed;
|
|
46
|
-
}
|
|
47
|
-
const payload = parsed.value;
|
|
48
|
-
const body = (0, encodings_js_1.encodeJSON)("body", payload.IdempotencyTestingDto, {
|
|
49
|
-
explode: true,
|
|
50
|
-
});
|
|
51
|
-
const path = (0, url_js_1.pathToFunc)("/v1/health-check/test-idempotency")();
|
|
52
|
-
const headers = new Headers((0, primitives_js_1.compactMap)({
|
|
53
|
-
"Content-Type": "application/json",
|
|
54
|
-
Accept: "application/json",
|
|
55
|
-
"idempotency-key": (0, encodings_js_1.encodeSimple)("idempotency-key", payload["idempotency-key"], { explode: false, charEncoding: "none" }),
|
|
56
|
-
}));
|
|
57
|
-
const secConfig = await (0, security_js_1.extractSecurity)(client._options.apiKey);
|
|
58
|
-
const securityInput = secConfig == null ? {} : { apiKey: secConfig };
|
|
59
|
-
const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
|
|
60
|
-
const context = {
|
|
61
|
-
operationID: "HealthController_testIdempotency",
|
|
62
|
-
oAuth2Scopes: [],
|
|
63
|
-
resolvedSecurity: requestSecurity,
|
|
64
|
-
securitySource: client._options.apiKey,
|
|
65
|
-
retryConfig: options?.retries
|
|
66
|
-
|| client._options.retryConfig
|
|
67
|
-
|| {
|
|
68
|
-
strategy: "backoff",
|
|
69
|
-
backoff: {
|
|
70
|
-
initialInterval: 1000,
|
|
71
|
-
maxInterval: 30000,
|
|
72
|
-
exponent: 1.5,
|
|
73
|
-
maxElapsedTime: 3600000,
|
|
74
|
-
},
|
|
75
|
-
retryConnectionErrors: true,
|
|
76
|
-
}
|
|
77
|
-
|| { strategy: "none" },
|
|
78
|
-
retryCodes: options?.retryCodes || ["408", "409", "429", "5XX"],
|
|
79
|
-
};
|
|
80
|
-
const requestRes = client._createRequest(context, {
|
|
81
|
-
security: requestSecurity,
|
|
82
|
-
method: "POST",
|
|
83
|
-
baseURL: options?.serverURL,
|
|
84
|
-
path: path,
|
|
85
|
-
headers: headers,
|
|
86
|
-
body: body,
|
|
87
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
88
|
-
}, options);
|
|
89
|
-
if (!requestRes.ok) {
|
|
90
|
-
return requestRes;
|
|
91
|
-
}
|
|
92
|
-
const req = requestRes.value;
|
|
93
|
-
const doResult = await client._do(req, {
|
|
94
|
-
context,
|
|
95
|
-
errorCodes: [
|
|
96
|
-
"400",
|
|
97
|
-
"401",
|
|
98
|
-
"403",
|
|
99
|
-
"404",
|
|
100
|
-
"405",
|
|
101
|
-
"409",
|
|
102
|
-
"413",
|
|
103
|
-
"414",
|
|
104
|
-
"415",
|
|
105
|
-
"422",
|
|
106
|
-
"429",
|
|
107
|
-
"4XX",
|
|
108
|
-
"500",
|
|
109
|
-
"503",
|
|
110
|
-
"5XX",
|
|
111
|
-
],
|
|
112
|
-
retryConfig: context.retryConfig,
|
|
113
|
-
retryCodes: context.retryCodes,
|
|
114
|
-
});
|
|
115
|
-
if (!doResult.ok) {
|
|
116
|
-
return doResult;
|
|
117
|
-
}
|
|
118
|
-
const response = doResult.value;
|
|
119
|
-
const responseFields = {
|
|
120
|
-
HttpMeta: { Response: response, Request: req },
|
|
121
|
-
};
|
|
122
|
-
const [result] = await M.match(M.json(201, operations.HealthControllerTestIdempotencyResponse$inboundSchema, { hdrs: true, key: "Result" }), M.jsonErr([400, 401, 403, 404, 405, 409, 413, 415], errors.ErrorDto$inboundSchema, { hdrs: true }), M.jsonErr(414, errors.ErrorDto$inboundSchema), M.jsonErr(422, errors.ValidationErrorDto$inboundSchema, { hdrs: true }), M.fail(429), M.jsonErr(500, errors.ErrorDto$inboundSchema, { hdrs: true }), M.fail(503), M.fail("4XX"), M.fail("5XX"))(response, { extraFields: responseFields });
|
|
123
|
-
if (!result.ok) {
|
|
124
|
-
return result;
|
|
125
|
-
}
|
|
126
|
-
return result;
|
|
127
|
-
}
|
|
128
|
-
exports.testIdempotency = testIdempotency;
|
|
129
|
-
//# sourceMappingURL=testIdempotency.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"testIdempotency.js","sourceRoot":"","sources":["../src/funcs/testIdempotency.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,sDAA+D;AAC/D,sDAAwC;AACxC,wDAAkD;AAClD,kDAA8C;AAE9C,oDAA4E;AAC5E,0CAA2C;AAS3C,kEAAoD;AAGpD,0EAA4D;AAGrD,KAAK,UAAU,eAAe,CACnC,MAAgB,EAChB,qBAAuD,EACvD,cAAmC,EACnC,OAAwB;IAiBxB,MAAM,KAAK,GAAsD;QAC/D,qBAAqB,EAAE,qBAAqB;QAC5C,cAAc,EAAE,cAAc;KAC/B,CAAC;IAEF,MAAM,MAAM,GAAG,IAAA,sBAAS,EACtB,KAAK,EACL,CAAC,KAAK,EAAE,EAAE,CACR,UAAU,CAAC,qDAAqD,CAAC,KAAK,CACpE,KAAK,CACN,EACH,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IACD,MAAM,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC;IAC7B,MAAM,IAAI,GAAG,IAAA,yBAAU,EAAC,MAAM,EAAE,OAAO,CAAC,qBAAqB,EAAE;QAC7D,OAAO,EAAE,IAAI;KACd,CAAC,CAAC;IAEH,MAAM,IAAI,GAAG,IAAA,mBAAU,EAAC,mCAAmC,CAAC,EAAE,CAAC;IAE/D,MAAM,OAAO,GAAG,I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G,EAAE,GAAG,EAAE,GAAG,CAAC,EACxC,MAAM,CAAC,sBAAsB,EAC7B,EAAE,IAAI,EAAE,IAAI,EAAE,CACf,EACD,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,sBAAsB,CAAC,EAC7C,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,gCAAgC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EACvE,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EACX,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,sBAAsB,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,EAC7D,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EACX,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAC7C,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAnKD,0CAmKC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
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 IdempotenceTestingResponse = {
|
|
5
|
-
/**
|
|
6
|
-
* A unique number representing the idempotency response
|
|
7
|
-
*/
|
|
8
|
-
number: number;
|
|
9
|
-
};
|
|
10
|
-
/** @internal */
|
|
11
|
-
export declare const IdempotenceTestingResponse$inboundSchema: z.ZodType<IdempotenceTestingResponse, z.ZodTypeDef, unknown>;
|
|
12
|
-
/** @internal */
|
|
13
|
-
export type IdempotenceTestingResponse$Outbound = {
|
|
14
|
-
number: number;
|
|
15
|
-
};
|
|
16
|
-
/** @internal */
|
|
17
|
-
export declare const IdempotenceTestingResponse$outboundSchema: z.ZodType<IdempotenceTestingResponse$Outbound, z.ZodTypeDef, IdempotenceTestingResponse>;
|
|
18
|
-
/**
|
|
19
|
-
* @internal
|
|
20
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
21
|
-
*/
|
|
22
|
-
export declare namespace IdempotenceTestingResponse$ {
|
|
23
|
-
/** @deprecated use `IdempotenceTestingResponse$inboundSchema` instead. */
|
|
24
|
-
const inboundSchema: z.ZodType<IdempotenceTestingResponse, z.ZodTypeDef, unknown>;
|
|
25
|
-
/** @deprecated use `IdempotenceTestingResponse$outboundSchema` instead. */
|
|
26
|
-
const outboundSchema: z.ZodType<IdempotenceTestingResponse$Outbound, z.ZodTypeDef, IdempotenceTestingResponse>;
|
|
27
|
-
/** @deprecated use `IdempotenceTestingResponse$Outbound` instead. */
|
|
28
|
-
type Outbound = IdempotenceTestingResponse$Outbound;
|
|
29
|
-
}
|
|
30
|
-
export declare function idempotenceTestingResponseToJSON(idempotenceTestingResponse: IdempotenceTestingResponse): string;
|
|
31
|
-
export declare function idempotenceTestingResponseFromJSON(jsonString: string): SafeParseResult<IdempotenceTestingResponse, SDKValidationError>;
|
|
32
|
-
//# sourceMappingURL=idempotencetestingresponse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"idempotencetestingresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/idempotencetestingresponse.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,0BAA0B,GAAG;IACvC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,OAAO,CAGP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,mCAAmC,GAAG;IAChD,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,OAAO,CAC/D,mCAAmC,EACnC,CAAC,CAAC,UAAU,EACZ,0BAA0B,CAG1B,CAAC;AAEH;;;GAGG;AACH,yBAAiB,2BAA2B,CAAC;IAC3C,0EAA0E;IACnE,MAAM,aAAa,8DAA2C,CAAC;IACtE,2EAA2E;IACpE,MAAM,cAAc,0FAA4C,CAAC;IACxE,qEAAqE;IACrE,KAAY,QAAQ,GAAG,mCAAmC,CAAC;CAC5D;AAED,wBAAgB,gCAAgC,CAC9C,0BAA0B,EAAE,0BAA0B,GACrD,MAAM,CAIR;AAED,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"idempotencetestingresponse.js","sourceRoot":"","sources":["../../src/models/components/idempotencetestingresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;AAWjD,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC;AAOH,gBAAgB;AACH,QAAA,yCAAyC,GAIlD,CAAC,CAAC,MAAM,CAAC;IACX,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,2BAA2B,CAO3C;AAPD,WAAiB,2BAA2B;IAC1C,0EAA0E;IAC7D,yCAAa,GAAG,gDAAwC,CAAC;IACtE,2EAA2E;IAC9D,0CAAc,GAAG,iDAAyC,CAAC;AAG1E,CAAC,EAPgB,2BAA2B,2CAA3B,2BAA2B,QAO3C;AAED,SAAgB,gCAAgC,CAC9C,0BAAsD;IAEtD,OAAO,IAAI,CAAC,SAAS,CACnB,iDAAyC,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAC5E,CAAC;AACJ,CAAC;AAND,4EAMC;AAED,SAAgB,kCAAkC,CAChD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gDAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AACJ,CAAC;AARD,gFAQC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import * as z from "zod";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
-
/**
|
|
4
|
-
* The expected behavior of the idempotency request
|
|
5
|
-
*/
|
|
6
|
-
export declare const IdempotencyBehaviorEnum: {
|
|
7
|
-
readonly ImmediateResponse: "IMMEDIATE_RESPONSE";
|
|
8
|
-
readonly ImmediateException: "IMMEDIATE_EXCEPTION";
|
|
9
|
-
readonly DelayedResponse: "DELAYED_RESPONSE";
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* The expected behavior of the idempotency request
|
|
13
|
-
*/
|
|
14
|
-
export type IdempotencyBehaviorEnum = ClosedEnum<typeof IdempotencyBehaviorEnum>;
|
|
15
|
-
/** @internal */
|
|
16
|
-
export declare const IdempotencyBehaviorEnum$inboundSchema: z.ZodNativeEnum<typeof IdempotencyBehaviorEnum>;
|
|
17
|
-
/** @internal */
|
|
18
|
-
export declare const IdempotencyBehaviorEnum$outboundSchema: z.ZodNativeEnum<typeof IdempotencyBehaviorEnum>;
|
|
19
|
-
/**
|
|
20
|
-
* @internal
|
|
21
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
22
|
-
*/
|
|
23
|
-
export declare namespace IdempotencyBehaviorEnum$ {
|
|
24
|
-
/** @deprecated use `IdempotencyBehaviorEnum$inboundSchema` instead. */
|
|
25
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
26
|
-
readonly ImmediateResponse: "IMMEDIATE_RESPONSE";
|
|
27
|
-
readonly ImmediateException: "IMMEDIATE_EXCEPTION";
|
|
28
|
-
readonly DelayedResponse: "DELAYED_RESPONSE";
|
|
29
|
-
}>;
|
|
30
|
-
/** @deprecated use `IdempotencyBehaviorEnum$outboundSchema` instead. */
|
|
31
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
32
|
-
readonly ImmediateResponse: "IMMEDIATE_RESPONSE";
|
|
33
|
-
readonly ImmediateException: "IMMEDIATE_EXCEPTION";
|
|
34
|
-
readonly DelayedResponse: "DELAYED_RESPONSE";
|
|
35
|
-
}>;
|
|
36
|
-
}
|
|
37
|
-
//# sourceMappingURL=idempotencybehaviorenum.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"idempotencybehaviorenum.d.ts","sourceRoot":"","sources":["../../src/models/components/idempotencybehaviorenum.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,uBAAuB;;;;CAI1B,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,UAAU,CAC9C,OAAO,uBAAuB,CAC/B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,aAAa,CACjE,OAAO,uBAAuB,CACS,CAAC;AAE1C,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,aAAa,CAClE,OAAO,uBAAuB,CACS,CAAC;AAE1C;;;GAGG;AACH,yBAAiB,wBAAwB,CAAC;IACxC,uEAAuE;IAChE,MAAM,aAAa;;;;MAAwC,CAAC;IACnE,wEAAwE;IACjE,MAAM,cAAc;;;;MAAyC,CAAC;CACtE"}
|