dub 0.71.1 → 0.71.2
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/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/models/operations/listpayouts.d.ts +5 -164
- package/dist/commonjs/models/operations/listpayouts.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listpayouts.js +3 -101
- package/dist/commonjs/models/operations/listpayouts.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/models/operations/listpayouts.d.ts +5 -164
- package/dist/esm/models/operations/listpayouts.d.ts.map +1 -1
- package/dist/esm/models/operations/listpayouts.js +2 -99
- package/dist/esm/models/operations/listpayouts.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/operations/listpayouts.ts +7 -224
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "0.0.1";
|
|
34
|
-
readonly sdkVersion: "0.71.
|
|
35
|
-
readonly genVersion: "2.
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.71.
|
|
34
|
+
readonly sdkVersion: "0.71.2";
|
|
35
|
+
readonly genVersion: "2.814.0";
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.71.2 2.814.0 0.0.1 dub";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -31,8 +31,8 @@ function serverURLFromOptions(options) {
|
|
|
31
31
|
exports.SDK_METADATA = {
|
|
32
32
|
language: "typescript",
|
|
33
33
|
openapiDocVersion: "0.0.1",
|
|
34
|
-
sdkVersion: "0.71.
|
|
35
|
-
genVersion: "2.
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.71.
|
|
34
|
+
sdkVersion: "0.71.2",
|
|
35
|
+
genVersion: "2.814.0",
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.71.2 2.814.0 0.0.1 dub",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
|
@@ -90,83 +90,6 @@ export declare const ListPayoutsMode: {
|
|
|
90
90
|
readonly External: "external";
|
|
91
91
|
};
|
|
92
92
|
export type ListPayoutsMode = ClosedEnum<typeof ListPayoutsMode>;
|
|
93
|
-
/**
|
|
94
|
-
* The partner's profile type on Dub.
|
|
95
|
-
*/
|
|
96
|
-
export declare const ProfileType: {
|
|
97
|
-
readonly Individual: "individual";
|
|
98
|
-
readonly Company: "company";
|
|
99
|
-
};
|
|
100
|
-
/**
|
|
101
|
-
* The partner's profile type on Dub.
|
|
102
|
-
*/
|
|
103
|
-
export type ProfileType = ClosedEnum<typeof ProfileType>;
|
|
104
|
-
/**
|
|
105
|
-
* The partner's invoice settings.
|
|
106
|
-
*/
|
|
107
|
-
export type InvoiceSettings = {
|
|
108
|
-
address?: string | null | undefined;
|
|
109
|
-
taxId?: string | null | undefined;
|
|
110
|
-
};
|
|
111
|
-
/**
|
|
112
|
-
* The partner's monthly traffic.
|
|
113
|
-
*/
|
|
114
|
-
export declare const MonthlyTraffic: {
|
|
115
|
-
readonly ZeroToOneThousand: "ZeroToOneThousand";
|
|
116
|
-
readonly OneThousandToTenThousand: "OneThousandToTenThousand";
|
|
117
|
-
readonly TenThousandToFiftyThousand: "TenThousandToFiftyThousand";
|
|
118
|
-
readonly FiftyThousandToOneHundredThousand: "FiftyThousandToOneHundredThousand";
|
|
119
|
-
readonly OneHundredThousandPlus: "OneHundredThousandPlus";
|
|
120
|
-
};
|
|
121
|
-
/**
|
|
122
|
-
* The partner's monthly traffic.
|
|
123
|
-
*/
|
|
124
|
-
export type MonthlyTraffic = ClosedEnum<typeof MonthlyTraffic>;
|
|
125
|
-
export declare const IndustryInterests: {
|
|
126
|
-
readonly SaaS: "SaaS";
|
|
127
|
-
readonly DevTool: "DevTool";
|
|
128
|
-
readonly Ai: "AI";
|
|
129
|
-
readonly CreativeAndDesign: "Creative_And_Design";
|
|
130
|
-
readonly ProductivitySoftware: "Productivity_Software";
|
|
131
|
-
readonly Marketing: "Marketing";
|
|
132
|
-
readonly Gaming: "Gaming";
|
|
133
|
-
readonly Finance: "Finance";
|
|
134
|
-
readonly Sales: "Sales";
|
|
135
|
-
readonly Ecommerce: "Ecommerce";
|
|
136
|
-
readonly CustomerServiceAndSupport: "Customer_Service_And_Support";
|
|
137
|
-
readonly ContentManagement: "Content_Management";
|
|
138
|
-
readonly HumanResources: "Human_Resources";
|
|
139
|
-
readonly Security: "Security";
|
|
140
|
-
readonly AnalyticsAndData: "Analytics_And_Data";
|
|
141
|
-
readonly SocialMedia: "Social_Media";
|
|
142
|
-
readonly ConsumerTech: "Consumer_Tech";
|
|
143
|
-
readonly EducationAndLearning: "Education_And_Learning";
|
|
144
|
-
readonly HealthAndFitness: "Health_And_Fitness";
|
|
145
|
-
readonly FoodAndBeverage: "Food_And_Beverage";
|
|
146
|
-
readonly TravelAndLifestyle: "Travel_And_Lifestyle";
|
|
147
|
-
readonly EntertainmentAndMedia: "Entertainment_And_Media";
|
|
148
|
-
readonly Sports: "Sports";
|
|
149
|
-
readonly ScienceAndEngineering: "Science_And_Engineering";
|
|
150
|
-
};
|
|
151
|
-
export type IndustryInterests = ClosedEnum<typeof IndustryInterests>;
|
|
152
|
-
export declare const PreferredEarningStructures: {
|
|
153
|
-
readonly RevenueShare: "Revenue_Share";
|
|
154
|
-
readonly PerLead: "Per_Lead";
|
|
155
|
-
readonly PerSale: "Per_Sale";
|
|
156
|
-
readonly PerClick: "Per_Click";
|
|
157
|
-
readonly OneTimePayment: "One_Time_Payment";
|
|
158
|
-
};
|
|
159
|
-
export type PreferredEarningStructures = ClosedEnum<typeof PreferredEarningStructures>;
|
|
160
|
-
export declare const SalesChannels: {
|
|
161
|
-
readonly Blogs: "Blogs";
|
|
162
|
-
readonly Coupons: "Coupons";
|
|
163
|
-
readonly DirectReselling: "Direct_Reselling";
|
|
164
|
-
readonly Newsletters: "Newsletters";
|
|
165
|
-
readonly SocialMedia: "Social_Media";
|
|
166
|
-
readonly Events: "Events";
|
|
167
|
-
readonly CompanyReferrals: "Company_Referrals";
|
|
168
|
-
};
|
|
169
|
-
export type SalesChannels = ClosedEnum<typeof SalesChannels>;
|
|
170
93
|
export type ListPayoutsPartner = {
|
|
171
94
|
/**
|
|
172
95
|
* The partner's unique ID on Dub.
|
|
@@ -176,14 +99,6 @@ export type ListPayoutsPartner = {
|
|
|
176
99
|
* The partner's full legal name.
|
|
177
100
|
*/
|
|
178
101
|
name: string;
|
|
179
|
-
/**
|
|
180
|
-
* If the partner profile type is a company, this is the partner's legal company name.
|
|
181
|
-
*/
|
|
182
|
-
companyName: string | null;
|
|
183
|
-
/**
|
|
184
|
-
* The partner's profile type on Dub.
|
|
185
|
-
*/
|
|
186
|
-
profileType: ProfileType;
|
|
187
102
|
/**
|
|
188
103
|
* The partner's email address. Should be a unique value across Dub.
|
|
189
104
|
*/
|
|
@@ -192,82 +107,21 @@ export type ListPayoutsPartner = {
|
|
|
192
107
|
* The partner's avatar image.
|
|
193
108
|
*/
|
|
194
109
|
image: string | null;
|
|
195
|
-
/**
|
|
196
|
-
* A brief description of the partner and their background.
|
|
197
|
-
*/
|
|
198
|
-
description?: string | null | undefined;
|
|
199
|
-
/**
|
|
200
|
-
* The partner's country (required for tax purposes).
|
|
201
|
-
*/
|
|
202
|
-
country: string | null;
|
|
203
|
-
/**
|
|
204
|
-
* The partner's Stripe Connect ID (for receiving payouts via Stripe).
|
|
205
|
-
*/
|
|
206
|
-
stripeConnectId: string | null;
|
|
207
|
-
/**
|
|
208
|
-
* The partner's PayPal email (for receiving payouts via PayPal).
|
|
209
|
-
*/
|
|
210
|
-
paypalEmail: string | null;
|
|
211
110
|
/**
|
|
212
111
|
* The date when the partner enabled payouts.
|
|
213
112
|
*/
|
|
214
113
|
payoutsEnabledAt: string | null;
|
|
215
114
|
/**
|
|
216
|
-
* The partner's
|
|
217
|
-
*/
|
|
218
|
-
invoiceSettings: InvoiceSettings | null;
|
|
219
|
-
/**
|
|
220
|
-
* The date when the partner was created on Dub.
|
|
221
|
-
*/
|
|
222
|
-
createdAt: string;
|
|
223
|
-
/**
|
|
224
|
-
* The date when the partner was added to the partner network.
|
|
225
|
-
*/
|
|
226
|
-
discoverableAt: string | null;
|
|
227
|
-
/**
|
|
228
|
-
* The date when the partner received the trusted badge in the partner network.
|
|
229
|
-
*/
|
|
230
|
-
trustedAt: string | null;
|
|
231
|
-
/**
|
|
232
|
-
* The partner's website URL (including the https protocol).
|
|
233
|
-
*/
|
|
234
|
-
website?: string | null | undefined;
|
|
235
|
-
/**
|
|
236
|
-
* The partner's YouTube channel username (e.g. `johndoe`).
|
|
237
|
-
*/
|
|
238
|
-
youtube?: string | null | undefined;
|
|
239
|
-
/**
|
|
240
|
-
* The partner's Twitter username (e.g. `johndoe`).
|
|
241
|
-
*/
|
|
242
|
-
twitter?: string | null | undefined;
|
|
243
|
-
/**
|
|
244
|
-
* The partner's LinkedIn username (e.g. `johndoe`).
|
|
245
|
-
*/
|
|
246
|
-
linkedin?: string | null | undefined;
|
|
247
|
-
/**
|
|
248
|
-
* The partner's Instagram username (e.g. `johndoe`).
|
|
249
|
-
*/
|
|
250
|
-
instagram?: string | null | undefined;
|
|
251
|
-
/**
|
|
252
|
-
* The partner's TikTok username (e.g. `johndoe`).
|
|
253
|
-
*/
|
|
254
|
-
tiktok?: string | null | undefined;
|
|
255
|
-
/**
|
|
256
|
-
* The partner's monthly traffic.
|
|
257
|
-
*/
|
|
258
|
-
monthlyTraffic?: MonthlyTraffic | null | undefined;
|
|
259
|
-
/**
|
|
260
|
-
* The partner's industry interests.
|
|
115
|
+
* The partner's country (required for tax purposes).
|
|
261
116
|
*/
|
|
262
|
-
|
|
117
|
+
country: string | null;
|
|
263
118
|
/**
|
|
264
|
-
* The partner's
|
|
119
|
+
* The partner's group ID on Dub.
|
|
265
120
|
*/
|
|
266
|
-
|
|
121
|
+
groupId?: string | null | undefined;
|
|
267
122
|
/**
|
|
268
|
-
* The partner's
|
|
123
|
+
* The partner's unique ID within your database. Can be useful for associating the partner with a user in your database and retrieving/update their data in the future.
|
|
269
124
|
*/
|
|
270
|
-
salesChannels?: Array<SalesChannels> | undefined;
|
|
271
125
|
tenantId: string | null;
|
|
272
126
|
};
|
|
273
127
|
export type User = {
|
|
@@ -318,19 +172,6 @@ export declare const ListPayoutsStatus$inboundSchema: z.ZodNativeEnum<typeof Lis
|
|
|
318
172
|
/** @internal */
|
|
319
173
|
export declare const ListPayoutsMode$inboundSchema: z.ZodNativeEnum<typeof ListPayoutsMode>;
|
|
320
174
|
/** @internal */
|
|
321
|
-
export declare const ProfileType$inboundSchema: z.ZodNativeEnum<typeof ProfileType>;
|
|
322
|
-
/** @internal */
|
|
323
|
-
export declare const InvoiceSettings$inboundSchema: z.ZodType<InvoiceSettings, z.ZodTypeDef, unknown>;
|
|
324
|
-
export declare function invoiceSettingsFromJSON(jsonString: string): SafeParseResult<InvoiceSettings, SDKValidationError>;
|
|
325
|
-
/** @internal */
|
|
326
|
-
export declare const MonthlyTraffic$inboundSchema: z.ZodNativeEnum<typeof MonthlyTraffic>;
|
|
327
|
-
/** @internal */
|
|
328
|
-
export declare const IndustryInterests$inboundSchema: z.ZodNativeEnum<typeof IndustryInterests>;
|
|
329
|
-
/** @internal */
|
|
330
|
-
export declare const PreferredEarningStructures$inboundSchema: z.ZodNativeEnum<typeof PreferredEarningStructures>;
|
|
331
|
-
/** @internal */
|
|
332
|
-
export declare const SalesChannels$inboundSchema: z.ZodNativeEnum<typeof SalesChannels>;
|
|
333
|
-
/** @internal */
|
|
334
175
|
export declare const ListPayoutsPartner$inboundSchema: z.ZodType<ListPayoutsPartner, z.ZodTypeDef, unknown>;
|
|
335
176
|
export declare function listPayoutsPartnerFromJSON(jsonString: string): SafeParseResult<ListPayoutsPartner, SDKValidationError>;
|
|
336
177
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listpayouts.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/listpayouts.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,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;;GAEG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;CAQ9B,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAClD,OAAO,2BAA2B,CACnC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,2BAA2B;;;;CAI9B,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAClD,OAAO,2BAA2B,CACnC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;CAGjC,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,UAAU,CACrD,OAAO,8BAA8B,CACtC,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,MAAM,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;IACjD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;OAEG;IACH,MAAM,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;IACjD;;OAEG;IACH,SAAS,CAAC,EAAE,8BAA8B,GAAG,SAAS,CAAC;IACv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M9D"}
|
|
@@ -36,9 +36,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.ListPayoutsResponseBody$inboundSchema = exports.User$inboundSchema = exports.ListPayoutsPartner$inboundSchema = exports.
|
|
39
|
+
exports.ListPayoutsResponseBody$inboundSchema = exports.User$inboundSchema = exports.ListPayoutsPartner$inboundSchema = exports.ListPayoutsMode$inboundSchema = exports.ListPayoutsStatus$inboundSchema = exports.ListPayoutsRequest$outboundSchema = exports.ListPayoutsQueryParamSortOrder$outboundSchema = exports.ListPayoutsQueryParamSortBy$outboundSchema = exports.ListPayoutsQueryParamStatus$outboundSchema = exports.ListPayoutsMode = exports.ListPayoutsStatus = exports.ListPayoutsQueryParamSortOrder = exports.ListPayoutsQueryParamSortBy = exports.ListPayoutsQueryParamStatus = void 0;
|
|
40
40
|
exports.listPayoutsRequestToJSON = listPayoutsRequestToJSON;
|
|
41
|
-
exports.invoiceSettingsFromJSON = invoiceSettingsFromJSON;
|
|
42
41
|
exports.listPayoutsPartnerFromJSON = listPayoutsPartnerFromJSON;
|
|
43
42
|
exports.userFromJSON = userFromJSON;
|
|
44
43
|
exports.listPayoutsResponseBodyFromJSON = listPayoutsResponseBodyFromJSON;
|
|
@@ -84,65 +83,6 @@ exports.ListPayoutsMode = {
|
|
|
84
83
|
Internal: "internal",
|
|
85
84
|
External: "external",
|
|
86
85
|
};
|
|
87
|
-
/**
|
|
88
|
-
* The partner's profile type on Dub.
|
|
89
|
-
*/
|
|
90
|
-
exports.ProfileType = {
|
|
91
|
-
Individual: "individual",
|
|
92
|
-
Company: "company",
|
|
93
|
-
};
|
|
94
|
-
/**
|
|
95
|
-
* The partner's monthly traffic.
|
|
96
|
-
*/
|
|
97
|
-
exports.MonthlyTraffic = {
|
|
98
|
-
ZeroToOneThousand: "ZeroToOneThousand",
|
|
99
|
-
OneThousandToTenThousand: "OneThousandToTenThousand",
|
|
100
|
-
TenThousandToFiftyThousand: "TenThousandToFiftyThousand",
|
|
101
|
-
FiftyThousandToOneHundredThousand: "FiftyThousandToOneHundredThousand",
|
|
102
|
-
OneHundredThousandPlus: "OneHundredThousandPlus",
|
|
103
|
-
};
|
|
104
|
-
exports.IndustryInterests = {
|
|
105
|
-
SaaS: "SaaS",
|
|
106
|
-
DevTool: "DevTool",
|
|
107
|
-
Ai: "AI",
|
|
108
|
-
CreativeAndDesign: "Creative_And_Design",
|
|
109
|
-
ProductivitySoftware: "Productivity_Software",
|
|
110
|
-
Marketing: "Marketing",
|
|
111
|
-
Gaming: "Gaming",
|
|
112
|
-
Finance: "Finance",
|
|
113
|
-
Sales: "Sales",
|
|
114
|
-
Ecommerce: "Ecommerce",
|
|
115
|
-
CustomerServiceAndSupport: "Customer_Service_And_Support",
|
|
116
|
-
ContentManagement: "Content_Management",
|
|
117
|
-
HumanResources: "Human_Resources",
|
|
118
|
-
Security: "Security",
|
|
119
|
-
AnalyticsAndData: "Analytics_And_Data",
|
|
120
|
-
SocialMedia: "Social_Media",
|
|
121
|
-
ConsumerTech: "Consumer_Tech",
|
|
122
|
-
EducationAndLearning: "Education_And_Learning",
|
|
123
|
-
HealthAndFitness: "Health_And_Fitness",
|
|
124
|
-
FoodAndBeverage: "Food_And_Beverage",
|
|
125
|
-
TravelAndLifestyle: "Travel_And_Lifestyle",
|
|
126
|
-
EntertainmentAndMedia: "Entertainment_And_Media",
|
|
127
|
-
Sports: "Sports",
|
|
128
|
-
ScienceAndEngineering: "Science_And_Engineering",
|
|
129
|
-
};
|
|
130
|
-
exports.PreferredEarningStructures = {
|
|
131
|
-
RevenueShare: "Revenue_Share",
|
|
132
|
-
PerLead: "Per_Lead",
|
|
133
|
-
PerSale: "Per_Sale",
|
|
134
|
-
PerClick: "Per_Click",
|
|
135
|
-
OneTimePayment: "One_Time_Payment",
|
|
136
|
-
};
|
|
137
|
-
exports.SalesChannels = {
|
|
138
|
-
Blogs: "Blogs",
|
|
139
|
-
Coupons: "Coupons",
|
|
140
|
-
DirectReselling: "Direct_Reselling",
|
|
141
|
-
Newsletters: "Newsletters",
|
|
142
|
-
SocialMedia: "Social_Media",
|
|
143
|
-
Events: "Events",
|
|
144
|
-
CompanyReferrals: "Company_Referrals",
|
|
145
|
-
};
|
|
146
86
|
/** @internal */
|
|
147
87
|
exports.ListPayoutsQueryParamStatus$outboundSchema = z.nativeEnum(exports.ListPayoutsQueryParamStatus);
|
|
148
88
|
/** @internal */
|
|
@@ -168,52 +108,14 @@ exports.ListPayoutsStatus$inboundSchema = z.nativeEnum(exports.ListPayoutsStatus
|
|
|
168
108
|
/** @internal */
|
|
169
109
|
exports.ListPayoutsMode$inboundSchema = z.nativeEnum(exports.ListPayoutsMode);
|
|
170
110
|
/** @internal */
|
|
171
|
-
exports.ProfileType$inboundSchema = z
|
|
172
|
-
.nativeEnum(exports.ProfileType);
|
|
173
|
-
/** @internal */
|
|
174
|
-
exports.InvoiceSettings$inboundSchema = z.object({
|
|
175
|
-
address: z.nullable(z.string()).optional(),
|
|
176
|
-
taxId: z.nullable(z.string()).optional(),
|
|
177
|
-
});
|
|
178
|
-
function invoiceSettingsFromJSON(jsonString) {
|
|
179
|
-
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.InvoiceSettings$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InvoiceSettings' from JSON`);
|
|
180
|
-
}
|
|
181
|
-
/** @internal */
|
|
182
|
-
exports.MonthlyTraffic$inboundSchema = z.nativeEnum(exports.MonthlyTraffic);
|
|
183
|
-
/** @internal */
|
|
184
|
-
exports.IndustryInterests$inboundSchema = z.nativeEnum(exports.IndustryInterests);
|
|
185
|
-
/** @internal */
|
|
186
|
-
exports.PreferredEarningStructures$inboundSchema = z.nativeEnum(exports.PreferredEarningStructures);
|
|
187
|
-
/** @internal */
|
|
188
|
-
exports.SalesChannels$inboundSchema = z.nativeEnum(exports.SalesChannels);
|
|
189
|
-
/** @internal */
|
|
190
111
|
exports.ListPayoutsPartner$inboundSchema = z.object({
|
|
191
112
|
id: z.string(),
|
|
192
113
|
name: z.string(),
|
|
193
|
-
companyName: z.nullable(z.string()),
|
|
194
|
-
profileType: exports.ProfileType$inboundSchema,
|
|
195
114
|
email: z.nullable(z.string()),
|
|
196
115
|
image: z.nullable(z.string()),
|
|
197
|
-
description: z.nullable(z.string()).optional(),
|
|
198
|
-
country: z.nullable(z.string()),
|
|
199
|
-
stripeConnectId: z.nullable(z.string()),
|
|
200
|
-
paypalEmail: z.nullable(z.string()),
|
|
201
116
|
payoutsEnabledAt: z.nullable(z.string()),
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
discoverableAt: z.nullable(z.string()),
|
|
205
|
-
trustedAt: z.nullable(z.string()),
|
|
206
|
-
website: z.nullable(z.string()).optional(),
|
|
207
|
-
youtube: z.nullable(z.string()).optional(),
|
|
208
|
-
twitter: z.nullable(z.string()).optional(),
|
|
209
|
-
linkedin: z.nullable(z.string()).optional(),
|
|
210
|
-
instagram: z.nullable(z.string()).optional(),
|
|
211
|
-
tiktok: z.nullable(z.string()).optional(),
|
|
212
|
-
monthlyTraffic: z.nullable(exports.MonthlyTraffic$inboundSchema).optional(),
|
|
213
|
-
industryInterests: z.array(exports.IndustryInterests$inboundSchema).optional(),
|
|
214
|
-
preferredEarningStructures: z.array(exports.PreferredEarningStructures$inboundSchema)
|
|
215
|
-
.optional(),
|
|
216
|
-
salesChannels: z.array(exports.SalesChannels$inboundSchema).optional(),
|
|
117
|
+
country: z.nullable(z.string()),
|
|
118
|
+
groupId: z.nullable(z.string()).optional(),
|
|
217
119
|
tenantId: z.nullable(z.string()),
|
|
218
120
|
});
|
|
219
121
|
function listPayoutsPartnerFromJSON(jsonString) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listpayouts.js","sourceRoot":"","sources":["../../../../src/models/operations/listpayouts.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;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ions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "0.0.1";
|
|
34
|
-
readonly sdkVersion: "0.71.
|
|
35
|
-
readonly genVersion: "2.
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.71.
|
|
34
|
+
readonly sdkVersion: "0.71.2";
|
|
35
|
+
readonly genVersion: "2.814.0";
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.71.2 2.814.0 0.0.1 dub";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/dist/esm/lib/config.js
CHANGED
|
@@ -27,8 +27,8 @@ export function serverURLFromOptions(options) {
|
|
|
27
27
|
export const SDK_METADATA = {
|
|
28
28
|
language: "typescript",
|
|
29
29
|
openapiDocVersion: "0.0.1",
|
|
30
|
-
sdkVersion: "0.71.
|
|
31
|
-
genVersion: "2.
|
|
32
|
-
userAgent: "speakeasy-sdk/typescript 0.71.
|
|
30
|
+
sdkVersion: "0.71.2",
|
|
31
|
+
genVersion: "2.814.0",
|
|
32
|
+
userAgent: "speakeasy-sdk/typescript 0.71.2 2.814.0 0.0.1 dub",
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=config.js.map
|
|
@@ -90,83 +90,6 @@ export declare const ListPayoutsMode: {
|
|
|
90
90
|
readonly External: "external";
|
|
91
91
|
};
|
|
92
92
|
export type ListPayoutsMode = ClosedEnum<typeof ListPayoutsMode>;
|
|
93
|
-
/**
|
|
94
|
-
* The partner's profile type on Dub.
|
|
95
|
-
*/
|
|
96
|
-
export declare const ProfileType: {
|
|
97
|
-
readonly Individual: "individual";
|
|
98
|
-
readonly Company: "company";
|
|
99
|
-
};
|
|
100
|
-
/**
|
|
101
|
-
* The partner's profile type on Dub.
|
|
102
|
-
*/
|
|
103
|
-
export type ProfileType = ClosedEnum<typeof ProfileType>;
|
|
104
|
-
/**
|
|
105
|
-
* The partner's invoice settings.
|
|
106
|
-
*/
|
|
107
|
-
export type InvoiceSettings = {
|
|
108
|
-
address?: string | null | undefined;
|
|
109
|
-
taxId?: string | null | undefined;
|
|
110
|
-
};
|
|
111
|
-
/**
|
|
112
|
-
* The partner's monthly traffic.
|
|
113
|
-
*/
|
|
114
|
-
export declare const MonthlyTraffic: {
|
|
115
|
-
readonly ZeroToOneThousand: "ZeroToOneThousand";
|
|
116
|
-
readonly OneThousandToTenThousand: "OneThousandToTenThousand";
|
|
117
|
-
readonly TenThousandToFiftyThousand: "TenThousandToFiftyThousand";
|
|
118
|
-
readonly FiftyThousandToOneHundredThousand: "FiftyThousandToOneHundredThousand";
|
|
119
|
-
readonly OneHundredThousandPlus: "OneHundredThousandPlus";
|
|
120
|
-
};
|
|
121
|
-
/**
|
|
122
|
-
* The partner's monthly traffic.
|
|
123
|
-
*/
|
|
124
|
-
export type MonthlyTraffic = ClosedEnum<typeof MonthlyTraffic>;
|
|
125
|
-
export declare const IndustryInterests: {
|
|
126
|
-
readonly SaaS: "SaaS";
|
|
127
|
-
readonly DevTool: "DevTool";
|
|
128
|
-
readonly Ai: "AI";
|
|
129
|
-
readonly CreativeAndDesign: "Creative_And_Design";
|
|
130
|
-
readonly ProductivitySoftware: "Productivity_Software";
|
|
131
|
-
readonly Marketing: "Marketing";
|
|
132
|
-
readonly Gaming: "Gaming";
|
|
133
|
-
readonly Finance: "Finance";
|
|
134
|
-
readonly Sales: "Sales";
|
|
135
|
-
readonly Ecommerce: "Ecommerce";
|
|
136
|
-
readonly CustomerServiceAndSupport: "Customer_Service_And_Support";
|
|
137
|
-
readonly ContentManagement: "Content_Management";
|
|
138
|
-
readonly HumanResources: "Human_Resources";
|
|
139
|
-
readonly Security: "Security";
|
|
140
|
-
readonly AnalyticsAndData: "Analytics_And_Data";
|
|
141
|
-
readonly SocialMedia: "Social_Media";
|
|
142
|
-
readonly ConsumerTech: "Consumer_Tech";
|
|
143
|
-
readonly EducationAndLearning: "Education_And_Learning";
|
|
144
|
-
readonly HealthAndFitness: "Health_And_Fitness";
|
|
145
|
-
readonly FoodAndBeverage: "Food_And_Beverage";
|
|
146
|
-
readonly TravelAndLifestyle: "Travel_And_Lifestyle";
|
|
147
|
-
readonly EntertainmentAndMedia: "Entertainment_And_Media";
|
|
148
|
-
readonly Sports: "Sports";
|
|
149
|
-
readonly ScienceAndEngineering: "Science_And_Engineering";
|
|
150
|
-
};
|
|
151
|
-
export type IndustryInterests = ClosedEnum<typeof IndustryInterests>;
|
|
152
|
-
export declare const PreferredEarningStructures: {
|
|
153
|
-
readonly RevenueShare: "Revenue_Share";
|
|
154
|
-
readonly PerLead: "Per_Lead";
|
|
155
|
-
readonly PerSale: "Per_Sale";
|
|
156
|
-
readonly PerClick: "Per_Click";
|
|
157
|
-
readonly OneTimePayment: "One_Time_Payment";
|
|
158
|
-
};
|
|
159
|
-
export type PreferredEarningStructures = ClosedEnum<typeof PreferredEarningStructures>;
|
|
160
|
-
export declare const SalesChannels: {
|
|
161
|
-
readonly Blogs: "Blogs";
|
|
162
|
-
readonly Coupons: "Coupons";
|
|
163
|
-
readonly DirectReselling: "Direct_Reselling";
|
|
164
|
-
readonly Newsletters: "Newsletters";
|
|
165
|
-
readonly SocialMedia: "Social_Media";
|
|
166
|
-
readonly Events: "Events";
|
|
167
|
-
readonly CompanyReferrals: "Company_Referrals";
|
|
168
|
-
};
|
|
169
|
-
export type SalesChannels = ClosedEnum<typeof SalesChannels>;
|
|
170
93
|
export type ListPayoutsPartner = {
|
|
171
94
|
/**
|
|
172
95
|
* The partner's unique ID on Dub.
|
|
@@ -176,14 +99,6 @@ export type ListPayoutsPartner = {
|
|
|
176
99
|
* The partner's full legal name.
|
|
177
100
|
*/
|
|
178
101
|
name: string;
|
|
179
|
-
/**
|
|
180
|
-
* If the partner profile type is a company, this is the partner's legal company name.
|
|
181
|
-
*/
|
|
182
|
-
companyName: string | null;
|
|
183
|
-
/**
|
|
184
|
-
* The partner's profile type on Dub.
|
|
185
|
-
*/
|
|
186
|
-
profileType: ProfileType;
|
|
187
102
|
/**
|
|
188
103
|
* The partner's email address. Should be a unique value across Dub.
|
|
189
104
|
*/
|
|
@@ -192,82 +107,21 @@ export type ListPayoutsPartner = {
|
|
|
192
107
|
* The partner's avatar image.
|
|
193
108
|
*/
|
|
194
109
|
image: string | null;
|
|
195
|
-
/**
|
|
196
|
-
* A brief description of the partner and their background.
|
|
197
|
-
*/
|
|
198
|
-
description?: string | null | undefined;
|
|
199
|
-
/**
|
|
200
|
-
* The partner's country (required for tax purposes).
|
|
201
|
-
*/
|
|
202
|
-
country: string | null;
|
|
203
|
-
/**
|
|
204
|
-
* The partner's Stripe Connect ID (for receiving payouts via Stripe).
|
|
205
|
-
*/
|
|
206
|
-
stripeConnectId: string | null;
|
|
207
|
-
/**
|
|
208
|
-
* The partner's PayPal email (for receiving payouts via PayPal).
|
|
209
|
-
*/
|
|
210
|
-
paypalEmail: string | null;
|
|
211
110
|
/**
|
|
212
111
|
* The date when the partner enabled payouts.
|
|
213
112
|
*/
|
|
214
113
|
payoutsEnabledAt: string | null;
|
|
215
114
|
/**
|
|
216
|
-
* The partner's
|
|
217
|
-
*/
|
|
218
|
-
invoiceSettings: InvoiceSettings | null;
|
|
219
|
-
/**
|
|
220
|
-
* The date when the partner was created on Dub.
|
|
221
|
-
*/
|
|
222
|
-
createdAt: string;
|
|
223
|
-
/**
|
|
224
|
-
* The date when the partner was added to the partner network.
|
|
225
|
-
*/
|
|
226
|
-
discoverableAt: string | null;
|
|
227
|
-
/**
|
|
228
|
-
* The date when the partner received the trusted badge in the partner network.
|
|
229
|
-
*/
|
|
230
|
-
trustedAt: string | null;
|
|
231
|
-
/**
|
|
232
|
-
* The partner's website URL (including the https protocol).
|
|
233
|
-
*/
|
|
234
|
-
website?: string | null | undefined;
|
|
235
|
-
/**
|
|
236
|
-
* The partner's YouTube channel username (e.g. `johndoe`).
|
|
237
|
-
*/
|
|
238
|
-
youtube?: string | null | undefined;
|
|
239
|
-
/**
|
|
240
|
-
* The partner's Twitter username (e.g. `johndoe`).
|
|
241
|
-
*/
|
|
242
|
-
twitter?: string | null | undefined;
|
|
243
|
-
/**
|
|
244
|
-
* The partner's LinkedIn username (e.g. `johndoe`).
|
|
245
|
-
*/
|
|
246
|
-
linkedin?: string | null | undefined;
|
|
247
|
-
/**
|
|
248
|
-
* The partner's Instagram username (e.g. `johndoe`).
|
|
249
|
-
*/
|
|
250
|
-
instagram?: string | null | undefined;
|
|
251
|
-
/**
|
|
252
|
-
* The partner's TikTok username (e.g. `johndoe`).
|
|
253
|
-
*/
|
|
254
|
-
tiktok?: string | null | undefined;
|
|
255
|
-
/**
|
|
256
|
-
* The partner's monthly traffic.
|
|
257
|
-
*/
|
|
258
|
-
monthlyTraffic?: MonthlyTraffic | null | undefined;
|
|
259
|
-
/**
|
|
260
|
-
* The partner's industry interests.
|
|
115
|
+
* The partner's country (required for tax purposes).
|
|
261
116
|
*/
|
|
262
|
-
|
|
117
|
+
country: string | null;
|
|
263
118
|
/**
|
|
264
|
-
* The partner's
|
|
119
|
+
* The partner's group ID on Dub.
|
|
265
120
|
*/
|
|
266
|
-
|
|
121
|
+
groupId?: string | null | undefined;
|
|
267
122
|
/**
|
|
268
|
-
* The partner's
|
|
123
|
+
* The partner's unique ID within your database. Can be useful for associating the partner with a user in your database and retrieving/update their data in the future.
|
|
269
124
|
*/
|
|
270
|
-
salesChannels?: Array<SalesChannels> | undefined;
|
|
271
125
|
tenantId: string | null;
|
|
272
126
|
};
|
|
273
127
|
export type User = {
|
|
@@ -318,19 +172,6 @@ export declare const ListPayoutsStatus$inboundSchema: z.ZodNativeEnum<typeof Lis
|
|
|
318
172
|
/** @internal */
|
|
319
173
|
export declare const ListPayoutsMode$inboundSchema: z.ZodNativeEnum<typeof ListPayoutsMode>;
|
|
320
174
|
/** @internal */
|
|
321
|
-
export declare const ProfileType$inboundSchema: z.ZodNativeEnum<typeof ProfileType>;
|
|
322
|
-
/** @internal */
|
|
323
|
-
export declare const InvoiceSettings$inboundSchema: z.ZodType<InvoiceSettings, z.ZodTypeDef, unknown>;
|
|
324
|
-
export declare function invoiceSettingsFromJSON(jsonString: string): SafeParseResult<InvoiceSettings, SDKValidationError>;
|
|
325
|
-
/** @internal */
|
|
326
|
-
export declare const MonthlyTraffic$inboundSchema: z.ZodNativeEnum<typeof MonthlyTraffic>;
|
|
327
|
-
/** @internal */
|
|
328
|
-
export declare const IndustryInterests$inboundSchema: z.ZodNativeEnum<typeof IndustryInterests>;
|
|
329
|
-
/** @internal */
|
|
330
|
-
export declare const PreferredEarningStructures$inboundSchema: z.ZodNativeEnum<typeof PreferredEarningStructures>;
|
|
331
|
-
/** @internal */
|
|
332
|
-
export declare const SalesChannels$inboundSchema: z.ZodNativeEnum<typeof SalesChannels>;
|
|
333
|
-
/** @internal */
|
|
334
175
|
export declare const ListPayoutsPartner$inboundSchema: z.ZodType<ListPayoutsPartner, z.ZodTypeDef, unknown>;
|
|
335
176
|
export declare function listPayoutsPartnerFromJSON(jsonString: string): SafeParseResult<ListPayoutsPartner, SDKValidationError>;
|
|
336
177
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listpayouts.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/listpayouts.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,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;;GAEG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;CAQ9B,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAClD,OAAO,2BAA2B,CACnC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,2BAA2B;;;;CAI9B,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,2B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AClB,CAAC,CAAC,UAAU,EACZ,OAAO,CAUP,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD;AAED,gBAAgB;AAChB,eAAO,MAAM,kBAAkB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC,UAAU,EAAE,OAAO,CAMlE,CAAC;AAEL,wBAAgB,YAAY,CAC1B,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,IAAI,EAAE,kBAAkB,CAAC,CAM3C;AAED,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,OAAO,CAC3D,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,OAAO,CAiBP,CAAC;AAEH,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,uBAAuB,EAAE,kBAAkB,CAAC,CAM9D"}
|
|
@@ -43,65 +43,6 @@ export const ListPayoutsMode = {
|
|
|
43
43
|
Internal: "internal",
|
|
44
44
|
External: "external",
|
|
45
45
|
};
|
|
46
|
-
/**
|
|
47
|
-
* The partner's profile type on Dub.
|
|
48
|
-
*/
|
|
49
|
-
export const ProfileType = {
|
|
50
|
-
Individual: "individual",
|
|
51
|
-
Company: "company",
|
|
52
|
-
};
|
|
53
|
-
/**
|
|
54
|
-
* The partner's monthly traffic.
|
|
55
|
-
*/
|
|
56
|
-
export const MonthlyTraffic = {
|
|
57
|
-
ZeroToOneThousand: "ZeroToOneThousand",
|
|
58
|
-
OneThousandToTenThousand: "OneThousandToTenThousand",
|
|
59
|
-
TenThousandToFiftyThousand: "TenThousandToFiftyThousand",
|
|
60
|
-
FiftyThousandToOneHundredThousand: "FiftyThousandToOneHundredThousand",
|
|
61
|
-
OneHundredThousandPlus: "OneHundredThousandPlus",
|
|
62
|
-
};
|
|
63
|
-
export const IndustryInterests = {
|
|
64
|
-
SaaS: "SaaS",
|
|
65
|
-
DevTool: "DevTool",
|
|
66
|
-
Ai: "AI",
|
|
67
|
-
CreativeAndDesign: "Creative_And_Design",
|
|
68
|
-
ProductivitySoftware: "Productivity_Software",
|
|
69
|
-
Marketing: "Marketing",
|
|
70
|
-
Gaming: "Gaming",
|
|
71
|
-
Finance: "Finance",
|
|
72
|
-
Sales: "Sales",
|
|
73
|
-
Ecommerce: "Ecommerce",
|
|
74
|
-
CustomerServiceAndSupport: "Customer_Service_And_Support",
|
|
75
|
-
ContentManagement: "Content_Management",
|
|
76
|
-
HumanResources: "Human_Resources",
|
|
77
|
-
Security: "Security",
|
|
78
|
-
AnalyticsAndData: "Analytics_And_Data",
|
|
79
|
-
SocialMedia: "Social_Media",
|
|
80
|
-
ConsumerTech: "Consumer_Tech",
|
|
81
|
-
EducationAndLearning: "Education_And_Learning",
|
|
82
|
-
HealthAndFitness: "Health_And_Fitness",
|
|
83
|
-
FoodAndBeverage: "Food_And_Beverage",
|
|
84
|
-
TravelAndLifestyle: "Travel_And_Lifestyle",
|
|
85
|
-
EntertainmentAndMedia: "Entertainment_And_Media",
|
|
86
|
-
Sports: "Sports",
|
|
87
|
-
ScienceAndEngineering: "Science_And_Engineering",
|
|
88
|
-
};
|
|
89
|
-
export const PreferredEarningStructures = {
|
|
90
|
-
RevenueShare: "Revenue_Share",
|
|
91
|
-
PerLead: "Per_Lead",
|
|
92
|
-
PerSale: "Per_Sale",
|
|
93
|
-
PerClick: "Per_Click",
|
|
94
|
-
OneTimePayment: "One_Time_Payment",
|
|
95
|
-
};
|
|
96
|
-
export const SalesChannels = {
|
|
97
|
-
Blogs: "Blogs",
|
|
98
|
-
Coupons: "Coupons",
|
|
99
|
-
DirectReselling: "Direct_Reselling",
|
|
100
|
-
Newsletters: "Newsletters",
|
|
101
|
-
SocialMedia: "Social_Media",
|
|
102
|
-
Events: "Events",
|
|
103
|
-
CompanyReferrals: "Company_Referrals",
|
|
104
|
-
};
|
|
105
46
|
/** @internal */
|
|
106
47
|
export const ListPayoutsQueryParamStatus$outboundSchema = z.nativeEnum(ListPayoutsQueryParamStatus);
|
|
107
48
|
/** @internal */
|
|
@@ -127,52 +68,14 @@ export const ListPayoutsStatus$inboundSchema = z.nativeEnum(ListPayoutsStatus);
|
|
|
127
68
|
/** @internal */
|
|
128
69
|
export const ListPayoutsMode$inboundSchema = z.nativeEnum(ListPayoutsMode);
|
|
129
70
|
/** @internal */
|
|
130
|
-
export const ProfileType$inboundSchema = z
|
|
131
|
-
.nativeEnum(ProfileType);
|
|
132
|
-
/** @internal */
|
|
133
|
-
export const InvoiceSettings$inboundSchema = z.object({
|
|
134
|
-
address: z.nullable(z.string()).optional(),
|
|
135
|
-
taxId: z.nullable(z.string()).optional(),
|
|
136
|
-
});
|
|
137
|
-
export function invoiceSettingsFromJSON(jsonString) {
|
|
138
|
-
return safeParse(jsonString, (x) => InvoiceSettings$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'InvoiceSettings' from JSON`);
|
|
139
|
-
}
|
|
140
|
-
/** @internal */
|
|
141
|
-
export const MonthlyTraffic$inboundSchema = z.nativeEnum(MonthlyTraffic);
|
|
142
|
-
/** @internal */
|
|
143
|
-
export const IndustryInterests$inboundSchema = z.nativeEnum(IndustryInterests);
|
|
144
|
-
/** @internal */
|
|
145
|
-
export const PreferredEarningStructures$inboundSchema = z.nativeEnum(PreferredEarningStructures);
|
|
146
|
-
/** @internal */
|
|
147
|
-
export const SalesChannels$inboundSchema = z.nativeEnum(SalesChannels);
|
|
148
|
-
/** @internal */
|
|
149
71
|
export const ListPayoutsPartner$inboundSchema = z.object({
|
|
150
72
|
id: z.string(),
|
|
151
73
|
name: z.string(),
|
|
152
|
-
companyName: z.nullable(z.string()),
|
|
153
|
-
profileType: ProfileType$inboundSchema,
|
|
154
74
|
email: z.nullable(z.string()),
|
|
155
75
|
image: z.nullable(z.string()),
|
|
156
|
-
description: z.nullable(z.string()).optional(),
|
|
157
|
-
country: z.nullable(z.string()),
|
|
158
|
-
stripeConnectId: z.nullable(z.string()),
|
|
159
|
-
paypalEmail: z.nullable(z.string()),
|
|
160
76
|
payoutsEnabledAt: z.nullable(z.string()),
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
discoverableAt: z.nullable(z.string()),
|
|
164
|
-
trustedAt: z.nullable(z.string()),
|
|
165
|
-
website: z.nullable(z.string()).optional(),
|
|
166
|
-
youtube: z.nullable(z.string()).optional(),
|
|
167
|
-
twitter: z.nullable(z.string()).optional(),
|
|
168
|
-
linkedin: z.nullable(z.string()).optional(),
|
|
169
|
-
instagram: z.nullable(z.string()).optional(),
|
|
170
|
-
tiktok: z.nullable(z.string()).optional(),
|
|
171
|
-
monthlyTraffic: z.nullable(MonthlyTraffic$inboundSchema).optional(),
|
|
172
|
-
industryInterests: z.array(IndustryInterests$inboundSchema).optional(),
|
|
173
|
-
preferredEarningStructures: z.array(PreferredEarningStructures$inboundSchema)
|
|
174
|
-
.optional(),
|
|
175
|
-
salesChannels: z.array(SalesChannels$inboundSchema).optional(),
|
|
77
|
+
country: z.nullable(z.string()),
|
|
78
|
+
groupId: z.nullable(z.string()).optional(),
|
|
176
79
|
tenantId: z.nullable(z.string()),
|
|
177
80
|
});
|
|
178
81
|
export function listPayoutsPartnerFromJSON(jsonString) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"listpayouts.js","sourceRoot":"","sources":["../../../../src/models/operations/listpayouts.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;IACxB,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;CACZ,CAAC;AA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,CAAC,CAAC,MAAM,EAAE,CAAC;IAC9B,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IAChD,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,6BAA6B,CAAC;IAC/C,OAAO,EAAE,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,gCAAgC,CAAC;IACvD,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,kBAAkB,CAAC,CAAC,CAAC,QAAQ,EAAE;CAC9D,CAAC,CAAC;AAEH,MAAM,UAAU,+BAA+B,CAC7C,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,qCAAqC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjE,qDAAqD,CACtD,CAAC;AACJ,CAAC"}
|
package/jsr.json
CHANGED
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -61,7 +61,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
61
61
|
export const SDK_METADATA = {
|
|
62
62
|
language: "typescript",
|
|
63
63
|
openapiDocVersion: "0.0.1",
|
|
64
|
-
sdkVersion: "0.71.
|
|
65
|
-
genVersion: "2.
|
|
66
|
-
userAgent: "speakeasy-sdk/typescript 0.71.
|
|
64
|
+
sdkVersion: "0.71.2",
|
|
65
|
+
genVersion: "2.814.0",
|
|
66
|
+
userAgent: "speakeasy-sdk/typescript 0.71.2 2.814.0 0.0.1 dub",
|
|
67
67
|
} as const;
|
|
@@ -108,91 +108,6 @@ export const ListPayoutsMode = {
|
|
|
108
108
|
} as const;
|
|
109
109
|
export type ListPayoutsMode = ClosedEnum<typeof ListPayoutsMode>;
|
|
110
110
|
|
|
111
|
-
/**
|
|
112
|
-
* The partner's profile type on Dub.
|
|
113
|
-
*/
|
|
114
|
-
export const ProfileType = {
|
|
115
|
-
Individual: "individual",
|
|
116
|
-
Company: "company",
|
|
117
|
-
} as const;
|
|
118
|
-
/**
|
|
119
|
-
* The partner's profile type on Dub.
|
|
120
|
-
*/
|
|
121
|
-
export type ProfileType = ClosedEnum<typeof ProfileType>;
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* The partner's invoice settings.
|
|
125
|
-
*/
|
|
126
|
-
export type InvoiceSettings = {
|
|
127
|
-
address?: string | null | undefined;
|
|
128
|
-
taxId?: string | null | undefined;
|
|
129
|
-
};
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* The partner's monthly traffic.
|
|
133
|
-
*/
|
|
134
|
-
export const MonthlyTraffic = {
|
|
135
|
-
ZeroToOneThousand: "ZeroToOneThousand",
|
|
136
|
-
OneThousandToTenThousand: "OneThousandToTenThousand",
|
|
137
|
-
TenThousandToFiftyThousand: "TenThousandToFiftyThousand",
|
|
138
|
-
FiftyThousandToOneHundredThousand: "FiftyThousandToOneHundredThousand",
|
|
139
|
-
OneHundredThousandPlus: "OneHundredThousandPlus",
|
|
140
|
-
} as const;
|
|
141
|
-
/**
|
|
142
|
-
* The partner's monthly traffic.
|
|
143
|
-
*/
|
|
144
|
-
export type MonthlyTraffic = ClosedEnum<typeof MonthlyTraffic>;
|
|
145
|
-
|
|
146
|
-
export const IndustryInterests = {
|
|
147
|
-
SaaS: "SaaS",
|
|
148
|
-
DevTool: "DevTool",
|
|
149
|
-
Ai: "AI",
|
|
150
|
-
CreativeAndDesign: "Creative_And_Design",
|
|
151
|
-
ProductivitySoftware: "Productivity_Software",
|
|
152
|
-
Marketing: "Marketing",
|
|
153
|
-
Gaming: "Gaming",
|
|
154
|
-
Finance: "Finance",
|
|
155
|
-
Sales: "Sales",
|
|
156
|
-
Ecommerce: "Ecommerce",
|
|
157
|
-
CustomerServiceAndSupport: "Customer_Service_And_Support",
|
|
158
|
-
ContentManagement: "Content_Management",
|
|
159
|
-
HumanResources: "Human_Resources",
|
|
160
|
-
Security: "Security",
|
|
161
|
-
AnalyticsAndData: "Analytics_And_Data",
|
|
162
|
-
SocialMedia: "Social_Media",
|
|
163
|
-
ConsumerTech: "Consumer_Tech",
|
|
164
|
-
EducationAndLearning: "Education_And_Learning",
|
|
165
|
-
HealthAndFitness: "Health_And_Fitness",
|
|
166
|
-
FoodAndBeverage: "Food_And_Beverage",
|
|
167
|
-
TravelAndLifestyle: "Travel_And_Lifestyle",
|
|
168
|
-
EntertainmentAndMedia: "Entertainment_And_Media",
|
|
169
|
-
Sports: "Sports",
|
|
170
|
-
ScienceAndEngineering: "Science_And_Engineering",
|
|
171
|
-
} as const;
|
|
172
|
-
export type IndustryInterests = ClosedEnum<typeof IndustryInterests>;
|
|
173
|
-
|
|
174
|
-
export const PreferredEarningStructures = {
|
|
175
|
-
RevenueShare: "Revenue_Share",
|
|
176
|
-
PerLead: "Per_Lead",
|
|
177
|
-
PerSale: "Per_Sale",
|
|
178
|
-
PerClick: "Per_Click",
|
|
179
|
-
OneTimePayment: "One_Time_Payment",
|
|
180
|
-
} as const;
|
|
181
|
-
export type PreferredEarningStructures = ClosedEnum<
|
|
182
|
-
typeof PreferredEarningStructures
|
|
183
|
-
>;
|
|
184
|
-
|
|
185
|
-
export const SalesChannels = {
|
|
186
|
-
Blogs: "Blogs",
|
|
187
|
-
Coupons: "Coupons",
|
|
188
|
-
DirectReselling: "Direct_Reselling",
|
|
189
|
-
Newsletters: "Newsletters",
|
|
190
|
-
SocialMedia: "Social_Media",
|
|
191
|
-
Events: "Events",
|
|
192
|
-
CompanyReferrals: "Company_Referrals",
|
|
193
|
-
} as const;
|
|
194
|
-
export type SalesChannels = ClosedEnum<typeof SalesChannels>;
|
|
195
|
-
|
|
196
111
|
export type ListPayoutsPartner = {
|
|
197
112
|
/**
|
|
198
113
|
* The partner's unique ID on Dub.
|
|
@@ -202,14 +117,6 @@ export type ListPayoutsPartner = {
|
|
|
202
117
|
* The partner's full legal name.
|
|
203
118
|
*/
|
|
204
119
|
name: string;
|
|
205
|
-
/**
|
|
206
|
-
* If the partner profile type is a company, this is the partner's legal company name.
|
|
207
|
-
*/
|
|
208
|
-
companyName: string | null;
|
|
209
|
-
/**
|
|
210
|
-
* The partner's profile type on Dub.
|
|
211
|
-
*/
|
|
212
|
-
profileType: ProfileType;
|
|
213
120
|
/**
|
|
214
121
|
* The partner's email address. Should be a unique value across Dub.
|
|
215
122
|
*/
|
|
@@ -218,82 +125,21 @@ export type ListPayoutsPartner = {
|
|
|
218
125
|
* The partner's avatar image.
|
|
219
126
|
*/
|
|
220
127
|
image: string | null;
|
|
221
|
-
/**
|
|
222
|
-
* A brief description of the partner and their background.
|
|
223
|
-
*/
|
|
224
|
-
description?: string | null | undefined;
|
|
225
|
-
/**
|
|
226
|
-
* The partner's country (required for tax purposes).
|
|
227
|
-
*/
|
|
228
|
-
country: string | null;
|
|
229
|
-
/**
|
|
230
|
-
* The partner's Stripe Connect ID (for receiving payouts via Stripe).
|
|
231
|
-
*/
|
|
232
|
-
stripeConnectId: string | null;
|
|
233
|
-
/**
|
|
234
|
-
* The partner's PayPal email (for receiving payouts via PayPal).
|
|
235
|
-
*/
|
|
236
|
-
paypalEmail: string | null;
|
|
237
128
|
/**
|
|
238
129
|
* The date when the partner enabled payouts.
|
|
239
130
|
*/
|
|
240
131
|
payoutsEnabledAt: string | null;
|
|
241
132
|
/**
|
|
242
|
-
* The partner's
|
|
243
|
-
*/
|
|
244
|
-
invoiceSettings: InvoiceSettings | null;
|
|
245
|
-
/**
|
|
246
|
-
* The date when the partner was created on Dub.
|
|
247
|
-
*/
|
|
248
|
-
createdAt: string;
|
|
249
|
-
/**
|
|
250
|
-
* The date when the partner was added to the partner network.
|
|
251
|
-
*/
|
|
252
|
-
discoverableAt: string | null;
|
|
253
|
-
/**
|
|
254
|
-
* The date when the partner received the trusted badge in the partner network.
|
|
255
|
-
*/
|
|
256
|
-
trustedAt: string | null;
|
|
257
|
-
/**
|
|
258
|
-
* The partner's website URL (including the https protocol).
|
|
259
|
-
*/
|
|
260
|
-
website?: string | null | undefined;
|
|
261
|
-
/**
|
|
262
|
-
* The partner's YouTube channel username (e.g. `johndoe`).
|
|
263
|
-
*/
|
|
264
|
-
youtube?: string | null | undefined;
|
|
265
|
-
/**
|
|
266
|
-
* The partner's Twitter username (e.g. `johndoe`).
|
|
267
|
-
*/
|
|
268
|
-
twitter?: string | null | undefined;
|
|
269
|
-
/**
|
|
270
|
-
* The partner's LinkedIn username (e.g. `johndoe`).
|
|
271
|
-
*/
|
|
272
|
-
linkedin?: string | null | undefined;
|
|
273
|
-
/**
|
|
274
|
-
* The partner's Instagram username (e.g. `johndoe`).
|
|
275
|
-
*/
|
|
276
|
-
instagram?: string | null | undefined;
|
|
277
|
-
/**
|
|
278
|
-
* The partner's TikTok username (e.g. `johndoe`).
|
|
279
|
-
*/
|
|
280
|
-
tiktok?: string | null | undefined;
|
|
281
|
-
/**
|
|
282
|
-
* The partner's monthly traffic.
|
|
283
|
-
*/
|
|
284
|
-
monthlyTraffic?: MonthlyTraffic | null | undefined;
|
|
285
|
-
/**
|
|
286
|
-
* The partner's industry interests.
|
|
133
|
+
* The partner's country (required for tax purposes).
|
|
287
134
|
*/
|
|
288
|
-
|
|
135
|
+
country: string | null;
|
|
289
136
|
/**
|
|
290
|
-
* The partner's
|
|
137
|
+
* The partner's group ID on Dub.
|
|
291
138
|
*/
|
|
292
|
-
|
|
139
|
+
groupId?: string | null | undefined;
|
|
293
140
|
/**
|
|
294
|
-
* The partner's
|
|
141
|
+
* The partner's unique ID within your database. Can be useful for associating the partner with a user in your database and retrieving/update their data in the future.
|
|
295
142
|
*/
|
|
296
|
-
salesChannels?: Array<SalesChannels> | undefined;
|
|
297
143
|
tenantId: string | null;
|
|
298
144
|
};
|
|
299
145
|
|
|
@@ -383,50 +229,6 @@ export const ListPayoutsMode$inboundSchema: z.ZodNativeEnum<
|
|
|
383
229
|
typeof ListPayoutsMode
|
|
384
230
|
> = z.nativeEnum(ListPayoutsMode);
|
|
385
231
|
|
|
386
|
-
/** @internal */
|
|
387
|
-
export const ProfileType$inboundSchema: z.ZodNativeEnum<typeof ProfileType> = z
|
|
388
|
-
.nativeEnum(ProfileType);
|
|
389
|
-
|
|
390
|
-
/** @internal */
|
|
391
|
-
export const InvoiceSettings$inboundSchema: z.ZodType<
|
|
392
|
-
InvoiceSettings,
|
|
393
|
-
z.ZodTypeDef,
|
|
394
|
-
unknown
|
|
395
|
-
> = z.object({
|
|
396
|
-
address: z.nullable(z.string()).optional(),
|
|
397
|
-
taxId: z.nullable(z.string()).optional(),
|
|
398
|
-
});
|
|
399
|
-
|
|
400
|
-
export function invoiceSettingsFromJSON(
|
|
401
|
-
jsonString: string,
|
|
402
|
-
): SafeParseResult<InvoiceSettings, SDKValidationError> {
|
|
403
|
-
return safeParse(
|
|
404
|
-
jsonString,
|
|
405
|
-
(x) => InvoiceSettings$inboundSchema.parse(JSON.parse(x)),
|
|
406
|
-
`Failed to parse 'InvoiceSettings' from JSON`,
|
|
407
|
-
);
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
/** @internal */
|
|
411
|
-
export const MonthlyTraffic$inboundSchema: z.ZodNativeEnum<
|
|
412
|
-
typeof MonthlyTraffic
|
|
413
|
-
> = z.nativeEnum(MonthlyTraffic);
|
|
414
|
-
|
|
415
|
-
/** @internal */
|
|
416
|
-
export const IndustryInterests$inboundSchema: z.ZodNativeEnum<
|
|
417
|
-
typeof IndustryInterests
|
|
418
|
-
> = z.nativeEnum(IndustryInterests);
|
|
419
|
-
|
|
420
|
-
/** @internal */
|
|
421
|
-
export const PreferredEarningStructures$inboundSchema: z.ZodNativeEnum<
|
|
422
|
-
typeof PreferredEarningStructures
|
|
423
|
-
> = z.nativeEnum(PreferredEarningStructures);
|
|
424
|
-
|
|
425
|
-
/** @internal */
|
|
426
|
-
export const SalesChannels$inboundSchema: z.ZodNativeEnum<
|
|
427
|
-
typeof SalesChannels
|
|
428
|
-
> = z.nativeEnum(SalesChannels);
|
|
429
|
-
|
|
430
232
|
/** @internal */
|
|
431
233
|
export const ListPayoutsPartner$inboundSchema: z.ZodType<
|
|
432
234
|
ListPayoutsPartner,
|
|
@@ -435,30 +237,11 @@ export const ListPayoutsPartner$inboundSchema: z.ZodType<
|
|
|
435
237
|
> = z.object({
|
|
436
238
|
id: z.string(),
|
|
437
239
|
name: z.string(),
|
|
438
|
-
companyName: z.nullable(z.string()),
|
|
439
|
-
profileType: ProfileType$inboundSchema,
|
|
440
240
|
email: z.nullable(z.string()),
|
|
441
241
|
image: z.nullable(z.string()),
|
|
442
|
-
description: z.nullable(z.string()).optional(),
|
|
443
|
-
country: z.nullable(z.string()),
|
|
444
|
-
stripeConnectId: z.nullable(z.string()),
|
|
445
|
-
paypalEmail: z.nullable(z.string()),
|
|
446
242
|
payoutsEnabledAt: z.nullable(z.string()),
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
discoverableAt: z.nullable(z.string()),
|
|
450
|
-
trustedAt: z.nullable(z.string()),
|
|
451
|
-
website: z.nullable(z.string()).optional(),
|
|
452
|
-
youtube: z.nullable(z.string()).optional(),
|
|
453
|
-
twitter: z.nullable(z.string()).optional(),
|
|
454
|
-
linkedin: z.nullable(z.string()).optional(),
|
|
455
|
-
instagram: z.nullable(z.string()).optional(),
|
|
456
|
-
tiktok: z.nullable(z.string()).optional(),
|
|
457
|
-
monthlyTraffic: z.nullable(MonthlyTraffic$inboundSchema).optional(),
|
|
458
|
-
industryInterests: z.array(IndustryInterests$inboundSchema).optional(),
|
|
459
|
-
preferredEarningStructures: z.array(PreferredEarningStructures$inboundSchema)
|
|
460
|
-
.optional(),
|
|
461
|
-
salesChannels: z.array(SalesChannels$inboundSchema).optional(),
|
|
243
|
+
country: z.nullable(z.string()),
|
|
244
|
+
groupId: z.nullable(z.string()).optional(),
|
|
462
245
|
tenantId: z.nullable(z.string()),
|
|
463
246
|
});
|
|
464
247
|
|