dub 0.46.8 → 0.46.9
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/RUNTIMES.md +26 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/security.js +1 -1
- package/dist/commonjs/lib/security.js.map +1 -1
- package/dist/commonjs/models/components/leadcreatedevent.d.ts +122 -0
- package/dist/commonjs/models/components/leadcreatedevent.d.ts.map +1 -1
- package/dist/commonjs/models/components/leadcreatedevent.js +120 -1
- package/dist/commonjs/models/components/leadcreatedevent.js.map +1 -1
- package/dist/commonjs/models/components/leadevent.d.ts +122 -0
- package/dist/commonjs/models/components/leadevent.d.ts.map +1 -1
- package/dist/commonjs/models/components/leadevent.js +117 -1
- package/dist/commonjs/models/components/leadevent.js.map +1 -1
- package/dist/commonjs/models/components/salecreatedevent.d.ts +122 -0
- package/dist/commonjs/models/components/salecreatedevent.d.ts.map +1 -1
- package/dist/commonjs/models/components/salecreatedevent.js +120 -1
- package/dist/commonjs/models/components/salecreatedevent.js.map +1 -1
- package/dist/commonjs/models/components/saleevent.d.ts +122 -0
- package/dist/commonjs/models/components/saleevent.d.ts.map +1 -1
- package/dist/commonjs/models/components/saleevent.js +118 -1
- package/dist/commonjs/models/components/saleevent.js.map +1 -1
- package/dist/commonjs/models/operations/createcustomer.d.ts +123 -0
- package/dist/commonjs/models/operations/createcustomer.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createcustomer.js +119 -1
- package/dist/commonjs/models/operations/createcustomer.js.map +1 -1
- package/dist/commonjs/models/operations/getcustomer.d.ts +123 -0
- package/dist/commonjs/models/operations/getcustomer.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getcustomer.js +119 -1
- package/dist/commonjs/models/operations/getcustomer.js.map +1 -1
- package/dist/commonjs/models/operations/getcustomers.d.ts +123 -0
- package/dist/commonjs/models/operations/getcustomers.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getcustomers.js +115 -1
- package/dist/commonjs/models/operations/getcustomers.js.map +1 -1
- package/dist/commonjs/models/operations/updatecustomer.d.ts +123 -0
- package/dist/commonjs/models/operations/updatecustomer.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatecustomer.js +119 -1
- package/dist/commonjs/models/operations/updatecustomer.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/security.js +1 -1
- package/dist/esm/lib/security.js.map +1 -1
- package/dist/esm/models/components/leadcreatedevent.d.ts +122 -0
- package/dist/esm/models/components/leadcreatedevent.d.ts.map +1 -1
- package/dist/esm/models/components/leadcreatedevent.js +114 -0
- package/dist/esm/models/components/leadcreatedevent.js.map +1 -1
- package/dist/esm/models/components/leadevent.d.ts +122 -0
- package/dist/esm/models/components/leadevent.d.ts.map +1 -1
- package/dist/esm/models/components/leadevent.js +111 -0
- package/dist/esm/models/components/leadevent.js.map +1 -1
- package/dist/esm/models/components/salecreatedevent.d.ts +122 -0
- package/dist/esm/models/components/salecreatedevent.d.ts.map +1 -1
- package/dist/esm/models/components/salecreatedevent.js +114 -0
- package/dist/esm/models/components/salecreatedevent.js.map +1 -1
- package/dist/esm/models/components/saleevent.d.ts +122 -0
- package/dist/esm/models/components/saleevent.d.ts.map +1 -1
- package/dist/esm/models/components/saleevent.js +112 -0
- package/dist/esm/models/components/saleevent.js.map +1 -1
- package/dist/esm/models/operations/createcustomer.d.ts +123 -0
- package/dist/esm/models/operations/createcustomer.d.ts.map +1 -1
- package/dist/esm/models/operations/createcustomer.js +114 -0
- package/dist/esm/models/operations/createcustomer.js.map +1 -1
- package/dist/esm/models/operations/getcustomer.d.ts +123 -0
- package/dist/esm/models/operations/getcustomer.d.ts.map +1 -1
- package/dist/esm/models/operations/getcustomer.js +114 -0
- package/dist/esm/models/operations/getcustomer.js.map +1 -1
- package/dist/esm/models/operations/getcustomers.d.ts +123 -0
- package/dist/esm/models/operations/getcustomers.d.ts.map +1 -1
- package/dist/esm/models/operations/getcustomers.js +110 -0
- package/dist/esm/models/operations/getcustomers.js.map +1 -1
- package/dist/esm/models/operations/updatecustomer.d.ts +123 -0
- package/dist/esm/models/operations/updatecustomer.d.ts.map +1 -1
- package/dist/esm/models/operations/updatecustomer.js +114 -0
- package/dist/esm/models/operations/updatecustomer.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/security.ts +1 -1
- package/src/models/components/leadcreatedevent.ts +220 -0
- package/src/models/components/leadevent.ts +200 -0
- package/src/models/components/salecreatedevent.ts +220 -0
- package/src/models/components/saleevent.ts +216 -0
- package/src/models/operations/createcustomer.ts +219 -0
- package/src/models/operations/getcustomer.ts +219 -0
- package/src/models/operations/getcustomers.ts +203 -0
- package/src/models/operations/updatecustomer.ts +219 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
2
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
4
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
5
|
export type GetCustomerRequest = {
|
|
@@ -29,6 +30,31 @@ export type GetCustomerLink = {
|
|
|
29
30
|
*/
|
|
30
31
|
programId: string | null;
|
|
31
32
|
};
|
|
33
|
+
export type GetCustomerPartner = {
|
|
34
|
+
id: string;
|
|
35
|
+
name: string;
|
|
36
|
+
email: string;
|
|
37
|
+
image?: string | null | undefined;
|
|
38
|
+
};
|
|
39
|
+
export declare const GetCustomerType: {
|
|
40
|
+
readonly Percentage: "percentage";
|
|
41
|
+
readonly Flat: "flat";
|
|
42
|
+
};
|
|
43
|
+
export type GetCustomerType = ClosedEnum<typeof GetCustomerType>;
|
|
44
|
+
export declare const GetCustomerInterval: {
|
|
45
|
+
readonly Month: "month";
|
|
46
|
+
readonly Year: "year";
|
|
47
|
+
};
|
|
48
|
+
export type GetCustomerInterval = ClosedEnum<typeof GetCustomerInterval>;
|
|
49
|
+
export type GetCustomerDiscount = {
|
|
50
|
+
id: string;
|
|
51
|
+
couponId: string | null;
|
|
52
|
+
couponTestId: string | null;
|
|
53
|
+
amount: number;
|
|
54
|
+
type: GetCustomerType;
|
|
55
|
+
duration: number | null;
|
|
56
|
+
interval: GetCustomerInterval | null;
|
|
57
|
+
};
|
|
32
58
|
/**
|
|
33
59
|
* The customer object.
|
|
34
60
|
*/
|
|
@@ -62,6 +88,8 @@ export type GetCustomerResponseBody = {
|
|
|
62
88
|
*/
|
|
63
89
|
createdAt: string;
|
|
64
90
|
link?: GetCustomerLink | null | undefined;
|
|
91
|
+
partner?: GetCustomerPartner | null | undefined;
|
|
92
|
+
discount?: GetCustomerDiscount | null | undefined;
|
|
65
93
|
};
|
|
66
94
|
/** @internal */
|
|
67
95
|
export declare const GetCustomerRequest$inboundSchema: z.ZodType<GetCustomerRequest, z.ZodTypeDef, unknown>;
|
|
@@ -112,6 +140,99 @@ export declare namespace GetCustomerLink$ {
|
|
|
112
140
|
export declare function getCustomerLinkToJSON(getCustomerLink: GetCustomerLink): string;
|
|
113
141
|
export declare function getCustomerLinkFromJSON(jsonString: string): SafeParseResult<GetCustomerLink, SDKValidationError>;
|
|
114
142
|
/** @internal */
|
|
143
|
+
export declare const GetCustomerPartner$inboundSchema: z.ZodType<GetCustomerPartner, z.ZodTypeDef, unknown>;
|
|
144
|
+
/** @internal */
|
|
145
|
+
export type GetCustomerPartner$Outbound = {
|
|
146
|
+
id: string;
|
|
147
|
+
name: string;
|
|
148
|
+
email: string;
|
|
149
|
+
image?: string | null | undefined;
|
|
150
|
+
};
|
|
151
|
+
/** @internal */
|
|
152
|
+
export declare const GetCustomerPartner$outboundSchema: z.ZodType<GetCustomerPartner$Outbound, z.ZodTypeDef, GetCustomerPartner>;
|
|
153
|
+
/**
|
|
154
|
+
* @internal
|
|
155
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
156
|
+
*/
|
|
157
|
+
export declare namespace GetCustomerPartner$ {
|
|
158
|
+
/** @deprecated use `GetCustomerPartner$inboundSchema` instead. */
|
|
159
|
+
const inboundSchema: z.ZodType<GetCustomerPartner, z.ZodTypeDef, unknown>;
|
|
160
|
+
/** @deprecated use `GetCustomerPartner$outboundSchema` instead. */
|
|
161
|
+
const outboundSchema: z.ZodType<GetCustomerPartner$Outbound, z.ZodTypeDef, GetCustomerPartner>;
|
|
162
|
+
/** @deprecated use `GetCustomerPartner$Outbound` instead. */
|
|
163
|
+
type Outbound = GetCustomerPartner$Outbound;
|
|
164
|
+
}
|
|
165
|
+
export declare function getCustomerPartnerToJSON(getCustomerPartner: GetCustomerPartner): string;
|
|
166
|
+
export declare function getCustomerPartnerFromJSON(jsonString: string): SafeParseResult<GetCustomerPartner, SDKValidationError>;
|
|
167
|
+
/** @internal */
|
|
168
|
+
export declare const GetCustomerType$inboundSchema: z.ZodNativeEnum<typeof GetCustomerType>;
|
|
169
|
+
/** @internal */
|
|
170
|
+
export declare const GetCustomerType$outboundSchema: z.ZodNativeEnum<typeof GetCustomerType>;
|
|
171
|
+
/**
|
|
172
|
+
* @internal
|
|
173
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
174
|
+
*/
|
|
175
|
+
export declare namespace GetCustomerType$ {
|
|
176
|
+
/** @deprecated use `GetCustomerType$inboundSchema` instead. */
|
|
177
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
178
|
+
readonly Percentage: "percentage";
|
|
179
|
+
readonly Flat: "flat";
|
|
180
|
+
}>;
|
|
181
|
+
/** @deprecated use `GetCustomerType$outboundSchema` instead. */
|
|
182
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
183
|
+
readonly Percentage: "percentage";
|
|
184
|
+
readonly Flat: "flat";
|
|
185
|
+
}>;
|
|
186
|
+
}
|
|
187
|
+
/** @internal */
|
|
188
|
+
export declare const GetCustomerInterval$inboundSchema: z.ZodNativeEnum<typeof GetCustomerInterval>;
|
|
189
|
+
/** @internal */
|
|
190
|
+
export declare const GetCustomerInterval$outboundSchema: z.ZodNativeEnum<typeof GetCustomerInterval>;
|
|
191
|
+
/**
|
|
192
|
+
* @internal
|
|
193
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
194
|
+
*/
|
|
195
|
+
export declare namespace GetCustomerInterval$ {
|
|
196
|
+
/** @deprecated use `GetCustomerInterval$inboundSchema` instead. */
|
|
197
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
198
|
+
readonly Month: "month";
|
|
199
|
+
readonly Year: "year";
|
|
200
|
+
}>;
|
|
201
|
+
/** @deprecated use `GetCustomerInterval$outboundSchema` instead. */
|
|
202
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
203
|
+
readonly Month: "month";
|
|
204
|
+
readonly Year: "year";
|
|
205
|
+
}>;
|
|
206
|
+
}
|
|
207
|
+
/** @internal */
|
|
208
|
+
export declare const GetCustomerDiscount$inboundSchema: z.ZodType<GetCustomerDiscount, z.ZodTypeDef, unknown>;
|
|
209
|
+
/** @internal */
|
|
210
|
+
export type GetCustomerDiscount$Outbound = {
|
|
211
|
+
id: string;
|
|
212
|
+
couponId: string | null;
|
|
213
|
+
couponTestId: string | null;
|
|
214
|
+
amount: number;
|
|
215
|
+
type: string;
|
|
216
|
+
duration: number | null;
|
|
217
|
+
interval: string | null;
|
|
218
|
+
};
|
|
219
|
+
/** @internal */
|
|
220
|
+
export declare const GetCustomerDiscount$outboundSchema: z.ZodType<GetCustomerDiscount$Outbound, z.ZodTypeDef, GetCustomerDiscount>;
|
|
221
|
+
/**
|
|
222
|
+
* @internal
|
|
223
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
224
|
+
*/
|
|
225
|
+
export declare namespace GetCustomerDiscount$ {
|
|
226
|
+
/** @deprecated use `GetCustomerDiscount$inboundSchema` instead. */
|
|
227
|
+
const inboundSchema: z.ZodType<GetCustomerDiscount, z.ZodTypeDef, unknown>;
|
|
228
|
+
/** @deprecated use `GetCustomerDiscount$outboundSchema` instead. */
|
|
229
|
+
const outboundSchema: z.ZodType<GetCustomerDiscount$Outbound, z.ZodTypeDef, GetCustomerDiscount>;
|
|
230
|
+
/** @deprecated use `GetCustomerDiscount$Outbound` instead. */
|
|
231
|
+
type Outbound = GetCustomerDiscount$Outbound;
|
|
232
|
+
}
|
|
233
|
+
export declare function getCustomerDiscountToJSON(getCustomerDiscount: GetCustomerDiscount): string;
|
|
234
|
+
export declare function getCustomerDiscountFromJSON(jsonString: string): SafeParseResult<GetCustomerDiscount, SDKValidationError>;
|
|
235
|
+
/** @internal */
|
|
115
236
|
export declare const GetCustomerResponseBody$inboundSchema: z.ZodType<GetCustomerResponseBody, z.ZodTypeDef, unknown>;
|
|
116
237
|
/** @internal */
|
|
117
238
|
export type GetCustomerResponseBody$Outbound = {
|
|
@@ -123,6 +244,8 @@ export type GetCustomerResponseBody$Outbound = {
|
|
|
123
244
|
country?: string | null | undefined;
|
|
124
245
|
createdAt: string;
|
|
125
246
|
link?: GetCustomerLink$Outbound | null | undefined;
|
|
247
|
+
partner?: GetCustomerPartner$Outbound | null | undefined;
|
|
248
|
+
discount?: GetCustomerDiscount$Outbound | null | undefined;
|
|
126
249
|
};
|
|
127
250
|
/** @internal */
|
|
128
251
|
export declare const GetCustomerResponseBody$outboundSchema: z.ZodType<GetCustomerResponseBody$Outbound, z.ZodTypeDef, GetCustomerResponseBody>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getcustomer.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/getcustomer.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,kBAAkB,GAAG;IAC/B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,eAAe,GAAG,IAAI,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"getcustomer.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/getcustomer.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,EAAE,EAAE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D,QAAQ,CAAC,EAAE,4BAA4B,GAAG,IAAI,GAAG,SAAS,CAAC;CAC5D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,sCAAsC,EAAE,CAAC,CAAC,OAAO,CAC5D,gCAAgC,EAChC,CAAC,CAAC,UAAU,EACZ,uBAAuB,CAcvB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,wBAAwB,CAAC;IACxC,uEAAuE;IAChE,MAAM,aAAa,2DAAwC,CAAC;IACnE,wEAAwE;IACjE,MAAM,cAAc,oFAAyC,CAAC;IACrE,kEAAkE;IAClE,KAAY,QAAQ,GAAG,gCAAgC,CAAC;CACzD;AAED,wBAAgB,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"}
|
|
@@ -26,9 +26,17 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.getCustomerResponseBodyFromJSON = exports.getCustomerResponseBodyToJSON = exports.GetCustomerResponseBody$ = exports.GetCustomerResponseBody$outboundSchema = exports.GetCustomerResponseBody$inboundSchema = exports.getCustomerLinkFromJSON = exports.getCustomerLinkToJSON = exports.GetCustomerLink$ = exports.GetCustomerLink$outboundSchema = exports.GetCustomerLink$inboundSchema = exports.getCustomerRequestFromJSON = exports.getCustomerRequestToJSON = exports.GetCustomerRequest$ = exports.GetCustomerRequest$outboundSchema = exports.GetCustomerRequest$inboundSchema = void 0;
|
|
29
|
+
exports.getCustomerResponseBodyFromJSON = exports.getCustomerResponseBodyToJSON = exports.GetCustomerResponseBody$ = exports.GetCustomerResponseBody$outboundSchema = exports.GetCustomerResponseBody$inboundSchema = exports.getCustomerDiscountFromJSON = exports.getCustomerDiscountToJSON = exports.GetCustomerDiscount$ = exports.GetCustomerDiscount$outboundSchema = exports.GetCustomerDiscount$inboundSchema = exports.GetCustomerInterval$ = exports.GetCustomerInterval$outboundSchema = exports.GetCustomerInterval$inboundSchema = exports.GetCustomerType$ = exports.GetCustomerType$outboundSchema = exports.GetCustomerType$inboundSchema = exports.getCustomerPartnerFromJSON = exports.getCustomerPartnerToJSON = exports.GetCustomerPartner$ = exports.GetCustomerPartner$outboundSchema = exports.GetCustomerPartner$inboundSchema = exports.getCustomerLinkFromJSON = exports.getCustomerLinkToJSON = exports.GetCustomerLink$ = exports.GetCustomerLink$outboundSchema = exports.GetCustomerLink$inboundSchema = exports.getCustomerRequestFromJSON = exports.getCustomerRequestToJSON = exports.GetCustomerRequest$ = exports.GetCustomerRequest$outboundSchema = exports.GetCustomerRequest$inboundSchema = exports.GetCustomerInterval = exports.GetCustomerType = void 0;
|
|
30
30
|
const z = __importStar(require("zod"));
|
|
31
31
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
32
|
+
exports.GetCustomerType = {
|
|
33
|
+
Percentage: "percentage",
|
|
34
|
+
Flat: "flat",
|
|
35
|
+
};
|
|
36
|
+
exports.GetCustomerInterval = {
|
|
37
|
+
Month: "month",
|
|
38
|
+
Year: "year",
|
|
39
|
+
};
|
|
32
40
|
/** @internal */
|
|
33
41
|
exports.GetCustomerRequest$inboundSchema = z.object({
|
|
34
42
|
id: z.string(),
|
|
@@ -92,6 +100,108 @@ function getCustomerLinkFromJSON(jsonString) {
|
|
|
92
100
|
}
|
|
93
101
|
exports.getCustomerLinkFromJSON = getCustomerLinkFromJSON;
|
|
94
102
|
/** @internal */
|
|
103
|
+
exports.GetCustomerPartner$inboundSchema = z.object({
|
|
104
|
+
id: z.string(),
|
|
105
|
+
name: z.string(),
|
|
106
|
+
email: z.string(),
|
|
107
|
+
image: z.nullable(z.string()).optional(),
|
|
108
|
+
});
|
|
109
|
+
/** @internal */
|
|
110
|
+
exports.GetCustomerPartner$outboundSchema = z.object({
|
|
111
|
+
id: z.string(),
|
|
112
|
+
name: z.string(),
|
|
113
|
+
email: z.string(),
|
|
114
|
+
image: z.nullable(z.string()).optional(),
|
|
115
|
+
});
|
|
116
|
+
/**
|
|
117
|
+
* @internal
|
|
118
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
119
|
+
*/
|
|
120
|
+
var GetCustomerPartner$;
|
|
121
|
+
(function (GetCustomerPartner$) {
|
|
122
|
+
/** @deprecated use `GetCustomerPartner$inboundSchema` instead. */
|
|
123
|
+
GetCustomerPartner$.inboundSchema = exports.GetCustomerPartner$inboundSchema;
|
|
124
|
+
/** @deprecated use `GetCustomerPartner$outboundSchema` instead. */
|
|
125
|
+
GetCustomerPartner$.outboundSchema = exports.GetCustomerPartner$outboundSchema;
|
|
126
|
+
})(GetCustomerPartner$ || (exports.GetCustomerPartner$ = GetCustomerPartner$ = {}));
|
|
127
|
+
function getCustomerPartnerToJSON(getCustomerPartner) {
|
|
128
|
+
return JSON.stringify(exports.GetCustomerPartner$outboundSchema.parse(getCustomerPartner));
|
|
129
|
+
}
|
|
130
|
+
exports.getCustomerPartnerToJSON = getCustomerPartnerToJSON;
|
|
131
|
+
function getCustomerPartnerFromJSON(jsonString) {
|
|
132
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetCustomerPartner$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetCustomerPartner' from JSON`);
|
|
133
|
+
}
|
|
134
|
+
exports.getCustomerPartnerFromJSON = getCustomerPartnerFromJSON;
|
|
135
|
+
/** @internal */
|
|
136
|
+
exports.GetCustomerType$inboundSchema = z.nativeEnum(exports.GetCustomerType);
|
|
137
|
+
/** @internal */
|
|
138
|
+
exports.GetCustomerType$outboundSchema = exports.GetCustomerType$inboundSchema;
|
|
139
|
+
/**
|
|
140
|
+
* @internal
|
|
141
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
142
|
+
*/
|
|
143
|
+
var GetCustomerType$;
|
|
144
|
+
(function (GetCustomerType$) {
|
|
145
|
+
/** @deprecated use `GetCustomerType$inboundSchema` instead. */
|
|
146
|
+
GetCustomerType$.inboundSchema = exports.GetCustomerType$inboundSchema;
|
|
147
|
+
/** @deprecated use `GetCustomerType$outboundSchema` instead. */
|
|
148
|
+
GetCustomerType$.outboundSchema = exports.GetCustomerType$outboundSchema;
|
|
149
|
+
})(GetCustomerType$ || (exports.GetCustomerType$ = GetCustomerType$ = {}));
|
|
150
|
+
/** @internal */
|
|
151
|
+
exports.GetCustomerInterval$inboundSchema = z.nativeEnum(exports.GetCustomerInterval);
|
|
152
|
+
/** @internal */
|
|
153
|
+
exports.GetCustomerInterval$outboundSchema = exports.GetCustomerInterval$inboundSchema;
|
|
154
|
+
/**
|
|
155
|
+
* @internal
|
|
156
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
157
|
+
*/
|
|
158
|
+
var GetCustomerInterval$;
|
|
159
|
+
(function (GetCustomerInterval$) {
|
|
160
|
+
/** @deprecated use `GetCustomerInterval$inboundSchema` instead. */
|
|
161
|
+
GetCustomerInterval$.inboundSchema = exports.GetCustomerInterval$inboundSchema;
|
|
162
|
+
/** @deprecated use `GetCustomerInterval$outboundSchema` instead. */
|
|
163
|
+
GetCustomerInterval$.outboundSchema = exports.GetCustomerInterval$outboundSchema;
|
|
164
|
+
})(GetCustomerInterval$ || (exports.GetCustomerInterval$ = GetCustomerInterval$ = {}));
|
|
165
|
+
/** @internal */
|
|
166
|
+
exports.GetCustomerDiscount$inboundSchema = z.object({
|
|
167
|
+
id: z.string(),
|
|
168
|
+
couponId: z.nullable(z.string()),
|
|
169
|
+
couponTestId: z.nullable(z.string()),
|
|
170
|
+
amount: z.number(),
|
|
171
|
+
type: exports.GetCustomerType$inboundSchema,
|
|
172
|
+
duration: z.nullable(z.number()),
|
|
173
|
+
interval: z.nullable(exports.GetCustomerInterval$inboundSchema),
|
|
174
|
+
});
|
|
175
|
+
/** @internal */
|
|
176
|
+
exports.GetCustomerDiscount$outboundSchema = z.object({
|
|
177
|
+
id: z.string(),
|
|
178
|
+
couponId: z.nullable(z.string()),
|
|
179
|
+
couponTestId: z.nullable(z.string()),
|
|
180
|
+
amount: z.number(),
|
|
181
|
+
type: exports.GetCustomerType$outboundSchema,
|
|
182
|
+
duration: z.nullable(z.number()),
|
|
183
|
+
interval: z.nullable(exports.GetCustomerInterval$outboundSchema),
|
|
184
|
+
});
|
|
185
|
+
/**
|
|
186
|
+
* @internal
|
|
187
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
188
|
+
*/
|
|
189
|
+
var GetCustomerDiscount$;
|
|
190
|
+
(function (GetCustomerDiscount$) {
|
|
191
|
+
/** @deprecated use `GetCustomerDiscount$inboundSchema` instead. */
|
|
192
|
+
GetCustomerDiscount$.inboundSchema = exports.GetCustomerDiscount$inboundSchema;
|
|
193
|
+
/** @deprecated use `GetCustomerDiscount$outboundSchema` instead. */
|
|
194
|
+
GetCustomerDiscount$.outboundSchema = exports.GetCustomerDiscount$outboundSchema;
|
|
195
|
+
})(GetCustomerDiscount$ || (exports.GetCustomerDiscount$ = GetCustomerDiscount$ = {}));
|
|
196
|
+
function getCustomerDiscountToJSON(getCustomerDiscount) {
|
|
197
|
+
return JSON.stringify(exports.GetCustomerDiscount$outboundSchema.parse(getCustomerDiscount));
|
|
198
|
+
}
|
|
199
|
+
exports.getCustomerDiscountToJSON = getCustomerDiscountToJSON;
|
|
200
|
+
function getCustomerDiscountFromJSON(jsonString) {
|
|
201
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetCustomerDiscount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetCustomerDiscount' from JSON`);
|
|
202
|
+
}
|
|
203
|
+
exports.getCustomerDiscountFromJSON = getCustomerDiscountFromJSON;
|
|
204
|
+
/** @internal */
|
|
95
205
|
exports.GetCustomerResponseBody$inboundSchema = z.object({
|
|
96
206
|
id: z.string(),
|
|
97
207
|
externalId: z.string(),
|
|
@@ -101,6 +211,10 @@ exports.GetCustomerResponseBody$inboundSchema = z.object({
|
|
|
101
211
|
country: z.nullable(z.string()).optional(),
|
|
102
212
|
createdAt: z.string(),
|
|
103
213
|
link: z.nullable(z.lazy(() => exports.GetCustomerLink$inboundSchema)).optional(),
|
|
214
|
+
partner: z.nullable(z.lazy(() => exports.GetCustomerPartner$inboundSchema))
|
|
215
|
+
.optional(),
|
|
216
|
+
discount: z.nullable(z.lazy(() => exports.GetCustomerDiscount$inboundSchema))
|
|
217
|
+
.optional(),
|
|
104
218
|
});
|
|
105
219
|
/** @internal */
|
|
106
220
|
exports.GetCustomerResponseBody$outboundSchema = z.object({
|
|
@@ -112,6 +226,10 @@ exports.GetCustomerResponseBody$outboundSchema = z.object({
|
|
|
112
226
|
country: z.nullable(z.string()).optional(),
|
|
113
227
|
createdAt: z.string(),
|
|
114
228
|
link: z.nullable(z.lazy(() => exports.GetCustomerLink$outboundSchema)).optional(),
|
|
229
|
+
partner: z.nullable(z.lazy(() => exports.GetCustomerPartner$outboundSchema))
|
|
230
|
+
.optional(),
|
|
231
|
+
discount: z.nullable(z.lazy(() => exports.GetCustomerDiscount$outboundSchema))
|
|
232
|
+
.optional(),
|
|
115
233
|
});
|
|
116
234
|
/**
|
|
117
235
|
* @internal
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getcustomer.js","sourceRoot":"","sources":["../../../../src/models/operations/getcustomer.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;
|
|
1
|
+
{"version":3,"file":"getcustomer.js","sourceRoot":"","sources":["../../../../src/models/operations/getcustomer.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,qDAAiD;AA0CpC,QAAA,eAAe,GAAG;IAC7B,UAAU,EAAE,YAAY;IACxB,IAAI,EAA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AAC;AAEH;;;GAGG;AACH,IAAiB,wBAAwB,CAOxC;AAPD,WAAiB,wBAAwB;IACvC,uEAAuE;IAC1D,sCAAa,GAAG,6CAAqC,CAAC;IACnE,wEAAwE;IAC3D,uCAAc,GAAG,8CAAsC,CAAC;AAGvE,CAAC,EAPgB,wBAAwB,wCAAxB,wBAAwB,QAOxC;AAED,SAAgB,6BAA6B,CAC3C,uBAAgD;IAEhD,OAAO,IAAI,CAAC,SAAS,CACnB,8CAAsC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CACtE,CAAC;AACJ,CAAC;AAND,sEAMC;AAED,SAAgB,+BAA+B,CAC7C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6CAAqC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjE,qDAAqD,CACtD,CAAC;AACJ,CAAC;AARD,0EAQC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
2
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
4
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
5
|
export type Link = {
|
|
@@ -23,6 +24,31 @@ export type Link = {
|
|
|
23
24
|
*/
|
|
24
25
|
programId: string | null;
|
|
25
26
|
};
|
|
27
|
+
export type Partner = {
|
|
28
|
+
id: string;
|
|
29
|
+
name: string;
|
|
30
|
+
email: string;
|
|
31
|
+
image?: string | null | undefined;
|
|
32
|
+
};
|
|
33
|
+
export declare const Type: {
|
|
34
|
+
readonly Percentage: "percentage";
|
|
35
|
+
readonly Flat: "flat";
|
|
36
|
+
};
|
|
37
|
+
export type Type = ClosedEnum<typeof Type>;
|
|
38
|
+
export declare const GetCustomersInterval: {
|
|
39
|
+
readonly Month: "month";
|
|
40
|
+
readonly Year: "year";
|
|
41
|
+
};
|
|
42
|
+
export type GetCustomersInterval = ClosedEnum<typeof GetCustomersInterval>;
|
|
43
|
+
export type Discount = {
|
|
44
|
+
id: string;
|
|
45
|
+
couponId: string | null;
|
|
46
|
+
couponTestId: string | null;
|
|
47
|
+
amount: number;
|
|
48
|
+
type: Type;
|
|
49
|
+
duration: number | null;
|
|
50
|
+
interval: GetCustomersInterval | null;
|
|
51
|
+
};
|
|
26
52
|
export type ResponseBody = {
|
|
27
53
|
/**
|
|
28
54
|
* The unique identifier of the customer in Dub.
|
|
@@ -53,6 +79,8 @@ export type ResponseBody = {
|
|
|
53
79
|
*/
|
|
54
80
|
createdAt: string;
|
|
55
81
|
link?: Link | null | undefined;
|
|
82
|
+
partner?: Partner | null | undefined;
|
|
83
|
+
discount?: Discount | null | undefined;
|
|
56
84
|
};
|
|
57
85
|
/** @internal */
|
|
58
86
|
export declare const Link$inboundSchema: z.ZodType<Link, z.ZodTypeDef, unknown>;
|
|
@@ -81,6 +109,99 @@ export declare namespace Link$ {
|
|
|
81
109
|
export declare function linkToJSON(link: Link): string;
|
|
82
110
|
export declare function linkFromJSON(jsonString: string): SafeParseResult<Link, SDKValidationError>;
|
|
83
111
|
/** @internal */
|
|
112
|
+
export declare const Partner$inboundSchema: z.ZodType<Partner, z.ZodTypeDef, unknown>;
|
|
113
|
+
/** @internal */
|
|
114
|
+
export type Partner$Outbound = {
|
|
115
|
+
id: string;
|
|
116
|
+
name: string;
|
|
117
|
+
email: string;
|
|
118
|
+
image?: string | null | undefined;
|
|
119
|
+
};
|
|
120
|
+
/** @internal */
|
|
121
|
+
export declare const Partner$outboundSchema: z.ZodType<Partner$Outbound, z.ZodTypeDef, Partner>;
|
|
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 declare namespace Partner$ {
|
|
127
|
+
/** @deprecated use `Partner$inboundSchema` instead. */
|
|
128
|
+
const inboundSchema: z.ZodType<Partner, z.ZodTypeDef, unknown>;
|
|
129
|
+
/** @deprecated use `Partner$outboundSchema` instead. */
|
|
130
|
+
const outboundSchema: z.ZodType<Partner$Outbound, z.ZodTypeDef, Partner>;
|
|
131
|
+
/** @deprecated use `Partner$Outbound` instead. */
|
|
132
|
+
type Outbound = Partner$Outbound;
|
|
133
|
+
}
|
|
134
|
+
export declare function partnerToJSON(partner: Partner): string;
|
|
135
|
+
export declare function partnerFromJSON(jsonString: string): SafeParseResult<Partner, SDKValidationError>;
|
|
136
|
+
/** @internal */
|
|
137
|
+
export declare const Type$inboundSchema: z.ZodNativeEnum<typeof Type>;
|
|
138
|
+
/** @internal */
|
|
139
|
+
export declare const Type$outboundSchema: z.ZodNativeEnum<typeof Type>;
|
|
140
|
+
/**
|
|
141
|
+
* @internal
|
|
142
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
143
|
+
*/
|
|
144
|
+
export declare namespace Type$ {
|
|
145
|
+
/** @deprecated use `Type$inboundSchema` instead. */
|
|
146
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
147
|
+
readonly Percentage: "percentage";
|
|
148
|
+
readonly Flat: "flat";
|
|
149
|
+
}>;
|
|
150
|
+
/** @deprecated use `Type$outboundSchema` instead. */
|
|
151
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
152
|
+
readonly Percentage: "percentage";
|
|
153
|
+
readonly Flat: "flat";
|
|
154
|
+
}>;
|
|
155
|
+
}
|
|
156
|
+
/** @internal */
|
|
157
|
+
export declare const GetCustomersInterval$inboundSchema: z.ZodNativeEnum<typeof GetCustomersInterval>;
|
|
158
|
+
/** @internal */
|
|
159
|
+
export declare const GetCustomersInterval$outboundSchema: z.ZodNativeEnum<typeof GetCustomersInterval>;
|
|
160
|
+
/**
|
|
161
|
+
* @internal
|
|
162
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
163
|
+
*/
|
|
164
|
+
export declare namespace GetCustomersInterval$ {
|
|
165
|
+
/** @deprecated use `GetCustomersInterval$inboundSchema` instead. */
|
|
166
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
167
|
+
readonly Month: "month";
|
|
168
|
+
readonly Year: "year";
|
|
169
|
+
}>;
|
|
170
|
+
/** @deprecated use `GetCustomersInterval$outboundSchema` instead. */
|
|
171
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
172
|
+
readonly Month: "month";
|
|
173
|
+
readonly Year: "year";
|
|
174
|
+
}>;
|
|
175
|
+
}
|
|
176
|
+
/** @internal */
|
|
177
|
+
export declare const Discount$inboundSchema: z.ZodType<Discount, z.ZodTypeDef, unknown>;
|
|
178
|
+
/** @internal */
|
|
179
|
+
export type Discount$Outbound = {
|
|
180
|
+
id: string;
|
|
181
|
+
couponId: string | null;
|
|
182
|
+
couponTestId: string | null;
|
|
183
|
+
amount: number;
|
|
184
|
+
type: string;
|
|
185
|
+
duration: number | null;
|
|
186
|
+
interval: string | null;
|
|
187
|
+
};
|
|
188
|
+
/** @internal */
|
|
189
|
+
export declare const Discount$outboundSchema: z.ZodType<Discount$Outbound, z.ZodTypeDef, Discount>;
|
|
190
|
+
/**
|
|
191
|
+
* @internal
|
|
192
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
193
|
+
*/
|
|
194
|
+
export declare namespace Discount$ {
|
|
195
|
+
/** @deprecated use `Discount$inboundSchema` instead. */
|
|
196
|
+
const inboundSchema: z.ZodType<Discount, z.ZodTypeDef, unknown>;
|
|
197
|
+
/** @deprecated use `Discount$outboundSchema` instead. */
|
|
198
|
+
const outboundSchema: z.ZodType<Discount$Outbound, z.ZodTypeDef, Discount>;
|
|
199
|
+
/** @deprecated use `Discount$Outbound` instead. */
|
|
200
|
+
type Outbound = Discount$Outbound;
|
|
201
|
+
}
|
|
202
|
+
export declare function discountToJSON(discount: Discount): string;
|
|
203
|
+
export declare function discountFromJSON(jsonString: string): SafeParseResult<Discount, SDKValidationError>;
|
|
204
|
+
/** @internal */
|
|
84
205
|
export declare const ResponseBody$inboundSchema: z.ZodType<ResponseBody, z.ZodTypeDef, unknown>;
|
|
85
206
|
/** @internal */
|
|
86
207
|
export type ResponseBody$Outbound = {
|
|
@@ -92,6 +213,8 @@ export type ResponseBody$Outbound = {
|
|
|
92
213
|
country?: string | null | undefined;
|
|
93
214
|
createdAt: string;
|
|
94
215
|
link?: Link$Outbound | null | undefined;
|
|
216
|
+
partner?: Partner$Outbound | null | undefined;
|
|
217
|
+
discount?: Discount$Outbound | null | undefined;
|
|
95
218
|
};
|
|
96
219
|
/** @internal */
|
|
97
220
|
export declare const ResponseBody$outboundSchema: z.ZodType<ResponseBody$Outbound, z.ZodTypeDef, ResponseBody>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getcustomers.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/getcustomers.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,IAAI,GAAG;IACjB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,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